/* ============================================================
   Esaoghene & Pelet — 31 October 2026
   Design copied from the inspo video's structure and rhythm,
   recoloured to the navy / sky blue / white theme.
   ============================================================ */

:root{
  --navy:      #1E3A5F;   /* the single accent, used where the inspo used sage */
  --navy-deep: #162C48;
  --sky:       #A8C8E0;
  --sky-pale:  #EDF3F8;
  --ink:       #2C2C2C;   /* headings */
  --body:      #5A5A5A;   /* body copy */
  --muted:     #8A8A8A;
  --ground:    #FBFBF9;   /* the off-white page */
  --surround:  #E8EEF4;   /* tinted area either side on desktop */
  --line:      #E4E4E0;
  --col:       600px;     /* the narrow single column */
}

*{ box-sizing:border-box; }

/* must win over the display:block set on .btn-ghost etc. */
[hidden]{ display:none !important; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--surround);
  color:var(--body);
  font-family:'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight:300;
  font-size:16px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

/* The whole site is one narrow centred column, exactly like the inspo. */
.shell{
  max-width:var(--col);
  margin:0 auto;
  background:var(--ground);
  overflow:hidden;
  box-shadow:0 0 60px rgba(30,58,95,.08);
}

/* ---------- shared type ---------- */
.script{
  font-family:'Great Vibes', cursive;
  font-weight:400;
  color:var(--ink);
  line-height:1.25;
  margin:0;
}
.script-lg{ font-size:clamp(2.6rem, 9vw, 3.4rem); }
.script-md{ font-size:clamp(1.9rem, 6.5vw, 2.4rem); margin:8px 0 22px; }
.script-sm{ font-size:clamp(1.5rem, 5vw, 1.9rem); margin-top:2px; }

.sec-title{
  font-size:clamp(1.25rem, 4.6vw, 1.55rem);
  font-weight:700;
  letter-spacing:.14em;
  color:var(--ink);
  margin:16px 0 14px;
  line-height:1.3;
}

.lead{
  font-size:1rem;
  color:var(--body);
  margin:0 auto 6px;
  max-width:34ch;
}
.lead.small{ font-size:.9rem; max-width:38ch; margin-top:16px; }

/* ============================================================
   NAVIGATION
   Transparent over the hero so the photograph is uninterrupted,
   then a frosted bar once you scroll past it.
   ============================================================ */

.nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:60;
  transition:background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.nav-inner{
  max-width:1040px;
  margin:0 auto;
  padding:16px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

/* over the hero: no bar at all, white marks on the photograph */
.nav a, .nav button{ color:#fff; }
.nav-mark{
  font-family:'Great Vibes', cursive;
  font-size:1.7rem;
  line-height:1;
  text-decoration:none;
  text-shadow:0 1px 12px rgba(0,0,0,.4);
  white-space:nowrap;
}

.nav-links{
  display:none;                 /* desktop only */
  list-style:none;
  margin:0; padding:0;
  gap:26px;
}
.nav-links a{
  position:relative;
  font-size:.74rem;
  font-weight:400;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
  padding:6px 0;
  text-shadow:0 1px 10px rgba(0,0,0,.35);
  transition:opacity .25s ease;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .35s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover::after,
.nav-links a.active::after{ transform:scaleX(1); }

.nav-cta{
  display:none;                 /* desktop only; mobile keeps it in the menu */
  border:1px solid rgba(255,255,255,.8);
  border-radius:4px;
  padding:10px 22px;
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.15em;
  text-indent:.15em;
  text-transform:uppercase;
  text-decoration:none;
  transition:background .3s ease, color .3s ease, border-color .3s ease;
}
.nav-cta:hover{ background:rgba(255,255,255,.16); }

/* hamburger */
.nav-toggle{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:34px; height:34px;
  padding:0;
  background:none;
  border:0;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:1.5px;
  background:currentColor;
  border-radius:2px;
  transition:width .3s ease;
}
.nav-toggle span:nth-child(1){ width:26px; }
.nav-toggle span:nth-child(2){ width:20px; }
.nav-toggle span:nth-child(3){ width:26px; }
.nav-toggle:hover span{ width:26px; }

/* --- scrolled state: frosted, dark text --- */
.nav.solid{
  background:rgba(251,251,249,.88);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 1px 0 var(--line), 0 6px 24px rgba(30,58,95,.05);
}
.nav.solid a, .nav.solid button{ color:var(--ink); text-shadow:none; }
.nav.solid .nav-mark{ color:var(--navy); }
.nav.solid .nav-cta{
  background:var(--navy);
  border-color:var(--navy);
  color:#fff;
}
.nav.solid .nav-cta:hover{ background:var(--navy-deep); }

/* --- full-screen menu --- */
.menu{
  position:fixed;
  inset:0;
  z-index:70;
  background:var(--navy);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .45s ease, visibility .45s ease;
}
.menu.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.menu-close{
  position:absolute;
  top:14px; right:20px;
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  background:none; border:0; color:#fff; cursor:pointer;
}
.menu-list{
  list-style:none;
  margin:0 0 26px;
  padding:0;
  text-align:center;
}
.menu-list li{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .5s ease, transform .5s cubic-bezier(.22,.61,.36,1);
}
.menu.open .menu-list li{
  opacity:1;
  transform:none;
  transition-delay:calc(var(--i) * 65ms + 120ms);
}
.menu-list a{
  display:block;
  padding:11px 0;
  font-family:'Great Vibes', cursive;
  font-size:2.5rem;
  line-height:1.2;
  color:#fff;
  text-decoration:none;
  transition:color .3s ease;
}
.menu-list a:hover, .menu-list a.active{ color:var(--sky); }

.menu-cta{
  border:1px solid rgba(255,255,255,.8);
  border-radius:4px;
  padding:14px 42px;
  color:#fff;
  font-size:.78rem;
  font-weight:500;
  letter-spacing:.18em;
  text-indent:.18em;
  text-transform:uppercase;
  text-decoration:none;
  opacity:0;
  transform:translateY(16px);
  transition:opacity .5s ease, transform .5s cubic-bezier(.22,.61,.36,1), background .3s ease;
}
.menu.open .menu-cta{
  opacity:1; transform:none;
  transition-delay:.55s;
}
.menu-cta:hover{ background:rgba(255,255,255,.16); }

/* stop the page scrolling behind the open menu */
body.menu-open{ overflow:hidden; }

/* anchored sections must clear the fixed bar */
.section, .band{ scroll-margin-top:82px; }

/* ============ HERO ============ */
.hero{
  position:relative;
  /* Deliberately short of the screen on mobile, so the music player and the
     start of the invite section are visible without scrolling - the way the
     reference does it. dvh tracks the real visible area as the browser
     chrome hides and shows; the vh line is the fallback. */
  height:min(62vh, 560px);
  height:min(62dvh, 560px);
  overflow:hidden;
}
.hero-img{
  width:100%; height:100%;
  object-fit:cover; object-position:center 28%;
  filter:grayscale(1) contrast(.70) brightness(1.14);   /* TEMPORARY - duotone base */
}
/* TEMPORARY blue monochrome. `color` blending takes hue and saturation
   from the sky blue but keeps the photograph's own luminosity, so faces
   keep their modelling instead of being crushed flat the way a navy
   shadow-floor duotone crushed them.
   Delete the two .hero-tint divs and this block to restore full colour. */
.hero{ isolation:isolate; }
.hero-tint{
  position:absolute; inset:0;
  pointer-events:none;
}
.hero-tint-dark{  background:#3A6EA5; mix-blend-mode:color; opacity:1; }
.hero-tint-light{ display:none; }

.hero-veil{
  position:absolute; inset:0;
  background:linear-gradient(to bottom,
    rgba(20,40,70,.14) 0%,
    rgba(20,40,70,0)   34%,
    rgba(20,40,70,.20) 68%,
    rgba(20,40,70,.42) 100%);
}
.hero-copy{
  position:absolute;
  left:0; right:0; bottom:7%;
  text-align:center;
  color:#fff;
  padding:0 20px;
}
.hero-names{
  font-family:'Great Vibes', cursive;
  color:#fff;
  font-size:clamp(2.8rem, 11.5vw, 4.4rem);
  line-height:1.05;
  margin:0 0 10px;
  text-shadow:0 2px 24px rgba(0,0,0,.35);
}
.hero-sub{
  margin:0;
  font-size:clamp(.86rem, 3.4vw, 1.05rem);
  font-weight:400;
  letter-spacing:.26em;
  text-indent:.26em;
  text-shadow:0 1px 14px rgba(0,0,0,.4);
}
.chevron{
  display:inline-block;
  margin-top:22px;
  color:#fff;
  animation:nudge 2s ease-in-out infinite;
}
/* the scroll cue nudges downward, the opposite way to everything else */
@keyframes nudge{
  0%,100%{ translate:0 0; }
  50%    { translate:0 7px; }
}

/* ============ MUSIC PLAYER ============ */
.player-wrap{
  padding:22px 24px 4px;
  display:flex;
  flex-direction:column;   /* tracklist sits under the player, not beside it */
  align-items:center;
}
.player-wrap audio{
  width:100%;
  max-width:340px;
  height:40px;
}

/* the two tracks sitting under the player */
.tracklist{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  margin-top:10px;
}
.track{
  background:none;
  border:0;
  padding:6px 10px;
  font-family:inherit;
  font-size:.78rem;
  font-weight:300;
  letter-spacing:.04em;
  color:var(--muted);
  cursor:pointer;
  border-radius:3px;
  transition:color .3s ease;
}
.track:hover{ color:var(--ink); }
.track.playing{
  color:var(--navy);
  font-weight:500;
}
/* a small filled dot marks the track that is loaded */
.track.playing::before{
  content:'';
  display:inline-block;
  width:5px; height:5px;
  border-radius:50%;
  background:var(--navy);
  margin-right:8px;
  vertical-align:middle;
}

/* ============ SECTIONS ============ */
.section{
  padding:62px 26px;
  text-align:center;
}

.icon{
  color:var(--ink);
  display:flex;
  justify-content:center;
}
.icon svg{ width:56px; height:56px; }
.icon-light{ color:#fff; }

/* ---------- countdown ---------- */
.countdown{
  display:flex;
  justify-content:center;
  gap:clamp(10px, 4vw, 22px);
  margin:34px 0 30px;
}
.cd-unit{ display:flex; flex-direction:column; align-items:center; }
.cd-circle{
  width:clamp(56px, 16vw, 66px);
  height:clamp(56px, 16vw, 66px);
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:clamp(1.05rem, 4.4vw, 1.3rem);
  font-weight:400;
  font-variant-numeric:tabular-nums;
}
.cd-label{
  margin-top:9px;
  font-size:.66rem;
  font-weight:500;
  letter-spacing:.12em;
  color:var(--body);
}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;
  background:var(--navy);
  color:#fff;
  border:none;
  border-radius:4px;
  padding:15px 30px;
  min-width:250px;
  font-family:inherit;
  font-size:.76rem;
  font-weight:500;
  letter-spacing:.16em;
  text-indent:.16em;
  text-decoration:none;
  cursor:pointer;
  transition:background .25s ease, transform .25s ease;
}
.btn:hover{ background:var(--navy-deep); transform:translateY(-1px); }

.btn-ghost{
  display:block;
  width:min(250px, 100%);
  margin:14px auto 0;
  border:1px solid rgba(255,255,255,.75);
  border-radius:4px;
  padding:14px 20px;
  color:#fff;
  font-size:.76rem;
  font-weight:400;
  letter-spacing:.16em;
  text-indent:.16em;
  text-decoration:none;
  transition:background .25s ease;
}
.btn-ghost:hover{ background:rgba(255,255,255,.14); }

.btn-cal{
  display:inline-flex;
  align-items:center;
  gap:9px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  padding:13px 26px;
  color:var(--ink);
  font-size:.88rem;
  font-weight:400;
  text-decoration:none;
  box-shadow:0 2px 10px rgba(30,58,95,.06);
  transition:box-shadow .25s ease;
}
.btn-cal:hover{ box-shadow:0 4px 16px rgba(30,58,95,.12); }

/* ---------- date | time ---------- */
.when{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(18px, 6vw, 30px);
  margin:34px 0 28px;
}
.when-date, .when-time{
  font-size:clamp(1.6rem, 6.4vw, 2rem);
  font-weight:300;
  color:var(--ink);
  letter-spacing:.02em;
}
.when-time em{ font-style:normal; font-size:.58em; margin-left:2px; }
.when-rule{
  width:1px;
  height:46px;
  background:var(--line);
}

.addr{
  font-size:.98rem;
  color:var(--body);
  margin:0 auto 26px;
  max-width:32ch;
}

/* ---------- meta pair (zoom id / passcode) ---------- */
.meta-pair{
  display:flex;
  justify-content:center;
  gap:clamp(20px, 8vw, 44px);
  margin:28px 0;
}
.meta-pair > div{ display:flex; flex-direction:column; gap:3px; }
.meta-k{ font-size:.62rem; letter-spacing:.14em; color:var(--muted); font-weight:500; }
.meta-v{ font-size:1rem; color:var(--ink); font-variant-numeric:tabular-nums; }

/* ---------- locked card ---------- */
.locked-card{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:26px;
  padding:15px 26px;
  border:1px dashed var(--line);
  border-radius:4px;
  background:var(--sky-pale);
  color:var(--navy);
  font-size:.84rem;
}

/* ---------- programme ---------- */
.program{
  list-style:none;
  margin:32px auto 0;
  padding:0;
  max-width:400px;
  text-align:center;
}
.program li{
  padding:22px 0;
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:5px;
}
.program li:last-child{ border-bottom:1px solid var(--line); }
.pg-num{
  font-size:.72rem;
  letter-spacing:.18em;
  color:var(--sky);
  font-weight:600;
}
.pg-role{
  font-size:1rem;
  font-weight:500;
  color:var(--ink);
  letter-spacing:.03em;
}
.pg-name{ font-size:.9rem; color:var(--body); }

/* ---------- ranked list (photo order) ---------- */
.ranked{
  counter-reset:r;
  list-style:none;
  margin:28px auto 0;
  padding:0;
  max-width:360px;
  text-align:left;
}
.ranked li{
  counter-increment:r;
  position:relative;
  padding:13px 0 13px 46px;
  border-bottom:1px solid var(--line);
  font-size:.95rem;
  color:var(--ink);
}
.ranked li::before{
  content:counter(r, decimal-leading-zero);
  position:absolute;
  left:0; top:13px;
  font-size:.72rem;
  letter-spacing:.1em;
  color:var(--sky);
  font-weight:600;
}

/* ---------- dress code swatches ---------- */
.swatches{
  display:flex;
  justify-content:center;
  gap:clamp(16px, 6vw, 30px);
  margin:24px 0 8px;
}
.sw{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  font-size:.74rem;
  letter-spacing:.06em;
  color:var(--body);
}
.sw-dot{
  width:38px; height:38px;
  border-radius:50%;
  display:block;
}
.sw-white{ background:#fff; border:1px solid var(--line); }

/* ---------- songs ---------- */
.songs{
  max-width:520px;
  margin:28px auto 0;
  text-align:left;
}
.song{ border-bottom:1px solid var(--line); }
.song:first-child{ border-top:1px solid var(--line); }

.song summary{
  list-style:none;
  cursor:pointer;
  position:relative;
  padding:20px 38px 20px 0;
}
.song summary::-webkit-details-marker{ display:none; }
.song summary::after{
  content:'+';
  position:absolute;
  right:4px; top:50%;
  transform:translateY(-50%);
  font-size:1.3rem;
  font-weight:300;
  color:var(--navy);
}
.song[open] summary::after{ content:'–'; }

.song-kicker{
  display:block;
  font-size:.64rem;
  font-weight:600;
  letter-spacing:.16em;
  color:var(--navy);
}
.song-name{
  display:block;
  margin-top:5px;
  font-size:1.05rem;
  color:var(--ink);
  line-height:1.35;
}
.song-ref{
  display:block;
  margin-top:3px;
  font-size:.78rem;
  color:var(--muted);
}

/* ---------- lyrics ----------
   Left aligned, not centred: the indented second line of each couplet is
   part of how the song is set, and centring would throw that away. */
.lyrics{
  font-family:'Poppins', sans-serif;
  font-weight:300;
  font-size:.94rem;
  line-height:1.95;
  color:var(--body);
  white-space:pre-wrap;
  margin:2px 0 14px;
  text-align:left;
}
.song-see{
  margin:0 0 22px;
  font-size:.76rem;
  color:var(--muted);
}

/* ============ FULL-BLEED BAND ============ */
.band{
  background:var(--navy);
  color:#fff;
  padding:66px 26px 72px;
  text-align:center;
}
.band-title{
  font-size:clamp(1.3rem, 5vw, 1.6rem);
  font-weight:400;
  letter-spacing:.14em;
  margin:18px 0 14px;
  color:#fff;
}
.band-lead{
  font-size:.98rem;
  color:rgba(255,255,255,.9);
  max-width:32ch;
  margin:0 auto 30px;
}

/* ============ GALLERY ============ */
.gallery-section{ padding:34px 20px; }
.gallery{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:10px;
}
.gallery img{
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
  border-radius:8px;
}
/* an odd last photo spans the full width, so the grid never leaves a hole */
.gallery img:last-child:nth-child(odd){ grid-column:1 / -1; aspect-ratio:3 / 2; }

/* ---------- cards ---------- */
.cards{
  display:grid;
  gap:14px;
  margin:28px auto 0;
  max-width:400px;
}
.card{
  border:1px solid var(--line);
  border-radius:6px;
  padding:22px 20px;
  background:#fff;
  text-align:center;
}
/* hotel cards read as entries, not as centred statements */
.cards .card{ text-align:left; }
.cards .card-b{ margin-top:6px; }
.card-t{
  font-size:.76rem;
  font-weight:600;
  letter-spacing:.14em;
  color:var(--navy);
  margin:0 0 9px;
}
.card-b{ font-size:.92rem; margin:0; color:var(--body); }
.card-m{ font-size:.8rem; color:var(--muted); margin:9px 0 0; }

.disclosure{ margin-top:24px; }
.gift-details{ margin-top:24px; }

/* ---------- bank details ---------- */
.bank-line{
  margin:0;
  font-size:.95rem;
  color:var(--body);
  line-height:1.6;
}
.bank-holder{ color:var(--ink); }

.acct{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
  padding:9px 10px 9px 16px;
  border:1px solid var(--line);
  border-radius:5px;
  background:var(--sky-pale);
}
.acct-num{
  font-size:1.22rem;
  font-weight:500;
  letter-spacing:.1em;
  color:var(--navy);
  font-variant-numeric:tabular-nums;
  user-select:all;          /* one tap selects the whole number */
}
.copy-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px; height:34px;
  padding:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--navy);
  cursor:pointer;
  transition:background .25s ease, border-color .25s ease, color .25s ease;
}
.copy-btn:hover{ background:var(--navy); border-color:var(--navy); color:#fff; }

/* swap the clipboard icon for a tick once it has copied */
.copy-btn .ic-done{ display:none; }
.copy-btn.copied{ background:var(--navy); border-color:var(--navy); color:#fff; }
.copy-btn.copied .ic-copy{ display:none; }
.copy-btn.copied .ic-done{ display:block; }

.copy-note{
  display:block;
  min-height:1.2em;
  margin-top:9px;
  font-size:.76rem;
  letter-spacing:.04em;
  color:var(--navy);
}
.gift-details .cards, .gift-details .card{ margin-top:14px; }

/* ---------- FAQ ---------- */
.faq-list{
  margin:26px auto 0;
  max-width:420px;
  text-align:left;
}
.faq-list details{
  border-bottom:1px solid var(--line);
}
.faq-list details:first-child{ border-top:1px solid var(--line); }
.faq-list summary{
  list-style:none;
  cursor:pointer;
  padding:18px 34px 18px 0;
  position:relative;
  font-size:.95rem;
  font-weight:400;
  color:var(--ink);
}
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{
  content:'+';
  position:absolute;
  right:4px; top:50%;
  transform:translateY(-50%);
  font-size:1.2rem;
  font-weight:300;
  color:var(--sky);
  transition:transform .25s ease;
}
.faq-list details[open] summary::after{ content:'\2013'; }
.faq-list details p{
  margin:0;
  padding:0 0 20px;
  font-size:.92rem;
  color:var(--body);
}

/* ---------- RSVP embed ---------- */
.form-embed{ margin-top:28px; }
.form-embed iframe{
  width:100%;
  border:0;
  border-radius:6px;
  min-height:900px;
}
.form-fallback{
  border:1px dashed var(--line);
  border-radius:6px;
  padding:34px 22px;
  background:var(--sky-pale);
}
.form-fallback .btn{ margin-top:18px; }
.form-note{
  margin:14px 0 0;
  font-size:.76rem;
  letter-spacing:.04em;
  color:var(--muted);
}

/* ============ FOOTER ============ */
.footer{
  padding:66px 26px 74px;
  text-align:center;
  border-top:1px solid var(--line);
}
.footer-date{
  margin:26px 0 0;
  font-size:.64rem;
  letter-spacing:.16em;
  color:var(--muted);
}

/* quiet credit line, last thing on the page */
.footer-credit{
  margin:22px 0 0;
  font-size:.78rem;
}
.footer-credit a{
  color:var(--muted);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
  transition:color .3s ease;
}
.footer-credit a:hover{ color:var(--navy); }

/* ============================================================
   MOTION
   Sections rise and fade as they enter the viewport, the way the
   reference video's content does. Icons draw themselves on.
   ============================================================ */

.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:
    opacity   .85s cubic-bezier(.22,.61,.36,1),
    transform .85s cubic-bezier(.22,.61,.36,1);
  transition-delay:calc(var(--i, 0) * 85ms);
  will-change:opacity, transform;
}
.reveal.in{
  opacity:1;
  transform:none;
}

/* line-art icons draw themselves in, then settle */
.icon svg [data-draw]{
  transition:stroke-dashoffset 1.5s cubic-bezier(.33,1,.68,1);
  transition-delay:calc(var(--i, 0) * 85ms + 120ms);
}

/* gallery photos lift slightly on hover */
.gallery img{
  transition:transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s ease;
}
.gallery img:hover{
  transform:scale(1.03);
  box-shadow:0 14px 40px rgba(30,58,95,.20);
}

/* countdown digits pulse as they change */
.cd-circle{
  transition:transform .45s cubic-bezier(.34,1.56,.64,1);
}
.cd-circle.tick{ transform:scale(1.10); }

/* hero image is moved by JS parallax */
.hero-img{ will-change:transform; }

/* the programme rows cascade in one after another */
.program li, .ranked li{
  transition:background .4s ease;
}
.ranked li:hover{ background:var(--sky-pale); }

/* ============================================================
   DESKTOP
   The reference is a phone recording, so there was no desktop
   layout to copy. This scales the same design up rather than
   leaving a 600px ribbon stranded in the middle of the screen.
   ============================================================ */

@media (min-width:640px){
  .section{ padding:76px 40px; }
  .band{ padding:80px 40px 86px; }
  .gallery{ gap:14px; }
}

@media (min-width:900px){
  /* The hero and the accent band stay wide; the reading column does not. */
  .shell{ max-width:1040px; }

  .hero{ height:100vh; max-height:900px; }
  .hero-names{ font-size:clamp(3.8rem, 6vw, 5.6rem); }
  .hero-sub{ font-size:1.22rem; letter-spacing:.3em; text-indent:.3em; }
  .hero-copy{ bottom:9%; }

  /* a proper reading measure — roughly the mobile column, scaled up.
     Paragraph widths stay in `ch`, so as the type grows the measure grows
     with it and lines keep the same number of words. */
  .section{
    max-width:680px;
    margin-inline:auto;
    padding:112px 44px;
  }
  .band{ padding:124px 44px 132px; }

  /* the bar carries its own links; the hamburger and overlay step aside */
  .nav-inner{ padding:20px 32px; }
  .nav-links{ display:flex; }
  .nav-cta{ display:inline-block; }
  .nav-toggle{ display:none; }
  .nav-mark{ font-size:2rem; }
  .section, .band{ scroll-margin-top:92px; }

  .icon svg{ width:72px; height:72px; }
  .sec-title{ font-size:2.1rem; letter-spacing:.16em; margin:22px 0 18px; }
  .band-title{ font-size:2.2rem; margin:24px 0 18px; }
  .lead{ font-size:1.22rem; line-height:1.8; max-width:40ch; }
  .lead.small{ font-size:1.1rem; max-width:44ch; }
  .band-lead{ font-size:1.2rem; max-width:38ch; }
  .script-lg{ font-size:4.8rem; }
  .script-md{ font-size:3.3rem; }

  .addr{ max-width:42ch; font-size:1.18rem; margin-bottom:32px; }
  .when{ gap:44px; margin:44px 0 34px; }
  .when-date, .when-time{ font-size:2.95rem; }
  .when-rule{ height:70px; }

  .countdown{ gap:30px; margin:46px 0 40px; }
  .cd-circle{ width:94px; height:94px; font-size:1.8rem; }
  .cd-label{ font-size:.78rem; margin-top:12px; }

  .btn{ padding:18px 38px; min-width:290px; font-size:.88rem; }
  .btn-cal{ padding:16px 32px; font-size:1.05rem; }

  /* the band's two buttons sit side by side */
  .band .btn-ghost{ display:inline-block; margin:0 8px; width:265px; font-size:.88rem; }

  /* Single column at this type size — two columns forced half the entries
     onto a second line, which read as ragged rather than tidy. */
  .ranked{ max-width:470px; }
  .ranked li{ font-size:1.08rem; padding:15px 0 15px 50px; }
  .ranked li::before{ font-size:.8rem; top:16px; }

  .program{ max-width:520px; }
  .program li{ padding:26px 0; }
  .pg-num{ font-size:.8rem; }
  .pg-role{ font-size:1.18rem; }
  .pg-name{ font-size:1.05rem; }

  .meta-pair{ gap:56px; margin:32px 0; }
  .meta-k{ font-size:.72rem; }
  .meta-v{ font-size:1.2rem; }

  .locked-card{ font-size:.98rem; padding:17px 30px; }

  .cards{ grid-template-columns:1fr; max-width:520px; gap:18px; }   /* one hotel per row */
  .card{ padding:26px 22px; }
  .card-t{ font-size:.86rem; }
  .card-b{ font-size:1.05rem; }
  .card-m{ font-size:.92rem; }

  .faq-list{ max-width:590px; }
  .faq-list summary{ font-size:1.15rem; padding:24px 42px 24px 0; }
  .faq-list summary::after{ font-size:1.5rem; }
  .faq-list details p{ font-size:1.05rem; padding-bottom:24px; }

  .swatches{ gap:46px; margin:28px 0 10px; }
  .sw-dot{ width:52px; height:52px; }
  .sw{ font-size:.88rem; }

  .songs{ max-width:560px; }
  .song-name{ font-size:1.18rem; }
  .song-kicker{ font-size:.7rem; }
  .song-ref{ font-size:.86rem; }
  .lyrics{ font-size:1.05rem; line-height:2.05; }
  .song-see{ font-size:.84rem; }

  .gallery-section{ padding:44px 44px; max-width:760px; }
  .gallery{
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:16px;
  }
  .gallery img:last-child:nth-child(odd){ aspect-ratio:4 / 5; }

  .footer{ padding:100px 44px 112px; }
  .player-wrap{ padding:32px 24px 0; }
  .player-wrap audio{ max-width:400px; }
  .track{ font-size:.86rem; }
}

/* ============================================================
   CONTINUOUS MOTION
   These loop forever, so the page is never completely still.

   They use the individual `translate` / `scale` properties rather
   than `transform`, because the entrance reveal above already owns
   `transform`. The two compose instead of overwriting each other.
   ============================================================ */

@keyframes bob{
  0%, 100% { translate:0 0; }
  50%      { translate:0 -9px; }
}
@keyframes breathe{
  0%, 100% { scale:1; }
  50%      { scale:1.06; }
}
@keyframes sway{
  0%, 100% { rotate:-2.5deg; }
  50%      { rotate:2.5deg; }
}
@keyframes shimmer{
  0%   { background-position:200% 0; }
  100% { background-position:-200% 0; }
}
@keyframes glowPulse{
  0%, 100% { box-shadow:0 0 0 0 rgba(30,58,95,.30); }
  50%      { box-shadow:0 0 0 14px rgba(30,58,95,0); }
}
@keyframes drift{
  0%   { translate:0 0;      opacity:.20; }
  50%  { translate:14px -26px; opacity:.42; }
  100% { translate:0 0;      opacity:.20; }
}

/* every section icon keeps gently jumping */
.icon svg{
  animation:bob 3.4s ease-in-out infinite;
}
.section:nth-of-type(even) .icon svg{ animation-duration:3.9s; animation-delay:-1.1s; }
.section:nth-of-type(3n)   .icon svg{ animation-duration:4.3s; animation-delay:-2.2s; }
.band .icon svg{ animation-duration:3.7s; }

/* countdown circles bob in a wave, one after another */
.cd-circle{
  animation:bob 3.2s ease-in-out infinite;
  animation-delay:calc(var(--i, 0) * -0.32s);
}

/* colour swatches breathe */
.sw-dot{
  animation:breathe 4.2s ease-in-out infinite;
  animation-delay:calc(var(--i, 0) * -0.6s);
}

/* the primary buttons pulse a soft halo */
.btn{
  animation:glowPulse 3.6s ease-in-out infinite;
}
.btn:hover{ animation-play-state:paused; }

/* a slow light sweeps across the script headings */
.script-lg, .script-sm{
  background-image:linear-gradient(100deg,
    var(--ink) 32%, var(--sky) 50%, var(--ink) 68%);
  background-size:200% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  animation:shimmer 7s linear infinite;
}

/* the lock on the sealed programme rocks a little */
.locked-card svg{
  animation:sway 3s ease-in-out infinite;
  transform-origin:50% 70%;
}

/* gallery photos breathe very slowly (hover scale still composes).
   Kept tiny on purpose — a bigger scale makes neighbouring photos in the
   grid look misaligned rather than alive. */
@keyframes breatheFaint{
  0%, 100% { scale:1; }
  50%      { scale:1.018; }
}
.gallery img{
  animation:breatheFaint 12s ease-in-out infinite;
}
.gallery img:nth-child(even){ animation-delay:-6s; }

/* ambient motes drifting inside the accent band */
.band{ position:relative; overflow:hidden; }
.band > *{ position:relative; z-index:1; }
.band::before, .band::after{
  content:'';
  position:absolute;
  border-radius:50%;
  background:radial-gradient(circle, rgba(168,200,224,.55) 0%, rgba(168,200,224,0) 70%);
  pointer-events:none;
  z-index:0;
}
.band::before{
  width:280px; height:280px;
  top:-60px; left:-70px;
  animation:drift 14s ease-in-out infinite;
}
.band::after{
  width:340px; height:340px;
  bottom:-90px; right:-80px;
  animation:drift 18s ease-in-out infinite reverse;
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .chevron{ animation:none; }
  *{ transition:none !important; animation:none !important; }
  /* content must never be left invisible when motion is off */
  .reveal{ opacity:1 !important; transform:none !important; }
  .icon svg [data-draw]{ stroke-dashoffset:0 !important; }
  /* neutralise the idle loops and the gradient-clipped headings */
  .icon svg, .cd-circle, .sw-dot, .gallery img, .locked-card svg, .chevron{
    translate:none !important; scale:none !important; rotate:none !important;
  }
  .script-lg, .script-sm{ background-image:none; color:var(--ink); }
  .band::before, .band::after{ display:none; }
}
