/* =========================================================
   Anni Roth — Destination Weddings & Corporate Experiences
   Design tokens extracted 1:1 from Figma (Anni Roth — Homepage Design)
   ========================================================= */

:root{
  /* --- Colors (exact hex from Figma) --- */
  --c-black: #0d0d0d;         /* dark section background */
  --c-black-2: #1a1712;       /* photo placeholder / dark image bg */
  --c-footer: #000000;        /* footer background */
  --c-gold: #c9a84c;          /* primary accent gold */
  --c-gold-dark: #a4803e;     /* accent gold, darker (gradients / italic headline) */
  --c-gold-light: #d4b967;    /* accent gold, lighter (gradient start) */
  --c-gold-pale: #dbd1b4;     /* pale gold for large italic display type */
  --c-navy: #34586c;          /* headings on light bg / CTA background */
  --c-navy-light: #4a6e9d;    /* gradient end, secondary button */
  --c-cream: #f5efe6;         /* light section background / text on dark */
  --c-cream-2: #f2e9db;       /* deeper cream background */
  --c-cream-3: #fdfaf6;       /* card surface (rgba(253,250,246,x)) */
  --c-text: #3a3530;          /* body copy on light background */
  --c-text-muted: #b0a89e;    /* muted copy on dark background */
  --c-text-muted-2: #8f8d8b;  /* muted copy on light background (card body) */
  --c-text-footnote: #666159; /* footer legal line */
  --c-cta-muted: #aabfca;     /* muted copy on navy CTA background */

  /* --- Type --- */
  --font-sans: 'DM Sans', sans-serif;
  --font-serif-italic: 'Cormorant Garamond', serif;
  --font-alt: 'Roboto', sans-serif;

  /* --- Layout --- */
  --container: 1280px;
  --gutter: 80px;
  --gutter-mobile: 24px;
}

*, *::before, *::after{ box-sizing: border-box; }
/* Forces a line break only on narrow phone screens, e.g. inside a heading
   like "Every wedding tells<br class="mob-break">a story." — invisible
   everywhere else. */
br.mob-break{ display: none; }
@media (max-width: 800px){ br.mob-break{ display: inline; } }
html{ scroll-behavior: smooth; scroll-padding-top: 206px; }
@media (min-width: 1360px){ html{ scroll-padding-top: 190px; } }
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter-mobile);
}
@media (min-width: 1360px){
  .wrap{ padding: 0; }
}

section{ position: relative; overflow: clip; }

/* --- Eyebrow / kicker label --- */
.eyebrow{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--c-gold);
}
.eyebrow--center{ justify-content: center; }

/* --- Headline patterns --- */
.h-display{
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-navy);
}
.h-display.on-dark{ color: var(--c-cream); }
.h-script{
  font-family: var(--font-serif-italic);
  font-weight: 600;
  font-style: italic;
  line-height: 1.05;
  color: var(--c-gold-dark);
}
.h-script.on-dark{ color: var(--c-gold); }

.lede{
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.78;
  color: var(--c-text);
  max-width: 640px;
}
.lede.on-dark{ color: var(--c-text-muted); }

/* --- Buttons --- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border: none;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(90deg, var(--c-gold-light), var(--c-gold-dark));
  color: var(--c-black);
}
.btn-secondary{
  background: linear-gradient(90deg, var(--c-navy), var(--c-navy-light));
  border: 1px solid var(--c-navy);
  color: var(--c-cream);
}
.btn-outline{
  background: transparent;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  height: 36px;
  padding: 0 22px;
  font-weight: 400;
}
.btn-link{
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--c-gold);
  border-bottom: 1px solid transparent;
}
.btn-link.on-light{ color: var(--c-gold-dark); }
.btn-link.on-cream{ color: var(--c-navy); }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header{
  background: var(--c-black);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter-mobile);
  position: relative;
  height: 160px;
}
@media (min-width:1360px){ .site-header .nav-inner{ padding-left:0; padding-right:0; } }

.nav-main{ position: static; }

/* Logo: one unit (mark + tagline, tightly coupled), floating from the top.
   Its natural bottom edge lands close to the nav-links baseline below — matches Figma. */
.logo-block{
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  text-align: center;
}
.logo-block img.logo-mark{
  height: 69px;
  width: auto;
  margin: 0 auto;
}
.logo-block .logo-sub{
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 3.5px;
  color: var(--c-gold);
  margin-top: 11px;
  white-space: nowrap;
}

/* Left and right nav links + CTA share one baseline, close beneath the logo unit. */
.nav-links{
  position: absolute;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}
.nav-links-left{ left: 0; }
.nav-links-right{ left: 63.5%; }
.nav-links a{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--c-text-muted);
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-links a.is-active,
.nav-links a:hover{ color: var(--c-gold); }

/* CTA button shares the same bottom line as the tagline and nav links. */
.nav-cta{
  position: absolute;
  right: var(--gutter-mobile);
  bottom: 30px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 1.8px;
  padding: 12px 24px;
  white-space: nowrap;
}
@media (min-width:1360px){ .nav-cta{ right: 0; } }

.nav-divider{
  height: 5px;
  width: 100%;
  background: var(--c-gold);
  opacity: .15;
}

.nav-toggle{ display:none; }

@media (max-width: 1359px){
  .site-header .nav-inner{ height: auto; padding-top: 52px; padding-bottom: 22px; }
  .logo-block{ position: static; display: block; width: 100%; transform: none; padding-top: 2px; }
  .nav-links{ position: static; display:none; }
  .nav-toggle{
    display:flex; align-items:center; justify-content:center;
    position: absolute; top: 18px; left: var(--gutter-mobile);
    width: 36px; height: 36px; border: 1px solid var(--c-gold);
    background: none; color: var(--c-gold); font-size: 18px; z-index: 201;
  }
  .nav-cta{ position: absolute; top: 18px; bottom: auto; padding-left: 22px; padding-right: 22px; }
  .nav-links.is-open{
    display:flex; flex-direction:column; align-items:flex-start; gap:16px;
    padding: 16px var(--gutter-mobile);
  }
  .nav-links-right.is-open{ border-top: 1px solid rgba(201,168,76,.15); }
  /* When the menu is open, stack both link groups together as one overlay
     panel instead of leaving them split above/below the logo. */
  .nav-main:has(.nav-links.is-open){
    position: absolute;
    top: 68px; left: 0; right: 0;
    display: flex;
    flex-direction: column;
    background: var(--c-black-2);
    z-index: 150;
    padding-bottom: 8px;
  }
  .nav-main:has(.nav-links.is-open) .logo-block{ display: none; }
  .nav-main:has(.nav-links.is-open) .nav-links-left{ order: 1; }
  .nav-main:has(.nav-links.is-open) .nav-links-right{ order: 2; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: var(--c-footer);
  color: var(--c-text-muted);
  padding: 45px 0 0;
  position: relative;
}
.footer-top{
  border-top: 1px solid rgba(201,168,76,.2);
}
.footer-grid{
  max-width: var(--container);
  margin: 0 auto;
  padding: 35px var(--gutter-mobile) 0;
  display: grid;
  grid-template-columns: 3.1fr 1fr 0.9fr 1.3fr;
  align-items: end;
  gap: 32px;
}
@media (min-width:1360px){ .footer-grid{ padding-left:0; padding-right:0; } }
.footer-brand{ margin-left: -2.1%; }
.footer-brand img{ width: 100%; height: auto; display: block; }
.footer-col a, .footer-col p{
  display:block;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}
.footer-col a:hover{ color: var(--c-gold); }
.footer-contact p{ font-size: 13px; line-height: 1.9; margin-bottom: 0; }
.footer-bottom{
  border-top: 1px solid rgba(201,168,76,.15);
  margin-top: 25px;
  padding: 16px var(--gutter-mobile);
  text-align: center;
}
@media (min-width:1360px){ .footer-bottom{ padding-left:0; padding-right:0; } }
.footer-bottom p{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.1px;
  color: var(--c-text-footnote);
}
@media (max-width: 800px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; margin-left: 0; margin-bottom: 24px; }
  .footer-brand img{ max-width: 280px; }
}

/* =========================================================
   Utility section wrappers
   ========================================================= */
.sec-dark{ background: var(--c-black); color: var(--c-cream); }
.sec-cream{ background: var(--c-cream); }
.sec-cream-2{ background: var(--c-cream-2); }
.sec-navy{ background: var(--c-navy); color: var(--c-cream); }

.pad-y{ padding-top: 96px; padding-bottom: 96px; }
.pad-y-sm{ padding-top: 64px; padding-bottom: 64px; }

@media (max-width: 800px){
  .pad-y{ padding-top: 56px; padding-bottom: 56px; }
  .pad-y-sm{ padding-top: 40px; padding-bottom: 40px; }
}
