:root {
  --deep-sage: #334236;
  --sage: #7ABC74;
  --eucalyptus: #A6B49A;
  --sage-mist: #C8D1C1;
  --dusty-green: #E2E7DD;
  --linen: #F2EFE7;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--deep-sage);
  -webkit-font-smoothing: antialiased;
  background: var(--linen);
  min-height: 100vh;
}

a { color: inherit; }

/* ================= NAV ================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 24px 24px;
}
.site-nav a {
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.9;
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav a.active::after,
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a:hover { opacity: 1; }

/* light nav (over the dark hero photo) */
body.home .site-nav a { color: var(--linen); text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
/* dark nav (plain pages) */
body:not(.home) .site-nav {
  background: rgba(242,239,231,0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(51,66,54,0.08);
}
body:not(.home) .site-nav a { color: var(--deep-sage); }

/* hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  position: fixed;
  top: 20px; right: 20px;
  z-index: 320;
  width: 42px; height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(242,239,231,0.92);
  box-shadow: 0 4px 16px rgba(20,28,22,0.2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--deep-sage);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); background: var(--deep-sage); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); background: var(--deep-sage); }

/* mobile fullscreen overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: rgba(242, 239, 231, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-overlay a {
  text-decoration: none;
  color: var(--deep-sage);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
}
.nav-overlay a.active { color: var(--sage); }

@media (max-width: 780px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ================= HOME HERO ================= */
.backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}
.backdrop .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,28,22,0.42) 0%, rgba(20,28,22,0.12) 26%, rgba(20,28,22,0.2) 60%, rgba(20,28,22,0.48) 100%);
}

.hero {
  position: relative;
  z-index: 10;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  color: var(--linen);
}

.photo-stack {
  position: relative;
  margin-bottom: 26px;
}
.photo-ring {
  width: 108px; height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--linen);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.photo-ring img { width: 100%; height: 100%; object-fit: cover; }

.bowtie {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 46px;
  height: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 2px 14px rgba(0,0,0,0.45);
}
.names {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(44px, 9vw, 104px);
  line-height: 0.95;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 8px 34px rgba(0,0,0,0.4);
}
.names .amp { font-style: italic; color: var(--sage-mist); margin: 0 0.06em; }

.hero-sub {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 2px 14px rgba(0,0,0,0.45);
}
.hero-sub span { opacity: 0.7; margin: 0 12px; }

@media (max-width: 480px) {
  .hero-sub span { display: block; margin: 6px 0 0; opacity: 0; height: 0; }
  .hero-sub { line-height: 1.9; }
}

/* ================= INNER / BLANK PAGES ================= */
.page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
}
.page .eyebrow { color: var(--sage); text-shadow: none; opacity: 1; }
.page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(38px, 7vw, 64px);
  color: var(--deep-sage);
  margin-bottom: 22px;
}
.page .divider {
  width: 44px;
  height: 1px;
  background: var(--sage-mist);
  margin: 0 auto 22px;
}
.page p.note {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(51,66,54,0.65);
  max-width: 40ch;
}

/* ================= FOOTER ================= */
footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 10px 24px 50px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
}
body.home footer {
  color: var(--linen);
  opacity: 0.85;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
body:not(.home) footer {
  color: var(--deep-sage);
  opacity: 0.6;
}
