:root {
  --ink: #171016;
  --night: #0f0a0e;
  --ivory: #F2E8D8;
  --gold: #BE9A68;
  --burgundy: #64283D;
  --choc: #352522;
  --serif: 'Bodoni Moda', serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-y: clamp(80px, 12vw, 170px);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.gated { overflow: hidden; }
body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
* { box-sizing: border-box; }
::selection { background: var(--burgundy); color: var(--ivory); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
input, textarea, button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.gold { color: var(--gold); }

@keyframes m23rise { from { opacity: 0; transform: translateY(55%) rotate(2deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes m23fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes m23line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ---------- Shared type ---------- */
.kicker { font-size: 10.5px; letter-spacing: .32em; color: var(--gold); }
.kicker-burgundy { color: var(--burgundy); }
h2 em, h3 em { color: var(--gold); }
.h2-xl { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8.4vw, 140px); line-height: .88; letter-spacing: -.03em; }
.h2-lg { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7.4vw, 120px); line-height: .9; letter-spacing: -.03em; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head-left { display: flex; flex-direction: column; gap: 24px; }
.section-aside { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.6; color: rgba(242, 232, 216, .75); }
.fineprint { margin: 24px 0 0; font-size: 12px; color: rgba(242, 232, 216, .6); }

/* ---------- Gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; background: var(--night); color: var(--ivory); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3vh, 30px); padding: 32px 20px; text-align: center; transition: opacity 1.2s cubic-bezier(.7, 0, .2, 1), transform 1.2s cubic-bezier(.7, 0, .2, 1), filter 1.2s; }
.gate.leaving { opacity: 0; transform: scale(1.06); }
.gate-frame { position: absolute; inset: clamp(12px, 2.5vw, 28px); border: 1px solid rgba(190, 154, 104, .22); pointer-events: none; }
.gate-top { position: absolute; top: clamp(26px, 4vw, 48px); left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 clamp(28px, 5vw, 64px); font-size: 10px; letter-spacing: .32em; color: var(--gold); animation: m23fade 1.2s .2s both; }
.gate-kicker { font-size: 11px; letter-spacing: .42em; color: var(--gold); animation: m23fade 1.2s .1s both; }
.gate-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 15vw, 230px); line-height: .85; letter-spacing: -.03em; overflow: hidden; padding: 0 .05em .08em; }
.gate-title span { display: inline-block; white-space: pre; animation: m23rise 1.6s cubic-bezier(.16, .8, .2, 1) both; }
.gate-title span.num { color: var(--gold); font-style: italic; }
.gate-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.2vw, 34px); animation: m23fade 1.4s 1.2s both; }
.gate-date { font-size: 11px; letter-spacing: .34em; opacity: .8; animation: m23fade 1.4s 1.4s both; }
.gate-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(8px, 2vh, 20px); animation: m23fade 1.4s 1.7s both; }
.btn-gate { background: var(--ivory); color: var(--ink); border: 0; padding: 18px 34px; font-size: 12px; font-weight: 600; letter-spacing: .3em; cursor: pointer; transition: background .4s, color .4s, letter-spacing .5s; }
.btn-gate:hover { background: var(--gold); letter-spacing: .36em; }
.btn-gate-sound { background: none; border: 0; border-bottom: 1px solid rgba(242, 232, 216, .3); padding: 4px 0; font-size: 11px; letter-spacing: .2em; color: rgba(242, 232, 216, .75); cursor: pointer; }
.btn-gate-sound:hover { color: var(--gold); border-color: var(--gold); }
.gate-cities { position: absolute; bottom: clamp(26px, 4vw, 48px); left: 0; right: 0; font-size: 9.5px; letter-spacing: .3em; color: rgba(242, 232, 216, .5); padding: 0 32px; animation: m23fade 1.2s 2s both; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px clamp(16px, 3vw, 36px); background: rgba(23, 16, 22, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(190, 154, 104, .14); }
.nav-logo { font-family: var(--serif); font-size: 18px; letter-spacing: .08em; white-space: nowrap; }
.nav-logo em { color: var(--gold); }
.nav-links { display: flex; gap: 26px; font-size: 10.5px; letter-spacing: .24em; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.sound-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 4px; font-size: 10.5px; letter-spacing: .22em; cursor: pointer; min-height: 40px; }
.sound-btn:hover { color: var(--gold); }
.sound-bars { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.sound-bars span { width: 2px; height: 3px; background: currentColor; transition: height .4s; }
.sound-btn[aria-pressed="true"] .sound-bars span { height: 12px; animation: m23fade .5s ease-in-out infinite alternate; }
.sound-btn[aria-pressed="true"] .sound-bars span:nth-child(2) { animation-duration: .67s; animation-delay: .1s; }
.sound-btn[aria-pressed="true"] .sound-bars span:nth-child(3) { animation-duration: .84s; animation-delay: .2s; }
.nav-rsvp { border: 1px solid var(--gold); color: var(--gold); padding: 10px 16px; font-size: 10.5px; letter-spacing: .24em; transition: background .3s, color .3s; }
.nav-rsvp:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 859px) { .nav-links { display: none; } }

/* ---------- 00 Cover ---------- */
.cover { min-height: 100svh; padding: clamp(88px, 12vh, 120px) clamp(16px, 4vw, 56px) clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); background: var(--ink); }
.cover-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 10.5px; letter-spacing: .3em; color: var(--gold); border-bottom: 1px solid rgba(190, 154, 104, .3); padding-bottom: 12px; }
.cover-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(76px, 19.5vw, 330px); line-height: .78; letter-spacing: -.035em; text-align: center; }
.cover-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: end; flex: 1; }
.cover-portrait { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; }
.cover-label { position: absolute; top: 14px; left: 14px; font-size: 9.5px; letter-spacing: .3em; color: var(--ivory); pointer-events: none; mix-blend-mode: difference; }
.cover-copy { display: flex; flex-direction: column; gap: clamp(18px, 3vw, 30px); }
.cover-23 { font-family: var(--serif); font-style: italic; font-size: clamp(140px, 22vw, 300px); line-height: .72; color: var(--gold); letter-spacing: -.04em; }
.cover-tagline { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.05; text-wrap: balance; }
.cover-tagline span { font-style: italic; opacity: .6; font-size: .6em; }
.cover-lede { margin: 0; max-width: 44ch; font-size: 15px; line-height: 1.6; color: rgba(242, 232, 216, .78); }
.countdown { border-top: 1px solid rgba(190, 154, 104, .35); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.countdown-label { font-size: 10px; letter-spacing: .3em; color: var(--gold); }
.countdown-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.countdown-grid > div { display: flex; flex-direction: column; gap: 4px; }
.cd-num { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-unit { font-size: 9.5px; letter-spacing: .26em; opacity: .7; }

/* ---------- 01 Story ---------- */
.story { background: var(--ivory); color: var(--ink); padding: clamp(80px, 12vw, 180px) var(--pad-x); }
.story-kicker { margin-bottom: clamp(28px, 4vw, 48px); }
.story-title { margin: 0 0 clamp(48px, 7vw, 100px); font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 10vw, 168px); line-height: .86; letter-spacing: -.03em; max-width: 12ch; }
.story-title em { color: var(--burgundy); }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: start; }
.story-figure { display: flex; flex-direction: column; gap: 14px; }
.story-photo { position: relative; aspect-ratio: 3 / 4; width: 100%; }
.story-caption { font-size: 10px; letter-spacing: .26em; color: var(--choc); }
.story-text { display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 34px); font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.22; text-wrap: pretty; padding-top: clamp(0px, 6vw, 120px); }
.story-text p { margin: 0; }
.story-text .muted { color: var(--choc); }
.story-welcome { font-style: italic; color: var(--burgundy); font-size: 1.3em; }

/* ---------- 02 Cities ---------- */
.cities { position: relative; background: var(--ink); }
.cities-head { padding: clamp(80px, 10vw, 140px) var(--pad-x) clamp(48px, 6vw, 80px); margin-bottom: 0; }
.city { position: sticky; top: 0; min-height: 100svh; padding: clamp(84px, 10vh, 110px) var(--pad-x) clamp(32px, 5vw, 56px); overflow: hidden; }
.city-col { display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 28px); }
.city-col-tight { display: flex; flex-direction: column; gap: 16px; }
.city-meta { font-size: 10.5px; letter-spacing: .3em; }
.city-name { margin: 0; font-family: var(--serif); font-weight: 400; }
.city-line { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.8vw, 38px); line-height: 1.1; }
.city-genres { margin: 0; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.city-artists { margin: 0; font-size: 15px; line-height: 1.7; max-width: 40ch; }
.city-mood { margin: 0; font-size: 10.5px; letter-spacing: .22em; }

.city-paris { background: var(--ivory); color: var(--ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(28px, 4vw, 64px); align-content: center; align-items: center; }
.city-paris .city-meta { display: flex; gap: 18px; color: var(--burgundy); }
.city-paris .city-name { font-style: italic; font-size: clamp(96px, 17vw, 260px); line-height: .8; letter-spacing: -.05em; }
.city-paris .city-artists { color: var(--choc); }
.city-tags { display: flex; gap: 10px; flex-wrap: wrap; font-size: 10.5px; letter-spacing: .22em; }
.city-tags span { border: 1px solid var(--ink); padding: 7px 12px; }
.city-photo { position: relative; aspect-ratio: 4 / 5; width: min(100%, 520px); justify-self: end; max-height: 70vh; }

.city-kinshasa { background: var(--burgundy); color: var(--ivory); display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vw, 36px); }
.city-kinshasa .city-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.city-kinshasa .city-name { font-weight: 900; font-size: clamp(64px, 15.6vw, 250px); line-height: .8; letter-spacing: -.045em; }
.city-kinshasa .city-line { font-style: italic; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; }
.city-kinshasa .city-mood { opacity: .85; }
.kin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: end; }
.kin-photo { position: relative; aspect-ratio: 16 / 10; width: 100%; }

.city-pap { background: var(--choc); color: var(--ivory); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 4vw, 64px); align-content: center; align-items: center; }
.city-pap .city-col { gap: clamp(16px, 2.4vw, 26px); }
.city-pap .city-meta, .city-pap .city-mood { color: var(--gold); }
.city-pap .city-name { font-style: italic; font-size: clamp(64px, 10vw, 160px); line-height: .84; letter-spacing: -.04em; color: var(--gold); }
.city-pap .city-artists { color: rgba(242, 232, 216, .82); }
.pap-photo { position: relative; aspect-ratio: 1 / 1; width: min(100%, 480px); border-radius: 50% 50% 0 0; overflow: hidden; }

.city-dubai { background: var(--night); color: var(--ivory); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: clamp(18px, 3vw, 32px); }
.city-dubai .city-meta, .city-dubai .city-mood { color: var(--gold); }
.city-dubai .city-name { font-size: clamp(96px, 22vw, 360px); line-height: .78; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
.city-dubai .city-line { font-size: clamp(26px, 3vw, 42px); }
.city-dubai .city-genres { max-width: 60ch; line-height: 1.7; }
.dubai-sum { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 26px); color: rgba(242, 232, 216, .6); }
.dubai-note { margin: clamp(12px, 3vw, 40px) 0 0; font-size: 12px; color: rgba(242, 232, 216, .6); max-width: 52ch; line-height: 1.6; }

/* ---------- 03 Le son ---------- */
.son { position: relative; z-index: 1; background: var(--ink); padding: var(--pad-y) var(--pad-x); }
.playlists { display: flex; flex-direction: column; gap: 12px; min-width: min(100%, 280px); }
.playlists-label { font-size: 10px; letter-spacing: .28em; color: rgba(242, 232, 216, .7); }
.playlists-row { display: flex; gap: 10px; flex-wrap: wrap; }
.playlist { display: flex; flex-direction: column; gap: 4px; border: 1px solid rgba(190, 154, 104, .6); padding: 14px 18px; min-width: 150px; transition: background .3s, color .3s; }
.playlist:hover { background: var(--gold); color: var(--ink); }
.playlist[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.playlist-name { font-size: 12px; font-weight: 600; letter-spacing: .2em; }
.playlist-status { font-size: 10.5px; letter-spacing: .12em; opacity: .75; }
.artists { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(190, 154, 104, .3); }
.artist { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: baseline; gap: clamp(12px, 2vw, 28px); padding: clamp(14px, 2vw, 22px) clamp(4px, 1vw, 16px); border-bottom: 1px solid rgba(190, 154, 104, .3); color: var(--ivory); transition: background .5s var(--ease), color .4s, padding .5s var(--ease); cursor: default; }
.artist:hover { background: var(--burgundy); color: var(--gold); padding-left: clamp(16px, 3vw, 44px); }
.artist-n { font-size: 11px; letter-spacing: .2em; opacity: .6; font-variant-numeric: tabular-nums; }
.artist-name { font-family: var(--serif); font-size: clamp(32px, 6vw, 92px); line-height: 1; letter-spacing: -.025em; }
.artist-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 10px; letter-spacing: .22em; text-align: right; opacity: .85; }
.artist-meta span + span { opacity: .7; }

/* ---------- 04 Dress code ---------- */
.sape { position: relative; z-index: 1; background: var(--ivory); color: var(--ink); padding: var(--pad-y) var(--pad-x); }
.sape > .kicker { margin-bottom: 24px; }
.sape-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 9vw, 150px); line-height: .86; letter-spacing: -.035em; }
.sape-title em { color: var(--burgundy); }
.sape-lede { margin: clamp(20px, 3vw, 32px) 0 clamp(40px, 6vw, 72px); font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.25; max-width: 30ch; color: var(--choc); }
.palette { display: flex; height: clamp(300px, 42vw, 440px); gap: 6px; --active-flex: 5; }
@media (max-width: 859px) { .palette { --active-flex: 6; } }
.swatch { position: relative; flex: 1; min-width: 0; border: 0; padding: clamp(14px, 2vw, 26px); text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: flex .8s var(--ease); outline-offset: 3px; }
.swatch[aria-checked="true"] { flex: var(--active-flex); }
.swatch-name { font-size: 10px; letter-spacing: .24em; writing-mode: vertical-rl; white-space: nowrap; }
.swatch[aria-checked="true"] .swatch-name { writing-mode: horizontal-tb; }
.swatch-body { display: flex; flex-direction: column; gap: 12px; max-width: 34ch; animation: m23fade .7s .25s both; }
.swatch-title { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 64px); line-height: .95; font-style: italic; }
.swatch-note { font-size: 14px; line-height: 1.6; }
.swatch-hex { font-size: 10px; letter-spacing: .22em; opacity: .8; }
.mood-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin: clamp(56px, 7vw, 96px) 0 28px; }
.mood-head h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; }
.tabs { display: flex; border: 1px solid var(--ink); }
.tab { border: 0; padding: 12px 22px; min-height: 44px; font-size: 11px; letter-spacing: .26em; cursor: pointer; background: transparent; color: var(--ink); transition: background .3s, color .3s; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--ivory); }
.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.look { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.look-photo { position: relative; aspect-ratio: 3 / 4; width: 100%; }
.look-bar { height: 4px; transition: background .6s; }
.look figcaption { display: flex; flex-direction: column; gap: 6px; }
.look-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; letter-spacing: .24em; color: var(--burgundy); }
.look-title { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.look-note { font-size: 13.5px; line-height: 1.55; color: var(--choc); }
.sape-quote { margin: clamp(56px, 8vw, 110px) auto 0; max-width: 22ch; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.05; color: var(--burgundy); text-wrap: balance; }

/* ---------- 05 Night ---------- */
.nuit { position: relative; z-index: 1; background: var(--ink); padding: var(--pad-y) var(--pad-x); }
.nuit-head { gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); }
.nuit-note { margin: 0; max-width: 34ch; font-size: 13px; line-height: 1.6; color: rgba(242, 232, 216, .72); border-left: 1px solid var(--gold); padding-left: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline-line { display: none; }
.tl-item { position: relative; display: flex; flex-direction: column; }
.tl-dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--gold); background: var(--ink); }
.tl-item.highlight .tl-dot { background: var(--burgundy); }
.tl-time { font-family: var(--serif); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ivory); }
.tl-item.highlight .tl-time { color: var(--gold); }
.tl-title { font-size: 11px; font-weight: 600; letter-spacing: .2em; line-height: 1.4; }
.tl-desc { line-height: 1.55; color: rgba(242, 232, 216, .72); }
@media (min-width: 860px) {
  .timeline { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .timeline-line { display: block; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--gold); transform-origin: left; animation: m23line 2.4s var(--ease) both; }
  .tl-item { gap: 14px; padding: 0 14px 0 0; }
  .tl-time { font-size: clamp(34px, 3.6vw, 56px); }
  .tl-desc { font-size: 13px; }
}
@media (max-width: 859px) {
  .timeline { padding-left: 28px; display: flex; flex-direction: column; gap: 36px; border-left: 1px solid var(--gold); margin-left: 7px; }
  .tl-item { gap: 8px; }
  .tl-dot { position: absolute; left: -36px; top: 12px; }
  .tl-time { font-size: 44px; }
  .tl-desc { font-size: 14px; }
}

/* ---------- 06 RSVP ---------- */
.rsvp { position: relative; z-index: 1; background: var(--choc); padding: var(--pad-y) clamp(16px, 5vw, 72px); display: flex; flex-direction: column; align-items: center; gap: clamp(36px, 5vw, 64px); }
.rsvp-head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.rsvp-lede { margin: 0; max-width: 40ch; font-size: 15px; line-height: 1.6; color: rgba(242, 232, 216, .78); }
.card { position: relative; width: 100%; max-width: 640px; background: var(--ivory); color: var(--ink); padding: clamp(28px, 5vw, 60px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.card-frame { position: absolute; inset: 10px; border: 1px solid rgba(190, 154, 104, .6); pointer-events: none; }
.card-top { position: relative; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .3em; color: var(--burgundy); margin-bottom: clamp(24px, 4vw, 40px); }
.step { position: relative; display: flex; flex-direction: column; }
.step-code, .step-done { gap: 22px; }
.step-form { gap: 26px; }
.step-done { animation: m23fade .9s both; }
.card-title { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.05; }
.card-note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--choc); }
.field { display: flex; flex-direction: column; gap: 8px; }
.step-code .field { gap: 10px; }
.field-label { font-size: 10.5px; letter-spacing: .26em; color: var(--choc); }
.field-label .opt { opacity: .6; }
.input-code, .input-line { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0; outline: none; border-radius: 0; }
.input-code { font-family: var(--serif); font-size: 30px; letter-spacing: .1em; text-transform: uppercase; min-height: 52px; }
.input-line { font-size: 17px; min-height: 46px; }
.input-line.input-sm { font-size: 16px; }
.input-area { border: 1px solid rgba(23, 16, 22, .4); background: transparent; padding: 12px; font-size: 15px; line-height: 1.5; outline: none; resize: vertical; border-radius: 0; }
.input-code:focus, .input-line:focus { border-bottom-color: var(--burgundy); }
.input-area:focus { border-color: var(--burgundy); }
.form-error { margin: 0; font-size: 13.5px; color: var(--burgundy); line-height: 1.5; }
.btn-dark { align-self: flex-start; background: var(--ink); color: var(--ivory); border: 0; padding: 17px 28px; min-height: 48px; font-size: 11.5px; font-weight: 600; letter-spacing: .26em; cursor: pointer; transition: background .3s; }
.btn-dark:hover { background: var(--burgundy); }
.btn-dark:disabled { cursor: progress; }
.btn-dark.btn-sm { padding: 15px 20px; min-height: 46px; font-size: 11px; letter-spacing: .22em; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 15px 20px; min-height: 46px; font-size: 11px; font-weight: 600; letter-spacing: .22em; cursor: pointer; }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.btn-link { background: none; border: 0; border-bottom: 1px solid var(--choc); padding: 4px 0; font-size: 11px; letter-spacing: .18em; cursor: pointer; color: var(--choc); }
.greet { display: flex; flex-direction: column; gap: 8px; }
.greet-title { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); line-height: 1; }
.greet-title em { color: var(--burgundy); }
.greet-alloc { margin: 0; font-size: 14px; line-height: 1.6; color: var(--choc); }
.greet-prev { margin: 0; font-size: 12.5px; color: var(--burgundy); }
.field-set { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.field-set legend { margin-bottom: 10px; padding: 0; }
.att-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); }
.att { border: 0; border-right: 1px solid var(--ink); padding: 14px 6px; min-height: 52px; cursor: pointer; background: transparent; color: var(--ink); display: flex; flex-direction: column; gap: 3px; align-items: center; transition: background .3s, color .3s; }
.att:last-child { border-right: 0; }
.att[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.att-fr { font-family: var(--serif); font-size: 20px; font-style: italic; }
.att-en { font-size: 9.5px; letter-spacing: .22em; }
.count-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.count-label { display: flex; flex-direction: column; gap: 4px; }
.count-hint { font-size: 12px; color: var(--choc); }
.stepper { display: flex; align-items: center; border: 1px solid var(--ink); }
.stepper button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper span { min-width: 48px; text-align: center; font-family: var(--serif); font-size: 26px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.done-title { margin: 0; font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); line-height: .95; letter-spacing: -.02em; }
.done-title em { color: var(--burgundy); }
.done-line { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; }
.done-summary { display: flex; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(23, 16, 22, .25); border-bottom: 1px solid rgba(23, 16, 22, .25); padding: 14px 0; font-size: 10.5px; letter-spacing: .22em; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rsvp-disclaimer { margin: 0; max-width: 60ch; text-align: center; font-size: 11.5px; line-height: 1.6; color: rgba(242, 232, 216, .6); }

/* ---------- 07 Location ---------- */
.lieu { position: relative; z-index: 1; background: var(--ink); padding: var(--pad-y) var(--pad-x); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.lieu-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 15vw, 240px); line-height: .8; letter-spacing: -.04em; }
.lieu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 4vw, 56px); border-top: 1px solid rgba(190, 154, 104, .3); padding-top: 28px; }
.lieu-lede { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.8vw, 38px); line-height: 1.2; max-width: 22ch; }
.venue { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--gold); padding: 24px; }
.venue-kicker { font-size: 10px; letter-spacing: .28em; color: var(--gold); }
.venue-name { font-family: var(--serif); font-size: 30px; }
.venue-address { font-size: 14.5px; line-height: 1.6; white-space: pre-line; }
.venue-notes { font-size: 13px; line-height: 1.6; color: rgba(242, 232, 216, .72); }
.venue-pending { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.7; color: rgba(242, 232, 216, .75); }

/* ---------- 08 Final ---------- */
.fin { position: relative; z-index: 1; min-height: 100svh; background: var(--night); padding: clamp(100px, 12vw, 160px) var(--pad-x) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 56px; overflow: hidden; }
.fin-body { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: clamp(28px, 4vw, 48px); }
.fin-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 11.5vw, 200px); line-height: .84; letter-spacing: -.04em; text-wrap: balance; }
.fin-meta { display: flex; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; justify-content: center; font-size: 11px; letter-spacing: .34em; }
.fin-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-ivory { background: var(--ivory); color: var(--ink); padding: 18px 30px; font-size: 11.5px; font-weight: 600; letter-spacing: .28em; transition: background .3s; }
.btn-ivory:hover { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; border: 1px solid rgba(242, 232, 216, .5); padding: 18px 24px; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; cursor: pointer; transition: border-color .3s, color .3s; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(190, 154, 104, .25); padding-top: 20px; font-size: 10px; letter-spacing: .22em; color: rgba(242, 232, 216, .6); }
.footer a { color: rgba(242, 232, 216, .6); }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 1px solid var(--gold); border-radius: 50%; pointer-events: none; z-index: 200; transition: width .3s, height .3s, margin .3s, background .3s, opacity .3s; opacity: 0; mix-blend-mode: difference; }
.cursor.hot { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(190, 154, 104, .18); }

/* ---------- V2: invitation gate ---------- */
.gate-guest { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.6vw, 40px); color: var(--gold); animation: m23fade 1.4s 1s both; }

/* ---------- V2: mobile chapter menu ---------- */
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.menu { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--night); padding: 96px clamp(20px, 6vw, 40px) 40px; display: flex; flex-direction: column; justify-content: center; gap: 4px; overflow-y: auto; animation: m23fade .4s both; }
.menu a { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-size: clamp(34px, 9vw, 52px); line-height: 1.15; padding: 6px 0; border-bottom: 1px solid rgba(190, 154, 104, .15); }
.menu a span { font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; color: var(--gold); min-width: 22px; }
body.menu-open { overflow: hidden; }
@media (max-width: 859px) {
  .menu-btn { display: block; }
  .sound-btn { padding: 8px 0; }
  .nav-right { gap: 10px; }
}
@media (max-width: 380px) { #sound-label { display: none; } }
@media (min-width: 860px) { .menu { display: none !important; } }

/* ---------- V2: countdown states ---------- */
.countdown.is-loading .cd-num { opacity: .35; }
.cd-num { transition: opacity .6s; }
.countdown-open { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.4vw, 56px); line-height: 1; color: var(--gold); letter-spacing: -.01em; animation: m23fade 1s both; }

/* ---------- V2: RSVP ---------- */
.card-lede { margin: 0; font-size: 14px; line-height: 1.6; color: var(--choc); }
.step-loading { gap: 12px; }
.greet-kicker { margin: 0 0 4px; font-size: 10.5px; letter-spacing: .3em; color: var(--burgundy); }
.greet-when { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.att { padding: 14px 4px; }
.att-fr { font-size: clamp(14px, 3.7vw, 20px); line-height: 1.15; text-align: center; white-space: nowrap; }
@media (max-width: 360px) { .att-fr { white-space: normal; } }
.att:focus-visible, .btn-dark:focus-visible, .btn-outline:focus-visible, .stepper button:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.input-line:focus-visible, .input-area:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--burgundy); }
.done-note { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--choc); }
.done-venue { display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(100, 40, 61, .35); padding: 16px 18px; font-size: 14px; line-height: 1.6; }
.done-venue strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.done-venue a { color: var(--burgundy); font-size: 10.5px; letter-spacing: .22em; }
.btn-dark:disabled { opacity: .6; }
.venue-map { font-size: 10.5px; letter-spacing: .22em; color: var(--gold); }

/* ---------- V2: photos not yet supplied ---------- */
/* Editorial frames collapse until a photo exists, so guests never see wireframe boxes. */
.cover-portrait:has(image-slot[empty]),
.story-figure:has(image-slot[empty]),
.city-photo:has(image-slot[empty]),
.kin-photo:has(image-slot[empty]),
.pap-photo:has(image-slot[empty]) { display: none; }
.cover-grid:has(.cover-portrait image-slot[empty]) { align-items: center; }
.cover-grid:has(.cover-portrait image-slot[empty]) .cover-copy { align-items: center; text-align: center; max-width: 720px; width: 100%; margin: 0 auto; }
.cover-grid:has(.cover-portrait image-slot[empty]) .cover-lede { margin: 0 auto; }
.cover-grid:has(.cover-portrait image-slot[empty]) .countdown { width: 100%; text-align: left; }
.story-grid:has(.story-figure image-slot[empty]) { grid-template-columns: minmax(0, 1fr); }
.story-grid:has(.story-figure image-slot[empty]) .story-text { padding-top: 0; max-width: 32ch; margin-left: auto; }
@media (max-width: 859px) { .story-grid:has(.story-figure image-slot[empty]) .story-text { margin-left: 0; } }
/* Moodboard cards without a photo become a tonal panel in the selected palette colour. */
.look-photo { overflow: hidden; }
.look-photo:has(image-slot[empty]) { aspect-ratio: 3 / 2; background: var(--look-tone, var(--burgundy)); transition: background .6s; }
.look-photo:has(image-slot[empty])::after { content: attr(data-n); position: absolute; right: 14px; bottom: 6px; font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--look-fg, var(--ivory)); opacity: .55; }
