/* 5Oman public site: the map journey. Spec: docs/superpowers/specs/2026-09-26-map-journey-site-design.md
   Mobile first: base rules are for 375 px; one breakpoint at 900 px. */
:root {
  color-scheme: light;
  --paper: #F5F2E8;
  --sand: #EBE2CB;
  --sea: #BFE3DE;
  --ink: #14113C;
  --muted: #55517A;
  --muted-night: #C9C6E0;
  --accent: #F7E02E;
  --line: rgba(20, 17, 60, .22);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --hand: Caveat, "Bradley Hand", cursive;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: 20px; --rail: 28px; --max: 1180px;
  --sab: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { position: relative; font-family: var(--sans); font-size: 15px; line-height: 1.55; overflow-x: hidden; padding-bottom: calc(76px + var(--sab)); }
/* The map's paper finish: one static texture, multiply-blended over everything (brief §3). */
body::after { content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; background: url(/assets/paper.jpg) center / cover; mix-blend-mode: multiply; opacity: .5; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: 70px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
main { max-width: var(--max); margin: 0 auto; }

/* Type */
.kick { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.ed { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; margin: 0 0 12px; text-wrap: balance; }
h1.ed { font-size: clamp(34px, 6vw, 76px); line-height: 1.02; }
h2.ed { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.04; }
.ed i { font-style: italic; }
.rv { display: block; overflow: hidden; padding-bottom: .08em; }
.rv > span { display: block; }
.lead { color: var(--muted); font-size: 15px; max-width: 56ch; margin: 0 0 16px; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--ink); font-size: 21px; line-height: 1.02; }
.small { font-size: 11.5px; color: var(--muted); }
.pad { padding: 0 var(--gutter); }
.sec { position: relative; padding: 88px 0 8px var(--rail); }

/* The route (brief §3): a dotted line down the left rail, numbered stop pins, handwritten notes. */
.route { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 2; pointer-events: none; overflow: visible; }
.no-js .route { display: none; }
.route path { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: .1 11; }
.route [data-route-ink] { stroke: var(--ink); }
.route [data-route-night] { stroke: var(--paper); }
.route [data-route-reveal] { stroke: #fff; stroke-width: 16; stroke-dasharray: none; }
.route-start { position: absolute; left: calc(var(--rail) / 2 - 4px); bottom: -2px; width: 2px; height: 2px; }
.stop { position: absolute; left: calc(var(--rail) / 2 - 7px); top: 84px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); color: var(--ink); font-family: var(--label); font-weight: 700; font-size: 13px; line-height: 1; display: grid; place-items: center; }
.band > .stop { top: 60px; box-shadow: 0 0 0 2px var(--paper); }
.close > .stop { top: 52px; box-shadow: 0 0 0 2px var(--paper); }
.note-hand { display: inline-block; }

/* Reveal (only when JS runs; without it everything is simply visible) */
.js .reveal .rv > span { transform: translateY(108%); transition: transform 1s var(--ease); }
.js .reveal .rv:nth-child(2) > span { transition-delay: .1s; }
.js .reveal .up { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .reveal .stop { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.js .reveal .note-hand { clip-path: inset(-12px 100% -12px -12px); transition: clip-path 1s linear .5s; }
.js .reveal.in .rv > span, .js .reveal.in .up, .js .reveal.in .stop { opacity: 1; transform: none; }
.js .reveal.in .note-hand { clip-path: inset(-12px -12px -12px -12px); }
.d1 { transition-delay: .1s !important; } .d2 { transition-delay: .2s !important; }
/* If site.js fails to load (or an IntersectionObserver never fires), don't leave content hidden
   forever: after 3s, show it anyway. site.js adds .in well before then when JS works. */
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
@keyframes note-fallback { to { clip-path: inset(-12px -12px -12px -12px); } }
.js .reveal:not(.in) .rv > span, .js .reveal:not(.in) .up, .js .reveal:not(.in) .stop { animation: reveal-fallback .01s 3s forwards; }
.js .reveal:not(.in) .note-hand { animation: note-fallback .01s 3s forwards; }

/* Panels (the map key, the facts promise): sand with the thin double rule. */
.panel { position: relative; background: var(--sand); border: 1.5px solid var(--ink); padding: 14px 16px; }
.panel::after { content: ""; position: absolute; inset: 3px; border: .6px solid var(--ink); pointer-events: none; }

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-line { background: transparent; color: var(--ink); }
.btn-paper { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-line-paper { background: transparent; color: var(--paper); border-color: var(--paper); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gutter); background: rgba(245, 242, 232, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.nav.sh { box-shadow: 0 1px 0 var(--line); }
.nav-l { display: flex; align-items: center; gap: 10px; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 24px; text-decoration: none; }
.wordmark b { font-weight: 600; background: var(--accent); padding: 0 .08em; margin-right: .02em; }
.compass { width: 26px; height: 26px; color: var(--ink); }
.nav-links { display: none; }
.nav-try { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--hand); font-weight: 700; font-size: 22px; text-decoration: none; }

/* Before/after slider */
.ba { position: relative; aspect-ratio: 3 / 4; margin: 0 var(--gutter); overflow: hidden; background: var(--ink); border: 2px solid var(--ink); -webkit-user-select: none; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .25s ease; }
.ba img.swapping { opacity: 0; }
.ba .ba-after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--paper); transform: translateX(-1px); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--x, 50%); width: 44px; height: 44px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); color: var(--ink); transform: translate(-50%, -50%); display: grid; place-items: center; font-size: 16px; font-weight: 700; pointer-events: none; box-shadow: 0 8px 20px rgba(20, 17, 60, .35); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.ba input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 56px; height: 100%; min-height: 100%; background: transparent; border: 0; }
.ba input[type="range"]::-moz-range-thumb { width: 56px; height: 100%; background: transparent; border: 0; }
.ba input[type="range"]::-webkit-slider-runnable-track { height: 100%; }
.ba-hint { position: absolute; top: calc(50% + 32px); left: var(--x, 50%); padding: 2px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--hand); font-weight: 700; font-size: 17px; white-space: nowrap; transform: translateX(-50%); pointer-events: none; transition: opacity .4s ease; }
.ba.used .ba-hint { opacity: 0; }
.ba:has(input:focus-visible) .ba-knob { outline: 3px solid var(--accent); outline-offset: 3px; }
.ba-tag { position: absolute; bottom: 10px; z-index: 2; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--label); font-weight: 700; font-size: 11px; pointer-events: none; }
.ba-tag-l { left: 10px; } .ba-tag-r { right: 10px; background: var(--accent); }
.ba-full { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 18px; cursor: pointer; }

/* Pills (the map's drive-time tags) as the segmented control */
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px var(--gutter) 0; }
.seg button { min-height: 44px; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--label); font-weight: 700; font-size: 13px; cursor: pointer; }
.seg button small { margin-left: 6px; font-weight: 600; opacity: .7; }
.seg button[aria-pressed="true"] { background: var(--accent); }

/* Hero: a page from a field guide (brief §5) */
.hero { position: relative; display: grid; grid-template-areas: "copy" "stage" "notes" "cta"; margin: 4px 10px 0; padding: 12px 0 24px; }
.hero-frame { position: absolute; inset: 0; border: 1.5px solid var(--ink); pointer-events: none; }
.hero-frame::after { content: ""; position: absolute; inset: 4px; border: .75px solid var(--ink); }
.hero-copy { grid-area: copy; padding: 0 16px; }
.hero .kick { margin-bottom: 6px; }
.hero h1.ed { margin-bottom: 6px; }
.hero .lead { margin-bottom: 8px; }
.hero-stage { grid-area: stage; }
.hero-stage .ba { aspect-ratio: 1 / 1; margin: 0 16px; }
.ba-tabs { position: absolute; top: 10px; left: 50%; z-index: 2; display: flex; gap: 6px; transform: translateX(-50%); }
.ba-tabs button { position: relative; height: 34px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--label); font-weight: 700; font-size: 12px; cursor: pointer; }
.ba-tabs button::before { content: ""; position: absolute; inset: -6px; }
.ba-tabs button[aria-pressed="true"] { background: var(--accent); }
.ba-notes { grid-area: notes; display: flex; justify-content: space-between; margin: 4px 16px 0; font-size: 21px; }
.ba-notes .note-hand:last-child { text-align: right; }
/* The hero is visible from the first paint (.reveal.in), so its notes write themselves on load. */
@keyframes hero-write { from { clip-path: inset(-12px 100% -12px -12px); } to { clip-path: inset(-12px -12px -12px -12px); } }
.js .hero .note-hand { animation: hero-write 1s linear .9s both; }
.js .hero .ba-notes .note-hand:last-child { animation-delay: 1.6s; }
.hero-cta { grid-area: cta; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 16px 0; }
.hero-cta .btn { flex: 1 1 auto; }
.cta-link { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; font-family: var(--hand); font-weight: 700; font-size: 21px; text-decoration: none; }

/* What you get */
.get-pics { display: flex; gap: 10px; margin: 24px var(--gutter) 0; }
.get-pics figure { flex: 1; margin: 0; text-align: center; }
.gp { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--sand); border: 2px solid var(--ink); }
.gp img { width: 100%; height: 100%; object-fit: cover; }
.gp-video { border-radius: 10px; transform: rotate(-2deg); }
.gp-cover { border-radius: 10px; transform: rotate(1.5deg); }
.play { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; padding-left: 2px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); color: var(--ink); font-size: 12px; display: grid; place-items: center; transform: translate(-50%, -50%); }
.get-pics figcaption { margin-top: 8px; font-size: 20px; }
.key { margin: 22px var(--gutter) 0; }
.key .kick { font-size: 10px; margin-bottom: 6px; }
.use { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; padding: 9px 0; }
.use + .use { border-top: 1px dashed var(--line); }
.use b { font-size: 14px; font-weight: 600; }
.use > span:last-child { grid-column: 2; color: var(--muted); font-size: 13.5px; }
.sym { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); display: grid; place-items: center; }
.sym svg { width: 12px; height: 12px; fill: var(--ink); color: var(--ink); }

/* It sells the location (brief §5): the sea band, the map clip in a phone, the callouts */
.loc { margin-top: 64px; padding-bottom: 56px; background: var(--sea); }
.loc::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: repeating-radial-gradient(circle at 20px 20px, transparent 0 9px, rgba(20, 17, 60, .06) 9px 10px, transparent 10px 40px); background-size: 60px 30px; }
.loc > * { position: relative; }
.loc > .stop { position: absolute; }
.loc .lead { color: var(--ink); }
.loc-stage { display: grid; grid-template-columns: 158px 1fr; gap: 14px; margin: 22px var(--gutter) 0; }
.loc .phone.loc-phone { width: 100%; max-width: none; margin: 0; border-width: 5px; border-radius: 22px; }
.map-clip { background: var(--paper); }
.loc-calls { display: flex; flex-direction: column; justify-content: space-around; margin: 0; padding: 0; list-style: none; }
.loc-calls .note-hand { font-size: 20px; }
.loc-area { margin: 18px var(--gutter) 0; color: var(--muted); font-size: 13.5px; }

/* Steps */
.steps { display: grid; gap: 28px; margin: 26px 0 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; padding: 0 var(--gutter); }
.num { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: .9; }
.step h3 { margin: 4px 0; font-size: 16px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Behind the scenes */
.counts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px var(--gutter) 18px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.counts div { padding: 10px 0; text-align: center; }
.counts b { display: block; font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.counts span { font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 var(--gutter); }
.f { position: relative; aspect-ratio: 3 / 4; padding: 0; border: 0; overflow: visible; background: var(--sand); cursor: pointer; }
.f img { width: 100%; height: 100%; object-fit: cover; transition: filter .8s, opacity .8s; }
.f-n { position: absolute; right: 3px; top: 3px; color: #fff; font-size: 9px; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.f-lab { position: absolute; left: 3px; bottom: 3px; padding: 1px 5px; background: var(--paper); font-family: var(--label); font-weight: 600; font-size: 8.5px; letter-spacing: .04em; text-transform: uppercase; }
.f-ord { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); border: 2px solid var(--ink); color: var(--ink); font-family: var(--label); font-weight: 700; font-size: 10px; }
.f svg, .out-pic svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.f svg path, .out-pic svg path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.f.out img { filter: grayscale(.8); opacity: .6; }
.f-stamp { position: absolute; right: -8px; bottom: -8px; z-index: 2; width: 54px; height: 54px; border: 2.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: rgba(247, 224, 46, .92); color: var(--ink); font-family: var(--label); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-14deg); }
.f-stamp::after { content: ""; position: absolute; inset: -12px; pointer-events: none; background: radial-gradient(circle at 12% 30%, var(--ink) 0 2px, transparent 3px), radial-gradient(circle at 88% 18%, var(--ink) 0 2.5px, transparent 3.5px), radial-gradient(circle at 80% 90%, var(--ink) 0 2px, transparent 3px), radial-gradient(circle at 20% 86%, var(--ink) 0 1.5px, transparent 2.5px); }
.js .sheet .f-lab, .js .sheet .f-ord { opacity: 0; transition: opacity .4s; }
.js .sheet .f svg path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset .6s ease; }
.js .sheet .f.out img { filter: none; opacity: 1; }
.js .sheet .f-stamp { opacity: 0; transform: rotate(-14deg) scale(1.7); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1) .9s, opacity .2s .9s; }
.js .sheet .f-stamp::after { opacity: 0; transition: opacity .2s 1.2s; }
.js .sheet.go .f-lab, .js .sheet.go .f-ord { opacity: 1; }
.js .sheet.go .f svg path { stroke-dashoffset: 0; }
.js .sheet.go .f.out img { filter: grayscale(.8); opacity: .6; }
.js .sheet.go .f-stamp { opacity: 1; transform: rotate(-14deg) scale(1); }
.js .sheet.go .f-stamp::after { opacity: .85; }
.caption { margin: 14px var(--gutter) 0; }
.caption .note-hand { font-size: 19px; }
.note { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 18px var(--gutter) calc(22px + var(--sab)); background: var(--ink); color: var(--paper); transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.note.on { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.note img { width: 64px; height: 86px; object-fit: cover; }
.note .kick { margin-bottom: 4px; color: var(--muted-night); }
.note h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 22px; }
.note-sc { margin: 0; color: var(--muted-night); font-size: 12px; }
.note .hand { grid-column: 1 / -1; margin: 4px 0 0; color: var(--accent); }
.note-x { position: absolute; right: 8px; top: 6px; width: 44px; height: 44px; border: 0; background: none; color: var(--paper); font-size: 24px; cursor: pointer; }
.layers { margin: 26px var(--gutter) 0; }
.layer { border-top: 1px dashed var(--ink); }
.layer:last-child { border-bottom: 1px dashed var(--ink); }
.layer summary { display: grid; grid-template-columns: 34px 1fr 20px; align-items: baseline; min-height: 44px; padding: 14px 0; list-style: none; cursor: pointer; }
.layer summary::-webkit-details-marker { display: none; }
.layer summary::after { content: "+"; font-family: var(--hand); font-weight: 700; font-size: 26px; line-height: .8; }
.layer[open] summary::after { content: "−"; }
.layer .i { font-family: var(--serif); font-style: italic; font-size: 20px; }
.layer summary b { font-size: 15.5px; font-weight: 600; }
.layer p { margin: 0 0 16px 34px; color: var(--muted); font-size: 14px; }
.facts { margin: 18px var(--gutter) 0; font-size: 14px; }

/* The videos: the navy "night map" band */
.band { position: relative; margin-top: 64px; padding: 64px 0 48px var(--rail); background: var(--ink); color: var(--paper); }
.band .kick { color: var(--paper); }
.band .lead { color: var(--muted-night); }
.band .seg button { background: transparent; color: var(--paper); border-color: var(--paper); }
.band .seg button[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.band .btn-line { color: var(--paper); border-color: var(--paper); }
.band-in { max-width: var(--max); margin: 0 auto; }
.vplayer { margin-top: 22px; }
.phone { width: 64%; max-width: 300px; margin: 0 auto; overflow: hidden; border: 6px solid #0b0a1f; border-radius: 26px; background: #000; box-shadow: 0 26px 50px rgba(0, 0, 0, .4); }
.phone-screen { position: relative; aspect-ratio: 9 / 16; }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
/* Full screen takes the same video element to the whole screen: show all of it, letterboxed, not
   the phone frame's crop (a tall video on a wide screen would otherwise run off the top and bottom).
   Two rules, not one list, so a browser that doesn't know the -webkit- form still applies the other. */
.phone-screen video:fullscreen { object-fit: contain; background: #000; }
.phone-screen video:-webkit-full-screen { object-fit: contain; background: #000; }
/* The video buttons: round, paper and ink, in the phone's bottom corners. Play/pause on the left
   (one button: ▶ while paused, ❚❚ while playing, ↻ once a map clip has finished), sound on the right. */
.pp, .sound { position: absolute; bottom: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.pp { left: 10px; }
.sound { right: 10px; }
.pp:focus-visible, .sound:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pp .i, .sound .i { display: none; width: 20px; height: 20px; }
.pp .i-play, .pp .i-pause { fill: currentColor; }
.pp .i-again, .sound .i { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp[data-state="paused"] .i-play, .pp[data-state="playing"] .i-pause, .pp[data-state="ended"] .i-again { display: block; }
.sound[aria-pressed="false"] .i-off, .sound[aria-pressed="true"] .i-on { display: block; }
.vside { margin-top: 14px; }
.vside .seg { justify-content: center; }
.vline { min-height: 3em; margin: 12px var(--gutter) 0; color: var(--muted-night); font-size: 13.5px; text-align: center; }
.vactions { display: flex; justify-content: center; gap: 8px; margin: 12px var(--gutter) 0; }

/* Your brand: the three closing cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px var(--gutter) 10px; }
.cards3 figure { margin: 0; text-align: center; }
.cards3 .phone { width: 100%; border-width: 4px; border-radius: 14px; }
.cards3 figcaption { margin-top: 6px; font-size: 19px; }

/* Example cards: pinned paper cards */
.cases { display: grid; gap: 16px; margin-top: 22px; }
.case { position: relative; display: grid; grid-template-columns: 40% 1fr; gap: 14px; margin: 0 var(--gutter); padding: 12px; border: 1.5px solid var(--ink); background: var(--paper); box-shadow: 0 8px 18px rgba(20, 17, 60, .14); text-decoration: none; }
.case::before { content: ""; position: absolute; left: 50%; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); transform: translateX(-50%); }
.case img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.case-home { grid-template-columns: 1fr; }
.case .tag { font-family: var(--label); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.case h3 { margin: 4px 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.08; }
.case p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.case .go { font-size: 20px; }

/* Questions */
.qa { margin: 18px var(--gutter) 0; }
.qa details { border-top: 1px dashed var(--ink); }
.qa details:last-child { border-bottom: 1px dashed var(--ink); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 14px 0; font-size: 15px; font-weight: 500; list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--hand); font-weight: 700; font-size: 26px; line-height: .8; }
.qa details[open] summary::after { content: "−"; }
.qa p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }

/* Close: navy, with the dhow */
.close { position: relative; margin-top: 64px; padding: 56px var(--gutter) calc(40px + var(--sab)) calc(var(--gutter) + var(--rail)); overflow: hidden; background: var(--ink); color: var(--paper); }
.close-in { max-width: var(--max); margin: 0 auto; }
.close .kick { color: var(--paper); }
.close .lead { color: var(--muted-night); }
.dhow { position: absolute; right: 22px; top: 44px; width: 64px; height: auto; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px) rotate(-2deg); } }
.btns { display: grid; gap: 10px; margin-top: 8px; }
/* The waitlist form in the navy close (pre-launch, every call to action leads here): the same
   fields and words as www.5oman.com, paper on navy. */
.wl { max-width: 460px; margin-top: 18px; }
.wl-field { display: block; margin-bottom: 14px; }
.wl-field > span:first-child { display: block; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); margin-bottom: 6px; }
.wl-field small { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 400; color: var(--muted-night); font-size: 12px; }
.wl-field input, .wl-tel { width: 100%; height: 48px; border: 1.5px solid var(--paper); border-radius: 10px; background: var(--paper); font: inherit; font-size: 17px; color: var(--ink); padding: 0 14px; }
.wl-field input:focus, .wl-tel:focus-within { outline: none; box-shadow: 0 0 0 3px var(--accent); }
.wl-tel { display: flex; align-items: center; padding: 0; overflow: hidden; }
.wl-cc { padding: 0 10px 0 14px; font-weight: 500; border-right: 1.5px solid var(--line); height: 100%; display: grid; place-items: center; }
.wl-cc[hidden] { display: none; }
.wl-tel input { border: 0; height: 100%; border-radius: 0; box-shadow: none !important; }
.wl [aria-invalid="true"], .wl-tel:has([aria-invalid="true"]) { border-color: #F09595; }
.wl-err { display: block; font-style: normal; color: #F7C1C1; font-size: 13px; margin-top: 4px; }
.wl-err:empty { display: none; }
.wl-intl { border: 0; background: none; padding: 4px 0 0; font-size: 13px; color: var(--muted-night); text-decoration: underline; cursor: pointer; }
.wl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-send { width: 100%; margin-top: 4px; }
.wl-send[disabled] { cursor: progress; opacity: .8; }
.wl-fine { font-size: 12.5px; color: var(--muted-night); margin: 10px 0 0; }
.wl-done { margin-top: 22px; }
.wl-done .hand { color: var(--paper); font-size: 40px; line-height: 1; margin: 0; }
.foot { margin-top: 34px; color: var(--muted-night); font-size: 12px; line-height: 1.7; }
.foot a { color: var(--paper); }

/* Sticky "Try it" bar (phones) */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; padding: 10px 14px calc(12px + var(--sab)); background: rgba(245, 242, 232, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
.dock .btn { flex: 1; }
.dock.on, .no-js .dock { transform: none; }

/* Example pages */
.intro { position: relative; padding: 14px var(--gutter) 24px; }
.intro .route-start { left: calc(var(--rail) / 2 + 6px); }
.jump { display: flex; gap: 20px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--hand); font-weight: 700; font-size: 21px; text-decoration: none; }
.rooms { display: grid; gap: 44px; margin-top: 22px; }
.room-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 var(--gutter) 8px; }
.room-head h3 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.counter { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.room-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px var(--gutter) 0; font-size: 13.5px; }
.room-actions a { display: inline-flex; align-items: flex-end; min-height: 44px; padding: 12px 0 1px; border-bottom: 1.5px solid var(--ink); text-decoration: none; font-weight: 600; }
.room-actions .dl-before { color: var(--muted); border-bottom-color: var(--line); font-weight: 400; }
.outs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px var(--gutter) 0; }
.outs figure { margin: 0; }
.out-pic { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.out-pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.8); opacity: .6; }
.outs figcaption b { display: block; margin: 8px 0 4px; font-size: 12.5px; }
.outs .hand { font-size: 18px; }

/* Full-screen viewer */
.viewer { position: fixed; inset: 0; z-index: 90; display: none; flex-direction: column; height: 100dvh; padding-top: env(safe-area-inset-top, 0px); padding-bottom: var(--sab); background: rgba(20, 17, 60, .97); color: var(--paper); touch-action: none; overscroll-behavior: contain; }
.viewer.on { display: flex; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px var(--gutter); }
.viewer-title { font-family: var(--serif); font-size: 20px; }
.viewer-close { width: 44px; height: 44px; border: 0; background: none; color: var(--paper); font-size: 30px; cursor: pointer; }
.viewer-stage { position: relative; flex: 1; min-height: 0; }
.viewer-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.viewer-nav { position: absolute; top: 50%; width: 44px; height: 44px; border: 2px solid var(--paper); border-radius: 50%; background: transparent; color: var(--paper); font-size: 22px; transform: translateY(-50%); cursor: pointer; }
.viewer-nav.prev { left: 10px; } .viewer-nav.next { right: 10px; }
.viewer-foot { display: grid; gap: 10px; padding: 10px var(--gutter) 14px; }
.viewer .seg { margin: 0; justify-content: center; }
.viewer .seg button { background: transparent; color: var(--paper); border-color: var(--paper); }
.viewer .seg button[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* Desktop */
@media (min-width: 900px) {
  :root { --gutter: 40px; --rail: 64px; }
  body { padding-bottom: 0; font-size: 16px; }
  .dock { display: none; }
  .lead { font-size: 16px; }
  .sec { padding-top: 120px; }
  .sec > .stop { top: 116px; }
  .nav-links { display: flex; gap: 26px; font-size: 13.5px; }
  .nav-links a { color: var(--muted); text-decoration: none; }
  .nav-links a:hover { color: var(--ink); }
  .nav-try { padding: 8px 18px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 600; font-size: 14px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy stage" "cta stage" "cta notes"; grid-template-rows: auto 1fr auto; column-gap: 48px; margin: 16px 16px 0; padding: 40px 0 40px 24px; }
  .hero-copy { align-self: end; padding: 0; }
  .hero .kick { margin-bottom: 12px; }
  .hero h1.ed { margin-bottom: 12px; }
  .hero .lead { margin-bottom: 16px; }
  .hero-cta { align-self: start; justify-content: flex-start; gap: 28px; padding: 18px 0 0; }
  .hero-cta .btn { flex: 0 0 auto; }
  .hero-stage .ba { width: min(100% - 24px, min(70vh, 620px)); margin: 0 24px 0 0; }
  .ba-notes { margin: 10px 24px 0 0; width: min(100% - 24px, min(70vh, 620px)); }
  .hero .route-start { left: calc(var(--rail) / 2 - 11px); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 0 var(--gutter); }
  .step { padding: 0; }
  .get-pics, .key { max-width: 640px; margin-left: var(--gutter); margin-right: 0; }
  .loc-stage { grid-template-columns: 240px 1fr; max-width: 760px; gap: 28px; }
  .loc-calls .note-hand { font-size: 24px; }
  .studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin: 0 var(--gutter); }
  .studio-grid .sheet { grid-template-columns: repeat(7, 1fr); margin: 0; }
  .studio-grid .caption { margin-left: 0; }
  .note { position: sticky; top: 90px; align-self: start; grid-template-columns: 90px 1fr; padding: 18px; transform: none; visibility: visible; }
  .note img { width: 90px; height: 120px; }
  .note-x { display: none; }
  .layers { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .layer:nth-last-child(2) { border-bottom: 1px dashed var(--ink); }
  .band-in { display: grid; grid-template-columns: 340px 1fr; grid-template-areas: "phone copy" "phone side"; grid-template-rows: auto 1fr; column-gap: 64px; padding: 0 var(--gutter); }
  .band-copy { grid-area: copy; align-self: end; padding: 0; }
  .vplayer { display: contents; }
  .vphone { grid-area: phone; }
  .vphone .phone { width: 100%; max-width: none; }
  .vside { grid-area: side; margin: 0; max-width: 520px; }
  .vside .seg, .vline, .vactions { margin-left: 0; margin-right: 0; }
  .vside .seg { justify-content: flex-start; }
  .vline { text-align: left; }
  .vactions { justify-content: flex-start; }
  .cards3 { max-width: 760px; gap: 20px; }
  .cases { grid-template-columns: 1fr 1fr; gap: 28px 40px; padding: 0 var(--gutter); }
  .case { margin: 0; }
  .qa { max-width: 760px; }
  .btns { grid-template-columns: auto auto; justify-content: start; }
  .close { padding-left: calc(var(--gutter) + var(--rail)); }
  .dhow { right: 60px; width: 90px; }
  .rooms { grid-template-columns: 1fr 1fr; gap: 56px 32px; padding: 0 var(--gutter); }
  .rooms .ba, .rooms .seg, .rooms .room-head, .rooms .room-actions { margin-left: 0; margin-right: 0; }
  .outs { grid-template-columns: repeat(5, 1fr); }
  .viewer-foot { grid-template-columns: minmax(0, 420px) auto; justify-content: center; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal .rv > span, .js .reveal .up, .js .reveal .stop, .js .reveal .note-hand, .js .sheet *, .js .sheet .f-stamp::after, .note, .dock, .ba img { transition: none !important; }
  .js .reveal .stop { transform: none; }
  .js .reveal .note-hand { clip-path: none; }
  .dhow, .js .hero .note-hand { animation: none; }
}
