/* ── Site nav ── */
.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
  padding: 0 1.5rem;
}
.site-nav a {
  color: rgba(240,236,228,0.6);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s;
}
.site-nav a:hover { color: #f0ece4; }

/* ── Header right (RSVP + lang) ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.rsvp-btn {
  color: rgba(240,236,228,0.6);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(240,236,228,0.4);
  padding: 0.3rem 0;
  border-radius: 3px;
  white-space: nowrap;
  text-align: center;
  width: 4.5rem;
  display: inline-block;
  transition: color 0.15s, background 0.15s;
}
.rsvp-btn:hover { color: #f0ece4; background: rgba(240,236,228,0.1); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 2rem 0;
  /* Fill the viewport on first paint so nothing below the hero peeks
     in. calc accounts for body padding + header + header margin above. */
  min-height: calc(100vh - 9rem);
  min-height: calc(100dvh - 9rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 400;
  margin: 0 0 1rem;
  line-height: 1.05;
  text-transform: lowercase;
}

.hero .hero-name {
  display: block;
  width: 100%;
  max-width: min(90vw, 1100px);
  height: auto;
  margin: 0 auto 1.25rem;
  /* Shift left by 3.28% so the rings symbol (which sits at the optical
     center of the wordmark, naturally right of pixel-center because
     "mike" is wider than "nico") aligns with the page horizontal
     center — and therefore with the date and button below. */
  transform: translateX(-3.28%);
}

/* Visually hidden but available to screen readers + SEO crawlers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-date {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.55;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}
.hero-sep { margin: 0 0.6rem; }
.hero-location { display: block; margin-top: 0.25rem; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 0.4rem 0.65rem;
  background: #f0ece4;
  color: #111a14;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

/* ── Content sections ── */
.content-section {
  padding: 5rem 0;
  border-top: 1px solid rgba(240,236,228,0.08);
  /* When a nav link auto-scrolls to a section, offset by ~5rem so the
     section heading lands below the sticky header instead of underneath it. */
  scroll-margin-top: 5rem;
}
.content-section--alt {
  background: rgba(255,255,255,0.02);
  margin: 0 -1rem;
  padding: 5rem 1rem;
}
.content-section h2, .cta-section h2 {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
}
.section-intro {
  opacity: 0.6;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  max-width: 480px;
}

/* ── Story ── */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.story-chapter {
  border-left: 2px solid rgba(240,236,228,0.15);
  padding-left: 1.25rem;
}
.chapter-year {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 0.5rem;
}
.story-chapter h3 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
}
.story-chapter p { font-size: 0.9rem; opacity: 0.7; line-height: 1.65; }

/* ── Event linear layout ── */
#event { text-align: center; }
.event-linear {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.event-block { width: 100%; max-width: 480px; }
.event-main {
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0 0 0.3rem;
}
.event-sub {
  font-size: 0.9rem;
  opacity: 0.55;
  margin: 0;
}
.event-map {
  margin: 1.25rem auto 0.6rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(240,236,228,0.1);
}
.event-map iframe {
  width: 100%;
  height: 240px;
  border: none;
  display: block;
  filter: invert(0.88) hue-rotate(180deg) saturate(0.6);
}
.event-map-link {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.event-map-link:hover { color: #f0ece4; }
.rsvp-deadline {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240,236,228,0.08);
}
.rsvp-deadline p {
  font-size: 0.85rem;
  opacity: 0.55;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

/* ── Guide grid ── */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.guide-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(240,236,228,0.1);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
}
.guide-card h3 { font-size: 0.95rem; font-weight: 400; margin: 0 0 0.6rem; }
.guide-card p { font-size: 0.875rem; opacity: 0.65; line-height: 1.6; margin: 0; }

/* ── Photos ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(240,236,228,0.08);
}
.faq-item:first-child { border-top: 1px solid rgba(240,236,228,0.08); }
.faq-item summary {
  padding: 1.1rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  opacity: 0.4;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  font-size: 0.875rem;
  opacity: 0.6;
  line-height: 1.65;
  margin: 0 0 1.1rem;
  padding-right: 2rem;
}

/* ── Final CTA ── */
.cta-section {
  text-align: center;
  padding: 6rem 0 4rem;
  border-top: 1px solid rgba(240,236,228,0.08);
}
.cta-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 1rem;
}
.cta-section h2 {
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 400;
  margin-bottom: 2rem;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 2rem 0;
  opacity: 0.25;
  font-size: 0.8rem;
  border-top: 1px solid rgba(240,236,228,0.08);
  margin-top: 0;
}

/* ── Mobile lang switcher (inside slide-out menu) ── */
.mobile-lang {
  display: flex;
  gap: 0.25rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(240,236,228,0.06);
}
.mobile-lang .lang-opt {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.3rem 0.4rem;
  border-radius: 3px;
  opacity: 0.4;
  transition: opacity 0.15s;
  margin: 0;
  width: auto;
  line-height: 1;
}
.mobile-lang .lang-opt:hover { opacity: 0.75; }
.mobile-lang .lang-opt.active { opacity: 1; }

/* ── Hamburger button ── */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(240,236,228,0.4);
  border-radius: 3px;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  width: 2.4rem;
  height: 2rem;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.menu-btn:hover { border-color: rgba(240,236,228,0.7); }
.menu-bar {
  display: block;
  width: 1.2rem;
  height: 1.5px;
  background: rgba(240,236,228,0.6);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-btn:hover .menu-bar { background: #f0ece4; }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile menu panel ── */
.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.25rem 1.5rem 1.5rem;
  background: rgba(17,26,20,0.98);
  flex-direction: column;
  border-top: 1px solid rgba(240,236,228,0.08);
}
header.menu-open .mobile-menu { display: flex; }
.mobile-nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav a {
  color: rgba(240,236,228,0.6);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(240,236,228,0.06);
  transition: color 0.15s;
  white-space: nowrap;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: #f0ece4; }
.mobile-menu .lang-toggle { margin-top: 1rem; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .site-nav { display: none; }
  .header-right .lang-toggle { display: none; }
  .menu-btn { display: flex; }
  .hero { min-height: calc(100dvh - 9rem); padding: 2rem 0; }
  .hero .hero-name { max-width: 70vw; transform: none; }
  .hero-date { font-size: 0.85rem; margin-bottom: 1.75rem; }
  .hero .btn-primary { padding: 0.35rem 0.6rem; font-size: 0.7rem; }
}
@media (max-width: 520px) {
  .hero { padding: 2rem 0; }
  .hero .hero-name { max-width: 66vw; }
}
