/* ==========================================================================
   site.css — shared chrome (sign-up bar, nav, dropdown, footer, modals)
   Replaces bootstrap.css, bootsnav.css, and the old nav rules.
   ========================================================================== */

:root {
  --ink:      #1a1a1a;   /* headings, active text            */
  --ink-soft: #4a4a4a;   /* body, inactive nav               */
  --muted:    #8a8a8a;   /* placeholders, counters, sep      */
  --bar:      #333333;   /* sign-up bar                      */
  --nav-bg:   #e4e4e4;   /* light gray nav                   */
  --page:     #ffffff;
  --line:     #e5e5e5;
  --sans: "Raleway", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink-soft);
  background: var(--page);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---- Sign-up bar --------------------------------------------------------- */
.signup-bar {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  min-height: 40px; padding: 6px 20px;
  background: var(--bar); color: #fff; font-size: 14px; text-align: center;
}
.signup-bar__btn {
  flex: none; background: #000; color: #fff; border: 1px solid #fff;
  border-radius: 7px; padding: 4px 12px; font: 800 12px/1 var(--sans);
  text-transform: uppercase; cursor: pointer;
}

/* ---- Nav ----------------------------------------------------------------- */
.site-header { background: var(--nav-bg); border-bottom: 1px solid #d6d6d6; }

.nav {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  /*max-width: 1440px;*/ 
  margin: 0 auto; 
  padding: 0 28px; 
  min-height: 56px;
}

.nav__logo { font-weight: 700; color: var(--ink); font-size: 17px; }
.nav__links { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.nav__links > li { position: relative; }
.nav__links a, .nav__contact {
  font-weight: 600; font-size: 15px; color: var(--ink-soft);
  background: none; border: 0; padding: 18px 0; cursor: pointer; font-family: var(--sans);
}
.nav__links a:hover, .nav__contact:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); }

.nav__dropdown-toggle { display: none; }
.nav__dropdown {
  position: absolute; top: 100%; right: 0; min-width: 232px;
  background: var(--nav-bg); border: 1px solid #d0d0d0; padding: 14px 18px 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 60;
}
.nav__has-dropdown:hover .nav__dropdown,
.nav__has-dropdown.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown ul { list-style: none; margin: 0 0 6px; padding: 0; }
.nav__dropdown-heading { margin: 10px 0 4px; font-weight: 700; font-size: 15px; color: var(--ink); }
.nav__dropdown-heading:first-child { margin-top: 0; }
.nav__dropdown a { display: block; padding: 5px 0; font-weight: 400; font-size: 14px; }
.nav__dropdown li.is-empty { padding: 5px 0; font-size: 14px; color: var(--muted); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px 4px; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); }

/* ---- Footer -------------------------------------------------------------- */

.site-footer {
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 16px; 
  flex-wrap: wrap;
  /*max-width: 1440px; */
  margin: 64px auto 0; 
  padding: 20px 28px;
  border-top: 1px solid var(--line); 
  font-size: 13px; 
  color: var(--muted);
}

.site-footer__copy { margin: 0; }
.site-footer__social { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.site-footer__social img { width: 22px; height: 22px; }

/* ---- Scroll-up ----------------------------------------------------------- */
.scrollup {
  position: fixed; right: 22px; bottom: 22px; display: none; place-items: center;
  width: 42px; height: 42px; background: var(--ink); color: #fff; border: 0;
  border-radius: 50%; cursor: pointer; z-index: 80;
}
.scrollup.is-visible { display: grid; }

/* ---- Contact modal ------------------------------------------------------- */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 120; padding: 20px; }
.modal.is-open { display: grid; place-items: center; }
.modal__panel { position: relative; width: min(440px, 100%); background: #fff; color: var(--ink); padding: 34px 30px 30px; }
.modal__panel h2 { font-family: var(--serif); font-weight: 500; margin: 0 0 14px; font-size: 30px; }
.modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.modal__social { display: flex; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.modal__social img { width: 24px; height: 24px; }

/* ---- Signup modal (Brevo iframe) ---------------------------------------- */
#signup-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 120; }
#signup-overlay.active { display: block; }
#signup-modal { display: none; position: fixed; z-index: 121; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 30px 18px 18px; }
#signup-modal.active { display: block; }
#signup-close { position: absolute; top: 6px; right: 12px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- Mobile nav ---------------------------------------------------------- */
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--nav-bg); border-bottom: 1px solid #d0d0d0; padding: 8px 28px 16px; display: none; z-index: 70;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a, .nav__contact { padding: 12px 0; }
  .nav__has-dropdown { width: 100%; }
  .nav__dropdown-toggle { display: inline-block; background: none; border: 0; cursor: pointer; font-size: 16px; color: var(--ink-soft); margin-left: 8px; }
  .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; display: none; }
  .nav__has-dropdown.is-open .nav__dropdown { display: block; }
}

/*
==================== About Page ==================== 
*/

#about main.page {
    max-width: 1280px;
    margin: 0 auto;
}

/*
==================== PORTFOLIO ADD ONS ==================== 
*/
.collection-intro {
  max-width: 60ch;
  margin: 0 0 2rem;
}
.collection-intro p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #333;
  margin: 0 0 1rem;
}
.collection-intro p:last-child {
  margin-bottom: 0;
}