/* ============================================================
   ADOM & CO. — a luxury African events house
   noir #0C0A09 · champagne #E7D3A1 · candle #F0B95C · velvet #3B2A45
   The invitation: arrival as a wax seal, then long candlelit scenes.
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-italic.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --noir: #0C0A09;
  --noir-2: #161210;
  --champagne: #E7D3A1;
  --candle: #F0B95C;
  --velvet: #3B2A45;
  --velvet-l: #52395F;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Century Gothic', Arial, sans-serif;
  --track: .28em;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --ease-invite: cubic-bezier(.22, .75, .2, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--noir);
  color: var(--champagne);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--candle); color: var(--noir); }

:focus-visible {
  outline: 2px solid var(--candle);
  outline-offset: 4px;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

@media (pointer: fine) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: var(--noir); }
  ::-webkit-scrollbar-thumb { background: var(--velvet); border: 3px solid var(--noir); border-radius: 5px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--candle); }
}

.skip-link {
  position: fixed; top: -4rem; left: var(--gutter);
  z-index: 900;
  background: var(--candle); color: var(--noir);
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: var(--track); text-transform: uppercase;
  text-decoration: none;
  padding: .8em 1.4em;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.cap {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1.9;
}
.cap--candle { color: var(--candle); }
.rule {
  display: inline-block;
  width: 3.2rem; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 1rem;
}
em, i { font-style: italic; }

/* ================= HEADER ================= */
.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--gutter);
  mix-blend-mode: difference;
  color: var(--champagne);
  pointer-events: none;
}
.masthead > * { pointer-events: auto; }
.brand {
  display: flex; align-items: baseline; gap: .7rem;
  text-decoration: none;
}
.brand-mark { width: 1.7rem; height: 1.7rem; align-self: center; }
.brand-word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: .02em;
}
.brand-sub {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  opacity: .8;
}
.mast-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.mast-nav a {
  font-family: var(--sans);
  font-size: .66rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding-bottom: .35em;
}
.mast-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-invite);
}
.mast-nav a:hover::after, .mast-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.mast-enquire { color: var(--candle) !important; }

@media (max-width: 780px) {
  .mast-nav a:not(.mast-enquire) { display: none; }
  .brand-sub { display: none; }
}

/* ================= PRELOADER — the wax seal ================= */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--noir);
  transition: opacity .6s var(--ease-invite);
}
.preloader[data-state="out"] { opacity: 0; pointer-events: none; }
.seal-stage { position: relative; display: grid; place-items: center; gap: 1.4rem; }
.seal-glow {
  position: absolute; inset: -60vmax;
  border-radius: 50%;
  background: radial-gradient(circle, var(--candle) 0%, rgba(240,185,92,.35) 18%, transparent 60%);
  opacity: 0; transform: scale(.06);
  transition: opacity .7s var(--ease-invite), transform 1s var(--ease-invite);
}
.preloader[data-state="opening"] .seal-glow { opacity: 1; transform: scale(1); }
.seal-svg { width: clamp(90px, 16vw, 150px); height: auto; position: relative; z-index: 1; }
.seal-svg .seal-ring { fill: none; stroke: var(--champagne); stroke-width: 1.4; }
.seal-svg .seal-ring--inner { stroke: var(--champagne); opacity: .5; stroke-width: .8; }
.seal-svg .seal-a { fill: none; stroke: var(--champagne); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.seal-svg .seal-flame { fill: var(--candle); }
.seal-svg .seal-crack {
  fill: none; stroke: var(--candle); stroke-width: 1.6; stroke-linecap: round;
}
.seal-cap { font-size: .62rem; letter-spacing: .5em; text-align: center; opacity: 0; transition: opacity .8s var(--ease-invite) .3s; }
.preloader[data-state="in"] .seal-cap,
.preloader[data-state="opening"] .seal-cap { opacity: .85; }
.seal-skip {
  position: absolute; bottom: clamp(1.5rem, 5vh, 3rem); left: 50%; transform: translateX(-50%);
  background: none; border: 1px solid rgba(231,211,161,.35); color: var(--champagne);
  font-family: var(--sans); font-size: .64rem; letter-spacing: var(--track); text-transform: uppercase;
  padding: .8em 1.6em; cursor: pointer; transition: border-color .3s, color .3s;
}
.seal-skip:hover, .seal-skip:focus-visible { border-color: var(--candle); color: var(--candle); }

/* ================= ARRIVAL ================= */
.arrival {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter) 3rem;
  overflow: hidden;
  text-align: center;
}
#ember-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0;
}
.arrival-content { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.4rem; }
.arrival-kicker { opacity: .85; }
.arrival-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: .96;
  letter-spacing: .01em;
  color: var(--champagne);
}
.arrival-title .amp { color: var(--candle); padding: 0 .12em; }
.arrival-deck {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-style: italic;
  font-family: var(--serif);
  color: rgba(231, 211, 161, .88);
}
.arrival-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--champagne);
}
.arrival-cue .drop {
  width: 1px; height: 2.6rem;
  background: linear-gradient(var(--candle), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .arrival-cue .drop { animation: cue-drip 2.2s ease-in-out infinite; }
}
@keyframes cue-drip { 0%,100% { transform: scaleY(1); opacity: .9; } 50% { transform: scaleY(.55); opacity: .5; } }

/* ================= STAGELIGHT (dimming lights between chapters) ================= */
.stagelight {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, var(--glow, var(--candle)) 0%, transparent 62%);
  opacity: .18;
  transition: opacity .5s var(--ease-invite), background-color 1.1s var(--ease-invite);
}
.stagelight.dim { opacity: .03; transition: opacity .35s var(--ease-invite); }

/* ================= CHAPTERS ================= */
.chapter { position: relative; padding: clamp(5rem, 13vh, 9rem) 0 clamp(3rem, 8vh, 5rem); scroll-margin-top: 1rem; }
.chapter-head {
  padding: 0 var(--gutter);
  max-width: 56rem;
  margin: 0 auto clamp(2.5rem, 7vh, 4.5rem);
}
.chapter-head .cap { color: var(--candle); }
.chapter-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: .98;
  margin: .9rem 0 1.2rem;
}
.chapter-head h2 em { color: var(--candle); }
.chapter-head p {
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  max-width: 42em;
  color: rgba(231, 211, 161, .85);
}

/* ---- gallery: drag-to-pan cinematic strip ---- */
.gallery-wrap { position: relative; }
.gallery {
  display: flex;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding: 1rem var(--gutter) 2rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.scene {
  flex: 0 0 auto;
  width: min(78vw, 460px);
  scroll-snap-align: center;
  display: grid;
  gap: 1rem;
}
.scene-fig {
  position: relative;
  aspect-ratio: 4 / 3.2;
  background: var(--noir-2);
  border: 1px solid rgba(231, 211, 161, .12);
  overflow: hidden;
}
.scene-glow { position: absolute; inset: 0; }
.scene-svg { position: relative; width: 100%; height: 100%; }
.scene-svg .stroke { fill: none; stroke: var(--champagne); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scene-svg .stroke.candle { stroke: var(--candle); }
.scene-svg .stroke.thin { stroke-width: 1; opacity: .8; }
.scene-svg .fill-candle { fill: var(--candle); }
.scene-svg .fill-champagne { fill: var(--champagne); }
@media (pointer: fine) {
  .scene-fig { transition: border-color .4s var(--ease-invite); }
  .scene:hover .scene-fig { border-color: rgba(240, 185, 92, .5); }
  .scene:hover .scene-svg .stroke.candle { stroke-width: 2.2; }
}
.scene-cap { padding: 0 .2rem; }
.scene-no { color: var(--candle); }
.scene-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: .25rem 0 .35rem;
}
.scene-desc { font-size: .92rem; color: rgba(231, 211, 161, .75); max-width: 34em; }

.gallery-nav {
  display: flex; justify-content: center; gap: 1.2rem;
  padding: 0 var(--gutter);
}
.gallery-nav button {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(231, 211, 161, .3);
  background: transparent; color: var(--champagne);
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .3s, color .3s, background .3s;
}
.gallery-nav button:hover, .gallery-nav button:focus-visible { border-color: var(--candle); color: var(--candle); background: rgba(240,185,92,.08); }
.gallery-nav svg { width: 1rem; height: 1rem; }

.chapter-line {
  padding: 0 var(--gutter);
  max-width: 56rem;
  margin: clamp(2rem, 6vh, 3.5rem) auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: rgba(231, 211, 161, .82);
  border-top: 1px solid rgba(231, 211, 161, .16);
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
}

/* ================= THE CRAFT (candle-lit path) ================= */
.craft { padding: clamp(5rem, 13vh, 9rem) var(--gutter); background: var(--noir); scroll-margin-top: 1rem; }
.craft-head { max-width: 44rem; margin: 0 auto clamp(3rem, 8vh, 5rem); text-align: center; }
.craft-head .cap { color: var(--candle); }
.craft-head h2 { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(2.4rem, 6vw, 4.4rem); margin: .9rem 0 1rem; }
.craft-head p { color: rgba(231,211,161,.82); font-size: clamp(1rem, 1.3vw, 1.15rem); }

.craft-path-wrap { max-width: 72rem; margin: 0 auto; position: relative; }
.craft-svg { width: 100%; height: auto; overflow: visible; }
.craft-svg .path-line {
  fill: none; stroke: rgba(231, 211, 161, .35); stroke-width: 1.6; stroke-linecap: round;
}
.craft-svg .path-line.lit { stroke: var(--candle); transition: stroke 1.2s var(--ease-invite); }
.craft-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
}
.stage { text-align: center; display: grid; justify-items: center; gap: .8rem; }
.stage-candle { width: clamp(38px, 5vw, 54px); height: auto; }
.stage-candle .body { fill: rgba(231,211,161,.18); stroke: rgba(231,211,161,.4); stroke-width: 1; transition: fill 1s var(--ease-invite); }
.stage-candle .flame { fill: var(--candle); opacity: 0; transform-origin: center bottom; transition: opacity 1s var(--ease-invite) .3s; }
.stage.lit .stage-candle .body { fill: rgba(240,185,92,.14); stroke: var(--candle); }
.stage.lit .stage-candle .flame { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .stage.lit .stage-candle .flame { animation: flicker 2.6s ease-in-out infinite; }
}
@keyframes flicker { 0%,100% { transform: scaleY(1) translateX(0); } 45% { transform: scaleY(1.08) translateX(.3px); } 60% { transform: scaleY(.92) translateX(-.3px); } }
@media (pointer: fine) {
  .stage.lit { cursor: default; transition: filter .4s var(--ease-invite); }
  .stage.lit:hover .stage-candle .flame { filter: drop-shadow(0 0 7px rgba(240,185,92,.9)); }
  .stage.lit:hover .stage-candle .body { fill: rgba(240,185,92,.22); }
  .stage.lit:hover h3 { color: var(--candle); }
  .stage-candle .flame { transition: filter .4s var(--ease-invite), opacity 1s var(--ease-invite) .3s; }
  .stage h3 { transition: color .4s var(--ease-invite); }
}
.stage-no { color: var(--candle); }
.stage h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.stage p { font-size: .92rem; color: rgba(231,211,161,.78); max-width: 26em; }

@media (max-width: 760px) {
  .craft-stages { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ================= TESTIMONIAL VOICES ================= */
.voices { background: var(--velvet); color: var(--champagne); padding: clamp(5rem, 13vh, 9rem) var(--gutter); scroll-margin-top: 1rem; }
.voices-head { max-width: 44rem; margin: 0 auto clamp(3rem, 7vh, 4.5rem); text-align: center; }
.voices-head .cap { color: var(--candle); }
.voices-head h2 { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(2.4rem, 6vw, 4.4rem); margin: .9rem 0; }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(30rem, 100%), 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  max-width: 76rem;
  margin: 0 auto;
}
.voice { border-top: 1px solid rgba(231, 211, 161, .25); padding-top: 1.6rem; }
.voice blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
  margin-bottom: 1.2rem;
}
.voice blockquote::before { content: '\201C'; color: var(--candle); }
.voice blockquote::after { content: '\201D'; color: var(--candle); }
.voice figcaption .cap { display: block; }
.voice figcaption .cap:first-child { color: var(--candle); }
.voice figcaption .cap:last-child { opacity: .7; margin-top: .2rem; }

/* ================= ENQUIRE — the RSVP card ================= */
.enquire { padding: clamp(5rem, 13vh, 9rem) var(--gutter) clamp(6rem, 15vh, 9rem); display: grid; justify-items: center; scroll-margin-top: 1rem; }
.enquire-head { text-align: center; max-width: 40rem; margin-bottom: clamp(2.5rem, 6vh, 3.5rem); }
.enquire-head .cap { color: var(--candle); }
.enquire-head h2 { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(2.4rem, 6vw, 4.2rem); margin: .9rem 0 1rem; }
.enquire-head p { color: rgba(231,211,161,.82); }

.rsvp-card {
  width: min(100%, 640px);
  background: var(--champagne);
  color: var(--noir);
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.6rem, 4.5vw, 3.2rem) clamp(2.2rem, 5vw, 3rem);
  position: relative;
}
.rsvp-card::before {
  content: '';
  position: absolute; inset: 9px;
  border: 1px solid rgba(12, 10, 9, .3);
  pointer-events: none;
}
.rsvp-card > * { position: relative; }
.rsvp-head { text-align: center; margin-bottom: 2rem; }
.rsvp-seal { width: 2.6rem; height: 2.6rem; margin: 0 auto .9rem; }
.rsvp-seal .seal-ring { fill: none; stroke: var(--velvet); stroke-width: 1.4; }
.rsvp-seal .seal-a { fill: none; stroke: var(--velvet); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rsvp-seal .seal-flame { fill: #B4552D; }
.rsvp-head .cap { color: var(--velvet); }
.rsvp-head h3 {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin-top: .4rem;
}
.rsvp-form { display: grid; gap: 1.35rem; }
.rsvp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--sans); font-size: .62rem; font-weight: 600;
  letter-spacing: var(--track); text-transform: uppercase; color: var(--velvet);
}
.field input, .field select, .field textarea {
  font-family: var(--serif); font-size: 1.08rem; font-weight: 500; color: var(--noir);
  background: transparent; border: 0; border-bottom: 1px solid rgba(12,10,9,.35);
  padding: .4em 0; border-radius: 0; transition: border-color .3s;
}
.field select { appearance: none; cursor: pointer; }
.field--select { position: relative; }
.field--select::after {
  content: ''; position: absolute; right: .3em; bottom: 1.1em;
  width: .5em; height: .5em;
  border-right: 1.5px solid var(--velvet); border-bottom: 1.5px solid var(--velvet);
  transform: rotate(45deg); pointer-events: none;
}
.field textarea { resize: vertical; min-height: 4.2em; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--velvet); box-shadow: 0 1px 0 var(--velvet);
}
.rsvp-submit {
  margin-top: .5rem; justify-self: center;
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: var(--track);
  text-transform: uppercase; color: var(--champagne); background: var(--velvet);
  border: 1px solid var(--velvet); padding: 1.05em 2.6em; cursor: pointer;
  transition: background .4s var(--ease-invite), color .4s var(--ease-invite);
}
.rsvp-submit:hover, .rsvp-submit:focus-visible { background: var(--noir); border-color: var(--noir); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rsvp-success { text-align: center; padding: 1.5rem 0 .5rem; }
.rsvp-success .fin { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.8rem; margin-bottom: .8rem; }
[hidden] { display: none !important; }

@media (max-width: 560px) {
  .rsvp-row { grid-template-columns: 1fr; }
}

/* ================= FOOTER ================= */
.site-foot {
  border-top: 1px solid rgba(231, 211, 161, .18);
  padding: 3rem var(--gutter) 2.6rem;
  display: grid; gap: 2rem;
}
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1.2rem 2.5rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; }
.foot-nav a, .foot-credit a {
  font-family: var(--sans); font-size: .66rem; letter-spacing: var(--track); text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: .3em;
  transition: border-color .3s, color .3s;
}
.foot-nav a:hover, .foot-nav a:focus-visible,
.foot-credit a:hover, .foot-credit a:focus-visible { border-color: var(--candle); color: var(--candle); }
.foot-credit, .foot-fine { font-family: var(--sans); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; opacity: .72; line-height: 2; }
.foot-credit a { color: var(--champagne); opacity: 1; border-bottom-color: rgba(231,211,161,.35); }

/* ================= REVEALS ================= */
.reveal {
  opacity: 0; transform: translateY(2rem);
  transition: opacity 1.2s var(--ease-invite), transform 1.2s var(--ease-invite);
  transition-delay: calc(var(--d, 0) * .12s);
}
.reveal.in { opacity: 1; transform: none; }

/* ================= GUIDE / PROCESS ARTICLE PAGES ================= */
.article-hero {
  min-height: 58svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem var(--gutter) clamp(2.5rem, 7vh, 5rem);
  border-bottom: 1px solid rgba(231, 211, 161, .18);
}
.article-hero h1 {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: .98;
  margin-top: 1.2rem;
  max-width: 14em;
}
.article-hero h1 .no-italic { font-style: normal; color: var(--candle); }
.article-hero .deck {
  margin-top: 1.4rem;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  max-width: 36em;
  color: rgba(231, 211, 161, .9);
}
.article {
  padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(5rem, 12vh, 8rem);
  display: grid; gap: clamp(4rem, 10vh, 7rem);
  max-width: 78rem;
}
.art-sec { display: grid; grid-template-columns: minmax(0, .32fr) minmax(0, .68fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.art-sec .sec-head { position: sticky; top: 6rem; }
.art-sec .sec-no {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(231, 211, 161, .5);
  display: block; margin-bottom: .6rem;
}
.art-sec h2 { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
.art-sec h3 {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: var(--track);
  text-transform: uppercase; color: var(--candle); margin: 2.2rem 0 .8rem;
}
.sec-body p { font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.75; color: rgba(231, 211, 161, .9); max-width: 44em; margin-bottom: 1.1em; }
.sec-body strong { font-weight: 700; color: var(--champagne); }
.sec-body em { font-style: italic; color: var(--champagne); }
.sec-body ul { list-style: none; display: grid; gap: .8rem; margin: 1.2rem 0 1.4rem; max-width: 44em; }
.sec-body ul li { padding-left: 1.6rem; position: relative; font-size: clamp(.96rem, 1.2vw, 1.08rem); line-height: 1.65; color: rgba(231, 211, 161, .88); }
.sec-body ul li::before { content: ''; position: absolute; left: 0; top: .68em; width: .8rem; height: 1px; background: var(--candle); }
.sec-body pre {
  background: rgba(231, 211, 161, .05); border: 1px solid rgba(231, 211, 161, .14);
  border-left: 2px solid var(--candle); padding: 1.2rem 1.4rem; overflow-x: auto; margin: 1.4rem 0 1.6rem; max-width: 44em;
}
.sec-body code { font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace; font-size: .8rem; line-height: 1.7; color: rgba(231, 211, 161, .92); }
.sec-body p code, .sec-body li code { background: rgba(231, 211, 161, .08); padding: .1em .4em; font-size: .82em; }
.concept-note { border: 1px solid var(--candle); padding: 1.4rem 1.6rem; max-width: 44em; margin: 0 0 1.4rem; }
.concept-note p { margin: 0; }
@media (max-width: 760px) {
  .art-sec { grid-template-columns: minmax(0, 1fr); }
  .art-sec .sec-head { position: static; display: flex; align-items: baseline; gap: 1rem; }
  .art-sec .sec-no { margin-bottom: 0; }
}
.passlog { display: grid; gap: 2rem; margin-top: 1.4rem; max-width: 44em; }
.passlog .pass { border-top: 1px solid rgba(231, 211, 161, .18); padding-top: 1.2rem; }
.passlog .pass h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--candle); margin-bottom: .8rem; }

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .12s !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .arrival-cue .drop { animation: none !important; }
  .stage.lit .stage-candle .flame { animation: none !important; }
}
