/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-gold: #B8860B;
  /* Brand colors */
  --color-accent:       #073e3d;
  --color-accent-light: #0e6b67;
  --color-accent-muted: rgba(7, 62, 61, 0.08);

  /* Backgrounds */
  --color-bg:        #faf9f7;
  --color-bg-light:  #f5f0ec;
  --color-bg-accent: #eef4f3;
  --color-white:     #ffffff;

  /* Text */
  --color-text:       #1f2937;
  --color-text-muted: #6b7280;

  /* Hero gradient */
  --color-hero-from: #073e3d;
  --color-hero-mid:  #0a524f;
  --color-hero-to:   #0f6e69;

  /* Typography */
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Misc */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.25rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(7,62,61,0.12), 0 4px 8px rgba(0,0,0,0.08);

  --ease: 250ms ease;
  --ease-fast: 150ms ease;
  --ease-slow: 400ms ease;

  --nav-h: 64px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--ease-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(7, 62, 61, 0.08);
  transition: box-shadow var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  gap: var(--sp-6);
}

.nav__logo a {
  font-family: 'Great Vibes', cursive;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-accent);
  transition: opacity var(--ease-fast);
}
.nav__logo a:hover { opacity: 0.7; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  position: relative;
  padding: var(--sp-1) 0;
  transition: color var(--ease-fast);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
  border-radius: var(--radius-full);
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--color-accent); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

/* Hamburger button — hidden on desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  transition: background var(--ease-fast);
}
.nav__toggle:hover { background: var(--color-accent-muted); }

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav__toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container--narrow { max-width: 760px; }

.section { padding: var(--sp-20) 0; }
.section--light  { background: var(--color-bg-light); }
.section--white  { background: var(--color-white); }
.section--accent { background: var(--color-bg-accent); }

.section__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-2);
}
.section__title {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}
.section__rule {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  margin: var(--sp-4) auto 0;
}

/* ============================================================
   INFO CARDS
   ============================================================ */
.info-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--color-white);
  padding: var(--sp-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(7, 62, 61, 0.07);
  transition: box-shadow var(--ease), transform var(--ease);
}
.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
}

.info-card__body { flex: 1; min-width: 0; }

.info-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-1);
}
.info-card__value {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--sp-1);
}
.info-card__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.info-card__sub a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: opacity var(--ease-fast);
}
.info-card__sub a:hover { opacity: 0.7; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--color-hero-from) 0%,
    var(--color-hero-mid)  50%,
    var(--color-hero-to)   100%
  );
  padding: calc(var(--nav-h) + var(--sp-12)) var(--sp-6) var(--sp-12);
}

/* Decorative radial blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  top: -20%; right: -10%;
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.hero::after {
  bottom: -15%; left: -10%;
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
}

/* Petals layer */
/* Burst icons layer — emoji + satin ribbons */
.hero__burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.burst-icon {
  position: absolute;
  top: -40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  transform-origin: center center;
  animation: burstFloat linear forwards;
  will-change: transform, opacity;
}
@keyframes burstFloat {
  0%   { transform: translateY(0) scale(0.8) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.85; }
  80%  { opacity: 0.75; }
  100% { transform: translateY(110vh) scale(0.6) rotate(360deg); opacity: 0; }
}

/* Satin ribbon SVG floaters */
.hero-ribbon {
  position: absolute;
  top: -60px;
  opacity: 0;
  pointer-events: none;
  animation: ribbonDrift linear forwards;
  will-change: transform, opacity;
}
@keyframes ribbonDrift {
  0%   { transform: translateY(0) rotate(0deg) scaleX(1);   opacity: 0; }
  8%   { opacity: 0.7; }
  50%  { transform: translateY(55vh) rotate(180deg) scaleX(-1); opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(115vh) rotate(400deg) scaleX(1); opacity: 0; }
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 1;
  color: var(--color-gold);
  max-width: 640px;
  /* gold border frame */
  border: 2px solid #B8860B;
  padding: var(--sp-10) var(--sp-12);
  /* double-line effect: thin inner shadow mirrors the border */
  box-shadow:
    inset 0 0 0 6px rgba(184, 134, 11, 0.08),
    0 0 40px rgba(184, 134, 11, 0.12);
}

.hero__monogram {
  position: absolute;
  left: 50%;
  top: 24%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--sp-4);
}

.hero__title {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

.hero__amp {
  font-style: italic;
  font-weight: 300;
  opacity: 0.8;
  font-size: 0.8em;
}

.hero__date {
  font-size: var(--text-lg);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero__divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin: var(--sp-8) auto;
}

/* Countdown */
.hero__countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
}
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  min-width: 64px;
}
.countdown__number {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.countdown__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* CTA button */
.hero__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-3) var(--sp-8);
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  transition: background var(--ease), border-color var(--ease), transform var(--ease-fast);
}
.hero__cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-full);
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.6; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1;   }
}

/* ============================================================
   CEREMONY
   ============================================================ */
.ceremony__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.info-card--full { grid-column: 1 / -1; }

/* ============================================================
   RECEPTION
   ============================================================ */
.reception__content {
  display: grid;
  gap: var(--sp-8);
}

.reception__image-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.reception__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.reception__image-placeholder:hover img { transform: scale(1.02); }

.reception__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

/* ============================================================
   TIMELINE — centered alternating (odd=left, even=right)
   ============================================================ */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-4) 0 var(--sp-2);
}

/* Continuous vertical line down the centre */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 30px;
  bottom: 30px;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--color-gold), rgba(7,62,61,0.18));
  border-radius: var(--radius-full);
  pointer-events: none;
}

/* Each row: three equal columns — content | badge | content */
.timeline__item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  column-gap: var(--sp-6);
  align-items: start;
  margin-bottom: var(--sp-10);
  position: relative;
}
.timeline__item:last-child { margin-bottom: 0; }

/* Centre column: the badge circle */
.timeline__left {
  grid-column: 2;
  grid-row: 1;        /* explicit row prevents auto-placement from bumping it */
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* The connector inside .timeline__left is replaced by ::before — hide it */
.timeline__connector { display: none; }

/* The circle badge */
.timeline__badge {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--color-gold);
  flex-shrink: 0;
}
.timeline__badge img {
  /* Tint black PNG icons to match --color-accent (#073e3d) */
  filter: invert(19%) sepia(43%) saturate(712%) hue-rotate(137deg) brightness(90%) contrast(101%);
}

/* ODD items (1st, 3rd…): body sits in column 1, right-aligned */
.timeline__body {
  grid-column: 1;
  grid-row: 1;        /* must match .timeline__left — see auto-placement note above */
  text-align: right;
  padding: 8px var(--sp-4) 0 0;
}

/* EVEN items (2nd, 4th…): body sits in column 3, left-aligned */
.timeline__item--right .timeline__body {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  padding: 8px 0 0 var(--sp-4);
}

.timeline__time {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: var(--sp-1);
}
.timeline__title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--sp-1);
}
.timeline__desc { color: var(--color-text-muted); font-size: var(--text-sm); }

/* micro-animation confetti for timeline */
.confetti-piece { position: absolute; width: 8px; height: 8px; border-radius: 2px; opacity: 0.95; transform: translateY(0) rotate(0) scale(1); animation: confettiPop 700ms ease-out forwards; }
@keyframes confettiPop { 0% { transform: translateY(0) scale(1) rotate(0); opacity: 1; } 100% { transform: translateY(-80px) translateX(40px) rotate(360deg) scale(0.6); opacity: 0; } }

/* ribbon piece */
.ribbon-piece {
  position: absolute;
  width: 10px;
  height: 28px;
  background: linear-gradient(180deg,#ef5350,#c62828);
  border-radius: 6px 6px 2px 2px;
  transform-origin: top center;
  opacity: 0.95;
  animation: ribbonFloat 1200ms ease-out forwards;
}
@keyframes ribbonFloat {
  0% { transform: translateY(0) rotate(0) scale(1); opacity: 1; }
  50%{ transform: translateY(-40px) rotate(30deg) scale(0.98); }
 100%{ transform: translateY(-140px) rotate(240deg) scale(0.6); opacity: 0; }
}

/* ============================================================
   NAV — Share Photos CTA accent
   ============================================================ */
.nav__share-cta {
  background: var(--color-gold);
  color: var(--color-white) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: background 200ms ease, transform 150ms ease;
}
/* kill the sliding underline that all nav links get */
.nav__share-cta::after { display: none !important; }
.nav__share-cta:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ============================================================
   SHARE PHOTOS SECTION
   ============================================================ */
.share-photos {
  background: linear-gradient(135deg, #fdf6ec 0%, #f5f0fa 100%);
}
.share-photos__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-10) var(--sp-12);
  border-left: 5px solid var(--color-gold);
}
.share-photos__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(184,134,11,0.1), rgba(7,62,61,0.08));
  border-radius: 50%;
  color: var(--color-gold);
}
.share-photos__text { flex: 1; }
.share-photos__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}
.share-photos__desc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--sp-6);
  max-width: 52ch;
  line-height: 1.7;
}
.btn-upload {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--sp-3) var(--sp-8);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 4px 14px rgba(184,134,11,0.3);
}
.btn-upload:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7,62,61,0.22);
}
.share-photos__hint {
  margin-top: var(--sp-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  opacity: 0.75;
}

@media (max-width: 640px) {
  .share-photos__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-6);
    padding: var(--sp-8) var(--sp-6);
    border-left: none;
    border-top: 4px solid var(--color-gold);
  }
  .share-photos__desc { margin: 0 auto var(--sp-6); }
}

/* Photos section: flush bottom so the strip meets the next section cleanly */
#photos { padding-bottom: 0; }

/* ============================================================
   PHOTOS — Infinite horizontal scroll strip
   ============================================================ */
.photos-strip {
  overflow: hidden;          /* hide the track overflow — no scrollbar */
  width: 100%;
  /* soft fade masks at the left/right edges */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, black 6%, black 94%, transparent 100%);
}

.photos-strip__track {
  display: flex;
  gap: 0;
  /* no gap → no padding-right needed; -50% aligns cleanly at clone boundary */
  width: max-content;        /* as wide as all cards combined */
  will-change: transform;
  /* animation is NOT set here — JS adds .is-ready after cloning so the
     animation only starts once the full doubled set is in the DOM */
}

/* Scrolling is driven entirely by JS requestAnimationFrame — no CSS keyframes.
   JS clones the card set enough times to always overfill the viewport, then
   wraps pos by exactly singleSetW so the loop is mathematically seamless. */

/* Individual photo card — portrait aspect ratio suits vertical phone shots */
.photo-card {
  position: relative;
  flex-shrink: 0;
  width: 260px;
  height: 360px;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  /* right-side glow — extends outward over the next card, giving a warm
     gold light seam between photos (outer shadows aren't clipped by own overflow) */
  box-shadow:
    3px 0 14px rgba(184, 134, 11, 0.55),
    6px 0 32px rgba(184, 134, 11, 0.28),
    10px 0 52px rgba(184, 134, 11, 0.12);
  transition: box-shadow 350ms ease;
}

/* right-side gold border line — ::after sits above the image so it's always visible */
.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-right: 1.5px solid rgba(184, 134, 11, 0.85);
  pointer-events: none;
  z-index: 2;
  transition: border-color 350ms ease;
}

.photos-strip:hover .photo-card:hover {
  box-shadow:
    3px 0 20px rgba(184, 134, 11, 0.75),
    8px 0 48px rgba(184, 134, 11, 0.45),
    14px 0 72px rgba(184, 134, 11, 0.2);
  z-index: 1;
}
.photos-strip:hover .photo-card:hover::after {
  border-color: rgba(184, 134, 11, 1);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(.25,.8,.25,1), filter 400ms ease;
  filter: saturate(0.88) contrast(1.04);
}
.photos-strip__track:not([style*='paused']) .photo-card:hover img,
.photos-strip:hover .photo-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(0.88);
}

/* Caption overlay — slides up on hover */
.photo-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-3) var(--sp-4);
  background: linear-gradient(to top, rgba(7,62,61,0.85) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 350ms cubic-bezier(.25,.8,.25,1);
  display: flex;
  align-items: flex-end;
}
.photos-strip:hover .photo-card:hover .photo-card__overlay { transform: translateY(0); }
.photo-card__overlay span {
  font-family: 'Caveat', cursive, var(--font);
  font-size: var(--text-lg);
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Slightly smaller cards on mobile but keep them tall enough to look good */
@media (max-width: 600px) {
  .photo-card { width: 200px; height: 280px; }
  /* always show captions on touch */
  .photo-card__overlay { transform: translateY(0); }
}

/* ============================================================
   VENUE & MAP
   ============================================================ */
.venue__content {
  display: grid;
  gap: var(--sp-8);
}
.venue__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.venue__map-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  padding: var(--sp-2) var(--sp-4);
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-full);
  width: fit-content;
  transition: background var(--ease-fast), color var(--ease-fast);
}
.venue__map-link:hover {
  background: var(--color-accent);
  color: #fff;
}

.venue__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.venue__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(7, 62, 61, 0.07);
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  gap: var(--sp-4);
  transition: color var(--ease-fast);
}
.faq-item__question:hover { color: var(--color-accent); }
.faq-item__question[aria-expanded="true"] { color: var(--color-accent); }

.faq-item__icon {
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform var(--ease);
}
.faq-item__question[aria-expanded="true"] .faq-item__icon { transform: rotate(180deg); }

.faq-item__answer {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(7, 62, 61, 0.06);
  animation: fadeIn var(--ease) ease;
}
.faq-item__answer[hidden]      { display: none; }
.faq-item__answer:not([hidden]) { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   DRESS CODE
   ============================================================ */
.dresscode__intro {
  margin-top: var(--sp-6);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.dresscode__moodboard {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-10) var(--sp-6);
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

/* Three columns: side | center (featured) | side */
.dresscode__col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.dresscode__col--featured {
  flex: 1.5;
  flex-direction: column;
  height: 460px;
}

.dresscode__card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(7, 62, 61, 0.08);
  flex: 1;
  min-height: 200px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.dresscode__card--short { flex: 0.65; }
.dresscode__col--featured .dresscode__card { min-height: unset; height: 100%; flex: 1; }

.dresscode__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dresscode__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(.25,.8,.25,1), filter 400ms ease;
  filter: saturate(0.9) contrast(1.03);
}
.dresscode__card:hover img {
  transform: scale(1.05);
  filter: saturate(1.05) brightness(0.9);
}

.dresscode__card figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-6) var(--sp-4) var(--sp-3);
  background: linear-gradient(to top, rgba(7,62,61,0.75) 0%, transparent 100%);
  font-family: 'Caveat', cursive;
  font-size: var(--text-lg);
  color: #fff;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.dresscode__note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-top: var(--sp-2);
}
.dresscode__note a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile: single column stack */
@media (max-width: 767px) {
  .dresscode__moodboard {
    flex-direction: column;
    padding: var(--sp-6) var(--sp-4);
  }
  .dresscode__col,
  .dresscode__col--featured { flex-direction: row; flex: unset; }
  .dresscode__card,
  .dresscode__card--short { min-height: 160px; flex: 1; }
  .dresscode__col--featured .dresscode__card { min-height: 240px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-accent);
  color: #fff;
  padding: var(--sp-12) 0;
  text-align: center;
}
.site-footer__couple {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.site-footer__date {
  font-size: var(--text-sm);
  opacity: 0.7;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}
.site-footer__love {
  font-size: var(--text-sm);
  opacity: 0.45;
}

/* ============================================================
   RESPONSIVE — TABLET (≥ 768px)
   ============================================================ */
@media (min-width: 768px) {
  .venue__content {
    grid-template-columns: 1fr 1.8fr;
    align-items: start;
    gap: var(--sp-12);
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .reception__content {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
  .reception__image-placeholder { aspect-ratio: 4 / 3; }
  .reception__details {
    grid-template-columns: 1fr;
    align-self: center;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root { --nav-h: 60px; }

  .section { padding: var(--sp-16) 0; }
  .section__title { font-size: var(--text-2xl); }

  /* Show hamburger, hide inline links */
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4) 0 var(--sp-6);
    border-bottom: 1px solid rgba(7, 62, 61, 0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 999;
  }
  .nav__links.is-open { display: flex; }

  .nav__links a {
    display: block;
    padding: var(--sp-3) var(--sp-6);
    font-size: var(--text-base);
    border-left: 3px solid transparent;
    transition: color var(--ease-fast), border-color var(--ease-fast), background var(--ease-fast);
  }
  .nav__links a::after { display: none; }
  .nav__links a:hover,
  .nav__links a.is-active {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    background: var(--color-accent-muted);
  }

  /* Hero */
  .hero__content { padding: var(--sp-8) var(--sp-6); }
  .hero__countdown { gap: var(--sp-4); }
  .countdown__unit { min-width: 52px; }

  /* Cards */
  .ceremony__content  { grid-template-columns: 1fr; }
  .reception__details { grid-template-columns: 1fr; }

  /* Timeline — collapse to single left-aligned column on mobile */
  .timeline::before { left: 30px; top: 0; bottom: 0; transform: none; }
  .timeline__item {
    display: flex;
    flex-direction: row;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
  }
  .timeline__left { grid-column: unset; }
  .timeline__connector { display: flex; width: 3px; flex: 1; min-height: 32px; background: linear-gradient(to bottom, var(--color-gold), rgba(7,62,61,0.18)); border-radius: 9999px; margin: 0 auto; }
  .timeline__left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 60px; }
  .timeline__body,
  .timeline__item--right .timeline__body { grid-column: unset; text-align: left; padding: 4px 0 0 0; }

  /* Venue */
  .venue__content { grid-template-columns: 1fr; }
  .venue__map     { aspect-ratio: 4 / 3; }

  /* FAQ */
  .faq-item__question { padding: var(--sp-4); font-size: var(--text-sm); }
  .faq-item__answer   { padding: 0 var(--sp-4) var(--sp-4); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .hero__scroll-indicator,
  .hero__petals,
  .hero__cta,
  .venue__map,
  .nav__toggle { display: none; }

  .hero {
    min-height: auto;
    padding: var(--sp-8) var(--sp-6);
    background: var(--color-accent) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .section {
    padding: var(--sp-8) 0;
    break-inside: avoid;
  }
  .venue__content { grid-template-columns: 1fr; }
}
