/* ==========================================================
   SG Fitness: Steve Gadd, Cape Town
   Calm and outdoors. Doors after white-desert.com, the card fan,
   line reveals and end card after landonorris.com, a little of
   izanami-official.com's quiet. Colours: Dusk (:root); the Deep and Light
   blocks below are kept in case Steve wants to compare again.
   ========================================================== */

html[data-mood="deep"] {
  /* deep ocean night: blue-black, soft sand text, Steve's yellow */
  --bg: #0A1217; --bg-2: #0E181F; --bg-3: #142129; --bg-rgb: 10, 18, 23;
  --card: #142129;
  --shade: 5, 10, 14;
  --text: #DCD9D2; --text-2: rgba(220, 217, 210, .68); --text-3: rgba(220, 217, 210, .44); --line: rgba(220, 217, 210, .14);
  --accent: #E2B847; --accent-2: #EACB72; --on-accent: #0A1217; --route: var(--accent);
  --fade: #C9A23E;
  --map-sea: #0D1820; --map-land: #18252E;
}
:root, html[data-mood="dusk"] {
  /* dusk (the default, chosen by Max): the ocean an hour before dark, a lighter blue with light text */
  --bg: #172F3F; --bg-2: #1B3647; --bg-3: #224153; --bg-rgb: 23, 47, 63;
  --card: #10222E;
  --shade: 8, 20, 28;
  --text: #E3E4E0; --text-2: rgba(227, 228, 224, .72); --text-3: rgba(227, 228, 224, .5); --line: rgba(227, 228, 224, .16);
  --accent: #E8BE4B; --accent-2: #EFCF77; --on-accent: #10222E; --route: var(--accent);
  --fade: #D2AA45;
  --map-sea: #142A38; --map-land: #244456;
}
html[data-mood="light"] {
  /* light: soft sky blue with deep-sea text (a possible light mode) */
  --bg: #AFC7D4; --bg-2: #A5BFCD; --bg-3: #BDD2DD; --bg-rgb: 175, 199, 212;
  --card: #12303F;
  --shade: 8, 22, 32;
  --text: #0F2431; --text-2: rgba(15, 36, 49, .74); --text-3: rgba(15, 36, 49, .54); --line: rgba(15, 36, 49, .16);
  --accent: #E2B847; --accent-2: #1C4B64; --on-accent: #0F2431; --route: #16384B;
  --fade: #E2B847;
  --map-sea: #9DB9C9; --map-land: #C6D8E1;
}
/* text over photos (and on the dark end card) stays light in every version */
.stage-pin, .ph-card, .wide-in, .loc, .md, .story-photo, .tour-img, .fan, .cursor, .vbox, .ftr-card, .hdr.on-photo {
  --text: #E9E7E1; --text-2: rgba(233, 231, 225, .74); --text-3: rgba(233, 231, 225, .5); --line: rgba(233, 231, 225, .18); --accent-2: #EECD78;
}
:root {
  --mona: 'Mona Sans', Arial, sans-serif;
  --brand: 'Montserrat', 'Mona Sans', Arial, sans-serif;  /* Steve's brand type (his SG brand sheet): headings, menu and logo */
  --sig: 'Mr Dafoe', cursive;
  --ease: cubic-bezier(.65, .05, 0, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(18px, 3vw, 48px);
  --hdr: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--mona); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background-color .6s, color .6s;
}
body.locked { overflow: hidden; }
/* home: the page holds still for a moment once the doors land (home.js) */
html.scroll-hold { overflow: hidden; touch-action: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- type ---------- */
.it { font-family: var(--sig); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; }
.sig { font-family: var(--sig); font-weight: 400; line-height: 1; color: var(--accent); text-transform: none; letter-spacing: 0; }
.eyebrow { font: 600 10.5px/1.3 var(--mona); letter-spacing: .24em; text-transform: uppercase; color: var(--text-3); }
.ico { width: 15px; height: 15px; flex: none; }

/* "elegant sporty": Montserrat capitals with air, and an accent in Steve's signature */
.big-title, .sec-title, .oval, .ftr-title h2, .route-side h2, .soon-card h2, .exec-card h2, .trail-title {
  font-family: var(--brand); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; line-height: 1.02; color: var(--text);
}
:is(.big-title, .sec-title, .oval, .ftr-title h2, .route-side h2, .soon-card h2, .exec-card h2, .trail-title) .it {
  font-size: 1.45em; line-height: .8; letter-spacing: 0; color: var(--accent);
}
.big-title { font-size: clamp(34px, 4.3vw, 74px); }
.sec-title { font-size: clamp(28px, 3.3vw, 56px); margin-top: 18px; }
.body-copy p { font-size: 16.5px; line-height: 1.7; max-width: 54ch; color: var(--text-2); }
.body-copy p + p { margin-top: 1em; }
.lead { font: 400 clamp(19px, 1.6vw, 25px)/1.45 var(--mona); color: var(--text); max-width: 34ch; }

/* letter roll on hover */
[data-roll] { display: inline-flex; overflow: hidden; line-height: 1.15; vertical-align: top; }
[data-roll] .ch { display: inline-block; white-space: pre; text-shadow: 0 1.15em 0 currentColor; transition: transform .55s var(--ease-out); transition-delay: calc(var(--i) * 14ms); }
@media (hover: hover) {
  a:hover > [data-roll] .ch, button:hover > [data-roll] .ch, a[data-roll]:hover .ch { transform: translateY(-1.15em); }
}

/* buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 20px; border-radius: 2px;
  font: 600 10.5px/1 var(--mona); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.pill i { font-style: normal; }
.pill-sun { background: var(--accent); color: var(--on-accent); }
.pill-sun:hover { background: var(--accent-2); }
.pill-ghost { border: 1px solid var(--line); color: var(--text); }
.pill-ghost:hover { border-color: var(--text-2); }
.pill-big { height: 52px; padding: 0 28px; }

/* ---------- logo: Steve's SG mark (cut from his brand sheet, white, tinted by currentColor) + STEVE GADD / FITNESS ---------- */
.wm { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.wm-logo { display: block; flex: none; height: 30px; aspect-ratio: 976 / 560; background: currentColor;
  -webkit-mask: url(assets/brand/sg-mark.png) center / contain no-repeat; mask: url(assets/brand/sg-mark.png) center / contain no-repeat; }
/* the SG mark as a small gold icon (door hover label) */
.sg-mark { display: inline-block; flex: none; height: 1em; aspect-ratio: 976 / 560; background: var(--accent); -webkit-mask: url(assets/brand/sg-mark.png) center / contain no-repeat; mask: url(assets/brand/sg-mark.png) center / contain no-repeat; }
/* STEVE GADD over FITNESS, with a thin rule running out to the end of the name (same as docs/logo) */
.wm-words { display: flex; flex-direction: column; gap: 5px; }
.wm-name { font: 800 14px/1 var(--brand); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.wm-fit { display: flex; align-items: center; gap: 7px; font: 700 8px/1 var(--brand); letter-spacing: .5em; text-transform: uppercase; white-space: nowrap; }
.wm-fit::after { content: ""; flex: 1; height: 1px; background: currentColor; }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad); pointer-events: none; color: var(--text);
}
.hdr { --scrim: var(--bg-rgb); }
.hdr.on-photo { --scrim: var(--shade); }
.hdr::before { content: ''; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(var(--scrim), .72), rgba(var(--scrim), 0)); transition: opacity .5s; }
.menu-open .hdr::before { opacity: 0; }
.hdr > * { pointer-events: auto; }
.hdr-right { display: flex; gap: 8px; }
.burger {
  width: 42px; height: 42px; border-radius: 2px; border: 1px solid var(--line); display: grid; place-content: center; gap: 5px;
  background: rgba(var(--scrim), .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.burger span { display: block; width: 16px; height: 1.4px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:last-child { width: 10px; }
.menu-open .burger span:first-child { transform: translateY(3.2px) rotate(45deg); }
.menu-open .burger span:last-child { width: 16px; transform: translateY(-3.2px) rotate(-45deg); }

/* ---------- menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg-2); color: var(--text);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; padding: 120px var(--pad) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-nav { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.menu-nav .eyebrow { margin-bottom: 20px; }
.menu-nav a { display: flex; align-items: baseline; gap: 20px; font: 600 clamp(38px, 5.2vw, 88px)/1 var(--brand); letter-spacing: .04em; text-transform: uppercase; }
.menu-nav a small { font: 600 10.5px var(--mona); letter-spacing: .2em; color: var(--text-3); min-width: 2em; }
.menu-nav a em { font: 500 clamp(12px, 1vw, 15px) var(--brand); font-style: normal; letter-spacing: .03em; text-transform: none; color: var(--accent-2); opacity: 0; translate: -8px 0; transition: opacity .4s, translate .5s var(--ease-out); }
.menu-nav a:hover em, .menu-nav a.here em { opacity: 1; translate: 0 0; }
.menu-nav a.here { color: var(--accent-2); }
.menu-media { position: relative; overflow: hidden; }
.menu-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1.2s var(--ease-out); }
.menu-media img.on { opacity: 1; transform: none; }
/* Home in the menu: the three door cards from the home page, rising in one after another */
.menu-doors { position: absolute; inset: 0; display: flex; gap: 10px; pointer-events: none; }
.md-card { position: relative; flex: 1; overflow: hidden; border-radius: 2px; opacity: 0; transform: translateY(14%); transition: opacity .5s, transform 1.1s var(--ease-out); transition-delay: 0s; }
.menu-doors.on .md-card { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .1s); }
.menu-media .md-card img { opacity: 1; transform: scale(1.12); transition: transform 1.6s var(--ease-out); transition-delay: inherit; }
.menu-doors.on .md-card img { transform: none; }
.md-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .1) 40%, rgba(var(--shade), .72) 100%); }
.md-card span { position: absolute; left: 18px; right: 14px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 8px; font: 600 clamp(14px, 1.15vw, 19px)/1.1 var(--brand); letter-spacing: .03em; text-transform: uppercase; color: var(--text); }
.md-card small { font: 600 10.5px var(--mona); letter-spacing: .2em; color: var(--accent-2); }
.menu-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; font: 600 11px var(--mona); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.menu-foot div { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- cursor label (over doors) ---------- */
/* a compass: ring with N on top, a needle that swings and settles back north, the SG on the hub (app.js) */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; will-change: transform; }
.cur-in { position: relative; width: 60px; height: 60px; translate: -50% -50%; scale: .2; opacity: 0; transition: scale .5s cubic-bezier(.2, .9, .25, 1.15), opacity .3s; perspective: 300px; }
.cursor.on .cur-in { scale: 1; opacity: 1; }
.cur-body { position: absolute; inset: 0; transform-style: preserve-3d; }
.cur-body svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cur-ring { color: var(--text); filter: drop-shadow(0 1px 6px rgba(var(--shade), .55)); }
.cur-needle { will-change: transform; filter: drop-shadow(0 2px 5px rgba(var(--shade), .5)); }
.cur-hub { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; translate: -50% -50%; border-radius: 50%; background: #10222E; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(232, 190, 75, .55), 0 2px 8px rgba(var(--shade), .5); }
.cur-hub .sg-mark { height: auto; width: 20px; }

/* ==========================================================
   HOME: the film that splits into three doors
   ========================================================== */
.stage { position: relative; height: 260vh; background: var(--bg); }
.stage-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film { position: absolute; inset: 0; background: var(--bg); will-change: clip-path; }
.film video, .film > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .42) 0%, rgba(var(--shade), 0) 28%, rgba(var(--shade), 0) 52%, rgba(var(--shade), .5) 100%); }
/* the hero as Max signed it off, text lifted a little (2026-11-23) */
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--text); padding: 0 var(--pad) 14vh; will-change: transform, opacity; }
.hero-title { position: relative; font: 800 clamp(58px, 10.6vw, 200px)/.84 var(--mona); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; }
.hero-title > span { display: block; }
.hero-title .it { display: inline-block; translate: 0 -.1em; color: var(--accent); font-size: 1.3em; line-height: .7; letter-spacing: 0; }
.hero-sig { position: absolute; left: -.2em; top: -.42em; font-size: .44em; transform: rotate(-10deg); }
.hero-sub { margin-top: 3.4vh; font: 500 clamp(16px, 1.35vw, 21px)/1.35 var(--mona); }
.hero-tags { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero-tags .eyebrow { color: var(--text); opacity: .8; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue span { position: relative; width: 1px; height: 34px; background: rgba(220, 217, 210, .3); overflow: hidden; }
.scroll-cue span::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--accent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* the doors run edge to edge, under the header */
.doors-frame { position: absolute; top: var(--hdr); left: 0; right: 0; bottom: 0; }
.doors { position: absolute; inset: 0; display: flex; overflow: hidden; }
.door { position: relative; flex: none; width: 33.333%; height: 100%; overflow: hidden; color: var(--text); display: block; cursor: none; }
.door-img { position: absolute; inset: 0; overflow: hidden; opacity: 0; }
/* closed doors show a blurred copy of their own photo (home.js adds it as img.soft and fades it out
   as the door opens). Both run 24px past every edge of the door so the blur's soft edges stay out of
   sight, and that overhang never changes, so the photo never changes size: a door only slides open
   and sharpens. Each photo gets its own layer, so sliding a door never redraws it.
   (A backdrop blur here picked up the next door's edge.) */
.door-img img { position: absolute; top: -24px; left: -24px; width: calc(max(100%, 75vw) + 48px); max-width: none; height: calc(100% + 48px); object-fit: cover; will-change: transform; }
.door-img img.soft { filter: blur(7.5px); opacity: 0; will-change: opacity; }
/* every door photo gets a darker, much softer copy of itself in the top-left corner behind its title,
   fading out towards the middle (home.js adds it as img.corner; computers only) */
.door-img img.corner { filter: blur(16px) brightness(.58); -webkit-mask-image: radial-gradient(ellipse 78% 60% at 0% 0%, #000 38%, transparent 100%); mask-image: radial-gradient(ellipse 78% 60% at 0% 0%, #000 38%, transparent 100%); }
.door-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .38) 0%, rgba(var(--shade), .08) 30%, rgba(var(--shade), .08) 50%, rgba(var(--shade), .66) 100%); }
.door-blur { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: rgba(var(--shade), .14); }
.door-content { position: absolute; inset: 0; z-index: 2; width: max(30vw, 400px); padding: 36px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; opacity: 0; pointer-events: none; }
.door-head { display: flex; flex-direction: column; gap: 14px; max-width: 30ch; }
.door-kicker { color: var(--accent-2); }
.door-title { font: 600 clamp(26px, 2.4vw, 42px)/1.04 var(--brand); letter-spacing: .03em; text-transform: uppercase; }
.door-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.door-meta { display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--mona); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.door-meta .div { width: 1px; height: 1em; background: currentColor; opacity: .5; }
.door-excerpt { font-size: 15.5px; line-height: 1.5; max-width: 36ch; color: var(--text); opacity: .86; }
.door-more { display: none; align-items: center; gap: 8px; font: 600 11px var(--mona); letter-spacing: .18em; text-transform: uppercase; }
.door-more .sg-mark { height: 11px; }
/* computers: bigger door text so the offer reads from across the room (phones keep the sizes above) */
@media (min-width: 768px) {
  .door-content { width: min(52vw, 760px); padding: 48px var(--pad) 56px; }
  .door-head { gap: 18px; max-width: none; }
  .door-kicker { font-size: 13px; }
  .door-title { font-size: clamp(34px, 3.8vw, 64px); }
  .door-foot { gap: 20px; }
  .door-meta { font-size: clamp(14px, 1.15vw, 18px); gap: 16px; }
  .door-excerpt { font-size: clamp(17px, 1.4vw, 21px); max-width: 34ch; }
}
.gap { position: absolute; top: -1px; bottom: -1px; width: 0; background: var(--bg); z-index: 4; translate: -50% 0; }
.phil { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); pointer-events: none; }
.phil p { align-self: center; text-align: center; color: var(--text); font: 600 clamp(20px, 2vw, 34px)/1.1 var(--brand); letter-spacing: .04em; text-transform: uppercase; padding: 0 1.5vw; text-shadow: 0 2px 30px rgba(var(--shade), .5); opacity: 0; }
.phil p b { display: block; font: 600 10.5px/1 var(--mona); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
/* phones only: the name on a closed door, and the opening panels */
.door-peek, .curtain-strips { display: none; }

/* ---------- story: photo flush to the edge, his words, then the road winding down beside him ---------- */
.story { position: relative; display: grid; grid-template-columns: 44% minmax(0, 1fr); background: var(--bg); }
.story-photo { position: relative; overflow: hidden; min-height: 100svh; }
.story-photo img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; translate: 0 var(--py, 0%); }
.story-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .25), rgba(var(--shade), 0) 30%, rgba(var(--shade), 0) 65%, rgba(var(--shade), .55)); }
.story-photo .sig { position: absolute; right: 28px; bottom: 22px; z-index: 2; font-size: clamp(56px, 5.4vw, 98px); transform: rotate(-8deg); text-shadow: 0 2px 20px rgba(var(--shade), .4); }
.ph-note { position: absolute; left: 18px; top: calc(var(--hdr) + 6px); z-index: 2; font: 600 9.5px/1 var(--mona); letter-spacing: .18em; text-transform: uppercase; color: var(--text); background: rgba(var(--shade), .55); padding: 8px 10px; backdrop-filter: blur(6px); }
.story-side { display: flex; flex-direction: column; padding: 13vh 5vw 9vh 4.5vw; gap: 5vh; }
.story-copy .big-title { margin: 20px 0 3vh; }
.story-copy .lead { margin-bottom: 2.4vh; }
.story-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3vh; }
.story-tags li { border: 1px solid var(--line); padding: 9px 12px; font: 600 10px/1 var(--mona); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.beyond { margin-top: 2.6vh; padding-top: 2.4vh; border-top: 1px solid var(--line); font: 500 clamp(16px, 1.2vw, 19px)/1.5 var(--brand); color: var(--text); max-width: 44ch; }

/* the road so far: a switchback that draws itself once */
.trail { position: relative; max-width: 720px; }
.trail-stage { position: relative; --vbw: 720; --vbh: 530; --sx: 330; --sy: 40; }  /* the map's size in map units: phones get a narrower map (home.js) */
.trail-map { display: block; width: 100%; height: auto; overflow: visible; }
.trail-path { fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 7 9; }
.trail-ghost { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 2 9; stroke-linecap: round; }
.trail-start { fill: var(--accent); }
.js .trail:not(.drawn) .trail-path { visibility: hidden; }  /* home.js draws it in, dash by dash */
.tico { transform-box: fill-box; transform-origin: center; transition: opacity .7s, scale .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .trail:not(.drawn) .tico { opacity: 0; scale: .6; }
.tico .tb { fill: var(--bg); stroke: var(--accent); stroke-width: 1.5; }
.tico .ic path { fill: none; stroke: var(--text); stroke-width: 1.6px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.trail-title { position: absolute; left: 0; top: calc(var(--sy) / var(--vbh) * 100%); translate: 0 -62%; font-size: clamp(22px, 2.1vw, 34px); }
.trail-title .eyebrow { display: block; margin-bottom: 10px; }
.trail-stops li {
  position: absolute; top: calc(var(--y) / var(--vbh) * 100%); display: flex; flex-direction: column; gap: 5px; white-space: nowrap;
  transition: opacity .9s, transform 1s var(--ease-out); transition-delay: var(--d, 0s);
}
.trail-stops li.r { left: calc((var(--x) + 38) / var(--vbw) * 100%); translate: 0 -50%; align-items: flex-start; text-align: left; }
.trail-stops li.l { right: calc(100% - (var(--x) - 38) / var(--vbw) * 100%); translate: 0 -50%; align-items: flex-end; text-align: right; }
.js .trail:not(.drawn) .trail-stops li { opacity: 0; transform: translateY(10px); }
.trail-stops b { font: 600 clamp(15px, 1.3vw, 21px)/1.05 var(--brand); letter-spacing: .04em; text-transform: uppercase; }
.trail-stops span { font: 600 10px/1.2 var(--mona); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }

/* ---------- philosophy: its own quiet moment over a faded shoreline ---------- */
.creed { position: relative; overflow: hidden; background: var(--bg); text-align: center; padding: 30vh var(--pad); }
.creed-bg { position: absolute; inset: 0; pointer-events: none; -webkit-mask: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); mask: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); }
.creed-bg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; opacity: .42; translate: 0 var(--py, 0%); }
.creed-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(var(--bg-rgb), .25), rgba(var(--bg-rgb), .8)); }
.creed-in { position: relative; }
.creed .eyebrow { margin-bottom: 3.5vh; color: var(--text-2); }
.creed-sig { display: block; width: fit-content; margin: 3vh auto 0; font-size: clamp(46px, 4.4vw, 80px); transform: rotate(-6deg); clip-path: inset(-30% 100% -30% -10%); transition: clip-path 1.4s cubic-bezier(.6, .1, .3, 1) .9s; }
.creed:has([data-bars].in) .creed-sig { clip-path: inset(-30% -10% -30% -10%); }

/* line reveals after landonorris.com: a bar sweeps over each line, then pulls away */
.creed-line { font: 400 clamp(26px, 3vw, 54px)/1.18 var(--mona); font-stretch: 112%; }
.creed-line em, .creed-line .it { font-family: var(--sig); font-style: normal; font-weight: 400; font-stretch: 100%; font-size: 1.45em; line-height: .8; color: var(--accent); margin-right: .14em; }
[data-bars] .ln { position: relative; display: block; width: fit-content; margin-inline: auto; }
[data-bars] .ln::after { content: ''; position: absolute; inset: .08em -.08em .04em; background: var(--accent); transform: scaleX(0); pointer-events: none; }
.js [data-bars] .tx { opacity: 0; }
[data-bars].in .ln::after { animation: bar-sweep 1.2s cubic-bezier(.7, 0, .25, 1) both; animation-delay: calc(var(--i, 0) * .16s + .1s); }
[data-bars].in .tx { animation: bar-text 1.2s step-end both; animation-delay: calc(var(--i, 0) * .16s + .1s); }
@keyframes bar-sweep {
  0% { transform: scaleX(0); transform-origin: left center; }
  48% { transform: scaleX(1); transform-origin: left center; }
  52% { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}
@keyframes bar-text { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 1; } }

/* ---------- statement (Explore) ---------- */
.statement { position: relative; background: var(--bg); padding: 16vh var(--pad); text-align: center; overflow: hidden; }
.statement .eyebrow { margin-bottom: 4vh; }
.st-sub { max-width: 46ch; margin: 4vh auto 0; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.statement .pill { margin-top: 5vh; }

/* ---------- reviews: the card fan ---------- */
.reviews { position: relative; padding: 12vh 0 6vh; text-align: center; overflow: hidden; background: var(--bg); }
.rv-title { margin-top: 16px; }
.fan { --cw: clamp(150px, 15vw, 250px); position: relative; height: calc(var(--cw) * 1.95); margin: 7vh auto 3vh; }
.fan-card {
  position: absolute; left: 50%; top: 0; width: var(--cw); aspect-ratio: 9 / 15.6; margin-left: calc(var(--cw) / -2);
  border-radius: calc(var(--cw) * .13); overflow: hidden; background: var(--bg-3); cursor: pointer;
  box-shadow: 0 22px 44px rgba(var(--shade), .45); will-change: transform; outline-offset: 4px;
}
.fan-card img, .fan-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* while one card is in the spotlight the others dim (app.js sets .spot and .hov) */
.fan-card::after { content: ''; position: absolute; inset: 0; background: rgba(var(--shade), .5); opacity: 0; transition: opacity .45s; pointer-events: none; }
.fan.spot .fan-card:not(.hov)::after { opacity: 1; }
.fan-card.hov { box-shadow: 0 0 0 2px var(--accent), 0 34px 70px rgba(var(--shade), .6); }
.fan-card.sel { box-shadow: 0 0 0 2px var(--accent), 0 26px 50px rgba(var(--shade), .5); }
.fc-tag {
  position: absolute; z-index: 1; left: 50%; bottom: 14px; translate: -50% 10px; opacity: 0; white-space: nowrap;
  background: rgba(var(--shade), .72); color: var(--text); backdrop-filter: blur(6px);
  font: 600 9.5px/1 var(--mona); letter-spacing: .16em; text-transform: uppercase; padding: 9px 12px; border-radius: 99px;
  transition: opacity .35s, translate .5s var(--ease-out);
}
.fan-card:hover .fc-tag, .fan-card:focus-visible .fc-tag, .fan-card.sel .fc-tag { opacity: 1; translate: -50% 0; }
/* every quote sits invisibly in the same spot (app.js adds them), so the block is always as tall as the
   longest one and nothing below it moves when the quote changes */
.rv-quote { display: grid; justify-items: center; padding: 0 var(--pad); }
.rv-live, .rv-ghost { grid-area: 1 / 1; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rv-ghost { visibility: hidden; pointer-events: none; }
.rv-quote blockquote { margin: 0; font: 500 clamp(17px, 1.45vw, 23px)/1.45 var(--brand); max-width: 34ch; transition: opacity .35s; }
.rv-quote cite { font: 600 10.5px/1 var(--mona); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); transition: opacity .35s; }
.rv-quote.swap blockquote, .rv-quote.swap cite { opacity: 0; }

/* video lightbox */
.vbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(var(--shade), .88); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.vbox.open { opacity: 1; visibility: visible; }
.vbox video { max-height: 86svh; max-width: 92vw; background: #000; }
.vbox-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 2px; background: var(--accent); color: var(--on-accent); font-size: 26px; line-height: 1; }

/* ---------- footer: the end card ---------- */
.ftr { position: relative; background: var(--bg); padding: 24vh var(--pad) 14px; overflow: hidden; }
/* Lando's fade: a huge circle of colour rising from below. The top is masked to nothing so wide
   screens never get a hard edge where the corners of the circle meet the section above. */
.ftr-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% -190%, rgba(0, 0, 0, 0) 68%, var(--fade) 83%); -webkit-mask: linear-gradient(180deg, transparent 0%, #000 38%); mask: linear-gradient(180deg, transparent 0%, #000 38%); }
.ftr-wrap { position: relative; }
.ftr-card {
  position: relative; background: var(--card); color: var(--text); min-height: min(74svh, 700px);
  padding: 10vh 3vw 0; overflow: hidden; border-radius: 28px;
  display: grid; grid-template-rows: auto 1fr auto;
}
.ftr-card.masked { border-radius: 0; -webkit-mask: var(--shape) 0 0 / 100% 100% no-repeat; mask: var(--shape) 0 0 / 100% 100% no-repeat; }
.ftr-title { text-align: center; position: relative; z-index: 3; }
.ftr-sig { display: block; font-size: clamp(50px, 5.4vw, 96px); transform: rotate(-9deg) translateX(-1.3em); margin-bottom: .22em; }
.ftr-title h2 { font-size: clamp(36px, 5.4vw, 96px); }
/* the pages, centred under the title; the one way to get in touch is the button in the notch */
.ftr-cols { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 3.4vw, 56px); position: relative; z-index: 3; padding: 0 1vw; }
.ftr-cols a { font: 400 clamp(16px, 1.5vw, 24px)/1.15 var(--mona); font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase; }
.ftr-cols a:hover { color: var(--accent-2); }
.ftr-band { position: relative; z-index: 1; padding: 2vh 0 92px; overflow: hidden; opacity: .5; }
.mq-row { display: inline-flex; will-change: transform; }
.mq-row > div { display: flex; flex: none; }
.q-name { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; font: 500 clamp(13px, 1.15vw, 18px)/1 var(--mona); font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; }
.q-name:nth-child(even) { font: 500 clamp(13px, 1.15vw, 18px)/1 var(--brand); letter-spacing: .04em; text-transform: none; }
.q-name i { font-style: normal; color: var(--accent); font-size: .7em; }
/* a tab rising from the bottom edge, its top corners as round as the card: app.js curves the notch around it */
.ftr-notch-btn { position: absolute; left: 50%; bottom: 0; translate: -50% 0; z-index: 4; height: 62px; padding: 0 32px; white-space: nowrap; border-radius: 18px 18px 0 0; }
.ftr-skirt { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: visible; }
.ftr-skirt stop { stop-color: var(--accent); transition: stop-color .3s; }
.ftr-wrap:has(.ftr-notch-btn:hover) .ftr-skirt stop { stop-color: var(--accent-2); }
.ftr-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 6px 6px; color: rgba(var(--shade), .85); font: 600 10.5px/1.3 var(--mona); letter-spacing: .14em; text-transform: uppercase; }

/* Max T Media credit: identical on every site */
.mxt-credit { display:inline-flex; align-items:center; gap:8px; font:inherit; font-size:11px; font-weight:600;
  line-height:1; letter-spacing:.16em; text-transform:uppercase; }
a.mxt-credit, a.mxt-credit:visited { color:inherit !important; text-decoration:none !important;
  opacity:.72 !important; transition:opacity .3s ease !important; }
a.mxt-credit:hover, a.mxt-credit:focus-visible { color:inherit !important; text-decoration:none !important; opacity:1 !important; }
.mxt-dot { width:5px; height:5px; border-radius:50%; background:#E8590C; flex:none; }
.mxt-text { white-space:pre; }
.mxt-sp { display:inline-block; width:.42em; }
.mxt-l { position:relative; display:inline-block; clip-path:inset(0 -.16em); }
.mxt-l > span { display:inline-block; transition:transform .8s cubic-bezier(.33,1,.68,1); }
.mxt-l > span + span { position:absolute; left:0; top:0; font-style:italic; transform:translateY(-105%); }
.mxt-arr { display:inline-block; transition:transform .3s ease, color .3s ease; }
@media (hover:hover) and (pointer:fine) {
  .mxt-l > span { will-change:transform; }
  .mxt-credit:hover .mxt-l > span:first-child { transform:translateY(105%); }
  .mxt-credit:hover .mxt-l > span + span { transform:none; }
  .mxt-credit:hover .mxt-arr { color:#E8590C; transform:translate(2px,-2px); }
}
.mxt-credit:focus-visible .mxt-l > span:first-child { transform:translateY(105%); }
.mxt-credit:focus-visible .mxt-l > span + span { transform:none; }
.mxt-credit:focus-visible .mxt-arr { color:#E8590C; }

/* ==========================================================
   DOOR PAGES (Move, Flow, Explore): everything edge to edge
   ========================================================== */
.ph { padding: 0; }
.ph-card { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: var(--text); }
.ph-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--sc, 1.06)); }
.ph-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .45) 0%, rgba(var(--shade), 0) 32%, rgba(var(--shade), .12) 52%, rgba(var(--shade), .8) 100%); }
.ph-in { position: absolute; inset: 0; z-index: 2; padding: calc(var(--hdr) + 26px) var(--pad) 44px; display: flex; flex-direction: column; justify-content: space-between; }
.ph-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.ph-top .eyebrow { color: var(--accent-2); }
.ph-strap { text-align: right; color: var(--text) !important; opacity: .8; }
.ph-title { font: 600 clamp(36px, 5.4vw, 100px)/.98 var(--brand); letter-spacing: .02em; text-transform: uppercase; max-width: 14ch; }
.ph-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.ph-side { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; text-align: right; }
.ph-meta { display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--mona); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; }
.ph-meta .div { width: 1px; height: 1em; background: currentColor; opacity: .5; }
.ph-btns { display: flex; gap: 8px; }

.intro { padding: 16vh var(--pad) 12vh; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.intro .eyebrow { margin-bottom: 24px; }
.intro-big { font: 400 clamp(26px, 2.7vw, 46px)/1.2 var(--mona); letter-spacing: 0; }
.intro-big .it { color: var(--accent); font-size: 1.45em; line-height: .8; }
.intro .body-copy { padding-top: 44px; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 6vh; }
.sec-head p:not(.eyebrow) { max-width: 40ch; color: var(--text-2); }

/* wide photo band */
.wide { padding: 0; }
.wide-in { position: relative; height: 90svh; min-height: 480px; overflow: hidden; color: var(--text); }
.wide-in > img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; translate: 0 var(--py, 0%); }
/* Flow band (golden beach): slide right so the sun stays in, walker sits on the left */
.wide-in > img[src$="flow-band-beach.webp"] { object-position: 72% 50%; }
.wide-in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .2), rgba(var(--shade), 0) 40%, rgba(var(--shade), .65)); }
.wide-cap { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.wide-cap p:first-child { font: 600 clamp(20px, 2.2vw, 38px)/1.08 var(--brand); letter-spacing: .03em; text-transform: uppercase; max-width: 20ch; }
.wide-cap .eyebrow { color: var(--text); opacity: .8; }

.rows-sec { padding: 14vh var(--pad); }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 3vw; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row .n { font: 600 10.5px var(--mona); letter-spacing: .2em; color: var(--accent-2); }
.row h3 { font: 500 clamp(16px, 1.5vw, 23px)/1.2 var(--mona); font-stretch: 125%; letter-spacing: .07em; text-transform: uppercase; }
.row p { color: var(--text-2); max-width: 46ch; }

.prices { position: relative; background: var(--bg-2); padding: 16vh var(--pad); overflow: hidden; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.price-grid.three { grid-template-columns: repeat(3, 1fr); }
.price { position: relative; padding: 44px 40px; display: flex; flex-direction: column; gap: 22px; background: var(--bg-2); }
.price .eyebrow { color: var(--accent-2); }
.price h3 { font: 600 clamp(20px, 1.7vw, 28px)/1.1 var(--brand); letter-spacing: .04em; text-transform: uppercase; }
.price-num { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-num b { font: 300 clamp(52px, 5.4vw, 92px)/.9 var(--mona); font-stretch: 125%; letter-spacing: .01em; }
.price-num span { font: 600 10.5px var(--mona); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.price p { color: var(--text-2); max-width: 40ch; }
.price .pill { align-self: flex-start; margin-top: auto; }
.prices-note { margin-top: 6vh; text-align: center; font: 600 clamp(16px, 1.4vw, 22px)/1.4 var(--brand); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); }

/* giant text band */
.tband { position: relative; padding: 10vh 0; overflow: hidden; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); }
.tband .mq-row span { font: 300 clamp(60px, 9vw, 170px)/1 var(--mona); font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; padding-right: .3em; opacity: .9; }
.tband .mq-row span.it { font-family: var(--sig); font-weight: 400; font-stretch: 100%; font-size: calc(clamp(60px, 9vw, 170px) * .95); letter-spacing: 0; text-transform: none; color: var(--accent); }
.tband .mq-row i { font-style: normal; font-family: var(--mona); color: var(--accent); font-size: .3em; vertical-align: .9em; margin-left: .6em; }

/* coming soon (the van) */
.soon { padding: 0; }
.soon-card { position: relative; overflow: hidden; background: var(--bg-3); color: var(--text); padding: 14vh var(--pad); display: grid; grid-template-columns: 1.2fr 1fr; gap: 6vw; align-items: center; }
.soon-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--accent); color: var(--accent-2); font: 600 10px/1 var(--mona); letter-spacing: .2em; text-transform: uppercase; padding: 9px 12px; margin-bottom: 28px; }
.soon-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.soon-card h2 { font-size: clamp(34px, 4vw, 70px); }
.soon-card p { color: var(--text-2); margin: 28px 0 32px; max-width: 44ch; }
.soon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.soon-list li { background: var(--bg-3); padding: 22px; font: 500 12.5px/1.2 var(--mona); font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; }
.soon-list li span { display: block; margin-top: 8px; font: 500 15px/1.35 var(--brand); letter-spacing: 0; text-transform: none; color: var(--text-2); }

/* locations (Flow) */
.locs { padding: 14vh 0 0; }
.locs .sec-head { padding: 0 var(--pad); }
.loc-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.loc { position: relative; overflow: hidden; aspect-ratio: 3 / 4.6; color: var(--text); }
.loc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.loc:hover img { transform: scale(1.06); }
.loc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), 0) 45%, rgba(var(--shade), .8)); }
.loc-in { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; }
.loc-in .eyebrow { color: var(--accent-2); margin-bottom: 10px; }
.loc-in h3 { font: 600 clamp(18px, 1.5vw, 24px)/1.05 var(--brand); letter-spacing: .04em; text-transform: uppercase; }
.loc-in p { font-size: 14px; margin-top: 8px; color: var(--text); opacity: .8; }

.exec { padding: 14vh var(--pad) 4vh; }
.exec-card { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9vh 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.exec-card .eyebrow { margin-bottom: 20px; }
.exec-card h2 { font-size: clamp(30px, 3.6vw, 62px); }
.exec-card p { color: var(--text-2); margin-bottom: 26px; }

/* tours (Explore) */
.tours { padding: 0; display: flex; flex-direction: column; background: var(--bg); }
.tour { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); color: var(--text); }
.tour:nth-child(even) .tour-img { order: 2; }
.tour-img { position: relative; min-height: 100svh; overflow: hidden; }
.tour-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* three photos side by side (full-day tour: surf / penguins / Cape Point) */
.tour-img.split img { right: auto; width: calc(100% / 3 + 1px); }
.tour-img.split img:nth-child(2) { left: calc(100% / 3); }
.tour-img.split img:nth-child(3) { left: auto; right: 0; }
.tour-body { padding: 12vh 5vw; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.tour-body .eyebrow { color: var(--accent-2); }
.tour-body h3 { font: 600 clamp(28px, 2.8vw, 48px)/1 var(--brand); letter-spacing: .03em; text-transform: uppercase; }
.tour-body > p { color: var(--text-2); max-width: 44ch; }
.ticks { display: grid; gap: 11px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; font-size: 15.5px; color: var(--text); }
.ticks li::before { content: '✦'; color: var(--accent); font-size: 11px; flex: none; }
.tour-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 6px; }
.tour-prices div { background: var(--bg-2); padding: 18px 20px; }
.tour-prices span { display: block; font: 600 10px var(--mona); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.tour-prices b { font: 300 clamp(28px, 2.4vw, 40px)/1 var(--mona); font-stretch: 125%; }
.tour-prices small { display: block; margin-top: 6px; font-size: 13px; color: var(--text-3); }
.tour-body .pill { align-self: flex-start; }

/* route map (Explore) */
.route { position: relative; height: 340vh; background: var(--bg); }
.route-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; padding: 0; overflow: hidden; }
.route-side { display: flex; flex-direction: column; justify-content: center; gap: 3vh; padding: calc(var(--hdr) + 2vh) var(--pad) 5vh; }
.route-side h2 { font-size: clamp(30px, 3.4vw, 58px); }
.route-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); align-self: flex-start; }
.route-toggle button { height: 36px; padding: 0 16px; font: 600 10px/1 var(--mona); letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); transition: background-color .3s, color .3s; }
.route-toggle button.on { background: var(--text); color: var(--bg); }
.route-stops { display: grid; gap: 2px; counter-reset: stop; }
.route-stops[hidden] { display: none; }
.route-stops li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 6px 0; opacity: .3; transition: opacity .4s; }
.route-stops li.on { opacity: 1; }
.route-stops li::before { counter-increment: stop; content: counter(stop); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--mona); border: 1px solid var(--text-2); transition: background-color .4s, border-color .4s, color .4s; }
.route-stops li.on::before { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.route-stops b { display: block; font: 500 13px/1.2 var(--mona); font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; }
.route-stops span { font-size: 14px; color: var(--text-2); }

/* lists: a small move on hover (computers only) */
@media (hover: hover) and (min-width: 768px) {
  .row { position: relative; }
  .row::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-out); }
  .row:hover::after { transform: scaleX(1); transform-origin: left; }
  .row .n, .row h3, .row p { transition: color .5s, translate .7s var(--ease-out); }
  .row:hover .n { color: var(--accent); translate: 6px 0; }
  .row:hover h3 { translate: 12px 0; }
  .row:hover p { color: var(--text); }

  .soon-list li { transition: background-color .5s; }
  .soon-list li span { transition: color .5s, translate .7s var(--ease-out); }
  .soon-list li:hover { background: color-mix(in srgb, var(--bg-3), var(--text) 5%); }
  .soon-list li:hover span { color: var(--text); translate: 8px 0; }

  .ticks li { transition: translate .6s var(--ease-out); }
  .ticks li::before { transition: rotate .9s var(--ease-out), scale .6s var(--ease-out); }
  .ticks li:hover { translate: 6px 0; }
  .ticks li:hover::before { rotate: 90deg; scale: 1.3; }

  .route-stops li > div { transition: translate .6s var(--ease-out); }
  .route-stops li:hover > div { translate: 8px 0; }
  .route-stops li:not(.on):hover { opacity: .7; }

  .story-tags li { transition: color .4s, border-color .4s, translate .5s var(--ease-out); }
  .story-tags li:hover { color: var(--text); border-color: var(--accent); translate: 0 -3px; }
}
.route-note { font-size: 13.5px; color: var(--text-3); max-width: 40ch; }
.route-map { position: relative; overflow: hidden; background: var(--map-sea); transition: background-color .6s; }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-land { fill: var(--map-land); stroke: var(--line); stroke-width: 1.2; transition: fill .6s; }
.map-topo { fill: none; stroke: var(--line); stroke-width: 1; }
.map-wave { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 7; }
.map-sea { font: 400 34px var(--sig); fill: var(--text-3); letter-spacing: 0; }
.map-place { font: 600 11px var(--mona); fill: var(--text-3); letter-spacing: .14em; text-transform: uppercase; }
.map-route-bg { fill: none; stroke: var(--text-3); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 9; opacity: .6; }
.map-route { fill: none; stroke: var(--route); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.map-return { fill: none; stroke: var(--route); stroke-width: 2; stroke-dasharray: 5 7; opacity: 0; transition: opacity .6s; }
.map-return.on { opacity: .7; }
.map-pin circle { fill: var(--map-land); stroke: var(--text-2); stroke-width: 2; transition: fill .4s, stroke .4s; }
.map-pin text { font: 500 13px var(--mona); font-stretch: 125%; fill: var(--text); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .4s; paint-order: stroke; stroke: var(--map-sea); stroke-width: 4px; stroke-linejoin: round; }
.map-pin .num { font: 600 11px var(--mona); fill: var(--text); text-anchor: middle; dominant-baseline: central; opacity: 1; stroke: none; }
.map-pin.on circle { fill: var(--accent); stroke: var(--accent); }
.map-pin.on .num { fill: var(--on-accent); }
.map-pin.on text { opacity: 1; }
.map-van .van-glow { fill: var(--accent); opacity: .3; }
.map-van .van-dot { fill: var(--accent); stroke: var(--map-sea); stroke-width: 2.5; }
.map-north path { fill: var(--text-3); }

/* other doors */
.more-doors { padding: 14vh 0 4vh; }
.more-doors .sec-head { padding: 0 var(--pad); }
.md-grid { display: grid; grid-template-columns: 1fr 1fr; }
.md { position: relative; height: 72vh; min-height: 440px; overflow: hidden; color: var(--text); cursor: none; }
.md img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.md:hover img { transform: scale(1.05); }
.md::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--shade), .4), rgba(var(--shade), 0) 35%, rgba(var(--shade), .7)); }
.md-in { position: absolute; inset: 0; z-index: 2; padding: 36px var(--pad); display: flex; flex-direction: column; justify-content: space-between; }
.md-in .eyebrow { color: var(--accent-2); }
.md-in h3 { font: 600 clamp(26px, 2.4vw, 42px)/1.04 var(--brand); letter-spacing: .03em; text-transform: uppercase; }
.md-in p { font: 500 12.5px var(--mona); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; margin-top: 14px; opacity: .85; }

/* ---------- reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s, transform 1.1s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- one spacing scale for the door pages on screens wider than a phone ----------
   --sec: the space above and below every section's content (so two sections always sit the same
   distance apart), --sec-in: inside a framed card, --head: from a section's heading to its content.
   Phones keep their own spacing (below). */
@media (min-width: 768px) {
  :root { --sec: clamp(88px, 14vh, 160px); --sec-in: clamp(56px, 9vh, 104px); --head: clamp(40px, 6vh, 72px); }
  .intro, .rows-sec, .prices, .statement { padding-top: var(--sec); padding-bottom: var(--sec); }
  .locs, .more-doors { padding-top: var(--sec); }
  .exec { padding: var(--sec) var(--pad) 0; }
  .exec-card { padding: var(--sec-in) 0; }
  .soon-card { padding: var(--sec) var(--pad); }
  .sec-head { margin-bottom: var(--head); }
  .prices-note { margin-top: var(--head); }
  /* every row the same height, with its writing centred, so one line or two, the space above
     and below always matches */
  .row { align-items: center; min-height: 100px; padding: 26px 0; }
}

/* opening on phones (used in the phone rules below) */
@keyframes strip-up { to { translate: 0 -101%; } }
@keyframes film-in { from { scale: 1.22; } to { scale: 1; } }
@keyframes rise-in { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@keyframes write-in { from { clip-path: inset(-30% 100% -30% -10%); } to { clip-path: inset(-30% -10% -30% -10%); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .loc-row { grid-template-columns: repeat(3, 1fr); }
  .price-grid.three { grid-template-columns: 1fr 1fr; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  :root { --hdr: 72px; }
  .big-title .it { font-size: 1.28em; }
  .ftr-notch-btn { height: 54px; padding: 0 24px; border-radius: 12px 12px 0 0; }
  .hdr { padding: 16px; }
  .hdr .pill-sun span { display: none; }
  .hdr .pill-sun { width: 42px; padding: 0; }
  .wm-logo { height: 26px; }
  .wm-name { font-size: 12.5px; }
  .wm-fit { font-size: 7px; }
  /* a firmer shade behind the logo when text scrolls under it (photos keep the light one) */
  .hdr:not(.on-photo)::before { background: linear-gradient(rgba(var(--scrim), .95), rgba(var(--scrim), .82) 62%, rgba(var(--scrim), 0)); }
  .menu { grid-template-columns: 1fr; padding-top: 100px; }
  .menu-media { display: none; }
  .menu-foot { flex-direction: column; align-items: flex-start; }

  /* home: the same film-to-doors split as desktop, turned on its side: three rows */
  /* text sits up under the header so the film shows below it */
  .hero-copy { justify-content: flex-start; padding-top: calc(var(--hdr) + 9svh); padding-bottom: 0; }
  .hero-sig { left: 0; top: -.62em; font-size: .5em; }
  .hero-tags .eyebrow:first-child { display: none; }
  /* no title over the film on phones (Steve): the film plays clean, then the page glides into the doors (home.js) */
  .hero-title, .hero-sub { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cursor { display: none; }
  .doors { flex-direction: column; }
  .door { width: 100%; height: 33.333%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  /* photo and writing are sized for the open door and stay centred, so opening a door reveals them from the middle */
  .door-img img, .door-content { position: absolute; left: 0; top: 50%; width: 100%; height: calc((100svh - var(--hdr)) * .56); translate: 0 -50%; }
  .door-img img { left: -24px; width: calc(100% + 48px); height: calc((100svh - var(--hdr)) * .56 + 48px); }
  .door-img::after { background: linear-gradient(180deg, rgba(var(--shade), .55) 0%, rgba(var(--shade), .22) 38%, rgba(var(--shade), .26) 58%, rgba(var(--shade), .74) 100%); }
  .door-content { padding: 22px 20px 24px; }
  .door-title { font-size: 26px; }
  .door-excerpt { font-size: 15px; }
  .door-more { display: inline-flex; }
  .door-img img.corner { display: none; }
  .door-peek { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; pointer-events: none; opacity: 0; }
  .door-peek .eyebrow { color: var(--accent-2); }
  .door-peek b { font: 600 21px/1.1 var(--brand); letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(var(--shade), .5); }
  .gap { left: -1px; right: -1px; top: 0; bottom: auto; width: auto; height: 0; translate: 0 -50%; }
  .phil { display: none; } /* phones go straight from the split into the doors (Max) */
  .phil p { font-size: 22px; padding: 0 20px; }
  .phil p b { margin-bottom: 12px; }

  /* the page opens as three panels lifting away from the film, then the title rises in */
  .curtain .curtain-strips { position: absolute; inset: 0; z-index: 6; display: grid; grid-template-columns: repeat(3, 1fr); pointer-events: none; }
  .curtain-strips i { background: var(--bg); box-shadow: inset -1px 0 0 var(--line); animation: strip-up 1.15s var(--ease) both; animation-delay: calc(.25s + var(--i) * .11s); }
  .curtain .film video { animation: film-in 2.2s var(--ease-out) .25s both; }
  .curtain .hero-title > span:not(.sig), .curtain .hero-sub, .curtain .hero-tags { animation: rise-in 1.1s var(--ease-out) both; }
  .curtain .hero-title > span:nth-child(2) { animation-delay: .8s; }
  .curtain .hero-title > span:nth-child(3) { animation-delay: .92s; }
  .curtain .hero-sub { animation-delay: 1.1s; }
  .curtain .hero-tags { animation-delay: 1.3s; }
  .curtain .hero-sig { animation: write-in 1.2s cubic-bezier(.6, .1, .3, 1) 1.25s both; }
  .curtain .hdr { animation: fade-in .9s ease 1.1s both; }

  .story, .intro { grid-template-columns: 1fr; }
  .story-photo { min-height: 80svh; }
  .story-side { padding: 9vh 20px 8vh; }
  /* the road so far: narrow road up the left, labels to its right (layout in home.js) */
  .trail-title { left: calc((var(--sx) + 36) / var(--vbw) * 100%); top: calc(var(--sy) / var(--vbh) * 100%); font-size: 23px; }
  .trail-stops li.r { right: 0; left: calc((var(--x) + 36) / var(--vbw) * 100%); white-space: normal; }
  .trail-stops b { font-size: 15px; }
  .creed { padding: 20vh 20px; }
  .fan { --cw: 34vw; }
  .ftr-sig { transform: rotate(-9deg) translate(-1.2em, -.12em); }
  .ftr { padding: 3vh 10px 10px; }
  .ftr-cols { flex-direction: column; gap: 12px; padding-top: 6vh; }
  .ftr-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; }

  .ph-in { padding: calc(var(--hdr) + 16px) 20px 28px; }
  .ph-bottom { flex-direction: column; align-items: flex-start; }
  .ph-side { align-items: flex-start; text-align: left; }
  .ph-strap { display: none; }
  .intro { padding: 11vh 20px 9vh; gap: 0; }
  .intro .body-copy { padding-top: 28px; }
  .row { grid-template-columns: 40px 1fr; }
  .row p { grid-column: 2; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .price-grid, .price-grid.three { grid-template-columns: 1fr; }
  .soon-card, .exec-card { grid-template-columns: 1fr; }
  .loc-row { grid-template-columns: 1fr 1fr; }
  .loc:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .tour { grid-template-columns: 1fr; }
  .tour:nth-child(even) .tour-img { order: 0; }
  .tour-img { min-height: 60svh; }
  .tour-body { padding: 40px 20px; }
  .route { height: auto; }
  /* the map comes straight after the heading, then the stops it has just lit up */
  .route-pin { position: relative; height: auto; grid-template-columns: 1fr; row-gap: 22px; padding: 12vh 0 8vh; }
  .route-side { display: contents; }
  .route-side > * { margin-inline: 20px; }
  .route-toggle { justify-self: start; }
  .route-map { order: 1; aspect-ratio: 570 / 800; margin-top: 6px; }
  .route-stops, .route-note { order: 2; }
  .route-note .desk { display: none; }
  .wide-in { height: 64svh; }
  .wide-cap { left: 20px; right: 20px; bottom: 22px; flex-direction: column; align-items: flex-start; }
  .md-grid { grid-template-columns: 1fr; }
  .md { cursor: pointer; height: 60vh; }
}

/* phones: keep her (forest photo, she sits just left of centre) in the crop */
@media (max-width: 767px) {
  img[src$="door-move.webp"] { object-position: 46% 50%; }
  /* Explore (Chapman's Peak sunset): keep the cliff road and the car, let the sun go */
  img[src$="door-explore.webp"] { object-position: 12% 50%; }
  /* Flow band (golden beach): the walker, Table Mountain and the footprints, let the sun go */
  .wide-in > img[src$="flow-band-beach.webp"] { object-position: 36% 50%; }
  /* no dead scroll after the doors land: Steve's photo comes straight up on the next swipe (home.js keeps the timing) */
  .stage { height: 214vh; }
  /* the doors stop a strip short of the bottom; once they land a small "Meet Steve" cue shows there */
  .doors-frame { bottom: 46px; }
  .doors-next { display: flex; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; justify-content: center; z-index: 3; opacity: 0; pointer-events: none; transition: opacity .6s; }
  .doors-next span { height: 22px; }
  .stage-pin:has(.doors.live) .doors-next { opacity: 1; pointer-events: auto; }
}
@media (min-width: 768px) { .doors-next { display: none; } }

/* ---------- Steve's full menu (2026-11-23): extra prices, programme steps, notes ---------- */
.rates { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: -6px; }
.rates li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 16px; background: var(--bg-2); }
.rates span { font: 600 10px var(--mona); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.rates b { font: 400 19px/1 var(--mona); font-stretch: 125%; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 600 11px var(--mona); letter-spacing: .1em; }
.steps li b { display: block; font-weight: 600; }
.steps li span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--text-2); }
.tour-prices.one { grid-template-columns: 1fr; }
.tour-extra { font-size: 14.5px; color: var(--text-3); margin-top: -10px; }
.fine-print { margin: 6vh auto 0; max-width: 60ch; font-size: 13px; line-height: 1.5; color: var(--text-3); text-align: center; }

/* ---------- fold-outs: the price + full details sit behind "Details & price"; How it works / How do I book bars ---------- */
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.price .acts .pill, .tour-body .acts .pill { margin-top: 0; align-self: auto; }
.more { display: inline-flex; align-items: center; gap: 12px; min-height: 42px; font: 600 10.5px/1 var(--mona); letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.more .pm { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; transition: transform .5s var(--ease-out), border-color .3s, background-color .3s, color .3s; }
.more .pm::before, .more .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: currentColor; translate: -50% -50%; }
.more .pm::after { rotate: 90deg; }
.more:hover .pm { border-color: var(--accent); }
.more[aria-expanded="true"] .pm { transform: rotate(135deg); border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.fold.open { grid-template-rows: 1fr; }
.fold > div { min-height: 0; overflow: hidden; opacity: 0; transition: opacity .35s; }
.fold.open > div { opacity: 1; transition: opacity .6s .12s; }
.fold-in { display: flex; flex-direction: column; gap: 22px; }
.price .fold { margin-top: -22px; } /* no empty gap under the buttons while folded */
.price .fold-in { padding-top: 30px; }
.tour-body .fold { margin-top: -26px; }
.tour-body .fold-in { padding-top: 34px; gap: 26px; }

.faq { padding: 14vh var(--pad); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-bar { display: grid; grid-template-columns: 90px 1fr auto; gap: 3vw; align-items: center; width: 100%; padding: 34px 0; text-align: left; }
.faq-bar .n { font: 600 10.5px var(--mona); letter-spacing: .2em; color: var(--accent-2); }
.faq-q { font: 600 clamp(24px, 2.6vw, 44px)/1.05 var(--brand); letter-spacing: .03em; text-transform: uppercase; color: var(--text); }
.faq-bar .pm { width: 46px; height: 46px; }
.faq-bar .pm::before, .faq-bar .pm::after { width: 15px; }
.faq .fold-in { gap: 0; padding-bottom: 44px; }
.faq-lead { margin: 0 0 30px calc(90px + 3vw); max-width: 56ch; color: var(--text-2); }
.faq .fold-in > .pill { align-self: flex-start; margin: 36px 0 0 calc(90px + 3vw); }
@media (max-width: 767px) {
  .faq { padding: 10vh 20px; }
  .faq-bar { grid-template-columns: 40px 1fr auto; padding: 26px 0; }
  .faq-bar .pm { width: 38px; height: 38px; }
  .faq-lead, .faq .fold-in > .pill { margin-left: 0; }
}
