/* ============================================================
   SHARM EL SHEIKH · DOSSIER No. 01
   ============================================================ */

:root{
  --ink:        #07080a;
  --ink-2:      #0c0e11;
  --ink-3:      #12151a;
  --paper:      #e7e1d5;
  --bone:       #ece6db;
  --bone-2:     rgba(236,230,219,.66);
  --bone-3:     rgba(236,230,219,.40);
  --brass:      #c98a45;
  --sea:        #8bb3ae;
  --rust:       #a35a45;
  --line:       rgba(236,230,219,.13);
  --line-2:     rgba(236,230,219,.07);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(1.25rem, 4.5vw, 5.5rem);
  --maxw: 1520px;
  --ease: cubic-bezier(.16,.84,.32,1);
  --ease-out: cubic-bezier(.22,1,.36,1);
}

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

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--ink);
  color:var(--bone);
  font-family:var(--sans);
  font-weight:300;
  font-size:clamp(1rem,.94rem + .3vw,1.1rem);
  line-height:1.6;
  letter-spacing:.004em;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.is-booting{ overflow:hidden; height:100vh; }

img{ display:block; max-width:100%; }
h1,h2,h3{ margin:0; font-weight:400; }
p{ margin:0 0 1em; }
ul,ol{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }
b,strong{ font-weight:500; color:var(--bone); }
::selection{ background:var(--brass); color:#0a0a0a; }

.mono{
  font-family:var(--mono);
  font-weight:400;
  font-size:.66rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--bone-3);
  line-height:1.5;
}

/* ---------- PAPER (inverted) sections ---------- */
.paper{
  --bone:   #16181c;
  --bone-2: rgba(22,24,28,.74);
  --bone-3: rgba(22,24,28,.52);
  --line:   rgba(22,24,28,.2);
  --line-2: rgba(22,24,28,.11);
  --brass:  #96591f;
  --sea:    #3f6b66;
  --rust:   #8e402c;
  background:var(--paper);
  color:var(--bone);
  position:relative;
}
.paper::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(22,24,28,.05), transparent 60%),
    radial-gradient(120% 60% at 50% 100%, rgba(22,24,28,.05), transparent 60%);
}
.paper > *{ position:relative; }
.paper b,.paper strong{ color:var(--bone); }

/* ---------- grain ---------- */
.grain{
  position:fixed; inset:-50%;
  z-index:9000; pointer-events:none;
  opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation:grainShift 6s steps(5) infinite;
}
@keyframes grainShift{
  0%{transform:translate(0,0)}20%{transform:translate(-2%,1%)}40%{transform:translate(1%,-2%)}
  60%{transform:translate(-1%,2%)}80%{transform:translate(2%,-1%)}100%{transform:translate(0,0)}
}

/* ---------- boot ---------- */
/* ============================================================
   GATE
   Sits above the boot sequence and holds it back until the password lands,
   so the loading beat plays as an arrival rather than something interrupted.
   ============================================================ */
/* the overlay hides the page, but the document behind it still scrolls, and a
   visitor who flicked the wheel while typing would be admitted halfway down */
body.is-locked{ overflow:hidden; height:100vh; }
html:has(body.is-locked){ overflow:hidden; }
.gate{
  position:fixed; inset:0; z-index:9800;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(28,24,20,.55) 0%, transparent 65%),
    var(--ink);
  display:flex;
  transition:opacity .7s var(--ease), visibility .7s;
}
.gate.is-open{ opacity:0; visibility:hidden; }
.gate-inner{
  flex:1; display:flex; flex-direction:column; justify-content:space-between;
  padding:var(--pad); max-width:var(--maxw); margin:0 auto; width:100%;
}
.gate-top,.gate-foot{ display:flex; justify-content:space-between; gap:1rem; }
.gate-foot{ color:var(--bone-3); }
/* the copy blocks carry their own measure so the headline is free to run as one
   line rather than being folded by a column sized for the paragraph */
.gate-mid{ margin:auto 0; }

.gate-title{
  font-family:var(--serif); font-size:clamp(2.8rem,9vw,8rem);
  line-height:.92; letter-spacing:-.022em; margin:0 0 .4em; color:var(--bone);
  clip-path:inset(0 0 100% 0);
  animation:bootTitle 1.1s var(--ease-out) .1s forwards;
}
.gate-sub{
  color:var(--bone-2); font-size:clamp(1rem,1.5vw,1.2rem); line-height:1.5;
  max-width:38ch; margin:0 0 clamp(1.8rem,3.5vw,2.8rem);
  opacity:0; animation:bootIn .8s var(--ease) .5s forwards;
}
.gate-form{ max-width:30rem; opacity:0; animation:bootIn .8s var(--ease) .7s forwards; }
.gate-label{ display:block; color:var(--brass); margin-bottom:.7rem; }
.gate-row{ display:flex; gap:.6rem; align-items:stretch; flex-wrap:wrap; }

.gate-input{
  flex:1 1 12rem; min-width:0;
  background:transparent; border:1px solid var(--line); color:var(--bone);
  font-family:var(--mono); font-size:.95rem; letter-spacing:.32em;
  padding:1em 1.1em; border-radius:0; -webkit-appearance:none;
  transition:border-color .4s var(--ease), background .4s var(--ease);
}
.gate-input::placeholder{ color:var(--bone-3); letter-spacing:.2em; }
.gate-input:focus{ outline:none; border-color:var(--brass); background:rgba(201,138,69,.04); }

.gate-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.7rem;
  font-family:var(--mono); font-size:.7rem; letter-spacing:.2em; text-transform:uppercase;
  padding:1em 1.6em; border:1px solid var(--brass);
  background:var(--brass); color:var(--paper); cursor:pointer;
  transition:background .4s var(--ease), color .4s var(--ease);
}
.gate-btn svg{ width:15px; height:15px; flex:none; }
.gate-btn:hover{ background:transparent; color:var(--bone); }

.gate-msg{ min-height:1.4em; margin:.9rem 0 0; color:var(--bone-3); letter-spacing:.14em; }
.gate-msg.is-wrong{ color:#c96a4a; }

/* a wrong password nudges the field rather than announcing itself loudly */
.gate-form.is-wrong .gate-input{ border-color:#c96a4a; animation:gateNudge .4s var(--ease); }
@keyframes gateNudge{
  0%,100%{ transform:translateX(0); }
  25%{ transform:translateX(-5px); }
  75%{ transform:translateX(5px); }
}

@media (max-width:700px){
  /* both label pairs stack rather than crowding each other at the screen edges */
  .gate-top,.gate-foot{ flex-direction:column; gap:.4rem; }
  .gate-input{ flex:1 1 100%; font-size:1rem; letter-spacing:.28em; }
  .gate-btn{ flex:1 1 100%; padding:1.15em 1.6em; }
}

.boot{
  position:fixed; inset:0; z-index:9500;
  background:var(--ink); display:flex;
  transition:opacity .8s var(--ease), visibility .8s;
}
.boot.is-done{ opacity:0; visibility:hidden; }
.boot-inner{ flex:1; display:flex; flex-direction:column; justify-content:space-between; padding:var(--pad); }
.boot-top{ display:flex; justify-content:space-between; gap:1rem; }
.boot-mid{ text-align:center; }
.boot-line,.boot-coords{ opacity:0; animation:bootIn .8s var(--ease) forwards; }
.boot-coords{ animation-delay:.55s; }
.boot-title{
  font-family:var(--serif); font-size:clamp(2.4rem,8vw,7rem);
  line-height:1; letter-spacing:-.015em; margin:.35em 0 .3em;
  clip-path:inset(0 0 100% 0);
  animation:bootTitle 1.1s var(--ease-out) .18s forwards;
}
@keyframes bootIn{ from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
@keyframes bootTitle{ from{clip-path:inset(0 0 100% 0)} to{clip-path:inset(0 0 -10% 0)} }
.boot-bar{ height:1px; background:var(--line); overflow:hidden; margin-bottom:.9rem; }
.boot-bar i{ display:block; height:100%; width:0; background:var(--brass); }
.boot-pct{ color:var(--brass); }

/* ---------- progress ---------- */
.scroll-progress{ position:fixed; top:0; left:0; right:0; height:2px; z-index:8000; pointer-events:none; }
.scroll-progress i{ display:block; height:100%; width:0; background:linear-gradient(90deg,rgba(201,138,69,.25),var(--brass)); }

/* ---------- nav ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:7000;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.1rem var(--pad);
  transition:background .5s var(--ease), backdrop-filter .5s, border-color .5s, padding .5s var(--ease);
  border-bottom:1px solid transparent;
}
.nav.is-stuck{
  background:rgba(7,8,10,.9);
  backdrop-filter:blur(14px) saturate(1.1);
  -webkit-backdrop-filter:blur(14px) saturate(1.1);
  border-bottom-color:rgba(236,230,219,.09);
  padding-top:.8rem; padding-bottom:.8rem;
}
.nav-mark{ display:flex; align-items:center; gap:.7rem; }
.nav-mark-r{
  font-family:var(--serif); font-size:1.3rem; line-height:1; color:#c98a45;
  width:1.8rem; height:1.8rem; border:1px solid rgba(236,230,219,.16);
  display:grid; place-items:center; padding-bottom:.12em;
  transition:border-color .4s, background .4s;
}
.nav-mark:hover .nav-mark-r{ border-color:#c98a45; background:rgba(201,138,69,.16); }
.nav-mark-txt{
  font-family:var(--mono); font-size:.6rem; letter-spacing:.18em; text-transform:uppercase;
  display:flex; flex-direction:column; gap:.15em; line-height:1.2; color:#ece6db;
}
.nav-mark-txt em{ font-style:normal; color:rgba(236,230,219,.42); }
.nav-mid{ display:none; color:rgba(236,230,219,.42); }
.nav-count{ color:rgba(236,230,219,.42); }
.nav-count b{ color:#c98a45; font-weight:400; }
@media (min-width:1100px){ .nav-mid{ display:block; } }

/* ---------- rail ---------- */
.rail{
  position:fixed; right:10px; top:50%; transform:translateY(-50%);
  z-index:6500; display:none; flex-direction:column;
}
/* the rail is fixed, so once it appears the measured columns have to give up
   the gutter it occupies — otherwise status flags and right-aligned day copy
   slide underneath the numbers */
@media (min-width:1240px){
  :root{ --maxw:min(1520px, 100vw - 340px); }
  .rail{ display:flex; }
}
.rail a{ display:flex; align-items:center; justify-content:flex-end; gap:.65rem; padding:.32rem 0; }
.rail a span{
  font-family:var(--mono); font-size:.56rem; letter-spacing:.12em;
  color:rgba(236,230,219,.3); transition:color .35s;
}
.rail a::after{
  content:""; width:12px; height:1px; background:rgba(236,230,219,.3);
  transition:width .45s var(--ease), background .35s;
}
.rail a::before{
  content:attr(data-label);
  font-family:var(--mono); font-size:.56rem; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(236,230,219,.5); white-space:nowrap;
  opacity:0; transform:translateX(8px); pointer-events:none;
  transition:opacity .4s var(--ease), transform .4s var(--ease);
}
.rail:hover a::before{ opacity:1; transform:none; }
.rail a:hover span,.rail a.is-active span{ color:#ece6db; }
.rail a.is-active::after{ width:26px; background:#c98a45; }

/* the rail floats over both ink and paper stock, so it flips with the backdrop */
.rail.on-paper a span{ color:rgba(22,24,28,.4); }
.rail.on-paper a::after{ background:rgba(22,24,28,.4); }
.rail.on-paper a::before{ color:rgba(22,24,28,.6); }
.rail.on-paper a:hover span,.rail.on-paper a.is-active span{ color:#16181c; }
.rail.on-paper a.is-active::after{ background:#96591f; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; min-height:100svh;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:var(--pad); padding-bottom:clamp(1.4rem,2.6vw,2.6rem);
  overflow:hidden;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{
  width:100%; height:100%; object-fit:cover;
  filter:saturate(.86) contrast(1.07) brightness(.8);
  transform:scale(1.06);
  animation:heroDrift 30s ease-out forwards;
}
@keyframes heroDrift{ from{transform:scale(1.13)} to{transform:scale(1.01)} }
.hero-scrim{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(180deg, rgba(7,8,10,.78) 0%, rgba(7,8,10,.2) 24%, rgba(7,8,10,.06) 44%, rgba(7,8,10,.66) 78%, rgba(7,8,10,.96) 100%),
    radial-gradient(130% 95% at 45% 55%, transparent 38%, rgba(7,8,10,.55) 100%);
}
.hero-inner{ position:relative; z-index:2; margin-top:auto; max-width:var(--maxw); width:100%; }

.eyebrow{
  font-family:var(--mono); font-size:.64rem; letter-spacing:.24em; text-transform:uppercase;
  color:var(--bone-2); display:flex; align-items:center; gap:.9rem; margin-bottom:1.4rem;
}
.eyebrow .rule{ display:block; width:clamp(28px,5vw,60px); height:1px; background:var(--brass); flex:none; }

.hero-title{
  font-family:var(--serif);
  font-size:clamp(3.4rem,13.2vw,13.5rem);
  line-height:.86; letter-spacing:-.022em;
  margin:0 0 clamp(1.2rem,2.6vw,2rem);
}
.hero-sub{
  display:flex; align-items:center; flex-wrap:wrap; gap:clamp(.7rem,2vw,1.5rem);
  padding-bottom:clamp(1.3rem,3vw,2.2rem);
  border-bottom:1px solid var(--line);
}
.hero-dates{ font-weight:300; font-size:clamp(1.05rem,2.1vw,1.6rem); letter-spacing:.02em; }
.hero-div{ width:1px; height:1.1em; background:var(--line); display:none; }
@media (min-width:640px){ .hero-div{ display:block; } }
.hero-sub .mono{ color:var(--bone-2); letter-spacing:.14em; }

.hero-foot{
  position:relative; z-index:2;
  display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between;
  gap:clamp(1.3rem,3vw,2.5rem); padding-top:clamp(1.1rem,2.4vw,1.7rem);
  max-width:var(--maxw); width:100%;
}
.hero-facts{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.9rem clamp(1.4rem,4vw,3.2rem); }
@media (min-width:760px){ .hero-facts{ grid-template-columns:repeat(4,auto); } }
.fact{ display:flex; flex-direction:column; gap:.28rem; }
.fact .mono{ font-size:.58rem; letter-spacing:.18em; }
.fact b{ font-weight:300; font-size:clamp(.92rem,1.3vw,1.1rem); letter-spacing:.01em; }

.hero-clock{ text-align:right; margin-left:auto; }
.clock{ display:flex; gap:clamp(.8rem,2vw,1.5rem); justify-content:flex-end; }
.clock-unit{ display:flex; flex-direction:column; align-items:center; gap:.1rem; min-width:2.5rem; }
.clock-unit b{
  font-family:var(--serif); font-weight:400;
  font-size:clamp(1.6rem,3.4vw,2.7rem); line-height:1;
  letter-spacing:-.01em; font-variant-numeric:tabular-nums;
}
.clock-unit .mono{ font-size:.54rem; letter-spacing:.2em; }
.clock-cap{ margin:.6rem 0 0; letter-spacing:.2em; color:var(--brass); font-size:.56rem; }

.scroll-cue{
  position:absolute; left:50%; bottom:clamp(.5rem,1.2vw,1rem); transform:translateX(-50%);
  z-index:3; display:flex; flex-direction:column; align-items:center; gap:.5rem;
  font-family:var(--mono); font-size:.54rem; letter-spacing:.24em; text-transform:uppercase;
  color:var(--bone-3); transition:color .4s;
}
.scroll-cue:hover{ color:var(--bone); }
.scroll-cue i{ display:block; width:1px; height:34px; background:linear-gradient(180deg,var(--brass),transparent); }
@media (max-width:920px){ .scroll-cue{ display:none; } }

/* ---------- marquee ---------- */
.marquee{
  overflow:hidden; border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2);
  padding:.75rem 0; background:var(--ink-2);
  /* words dissolve before they reach the rail digits on the right edge */
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
}
.marquee-track{ display:flex; align-items:center; gap:1.5rem; width:max-content; animation:marq 52s linear infinite; }
.marquee-track span{
  font-family:var(--serif); font-size:clamp(.95rem,1.7vw,1.4rem);
  color:var(--bone-2); white-space:nowrap;
}
.marquee-track i{ color:var(--brass); font-size:.5rem; font-style:normal; }
@keyframes marq{ to{ transform:translateX(-50%); } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.sec{ position:relative; padding:clamp(3rem,5.2vw,5.6rem) var(--pad); max-width:var(--maxw); margin:0 auto; }
.sec-head{
  display:flex; align-items:baseline; gap:clamp(.9rem,2.5vw,2.2rem);
  padding-bottom:.9rem; margin-bottom:clamp(2rem,3.8vw,3.4rem);
  border-bottom:1px solid var(--line-2);
}
.sec-num{ color:var(--brass); letter-spacing:.2em; }
.sec-name{ color:var(--bone); letter-spacing:.2em; }
.sec-meta{ margin-left:auto; text-align:right; }

.lede{
  font-family:var(--serif); font-size:clamp(1.9rem,5.2vw,4rem);
  line-height:1.06; letter-spacing:-.018em; margin-bottom:1.2rem;
}
.big{ font-family:var(--serif); font-size:clamp(2.2rem,6.6vw,5.4rem); line-height:.98; letter-spacing:-.02em; }
.mid{ font-family:var(--serif); font-size:clamp(1.7rem,4vw,3.2rem); line-height:1.08; letter-spacing:-.015em; margin-bottom:1.2rem; }

.tbc{
  display:inline-block; color:var(--brass);
  border-bottom:1px dashed rgba(201,138,69,.45); padding-bottom:.05em;
}
.paper .tbc{ border-bottom-color:rgba(150,89,31,.5); }
.tbc-lg{ color:var(--brass); }

figcaption.mono, .frame + figcaption{ margin-top:.7rem; letter-spacing:.15em; }

.frame{ position:relative; overflow:hidden; background:var(--ink-3); }
.frame img{
  width:100%; height:100%; object-fit:cover;
  filter:saturate(.9) contrast(1.03);
  /* scale, not transform, so the parallax loop can set translate independently */
  scale:1.1;
  transition:scale 1.7s var(--ease-out);
}
.frame.in img{ scale:1; }
/* a parallaxed picture is taller than its frame so it has room to travel */
.frame[data-parallax] img{ position:absolute; inset:-11% 0; height:122%; }
.frame--tall{ aspect-ratio:3/4; }
.frame--wide{ aspect-ratio:16/10; }
.frame--hero{ aspect-ratio:16/8.4; }

/* ============================================================
   01 · BRIEF
   ============================================================ */
.sec--brief{ padding-top:clamp(3rem,5.5vw,5.5rem); }
.brief-grid{ display:grid; gap:clamp(2rem,4vw,3.5rem); grid-template-columns:1fr; }
@media (min-width:940px){
  .brief-grid{ grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); align-items:start; }
  .brief-lead{ grid-column:1; }
  .brief-fig{ grid-column:2; grid-row:1 / span 2; }
  .note{ grid-column:1; }
}
.brief-lead p:not(.lede){ max-width:56ch; color:var(--bone-2); }
.brief-swap{ font-size:clamp(1.1rem,1.6vw,1.4rem); color:var(--bone) !important; }
.brief-swap b{ font-family:var(--serif); font-weight:400; font-size:1.35em; letter-spacing:-.01em; }
.brief-fig{ margin:0; }

.strike{ position:relative; white-space:nowrap; color:var(--bone-3); }
.strike::after{
  content:""; position:absolute; left:-.04em; right:-.04em; top:54%;
  height:2px; background:var(--rust); transform:scaleX(0); transform-origin:left;
  transition:transform .9s var(--ease-out) .25s;
}
.strike.is-struck::after{ transform:scaleX(1); }

.note{ border-left:1px solid var(--brass); padding:.15rem 0 .15rem 1.3rem; max-width:46ch; }
.note-label{ color:var(--brass); margin-bottom:.6rem; }
.note p{ margin-bottom:.45em; color:var(--bone-2); font-size:.96rem; }
.note p:last-child{ margin-bottom:0; }

/* ============================================================
   02 · DATES
   ============================================================ */
.dates-grid{ display:grid; gap:clamp(2rem,4vw,3.5rem); }
@media (min-width:940px){ .dates-grid{ grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:start; } }

.board{ border-top:1px solid var(--line); }
.board-row{
  display:flex; align-items:center; gap:clamp(.7rem,1.8vw,1.4rem);
  padding:clamp(1rem,2.2vw,1.6rem) 0; border-bottom:1px solid var(--line-2); position:relative;
}
.board-row::before{
  content:""; position:absolute; left:0; bottom:-1px; height:1px; width:0;
  background:var(--brass); transition:width 1.1s var(--ease-out) .2s;
}
.board-row.in::before{ width:100%; }
.board-row[data-tone="ok"]::before{ background:var(--bone-3); }
.board-row[data-tone="no"]::before{ background:var(--rust); }
.board-day{ font-size:.66rem; letter-spacing:.2em; width:3.2em; flex:none; color:var(--bone-3); }
.board-date{ font-family:var(--serif); font-size:clamp(1.5rem,3.2vw,2.5rem); line-height:1; letter-spacing:-.01em; flex:none; }
.board-line{ flex:1; height:1px; background:var(--line-2); min-width:.5rem; }
.chip{
  font-family:var(--mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase;
  padding:.5em .8em; border:1px solid var(--line); white-space:nowrap; line-height:1.3;
}
.chip--go{ color:#0a0a0a; background:var(--brass); border-color:var(--brass); }
.chip--ok{ color:var(--bone-2); }
.board-row[data-tone="no"]{ align-items:baseline; }
.board-verdict{
  font-family:var(--serif); font-size:clamp(1.05rem,1.9vw,1.5rem);
  line-height:1.2; color:var(--rust); text-align:right; margin-left:auto; max-width:16em;
}
@media (max-width:640px){
  .board-line{ display:none; }
  .board-row{ flex-wrap:wrap; }
  .chip{ margin-left:auto; }
  .board-verdict{ text-align:left; max-width:none; width:100%; margin-top:.5rem; }
}
.dates-copy p{ color:var(--bone-2); max-width:52ch; }
.dates-copy .frame{ margin-top:clamp(1.2rem,2.5vw,2rem); }

/* ============================================================
   03 · WHY
   ============================================================ */
.why-grid{ display:grid; gap:clamp(1.8rem,3.2vw,3rem); margin-bottom:clamp(2.2rem,4.5vw,4rem); }
@media (min-width:940px){
  .why-grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; }
  .why-verdict{ grid-column:1 / -1; }
}
.checks{ display:flex; flex-direction:column; border-top:1px solid var(--line-2); }
.check{
  display:flex; gap:1rem; align-items:flex-start;
  padding:clamp(.8rem,1.6vw,1.15rem) 0; border-bottom:1px solid var(--line-2);
  opacity:0; transform:translateY(14px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
.check.in{ opacity:1; transform:none; }
.check i{ flex:none; width:15px; height:15px; margin-top:.4em; position:relative; border:1px solid var(--line); }
.check i::after{
  content:""; position:absolute; left:3px; top:5px; width:8px; height:4px;
  border-left:1.5px solid var(--brass); border-bottom:1.5px solid var(--brass);
  transform:rotate(-45deg) scale(0); transform-origin:center;
  transition:transform .45s var(--ease-out) .35s;
}
.check.in i::after{ transform:rotate(-45deg) scale(1); }
.check span{ font-size:clamp(1rem,1.2vw,1.15rem); color:var(--bone-2); }
.why-verdict{
  font-family:var(--serif); font-size:clamp(1.5rem,3.2vw,2.5rem);
  letter-spacing:-.015em; line-height:1.1; color:var(--bone); margin:0;
}

.strip{ display:grid; gap:clamp(.9rem,2vw,1.6rem); }
@media (min-width:760px){ .strip{ grid-template-columns:repeat(3,1fr); } }
.strip-item{ margin:0; }
.strip-item .frame{ aspect-ratio:4/5; }
.strip-item:nth-child(2) .frame{ aspect-ratio:4/5.4; }
@media (min-width:760px){ .strip-item:nth-child(2){ margin-top:clamp(1.2rem,3vw,3rem); } }
.strip-item figcaption b{ color:var(--brass); font-weight:400; margin-right:.55em; }

/* ---------- interlude ---------- */
.interlude{
  position:relative; min-height:clamp(20rem,42vh,30rem);
  display:grid; place-items:center; overflow:hidden; padding:clamp(3rem,7vw,6rem) var(--pad);
  border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2);
}
.interlude-media{ position:absolute; inset:-12% 0; z-index:0; }
.interlude-media img{ width:100%; height:100%; object-fit:cover; filter:saturate(.9) contrast(1.05) brightness(.62); }
.interlude::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg,rgba(7,8,10,.82),rgba(7,8,10,.5) 45%,rgba(7,8,10,.86));
}
.interlude-inner{ position:relative; z-index:2; max-width:34ch; text-align:center; }
.interlude-inner .mono{ color:var(--brass); letter-spacing:.24em; margin-bottom:1.1rem; }
.interlude-fact{
  font-family:var(--serif); font-size:clamp(1.5rem,3.6vw,2.8rem);
  line-height:1.14; letter-spacing:-.015em; margin-bottom:.8rem;
}
.interlude-note{ color:var(--bone-2); font-size:.95rem; margin:0; }

/* ============================================================
   04 · FLIGHTS (paper)
   ============================================================ */
.flights-intro{ max-width:58ch; margin-bottom:clamp(2rem,4vw,3.2rem); }
.flights-intro p{ color:var(--bone-2); }

.cards{ display:grid; gap:clamp(.9rem,1.8vw,1.4rem); }
@media (min-width:880px){ .cards{ grid-template-columns:repeat(3,1fr); } }
.card{
  border:1px solid var(--line); padding:clamp(1.1rem,2vw,1.6rem);
  display:flex; flex-direction:column;
  transition:border-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.card:hover{ border-color:var(--brass); transform:translateY(-3px); box-shadow:0 14px 40px rgba(22,24,28,.12); }
.card-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:1.2rem; }
.card-tag{ color:var(--brass); letter-spacing:.18em; }
.card--return .card-tag{ color:var(--bone-3); }
.card-no{ color:var(--bone-3); }
.card-date{ font-family:var(--serif); font-size:clamp(1.3rem,2.2vw,1.8rem); line-height:1; margin-bottom:1.3rem; }
.route{ display:flex; align-items:flex-end; gap:.8rem; margin-bottom:1.4rem; }
.route-end{ display:flex; flex-direction:column; gap:.2rem; }
.route-end b{ font-family:var(--mono); font-weight:500; font-size:1.1rem; letter-spacing:.06em; }
.route-end .mono{ font-size:.54rem; letter-spacing:.13em; }
.route-end--r{ text-align:right; align-items:flex-end; }
.route-mid{ flex:1; display:flex; align-items:center; gap:.35rem; padding-bottom:.45rem; color:var(--brass); }
.route-mid i{ flex:1; height:1px; background:var(--line); }
.route-mid svg{ width:14px; height:14px; flex:none; }
.spec{ margin:0; display:flex; flex-direction:column; margin-top:auto; }
.spec > div{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; padding:.5rem 0; border-top:1px solid var(--line-2); }
.spec dt{ letter-spacing:.15em; flex:none; }
.spec dd{ margin:0; text-align:right; font-size:.88rem; color:var(--bone-2); }

.pull{
  margin:clamp(2rem,4vw,3.2rem) 0 0;
  font-family:var(--serif); font-size:clamp(1.2rem,2.3vw,1.85rem);
  line-height:1.24; letter-spacing:-.012em; max-width:34ch; color:var(--bone-2);
  padding-left:clamp(1rem,2vw,1.8rem); border-left:1px solid var(--brass);
}

/* ============================================================
   05 · HOTEL
   ============================================================ */
.hotel-hero{ position:relative; margin-bottom:clamp(2rem,4vw,3.2rem); }
.hotel-name{ margin-top:clamp(1rem,2vw,1.6rem); }
.hotel-name .mono{ margin-bottom:.6rem; letter-spacing:.2em; }
.hotel-title{ font-family:var(--serif); font-size:clamp(2rem,6vw,5rem); line-height:.98; letter-spacing:-.02em; }
.hotel-body{ display:grid; gap:clamp(1.8rem,3.5vw,3.5rem); margin-bottom:clamp(2rem,4vw,3.2rem); }
@media (min-width:940px){ .hotel-body{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); } }
.hotel-copy p{ color:var(--bone-2); max-width:50ch; }
.hotel-copy p:first-child{ color:var(--bone); }

.ledger{ border-top:1px solid var(--line); }
.ledger-head{ color:var(--brass); padding:.9rem 0 .35rem; letter-spacing:.2em; }
.ledger-row{ display:flex; justify-content:space-between; align-items:baseline; gap:1.5rem; padding:.85rem 0; border-top:1px solid var(--line-2); }
.ledger-row span{ color:var(--bone-2); font-size:.96rem; }
.ledger-row b{ font-family:var(--mono); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; font-weight:400; }
.ledger-note{ padding-top:1rem; border-top:1px solid var(--line-2); color:var(--bone-3); font-size:.9rem; margin:0; }

.grid4{ display:grid; gap:clamp(.6rem,1.4vw,1.1rem); grid-template-columns:repeat(2,1fr); }
@media (min-width:860px){ .grid4{ grid-template-columns:repeat(4,1fr); } }
.grid4 figure{ margin:0; }
.grid4 .frame{ aspect-ratio:1/1.16; }
.grid4 figcaption{ letter-spacing:.16em; }
.grid4-note{ margin:1.1rem 0 0; letter-spacing:.15em; color:var(--bone-3); }

/* ---------- calendar action ---------- */
.act{
  display:inline-flex; align-items:center; gap:.8rem;
  font-family:var(--mono); font-size:.64rem; letter-spacing:.18em; text-transform:uppercase;
  padding:1em 1.4em; border:1px solid var(--line); color:var(--bone);
  background:transparent; cursor:pointer; margin-top:1.6rem;
  transition:background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.act svg{ width:14px; height:14px; flex:none; color:var(--brass); transition:color .45s; }
.act:hover{ background:var(--brass); border-color:var(--brass); color:var(--paper); }
.act:hover svg{ color:var(--paper); }
.paper .act:hover{ color:var(--paper); }
.act-note{ display:block; margin:.7rem 0 0; letter-spacing:.14em; color:var(--bone-3); }

/* the button confirms in place rather than firing off an alert */
.act-b{ display:none; }
.act.is-done .act-a{ display:none; }
.act.is-done .act-b{ display:inline; }
.act.is-done{ background:var(--brass); border-color:var(--brass); color:var(--paper); }
.act.is-done svg{ color:var(--paper); }

/* ============================================================
   06 · ITINERARY
   ============================================================ */
.sec--itin{ padding-bottom:clamp(2rem,3.5vw,3rem); }
.itin-intro{ max-width:62ch; }
.itin-intro p{ color:var(--bone-2); }
.itin-note{ color:var(--brass); letter-spacing:.2em; }

.days{ display:flex; flex-direction:column; }
.days-index{
  position:sticky; top:0; z-index:60;
  display:flex; overflow-x:auto; scrollbar-width:none;
  border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2);
  background:rgba(7,8,10,.88);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  padding-top:3.5rem;
}
.days-index::-webkit-scrollbar{ display:none; }
.days-index a{
  flex:1 0 auto; min-width:6.5rem; padding:.75rem clamp(.6rem,1.4vw,1.2rem);
  display:flex; flex-direction:column; gap:.2rem;
  border-left:1px solid var(--line-2); position:relative;
  transition:background .4s var(--ease);
}
.days-index a:first-child{ border-left:0; }
.days-index a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:var(--brass); transform:scaleX(0); transform-origin:left;
  transition:transform .55s var(--ease);
}
.days-index a.is-on::after{ transform:scaleX(1); }
.days-index a:hover{ background:rgba(236,230,219,.04); }
.days-index .mono{ font-size:.55rem; letter-spacing:.16em; }
.days-index b{
  font-family:var(--serif); font-weight:400; font-size:clamp(.95rem,1.5vw,1.15rem);
  letter-spacing:0; color:var(--bone-3); transition:color .4s;
}
.days-index a.is-on b{ color:var(--bone); }
.days-index a.is-on .mono{ color:var(--brass); }
/* all five days have to fit a phone, otherwise Sunday hides behind a
   scrollbar-less overflow nobody discovers */
@media (max-width:700px){
  .days-index{ padding-top:4rem; overflow-x:hidden; }
  .days-index a{ flex:1 1 0; min-width:0; padding:.55rem .4rem; }
  .days-index .mono{ font-size:.46rem; letter-spacing:.08em; }
  .days-index b{ font-size:.76rem; line-height:1.14; }
}

.day{
  position:relative; height:100svh; min-height:34rem;
  display:flex; align-items:flex-end; padding:var(--pad); overflow:hidden;
}
.day--sm{ height:80svh; min-height:28rem; }
/* day panels are full-bleed, so they need the rail gutter added by hand */
@media (min-width:1240px){ .day{ padding-right:calc(var(--pad) + 170px); } }
.day-media{ position:absolute; inset:-14% 0; z-index:0; }
.day-media img{
  width:100%; height:100%; object-fit:cover;
  filter:saturate(.9) contrast(1.05) brightness(.82);
  transform:scale(1.06);
  transition:transform 2s var(--ease-out);
}
/* landscape sources cropped into a tall panel need a nudge toward the subject */
#d1 .day-media img{ object-position:50% 55%; }
#d2 .day-media img{ object-position:50% 60%; }
#d5 .day-media img{ object-position:50% 60%; }
/* Sunday is already shot at dusk, so the standard grade buries it */
#d5 .day-media img{ filter:saturate(.95) contrast(1.04) brightness(.96); }
/* Wednesday is the golden arrival, so it keeps its warmth rather than being
   graded down with the rest */
#d1 .day-media img{ filter:saturate(1.04) contrast(1.02) brightness(.9); }
/* Sunday is the dusk panel, so Thursday carries the daylight — otherwise the
   poolside days all read as the same photograph */
#d2 .day-media img{ filter:saturate(1.14) contrast(1.07) brightness(.9); }
/* the daylight panel is the only one bright enough to fight its own type, so
   its scrim is heavier than the shared one */
@media (min-width:1000px){
  #d2::before{
    background:linear-gradient(264deg, rgba(7,8,10,.88) 0%, rgba(7,8,10,.5) 40%, transparent 70%);
  }
}
/* the Red Sea has to actually look like the Red Sea, not a lagoon */
#d3 .day-media img{ filter:saturate(1.1) contrast(1.05) brightness(.97) hue-rotate(22deg); }
.day.in .day-media img{ transform:scale(1); }
/* a scrim behind the text side only, so type stays readable without
   flattening the whole photograph */
@media (min-width:1000px){
  .day::before{
    content:""; position:absolute; inset:0; z-index:1;
    background:linear-gradient(96deg, rgba(7,8,10,.78) 0%, rgba(7,8,10,.34) 38%, transparent 64%);
  }
  .day[data-align="right"]::before{
    background:linear-gradient(264deg, rgba(7,8,10,.78) 0%, rgba(7,8,10,.34) 38%, transparent 64%);
  }
}

/* the top and bottom of every panel resolve to solid ink so stacked
   panels read as one continuous film rather than five cut-out boxes */
.day::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg,
    var(--ink) 0%, rgba(7,8,10,.74) 9%, rgba(7,8,10,.2) 32%,
    rgba(7,8,10,.3) 55%, rgba(7,8,10,.72) 82%, rgba(7,8,10,.96) 96%, var(--ink) 100%);
}
/* the daylight panel keeps its seams but opens up through the middle; the
   directional scrim behind the copy still carries legibility */
#d2::after{
  background:linear-gradient(180deg,
    var(--ink) 0%, rgba(7,8,10,.62) 8%, rgba(7,8,10,.04) 30%,
    rgba(7,8,10,.1) 54%, rgba(7,8,10,.58) 82%, rgba(7,8,10,.94) 96%, var(--ink) 100%);
}
/* a phone crops these frames to a column, which leaves the widest one showing
   mostly sky — so on narrow screens it sits down into the water instead */
@media (max-width:700px){
  #d2 .day-media img{ scale:1.22; transform-origin:50% 100%; }
}

.day-body{ position:relative; z-index:2; max-width:min(44rem,94%); padding-bottom:clamp(.5rem,2vw,2rem); }
@media (min-width:1000px){
  .day-body--right{ margin-left:auto; text-align:right; }
  .day-body--right .day-tag{ justify-content:flex-end; }
  .day-body--right .beats{ align-items:flex-end; }
  .day-body--right .day-note{ margin-left:auto; }
}
.day-tag{ display:flex; align-items:center; gap:.75rem; color:var(--bone-2); letter-spacing:.22em; margin-bottom:.9rem; }
.day-tag i{ display:block; width:20px; height:1px; background:var(--brass); }
.day-title{
  font-family:var(--serif); font-size:clamp(2.5rem,8vw,6.4rem);
  line-height:.9; letter-spacing:-.022em; margin-bottom:clamp(.9rem,2vw,1.6rem);
}
.day-title--xl{ font-size:clamp(3rem,11vw,9.5rem); }
.beats{ display:flex; flex-direction:column; gap:.05rem; margin-bottom:clamp(1rem,2vw,1.5rem); }
.beats li{
  font-family:var(--serif); font-size:clamp(1.1rem,2vw,1.65rem); line-height:1.26; color:var(--bone-2);
  opacity:0; transform:translateY(12px);
  transition:opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay:calc(var(--i,0) * 90ms + 200ms);
}
.beats--lg li{ font-size:clamp(1.3rem,2.7vw,2.2rem); }
.day.in .beats li{ opacity:1; transform:none; }
.day-note{
  max-width:44ch; color:var(--bone-3); font-size:.93rem; margin:0;
  padding-top:1rem; border-top:1px solid var(--line-2);
}

/* ============================================================
   07 · PEOPLE (paper)
   ============================================================ */
.people{ display:grid; gap:clamp(2rem,3.5vw,2.8rem); }
@media (min-width:820px){ .people{ grid-template-columns:repeat(3,1fr); } }
.person{ display:flex; flex-direction:column; }
.person-photo{
  position:relative; aspect-ratio:4/5; overflow:hidden;
  background:#d9d2c5; border:1px solid var(--line-2); margin-bottom:1.2rem; cursor:crosshair;
}
.person-photo img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter:grayscale(1) contrast(1.08) brightness(1.02);
  transition:opacity .7s var(--ease), filter .7s var(--ease), transform 1.2s var(--ease-out);
}
.person-photo .p-b{ opacity:0; }
/* the second photograph is the whole joke, so it cannot be hover-only — pointers
   get it on hover, touch screens get it on tap via .is-swapped */
@media (hover:hover){
  .person-photo:hover .p-a{ opacity:0; }
  .person-photo:hover .p-b{ opacity:1; filter:grayscale(0) contrast(1.02) brightness(1); transform:scale(1.03); }
}
.person-photo.is-swapped .p-a{ opacity:0; }
.person-photo.is-swapped .p-b{ opacity:1; filter:grayscale(0) contrast(1.02) brightness(1); transform:scale(1.03); }
.person-photo::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,transparent 52%, rgba(10,10,10,.72) 100%);
}
.person-fig{
  position:absolute; left:.9rem; right:.9rem; bottom:.8rem; z-index:2;
  font-family:var(--mono); font-size:.54rem; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(236,230,219,.72); transition:opacity .45s var(--ease); line-height:1.5;
}
.person-fig b{ color:#c98a45; font-weight:400; }
.person-fig--b{ opacity:0; }
@media (hover:hover){
  .person-photo:hover .person-fig{ opacity:0; }
  .person-photo:hover .person-fig--b{ opacity:1; }
}
.person-photo.is-swapped .person-fig{ opacity:0; }
.person-photo.is-swapped .person-fig--b{ opacity:1; }

/* touch has no hover cue, so the card says out loud that it can be tapped */
.person-swap-hint{
  position:absolute; top:.7rem; right:.7rem; z-index:3;
  font-family:var(--mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(236,230,219,.92); background:rgba(10,10,10,.5);
  padding:.42rem .6rem; border:1px solid rgba(236,230,219,.28);
  backdrop-filter:blur(4px); pointer-events:none;
  transition:opacity .45s var(--ease);
}
.person-photo.is-swapped .person-swap-hint,
.person-photo.is-pending .person-swap-hint{ opacity:0; }

.person-photo.is-pending .p-a, .person-photo.is-pending-b .p-b{ opacity:0 !important; }
.person-pending{
  position:absolute; inset:0; z-index:1; display:none; place-items:center; text-align:center;
  font-family:var(--mono); font-size:.6rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--bone-3); line-height:2.2;
  background:repeating-linear-gradient(45deg, rgba(22,24,28,.05) 0 10px, transparent 10px 20px), #ddd6c9;
}
.person-photo.is-pending .person-pending{ display:grid; }
.person-photo.is-pending .person-fig{ opacity:0; }
.person-photo.is-pending::after{ display:none; }

.person-no{ color:var(--brass); letter-spacing:.2em; margin-bottom:.6rem; }
.person-name{ font-family:var(--serif); font-size:clamp(1.9rem,3.4vw,2.7rem); line-height:1; letter-spacing:-.015em; margin-bottom:.4rem; }
.person-title{ color:var(--bone-2); letter-spacing:.16em; padding-bottom:.9rem; border-bottom:1px solid var(--line-2); margin-bottom:1rem; }
.person-copy{ color:var(--bone-2); font-size:.96rem; }

/* ============================================================
   08 · TODO (paper)
   ============================================================ */
.todo-grid{ display:grid; gap:clamp(2rem,4vw,3.5rem); }
@media (min-width:940px){ .todo-grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; } }
.todo-intro p{ color:var(--bone-2); max-width:44ch; }

.manifest{ margin-top:clamp(1.6rem,3vw,2.4rem); border-top:1px solid var(--line); padding-top:1.1rem; }
.manifest-head{ color:var(--brass); letter-spacing:.2em; margin-bottom:1rem; }
.seats{ display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:1rem; }
.seat{
  width:clamp(24px,3vw,34px); aspect-ratio:1; border:1px solid var(--line);
  display:grid; place-items:center;
  font-family:var(--mono); font-size:.54rem; color:var(--bone-3);
  opacity:0; transform:scale(.85);
  transition:opacity .5s var(--ease), transform .5s var(--ease);
}
.manifest.in .seat{ opacity:1; transform:none; }
.seat.is-you{ background:var(--brass); border-color:var(--brass); color:var(--paper); }
.manifest-note{ margin:0; letter-spacing:.15em; color:var(--bone-2); }

.steps{ border-top:1px solid var(--line); }
.step{ display:flex; gap:clamp(.9rem,2.2vw,1.8rem); align-items:baseline; padding:clamp(1rem,2.2vw,1.5rem) 0; border-bottom:1px solid var(--line-2); }
.step-no{ color:var(--brass); letter-spacing:.16em; flex:none; width:2em; }
.step p{ margin:0; font-family:var(--serif); font-size:clamp(1.15rem,2.2vw,1.75rem); line-height:1.2; letter-spacing:-.01em; }
.step p b{ font-weight:400; color:var(--bone); }
.step--end p{ color:var(--bone-3); }

/* ============================================================
   09 · STATUS (paper)
   ============================================================ */
.status{ margin:0; border-top:1px solid var(--line); }
.status-row{
  display:grid; grid-template-columns:1fr auto; gap:.25rem 1rem;
  padding:clamp(.8rem,1.7vw,1.2rem) 0; border-bottom:1px solid var(--line-2); align-items:baseline;
}
@media (min-width:700px){ .status-row{ grid-template-columns:13rem 1fr 9.5rem; } }
.status-row dt{ letter-spacing:.16em; }
.status-row dd{ margin:0; font-size:clamp(1rem,1.3vw,1.15rem); color:var(--bone); justify-self:start; }
.status-flag{
  font-family:var(--mono); font-size:.58rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--bone-3); justify-self:start; white-space:nowrap;
}
@media (min-width:700px){ .status-flag{ justify-self:end; } }
.status-flag.is-set{ color:var(--sea); }
.status-flag::before{ content:"● "; font-size:.7em; vertical-align:.15em; color:var(--brass); }
.status-flag.is-set::before{ color:var(--sea); }

/* ============================================================
   FINAL
   ============================================================ */
.final{
  position:relative; min-height:100svh; overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end; padding:var(--pad);
}
.final-media{ position:absolute; inset:-10% 0; z-index:0; }
.final-media img{ width:100%; height:100%; object-fit:cover; filter:saturate(.86) contrast(1.06) brightness(.72); }
.final-scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, var(--ink) 0%, rgba(7,8,10,.42) 20%, rgba(7,8,10,.52) 52%, rgba(7,8,10,.94) 90%, var(--ink) 100%);
}
.final-inner{ position:relative; z-index:2; max-width:var(--maxw); width:100%; margin:0 auto; }
.final-copy{ max-width:46ch; margin-bottom:clamp(1.6rem,3vw,2.6rem); }
.final-copy p{ color:var(--bone-2); }
.final-list{ display:flex; flex-direction:column; gap:.5rem; }
.final-list li{ font-family:var(--serif); font-size:clamp(1.1rem,2.1vw,1.6rem); line-height:1.24; padding-left:1.5rem; position:relative; }
.final-list li::before{ content:""; position:absolute; left:0; top:.7em; width:10px; height:1px; background:var(--brass); }
.final-title{ font-family:var(--serif); font-size:clamp(3.2rem,12.5vw,12.5rem); line-height:.86; letter-spacing:-.022em; margin-bottom:clamp(.9rem,1.8vw,1.4rem); }
.final-dates{
  font-size:clamp(1.05rem,2.1vw,1.6rem); letter-spacing:.02em; color:var(--bone-2);
  padding-bottom:clamp(1rem,2.2vw,1.7rem); border-bottom:1px solid var(--line); margin-bottom:1.1rem;
}
.final-cd{ letter-spacing:.18em; margin:0; }
.final-cd b{ color:var(--brass); font-weight:400; }

/* the page spends 16,000px selling the trip, so it should end by asking for
   something rather than trailing off into the footer */
.final-act{ display:flex; flex-wrap:wrap; align-items:center; gap:clamp(1rem,2.4vw,2rem); }
.act--solid{ background:var(--brass); border-color:var(--brass); color:var(--paper); }
.act--solid svg{ color:var(--paper); }
.act--solid:hover{ background:transparent; border-color:var(--bone-3); color:var(--bone); }
.act--solid:hover svg{ color:var(--brass); }
.final-back{
  margin-top:1.6rem; letter-spacing:.18em; color:var(--bone-3);
  display:inline-flex; align-items:center; gap:.6rem; transition:color .4s var(--ease);
}
.final-back i{ font-style:normal; color:var(--brass); transition:translate .4s var(--ease); }
.final-back:hover{ color:var(--bone); }
.final-back:hover i{ translate:4px 0; }
@media (max-width:700px){
  .final-act{ gap:.2rem 1.2rem; }
  .final-back{ margin-top:.9rem; }
}

.foot{
  display:flex; flex-direction:column; gap:.55rem;
  padding:clamp(2rem,4vw,3.2rem) var(--pad); max-width:var(--maxw); margin:0 auto;
  border-top:1px solid var(--line-2);
}
@media (min-width:940px){
  .foot{ flex-direction:row; justify-content:space-between; align-items:center; gap:2rem; }
  .foot .mono:last-child{ text-align:right; max-width:36ch; }
}
.foot .mono{ letter-spacing:.14em; line-height:1.7; }

/* ============================================================
   REVEALS
   ============================================================ */
.reveal{
  opacity:0; transform:translateY(18px);
  transition:opacity .95s var(--ease) var(--d,0s), transform .95s var(--ease) var(--d,0s);
}
.reveal.in{ opacity:1; transform:none; }

.word{ display:inline-block; overflow:hidden; vertical-align:top; padding-bottom:.06em; }
.word > i{
  display:inline-block; font-style:inherit; transform:translateY(105%);
  transition:transform 1.05s var(--ease-out);
  transition-delay:calc(var(--wi,0) * 55ms);
}
[data-split].in .word > i{ transform:none; }

/* ============================================================
   PHONE REFINEMENTS
   Most people open this on a handset. The micro mono labels were set for a
   desktop viewing distance and land at 8–10px on a phone, which is below what
   is comfortably readable — especially in uppercase with wide letterspacing.
   The whole label scale steps up here, and letterspacing comes in slightly to
   buy back the width the larger size costs.
   ============================================================ */
@media (max-width:700px){
  .mono{ font-size:.74rem; letter-spacing:.13em; }

  /* "Private trip · South Sinai, Egypt" only clears one line if the tracking
     comes in, and a wrapped eyebrow leaves the brass rule stranded */
  .eyebrow{ font-size:.72rem; letter-spacing:.12em; margin-bottom:1.1rem; gap:.7rem; }
  .nav-mark-txt{ font-size:.7rem; letter-spacing:.15em; }
  .fact .mono{ font-size:.72rem; letter-spacing:.13em; }
  .clock-unit .mono{ font-size:.66rem; letter-spacing:.14em; }
  .clock-cap{ font-size:.7rem; letter-spacing:.15em; }
  .chip{ font-size:.68rem; letter-spacing:.11em; }
  .board-day{ font-size:.74rem; letter-spacing:.15em; }
  .route-end .mono{ font-size:.68rem; letter-spacing:.09em; }
  .person-fig{ font-size:.68rem; letter-spacing:.1em; }
  .person-pending{ font-size:.7rem; letter-spacing:.16em; }
  .status-flag{ font-size:.72rem; letter-spacing:.13em; }
  .act{ font-size:.72rem; letter-spacing:.14em; }
  .act-note,.grid4-note,.manifest-note,.foot .mono{ letter-spacing:.11em; }
  .days-index .mono{ font-size:.64rem; letter-spacing:.04em; }
  .person-swap-hint{ font-size:.68rem; }

  /* the seat you are being given should be readable, so the tokens grow and are
     allowed to wrap onto a second row rather than staying a cramped single line */
  .seat{ width:30px; font-size:.68rem; }

  /* thumbs need roughly 44px of target; these were all under it */
  .act{ padding:1.15em 1.5em; }
  .final-back{ padding:.85rem 0; margin-top:.4rem; }
  .nav-mark{ padding:.45rem 0; }
  .rail{ display:none !important; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-delay:0s !important; transition-duration:.001ms !important; transition-delay:0s !important; }
  .reveal,.check,.beats li,.seat{ opacity:1 !important; transform:none !important; }
  .word > i{ transform:none !important; }
  .frame img,.day-media img{ transform:none !important; }
  .grain{ animation:none; }
  .marquee-track{ animation:none; }
}
