*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
  font-family: 'Made Mirage';
  src: url('/static/fonts/made-mirage-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Made Mirage';
  src: url('/static/fonts/made-mirage-medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Made Mirage';
  src: url('/static/fonts/made-mirage-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Made Mirage';
  src: url('/static/fonts/made-mirage-black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --cream: #f8f7f5;
  --cream-dark: #efede8;
  --ink: oklch(11% 0.008 60);
  --ink-mid: oklch(38% 0.008 60);
  --ink-light: oklch(58% 0.006 60);
  --font-sans: 'Jost', sans-serif;
}

/* Film-grain: fixed layer behind all content (z-index:-1), not stacked above main */
html { scroll-behavior: smooth; }

body {
  position: relative;
  z-index: 0;
  font-family: 'Made Mirage', 'Playfair Display', serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: clip;
}
/* Prevent scroll when mobile menu is open */
body.menu-open { overflow: hidden; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h2 {
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
h3 {
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h4 {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ── NAV ── */
nav#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 48px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s, padding 0.3s;
}
nav#nav.scrolled {
  border-color: oklch(85% 0.01 72);
  background: rgb(248 247 245 / 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 48px;
}

/* Inner pages: nav always visible */
body.inner-page nav#nav {
  background: rgb(248 247 245 / 0.97);
  border-bottom-color: oklch(85% 0.01 72);
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-right { justify-content: flex-end; }
nav#nav a {
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.2s;
}
nav#nav .nav-left a,
nav#nav .nav-right a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
nav#nav a:hover { opacity: 0.45; }
.nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.nav-title {
  font-family: 'Made Mirage', 'Playfair Display', serif !important;
  font-size: 52px;
  font-weight: 450 !important;
  -webkit-text-stroke: 0.4px currentColor;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.nav-title:hover { opacity: 1 !important; }
.nav-date {
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-light);
  pointer-events: none;
}
.nav-rsvp {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 8px 22px;
  transition: background 0.2s, color 0.2s, opacity 0.2s !important;
}
.nav-rsvp:hover { background: var(--ink); color: var(--cream) !important; opacity: 1 !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 220px;
  overflow-x: clip;
  background: var(--cream);
}

.hero-composition {
  position: relative;
  align-self: stretch;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
  height: clamp(480px, 72vh, 700px);
  /* position: relative is explicit so the date overlay (position:absolute) is anchored here */
}

/* Center photo — lowest layer in the composition */
.hero-photo-center {
  position: absolute;
  left: calc(50% - clamp(162px, 17.1vw, 243px));
  top: 0;
  width: clamp(324px, 34.2vw, 486px);
  height: 100%;
  overflow: hidden;
  background: var(--cream-dark);
  z-index: 2;
}

/* Left photo — topmost layer, overlaps date text edges */
.hero-photo-left {
  position: absolute;
  left: 4%;
  top: 25%;
  width: clamp(170px, 18vw, 255px);
  height: 60%;
  overflow: hidden;
  background: var(--cream-dark);
  z-index: 5;
}

/* Right photo — above date text, below left photo */
.hero-photo-right {
  position: absolute;
  right: 4%;
  top: 30%;
  width: clamp(155px, 17vw, 235px);
  height: 52%;
  overflow: hidden;
  background: var(--cream-dark);
  z-index: 4;
}

/* Hero date — anchored to the TOP edge of the center photo.
   The text straddles that edge: half above the photo, half overlaid on it. */
.hero-composition .hero-date-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  margin: 0;
  padding: 0;
  background: transparent;
}
.hero-composition .hero-date-text {
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-size: clamp(25px, 3.6vw, 50px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1816;
  text-shadow:
    0 0 40px rgba(248, 247, 245, 0.95),
    0 0 20px rgba(248, 247, 245, 0.85),
    0 0 8px  rgba(248, 247, 245, 0.7);
  white-space: nowrap;
  line-height: 1;
  margin: 0;
  /* Shift up by half the text's own height so it straddles the photo's top edge */
  transform: translateY(-50%);
}

/* ── SCROLL HINT ── */
.scroll-hint {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.3;
  transition: opacity 0.4s;
  animation: bobble 2.2s ease-in-out infinite;
}
.scroll-hint span {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-hint-line { width: 1px; height: 36px; background: var(--ink); }
@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── SCHEDULE ── */
.schedule {
  position: relative;
  padding: 140px 48px;
  overflow: hidden;
}
.schedule-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/images/bg-dark.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.schedule-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.82);
}
.schedule-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.schedule .section-title {
  margin-bottom: 80px;
  color: var(--cream);
}
.schedule .eyebrow { color: oklch(52% 0.005 70); }

.schedule-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.schedule-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  max-width: 240px;
}
.sched-line {
  flex: 0 0 1px;
  width: 1px;
  background: var(--cream);
  height: 72px;
  align-self: flex-start;
  margin-top: 36px;
}
.sched-icon {
  width: 53px;
  height: 53px;
  margin-bottom: 10px;
  color: oklch(55% 0.005 70);
}
.sched-icon svg { width: 100%; height: 100%; }
.sched-time {
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 300;
  display: block;
  margin-bottom: 6px;
  color: var(--cream);
}
.sched-name {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 10px;
}
.sched-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: oklch(42% 0.005 70);
  line-height: 1.65;
}

/* ── LOCATION ── */
.location { background: var(--cream); padding: 140px 48px; }
.location-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 160px;
}
.location-text-left { text-align: center; }
.location-text-right { text-align: center; }
.location-text-left h3,
.location-text-right h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.location-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}
.location-photo {
  width: clamp(220px, 26vw, 340px);
  height: clamp(280px, 36vw, 460px);
  background: var(--cream-dark);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.location-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.location-link:hover { opacity: 0.5; }
.location-travel-btn { display: inline-block; margin-top: 0 !important; }
.location-venue-name {
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
  text-align: center;
}

/* ── COUNTDOWN ── */
.countdown-section {
  position: relative;
  padding: 140px 48px;
  text-align: center;
  overflow: hidden;
}
.countdown-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/images/bg-countdown.jpg');
  background-size: cover;
  background-position: 25% 56%;
  z-index: 0;
}
.countdown-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.70);
}
.countdown-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.countdown-label {
  font-family: var(--font-sans);
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 64px;
}
.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.countdown-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.countdown-num {
  font-size: clamp(31px, 4.8vw, 60px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
}
.countdown-unit {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
}
.countdown-divider {
  width: 1px;
  height: 80px;
  background: var(--cream);
  flex-shrink: 0;
  margin: 0 8px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  margin-top: 48px;
  padding: 14px 40px;
  background: transparent;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: 1px solid rgba(248, 247, 245, 0.5);
}
.btn:hover { background: rgba(248, 247, 245, 0.1); border-color: var(--cream); }

/* Button on light (cream) background */
.btn--dark {
  color: var(--ink);
  border-color: var(--ink);
}
.btn--dark:hover { background: var(--ink); color: var(--cream); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 194px 48px 81px;
  text-align: center;
  border-bottom: 1px solid oklch(86% 0.01 72);
}
.page-hero h1 {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}
.page-hero p {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SHARED ── */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 18px;
  display: block;
}
.section-title {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

/* ── PHOTO PLACEHOLDER ── */
.photo-placeholder {
  width: 100%; height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    -45deg,
    oklch(87% 0.01 72),
    oklch(87% 0.01 72) 1px,
    oklch(90.5% 0.012 72) 1px,
    oklch(90.5% 0.012 72) 9px
  );
}

/* ── FOOTER ── */
footer#site-footer {
  background: var(--ink);
  color: oklch(42% 0.006 70);
  text-align: center;
  padding: 56px 48px;
}
footer#site-footer p {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
footer#site-footer a { color: inherit; text-decoration: none; }
.footer-ornament {
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  opacity: 0.35;
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.4s; }
.reveal-delay-4 { transition-delay: 0.56s; }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  font-weight: 400;
}

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select,
.form-group textarea {
  border: none;
  border-bottom: 1.5px solid oklch(62% 0.012 72);
  background: transparent;
  padding: 14px 0 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color 0.25s;
  -webkit-appearance: none;
  resize: none;
  border-radius: 0;
}
.form-group textarea { padding: 10px 0 8px; }
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: oklch(68% 0.008 72);
  font-style: italic;
}
.form-group input:not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}
/* Subtle fill on focus */
.form-group input:not([type="radio"]):focus,
.form-group textarea:focus {
  background: oklch(96.5% 0.008 72 / 0.6);
}

/* ── LANG SWITCHER (dropdown) ── */
.lang-switcher {
  position: relative;
  font-family: var(--font-sans);
}
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  color: var(--ink);
  font-family: 'Made Mirage', 'Playfair Display', serif;
  transition: border-color 0.2s, background 0.2s;
  min-height: 36px;
}
.lang-current:hover,
.lang-switcher.open .lang-current {
  border-color: oklch(85% 0.01 72);
  background: rgb(255 255 255 / 0.55);
}
.lang-current .flag {
  width: 22px;
  height: 14px;
  display: block;
  border: 1px solid oklch(85% 0.01 72);
  border-radius: 1px;
}
.lang-caret {
  width: 10px;
  height: 6px;
  color: var(--ink-mid);
  transition: transform 0.2s;
}
.lang-switcher.open .lang-caret { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 156px;
  list-style: none;
  background: rgb(248 247 245 / 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid oklch(85% 0.01 72);
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 12px 32px -12px rgb(23 21 17 / 0.18);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 110;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-dropdown li { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.15s;
}
.lang-dropdown a:hover { background: var(--cream-dark); opacity: 1; }
.lang-dropdown a.active {
  background: var(--cream-dark);
  font-weight: 500;
}
.lang-dropdown .flag {
  width: 22px;
  height: 14px;
  display: block;
  border: 1px solid oklch(85% 0.01 72);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── HAMBURGER BUTTON ── */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
/* Animate to ✕ when expanded */
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MENU BACKDROP ── */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 149;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── MOBILE SLIDE-IN DRAWER ── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: min(300px, 85vw);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 72px 40px 48px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.35s;
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}

/* Close button — X made from two spans */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mobile-menu-close span {
  position: absolute;
  width: 20px;
  height: 1px;
  background: var(--ink-light);
  transition: background 0.2s;
}
.mobile-menu-close span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-close span:nth-child(2) { transform: rotate(-45deg); }
.mobile-menu-close:hover span { background: var(--ink); }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 16px;
}
.mobile-menu-nav a {
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  padding: 8px 0;
  display: block;
  width: 100%;
}
.mobile-menu-nav a:hover { opacity: 1; }

/* Mobile menu RSVP link */
.mobile-menu-rsvp {
  margin-top: 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 14px 28px;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}
.mobile-menu-rsvp:hover { background: var(--ink); color: var(--cream); }

.mobile-menu-lang {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.mobile-menu-lang a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid oklch(85% 0.01 72);
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.mobile-menu-lang a.active {
  color: var(--ink);
  background: var(--cream-dark);
  border-color: var(--ink-light);
}
.mobile-menu-lang a:hover { color: var(--ink); }
.mobile-menu-lang .flag {
  width: 20px;
  height: 13px;
  display: block;
  border: 1px solid oklch(85% 0.01 72);
  border-radius: 1px;
}

/* ── DETAILS PAGE ── */
.info-sections {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 48px 140px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.info-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid oklch(86% 0.01 72);
  align-items: start;
}
.info-block:first-child { border-top: 1px solid oklch(86% 0.01 72); }
.info-block-label {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 6px;
}
.info-block-body h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
}
.info-block-body p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.85;
  letter-spacing: 0.01em;
}
.info-block-body p + p { margin-top: 12px; }
.info-block-body a { color: var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; }

/* ── TRAVEL PAGE ── */
.venue-section { overflow: hidden; margin-top: 76px; }
.venue-image-wrap {
  width: 100%;
  position: relative;
  padding: 72px 140px;
  background: var(--cream);
  box-sizing: border-box;
}
.venue-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.75);
}
.venue-image-wrap--wide img {
  aspect-ratio: 2042 / 1111;
  object-fit: cover;
}
.venue-title-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10%;
  pointer-events: none;
}
.venue-title-text {
  font-family: 'Made Mirage', 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow:
    0 0 40px rgba(0,0,0,0.5),
    0 0 12px rgba(0,0,0,0.3);
}

.getting-here {
  padding: 120px 48px;
  background: var(--cream-dark);
}
.getting-here-inner { max-width: 1100px; margin: 0 auto; }
.getting-here-title {
  font-size: clamp(25px, 3.5vw, 45px);
  font-weight: 300;
  text-align: center;
  margin-bottom: 72px;
  letter-spacing: 0.04em;
}
.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.transport-item { text-align: center; }
.transport-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--ink-mid);
}
.transport-icon svg { width: 100%; height: 100%; }
.transport-item h3 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.transport-item p { font-family: var(--font-sans); font-size: 15px; font-weight: 300; color: var(--ink-mid); line-height: 1.75; }

.accommodation-strip {
  border-top: 1px solid oklch(86% 0.01 72);
  padding: 80px 48px;
  text-align: center;
}
.accommodation-strip-inner { max-width: 640px; margin: 0 auto; }
.accommodation-strip p { font-size: 17px; font-weight: 300; color: var(--ink-mid); line-height: 1.9; margin-top: 16px; }

/* ── TRAVEL LONG-FORM ── */
.travel-prose-section {
  padding: 80px 48px 100px;
  background: var(--cream);
}
.travel-prose-section--alt {
  background: var(--cream-dark);
}
.travel-prose-inner {
  max-width: 720px;
  margin: 0 auto;
}
.travel-prose-h2 {
  font-size: clamp(25px, 3.5vw, 45px);
  font-weight: 300;
  text-align: center;
  margin: 32px 0 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.travel-prose-inner > .eyebrow + .travel-prose-h2 { margin-top: 16px; }
.travel-prose-h2.travel-prose-h2--sm { font-size: clamp(21px, 3vw, 38px); }
.travel-prose-h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  margin: 40px 0 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.travel-prose-p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-top: 12px;
}
.travel-prose-cta {
  text-align: center;
  margin-top: 32px;
}
.travel-map-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.travel-map-btns .btn { margin-top: 0; }
.travel-rich { font-family: var(--font-sans); font-size: 15px; font-weight: 300; color: var(--ink-mid); line-height: 1.8; }
.travel-rich p { margin-top: 14px; }
.travel-rich p:first-child { margin-top: 0; }
.travel-rich-h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin: 36px 0 8px;
  font-weight: 500;
}
.travel-rich-h4:first-child { margin-top: 8px; }
.travel-rich-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.travel-rich-list li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-mid);
}
.travel-rich-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--ink-light);
}
.travel-sight { margin-top: 28px; }
.travel-sight:first-child { margin-top: 8px; }
.travel-sight-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.travel-sight p { font-size: 15px; font-weight: 300; color: var(--ink-mid); line-height: 1.8; }

/* ── FAQ contact lists (details page) ── */
.faq-contact-list {
  list-style: none;
  padding: 8px 0 4px;
  margin: 0;
}
.faq-contact-list li {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.85;
  font-style: italic;
  margin-top: 6px;
}
.faq-contact-name { font-weight: 500; font-style: normal; margin-right: 0.25em; }
.faq-contact-list--details { padding-top: 12px; }
.faq-contact-list--details li { font-family: var(--font-sans); font-size: 14px; font-style: normal; font-weight: 300; }
.faq-contact-list--details .faq-contact-name { font-family: var(--font-sans); font-size: 14px; font-weight: 700; }

/* ── RSVP PAGE ── */
/* ── RSVP PAGE ── */
/* ── RSVP SPLIT LAYOUT ── */
.rsvp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  margin-top: 76px;
  position: relative;
}

/* Left: sticky photo with top/bottom margin */
.rsvp-split-photo {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow: hidden;
  padding: 24px 0 24px 24px;
  box-sizing: border-box;
  background: var(--cream);
}
.rsvp-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* RSVP title: centered across full width of both columns */
.rsvp-title-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 48px;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
.rsvp-big-title {
  font-family: 'Made Mirage', serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  line-height: 1;
  margin-bottom: 16px;
}
.rsvp-hero-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.75;
  max-width: 360px;
}

/* Right: floral background, form starts after title space */
.rsvp-bg-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 48px 100px;
  background: var(--cream);
}

.rsvp-page-hero { text-align: center; margin-bottom: 56px; }

.rsvp-card {
  background: rgb(236 234 231 / 0.75);
  width: 100%;
  padding: 56px 56px 64px;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.dietary-guest-label {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.dietary-input {
  border: none;
  border-bottom: 1.5px solid oklch(62% 0.012 72);
  background: transparent;
  padding: 10px 0 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  width: 100%;
  outline: none;
}

.form-submit-wrap { text-align: center; padding-top: 24px; }
.form-submit {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 16px 64px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, letter-spacing 0.2s;
  display: inline-block;
}
.form-submit:hover {
  background: var(--ink);
  color: var(--cream);
  letter-spacing: 0.32em;
}

.success-state {
  text-align: center;
  padding: 80px 0;
}
.success-state h3 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.success-state p {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
}

/* ── CUSTOM RADIO BUTTONS ── */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
  border: 1.5px solid oklch(62% 0.012 72);
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}
.radio-label:not(:last-child) {
  border-bottom: 1px solid oklch(82% 0.01 72);
}
.radio-label:hover {
  background: oklch(95% 0.01 72);
}
/* Hide native radio */
.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
/* Custom indicator — left stripe */
.radio-label::before {
  content: '';
  display: block;
  width: 3px;
  align-self: stretch;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.2s;
}
.radio-label:has(input:checked)::before {
  background: var(--ink);
}
/* Custom dot circle */
.radio-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid oklch(58% 0.012 72);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 14px 16px 16px;
  transition: border-color 0.2s;
}
.radio-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.18s, transform 0.18s;
}
.radio-label:has(input:checked) .radio-indicator {
  border-color: var(--ink);
}
.radio-label:has(input:checked) .radio-indicator::after {
  opacity: 1;
  transform: scale(1);
}
.radio-text {
  flex: 1;
  padding: 16px 20px 16px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0.01em;
}
.radio-label:has(input:checked) .radio-text {
  color: var(--ink);
  font-weight: 400;
}

@keyframes revealFadeIn {
  from { opacity:0; transform:translateY(6px); }
  to { opacity:1; transform:translateY(0); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   900 → tablet transport grid
   768 → mobile nav / hero / sections
   640 → inner pages, forms
   480 → very small screens
   360 → extra-small phones
═══════════════════════════════════════════════ */

/* ── 900px: travel transport layout ── */
@media (max-width: 900px) {
  .transport-grid { grid-template-columns: 1fr; gap: 40px; }
  .getting-here { padding: 80px 24px; }
  .accommodation-strip { padding: 80px 24px; }
  .venue-section { padding: 0; }
  .venue-image-wrap { padding: 0; }
}

/* ── 768px: mobile nav, hero, home sections ── */
@media (max-width: 768px) {
  /* Nav: collapse to center title + right controls */
  nav#nav {
    padding: 16px 20px;
    grid-template-columns: 1fr auto;
  }
  nav#nav.scrolled { padding: 12px 20px; }

  .nav-left { display: none !important; }
  .nav-right { gap: 8px; }
  .nav-rsvp { display: none; }
  .menu-btn { display: flex; }

  /* Nav title: allow wrapping, scale down */
  .nav-title {
    font-size: clamp(14px, 4.5vw, 22px);
    letter-spacing: 0.1em;
    white-space: normal;
    line-height: 1.15;
    text-align: left;
  }

  /* Hero: switch to a 2-column CSS grid so all 3 photos display cleanly.
     Row 1: center photo (full width) with date overlaid.
     Row 2: left photo | right photo side by side. */
  .hero-composition {
    padding: 0;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4px;
  }

  /* Center photo — full-width in row 1, switch from absolute to grid item */
  .hero-photo-center {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: clamp(252px, 82.8vw, 396px);
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 2;
  }

  /* Left photo — left cell in row 2 */
  .hero-photo-left {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: clamp(110px, 46vw, 210px);
    grid-column: 1;
    grid-row: 2;
    z-index: 1;
  }

  /* Right photo — right cell in row 2 */
  .hero-photo-right {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: clamp(110px, 46vw, 210px);
    grid-column: 2;
    grid-row: 2;
    z-index: 1;
  }

  /* Date overlay: stays absolutely positioned, but scoped to row 1 height only */
  .hero-composition .hero-date-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    height: clamp(252px, 82.8vw, 396px);
    z-index: 3;
  }
  .hero-composition .hero-date-text {
    font-size: clamp(28px, 7.5vw, 42px);
    letter-spacing: 0.08em;
  }
  .hero-photo-left img { object-position: top center; }

  /* Schedule: stack vertically */
  .schedule { padding: 80px 24px; }
  .schedule .section-title { margin-bottom: 56px; }
  .schedule-timeline { flex-direction: column; align-items: center; gap: 24px; }
  .sched-line { width: 48px; height: 1px; align-self: auto; margin: 0; }
  .schedule-item { max-width: 100%; padding: 0 8px; }

  /* Location: single column */
  .location { padding: 80px 24px; }
  .location-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .location-text-left, .location-text-right { text-align: center; }
  /* Unwrap photo-wrap so its children become direct grid items */
  .location-photo-wrap { display: contents; }
  .location-venue-name { order: 1; font-size: clamp(38px, 5.5vw, 72px); }
  .location-text-left  { order: 2; }
  .location-photo      { order: 3; width: clamp(220px, 70vw, 340px); height: clamp(260px, 85vw, 400px); margin: 0 auto; }
  .location-text-right { order: 4; }
  .location-travel-btn { order: 5; }

  /* Countdown */
  .countdown-section { padding: 80px 24px; }
  .countdown-label { margin-bottom: 48px; }
  .countdown-num { font-size: clamp(16px, 5vw, 30px); }
  .countdown-divider { height: 48px; }
}

/* ── 640px: inner pages, forms ── */
@media (max-width: 640px) {
  nav#nav.scrolled { padding: 12px 16px; }

  /* Page heroes */
  .page-hero { padding: 110px 20px 56px; }

  /* Details */
  .info-block { grid-template-columns: 1fr; gap: 12px; padding: 40px 0; }
  .info-sections { padding: 56px 20px 80px; }

  /* RSVP */
  .rsvp-wrap { padding: 56px 20px 80px; }
  .form-row { grid-template-columns: 1fr; }
  .form-section { padding: 32px 0; gap: 24px; }
  .form-submit { padding: 18px 40px; width: 100%; }
  .form-submit-wrap { padding-top: 40px; }

  /* Footer */
  footer#site-footer { padding: 40px 24px; }
}

/* ── 480px: very small phones — countdown grid ── */
@media (max-width: 480px) {
  /* Countdown: 2×2 grid instead of a single cramped row */
  .countdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 16px;
    align-items: start;
  }
  .countdown-divider { display: none; }
  .countdown-col { gap: 10px; }
  .countdown-num { font-size: clamp(20px, 7vw, 30px); }

  /* Travel: shorter venue hero on very small screens */
  .venue-image-wrap img { height: clamp(380px, 80vw, 520px); }
}

/* ── 360px: extra-small phones ── */
@media (max-width: 360px) {
  nav#nav { padding: 14px 16px; }
  .nav-title { font-size: 13px; letter-spacing: 0.08em; }
  /* Hero grid: tighten gap and reduce font on very small screens */
  .hero-composition { gap: 2px; }
  .hero-composition .hero-date-text { letter-spacing: 0.08em; }
  .hero-photo-center { height: clamp(198px, 79.2vw, 288px); }
  .hero-composition .hero-date-overlay { height: clamp(198px, 79.2vw, 288px); }
  .hero-photo-left,
  .hero-photo-right { height: clamp(90px, 42vw, 160px); }
}
