/* ============================================================
   NASPEN — the inner pages. Loaded after base.css and sections.css.
   Every page runs the same day: a night hero, folded-paper panels in daylight, a warm closing band, a night footer.
   ============================================================ */

/* ---------- the hero: the headline's full stop lifts off and lights the set (scene.js) ---------- */
.hero { isolation: isolate; overflow: clip; display: grid; align-items: center; min-height: min(100svh, 900px);   /* fills the first screen, so the cut to daylight comes with the first scroll, not as a sliver at the bottom */
   padding-top: clamp(116px, 16svh, 176px); }
.hero-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 68px); align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-set { position: relative; z-index: 1; aspect-ratio: 16 / 11.5; }
.hero.solo .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero.solo .hero-copy { max-width: 980px; padding-block: clamp(30px, 8svh, 90px); }
.h1 { font-size: clamp(38px, 4.7vw, 72px); font-weight: 780; font-stretch: 114%; line-height: .97; letter-spacing: -.04em; text-wrap: balance; }
.hero.solo .h1 { font-size: clamp(42px, 7vw, 104px); }
/* a short headline broken by hand onto two lines ("Watched. Wanted. / Bought." on /work/). Its longer line is 8.65em, so the
   size stops at 68px where the hero's column stops growing (about 610px), and on phones it follows the screen width */
.h1.slogan { font-size: min(clamp(38px, 4.7vw, 68px), (100vw - 2 * var(--gut)) / 8.9); text-wrap: wrap; }
.hero.reads .h1 { font-size: clamp(31px, 3.7vw, 56px); line-height: 1.02; letter-spacing: -.032em; }   /* an article: a longer headline, set smaller */
.h1 .perch { white-space: nowrap; }
/* the full stop. Without the scene it is simply a red full stop; with it, the canvas draws it so it can fly */
.h1 .stop { display: inline-block; width: .205em; height: .205em; margin-left: .045em; border-radius: 50%; background: var(--red); }
.hero.has-scene .h1 .stop { background: transparent; }
.h1 .q { color: var(--red); }
.hero .lede { margin-top: clamp(16px, 2.2vw, 28px); max-width: 46ch; font-size: clamp(17px, .9vw + 12.5px, 22px); line-height: 1.4; letter-spacing: -.008em; color: #C9CCEE; text-wrap: pretty; }
.hero-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(22px, 2.8vw, 36px); }
.hero-go .link { font-size: 17px; color: #E8EAFF; border-bottom-color: rgba(232,234,255,.34); }
.hero-go .link:hover { border-bottom-color: var(--red); }
.crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font: 500 11px/1 var(--f-m); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: #B9BDEA; transition: gap .3s var(--ease), color .25s; }
.crumb::before { content: "←"; } .crumb:hover { gap: 12px; color: #fff; }
.byline { margin-top: 18px; font: 400 11px/1.6 var(--f-m); font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
/* a framed set: the same little scenes as the cards, large. Dark until the light reaches it */
.hero-set.framed { aspect-ratio: 320 / 200; border-radius: var(--r); overflow: hidden; background: #0D0F2B; border: 1px solid rgba(255,255,255,.14); }
.hero-set.framed svg { width: 100%; height: 100%; transition: filter 1.2s var(--ease); }
.js .hero.has-scene .hero-set.framed:not(.is-lit) svg { filter: brightness(.42) saturate(.6); }
/* one line under a set you can play with. It arrives after the light does */
.set-hint { display: none; position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 500 10px/1.5 var(--f-m); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: #A9ADD6; }
.js .hero.has-scene .set-hint { display: block; opacity: 0; animation: fadeUp 1s var(--ease) 3.7s forwards; }
.js .hero[data-scene="fold"] .set-hint { animation-delay: 6.3s; }   /* once the sheet has finished folding */
/* the services page: the five service scenes take turns in one frame, the way a story does. The bars along its top keep time,
   and the sentence beside it warms the name of whichever one is on (site.js). Each scene plays its small moment as it arrives */
.hero-side { position: relative; z-index: 1; min-width: 0; }
.reel { cursor: pointer; }
.hero-set.reel svg { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease), filter 1.2s var(--ease); }
.hero-set.reel svg.is-on { opacity: 1; z-index: 2; } .hero-set.reel svg.was-on { opacity: 1; z-index: 1; }
.reel-bars { position: absolute; z-index: 3; inset: 16px 18px auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; transition: opacity 1s var(--ease); }
.reel-bars i { height: 3px; border-radius: 3px; background: rgba(255,255,255,.24); overflow: hidden; }
.reel-bars i::after { content: ""; display: block; height: 100%; background: #F4F1FF; transform: scaleX(0); transform-origin: 0 50%; }
.reel-bars .is-done::after { transform: none; }
.reel-bars .is-on::after { transform: none; animation: reelFill 4.8s linear backwards; }
.reel.is-held .reel-bars .is-on::after { animation-play-state: paused; }
@keyframes reelFill { from { transform: scaleX(0); } }
.reel-cap { display: flex; justify-content: space-between; gap: 16px; margin: 14px 6px 0; font: 500 10px/1.5 var(--f-m); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: #A9ADD6; transition: opacity 1s var(--ease); }
.reel-cap span:first-child { color: #F4F1FF; }
.js .hero.has-scene .reel:not(.is-lit) .reel-bars, .js .hero.has-scene .reel:not(.is-lit) + .reel-cap { opacity: 0; }
html:not(.js) .reel-bars { display: none; }
.reel svg.is-on .a-thread { animation-play-state: running; }
.reel svg.is-on .pair-l { transform: translateX(12px); transition-delay: .5s; } .reel svg.is-on .pair-r { transform: translateX(-12px); transition-delay: .5s; }
.reel svg.is-on .a-flash { opacity: 1; animation: flash .55s steps(1) .6s backwards; }
.reel svg.is-on .a-pop { transform: translateY(-7px) rotate(-5deg) scale(1.07); transition-delay: .5s; }
.reel svg.is-on .a-pop.p2 { transform: translateY(-5px) rotate(6deg) scale(1.07); transition-delay: .57s; }
.reel svg.is-on .a-pop.p3 { transform: translateY(-9px) rotate(-2deg) scale(1.07); transition-delay: .64s; }
.reel svg.is-on .a-yes { transform: translate(12px, 6px); transition-delay: .5s; } .reel svg.is-on .a-no { transform: translateX(-9px); opacity: .26; transition-delay: .5s; }
.lede a[data-reel] { border-bottom: 1.5px solid rgba(232,234,255,.28); transition: color .5s var(--ease), border-color .5s var(--ease); }
.lede a[data-reel]:hover, .lede a[data-reel].is-on { color: #fff; border-bottom-color: var(--red); }
/* the contact page: the set is the form itself. The crane lands on its top edge and watches what you write */
.hero.has-form { padding-top: clamp(166px, 21svh, 196px); }   /* room above the form for the crane to stand on it, clear of the bar */
.hero.has-form .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.hero.has-form, .hero.has-form .hero-grid { align-items: start; }   /* the form grows and shrinks with who's asking: its top, the crane on it and the words beside it stay put */
.hero-set.holds-form { aspect-ratio: auto; }
.hero .form { gap: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
[data-light="night"] .form { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.16); backdrop-filter: none; -webkit-backdrop-filter: none; transition: border-color 1.4s var(--ease); }
.hero-set.is-lit .form { border-color: rgba(255,214,150,.44); }
[data-light="night"] .field input[type="text"], [data-light="night"] .field input[type="email"], [data-light="night"] .field input[type="tel"], [data-light="night"] .field textarea { background: rgba(255,255,255,.08); color: var(--fg); caret-color: var(--red); }
[data-light="night"] .field input:focus, [data-light="night"] .field textarea:focus { background: rgba(255,255,255,.12); border-color: var(--red); }
[data-light="night"] .field input:-webkit-autofill { -webkit-text-fill-color: #F4F1FF; transition: background-color 99999s; }
[data-light="night"] .radios span { background: rgba(255,255,255,.08); }
[data-light="night"] .radios input:checked + span { background: var(--fg); color: #17163B; }
[data-light="night"] .radios input:focus-visible + span { outline-color: var(--red); }
[data-light="night"] .form-err { color: #FF9DB5; }
[data-light="night"] .field .is-bad { border-color: #CC071E; }
[data-light="night"] .radios.is-bad span { outline-color: #CC071E; }
.field .opt { opacity: .7; }
.hero .reach { margin-top: clamp(22px, 3vw, 36px); max-width: 30em; }
.js .hero-copy > * { opacity: 0; animation: fadeUp 1s var(--ease) forwards; animation-delay: calc(.12s + var(--n, 0) * .11s); }
.hero-copy > :nth-child(2) { --n: 1; } .hero-copy > :nth-child(3) { --n: 2; } .hero-copy > :nth-child(4) { --n: 3; } .hero-copy > :nth-child(5) { --n: 4; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- in short: one paragraph, a few facts ---------- */
.short { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 84px); align-items: start; }
.short > p { font-size: clamp(19px, 1.5vw + 8px, 27px); font-weight: 460; line-height: 1.36; letter-spacing: -.014em; text-wrap: pretty; }
.kv { margin: 0; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 8.6em 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.kv dt, .reach dt, .cap { font: 500 10px/1.5 var(--f-m); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.kv dt, .reach dt { padding-top: .32em; } .kv dd { margin: 0; }

/* ---------- walkthrough: one example, part by part ---------- */
.walk { display: grid; grid-template-columns: minmax(176px, .46fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 46px); align-items: start; }
.walk-tabs { display: none; }
.walk.is-js .walk-tabs { display: grid; gap: 4px; position: sticky; top: 104px; }
.walk-tabs button { display: flex; align-items: baseline; gap: 12px; padding: 12px 15px; border-radius: var(--r-sm); text-align: left; font-weight: 640; font-stretch: 104%; color: var(--mut); transition: background-color .3s, color .3s; }
.walk-tabs button small { font: 500 10px/1 var(--f-m); font-stretch: 80%; letter-spacing: .08em; opacity: .75; }
.walk-tabs button:hover { color: var(--fg); }
.walk-tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.walk:not(.is-js) { grid-template-columns: 1fr; } .walk:not(.is-js) .walk-panel + .walk-panel { margin-top: 44px; }
.walk-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(18px, 3vw, 46px); align-items: start; }
.walk-panel[hidden] { display: none; }
.walk.is-js .walk-panel { animation: panelIn .6s var(--ease); }
.walk-copy h3 { font-size: clamp(25px, 2.5vw, 36px); font-weight: 740; font-stretch: 110%; letter-spacing: -.028em; line-height: 1.04; margin-bottom: 12px; }
.walk-copy p { color: var(--mut); max-width: 44ch; }
.ticks { margin-top: 18px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.35; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: calc(11px + .42em); width: 8px; height: 9px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
/* the example artefacts, drawn as small working documents */
.rows.r-kv li { grid-template-columns: 6.6em 1fr; align-items: start; }
.rows.r-time li { grid-template-columns: 3.4em 5.2em 1fr; align-items: start; }
.rows.r-day li { grid-template-columns: 3.2em 5.2em 1fr auto; align-items: start; }
.rows.r-pick li { grid-template-columns: 6.4em 3.6em 1fr auto; align-items: start; }
.rows.r-kv b, .rows.r-time b, .rows.r-day b { font: 500 10px/1.9 var(--f-m); font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.rows.r-kv span, .rows.r-time span, .rows.r-day span, .rows.r-pick span { color: var(--fg); }
.rows.r-time i, .rows.r-day i { font-style: normal; font-weight: 660; }
.walk .inbox li { grid-template-columns: 1fr auto; gap: 4px 12px; } .walk .inbox li span { grid-column: 1 / -1; grid-row: 2; }   /* a narrower sheet: the offer goes under the name */
.walk.is-js .walk-panel .sheet .rows li, .walk.is-js .walk-panel .sheet .quote, .walk.is-js .walk-panel .two-lists li { animation: rowIn .55s var(--ease) backwards; }   /* each document fills in, a line at a time */
.walk-panel .rows li:nth-child(2), .walk-panel .two-lists li:nth-child(1) { animation-delay: .06s; } .walk-panel .rows li:nth-child(3), .walk-panel .two-lists li:nth-child(2) { animation-delay: .12s; }
.walk-panel .rows li:nth-child(4), .walk-panel .two-lists li:nth-child(3) { animation-delay: .18s; } .walk-panel .rows li:nth-child(5) { animation-delay: .24s; } .walk-panel .rows li:nth-child(6) { animation-delay: .3s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }
.rows li.is-cut { opacity: .5; } .rows li.is-fit { background: rgba(204,7,30,.07); } .rows li.is-fit em { color: var(--red); }
.sheet-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 10px 18px; margin: 0 0 14px; padding: 2px 4px; }
.sheet-facts div { display: grid; gap: 1px; } .sheet-facts dd { margin: 0; font-weight: 640; font-size: 15.5px; }
.quote { font-size: clamp(21px, 1.9vw, 28px); font-weight: 700; font-stretch: 106%; letter-spacing: -.022em; line-height: 1.14; margin: 4px 4px 16px; text-wrap: balance; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two-lists ul { display: grid; gap: 6px; align-content: start; } .two-lists .cap { margin: 0 4px 6px; }
.two-lists li { padding: 10px 13px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--fg) 4.5%, transparent); font-size: 15.5px; line-height: 1.25; }
.two-lists .not li { opacity: .5; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.spark { display: block; width: 100%; height: auto; margin: 2px 0 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--fg) 4.5%, transparent); }
/* a paid partnership post. Named "boost", because content blockers hide anything whose class begins with "ad" */
.boost { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.boost-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; font-weight: 660; font-size: 15px; }
.boost-art { aspect-ratio: 320 / 150; background: #0D0F2B; } .boost-art svg { width: 100%; height: 100%; }
.boost p { padding: 12px 14px 14px; font-size: 15.5px; line-height: 1.35; }

/* ---------- pairs and fours ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
.duo > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.6vw, 34px) clamp(20px, 2.6vw, 34px) clamp(12px, 1.6vw, 20px); }
.duo h3 { font-size: clamp(21px, 1.9vw, 28px); font-weight: 720; font-stretch: 108%; letter-spacing: -.022em; margin-bottom: 14px; }
.duo li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid var(--line); line-height: 1.36; }
.duo li::before { content: ""; position: absolute; left: 2px; top: calc(13px + .44em); width: 9px; height: 10px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.duo .no li { color: var(--mut); } .duo .no li::before { top: calc(13px + .7em); width: 11px; height: 2px; clip-path: none; background: var(--mut); border-radius: 2px; }
.fours { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); counter-reset: f; }
.fours.three { grid-template-columns: repeat(3, 1fr); } .fours.five { grid-template-columns: repeat(5, 1fr); }
.fours > li { counter-increment: f; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 24px; }
.fours h3 { font-size: clamp(19px, 1.5vw, 23px); font-weight: 720; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 8px; text-wrap: balance; }
.fours p { color: var(--mut); font-size: 16px; line-height: 1.45; }
.fours.count > li::before { content: counter(f) " / " attr(data-of); display: block; margin-bottom: 26px; font: 500 10px/1 var(--f-m); font-stretch: 80%; letter-spacing: .1em; color: var(--mut); }
.aside { margin-top: clamp(18px, 2vw, 28px); color: var(--mut); max-width: 62ch; }
.aside a, .kv a, .prose a, .faq p a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 84px); align-items: start; }
.sets.trio { grid-template-columns: repeat(3, 1fr); }

/* what we choose over what we leave out: the first word in ink, the rest in the shade */
.creed { border-top: 1px solid var(--line); }
.creed li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 8px clamp(18px, 2.4vw, 34px); align-items: start; padding: clamp(15px, 1.6vw, 21px) 0; border-bottom: 1px solid var(--line); }
.creed h3 { font-size: clamp(23px, 2.2vw, 32px); font-weight: 760; font-stretch: 110%; letter-spacing: -.028em; line-height: 1.02; }
.creed h3 span { display: block; color: var(--mut); font-weight: 480; }
.creed p { color: var(--mut); font-size: 16.5px; line-height: 1.45; padding-top: .2em; }
/* a service, explained: what it is on the left, one working document on the right */
.how { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 84px); align-items: start; }
.how .sheet { position: sticky; top: 104px; }
.blocks { border-top: 1px solid var(--line); }
.blocks > li { padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); }
.blocks h3 { font-size: clamp(21px, 1.9vw, 27px); font-weight: 720; font-stretch: 108%; letter-spacing: -.022em; line-height: 1.1; margin-bottom: 8px; }
.blocks p { color: var(--mut); max-width: 52ch; }
.blocks .ticks { margin-top: 14px; } .blocks .ticks li:last-child { border-bottom: 0; padding-bottom: 0; }
.blocks .link { margin-top: 14px; font-size: 16px; }
.sec-head .body a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .18em; }
/* the process line, when it follows a section heading: just enough headroom for the crane to stand on it */
.sec-head + .thread { margin-top: clamp(36px, 3.4vw, 44px); }

/* ---------- the services page: each service as an entry that still makes sense when it is quoted on its own ---------- */
.svcs { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 18px clamp(24px, 5vw, 84px); align-items: start; padding: clamp(24px, 2.8vw, 38px) 0; border-bottom: 1px solid var(--line); }
.svc header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; }
.svc h3 { font-size: clamp(26px, 2.5vw, 36px); font-weight: 760; font-stretch: 110%; letter-spacing: -.028em; line-height: 1.04; }
.svc h3 a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .16em; transition: text-decoration-color .3s; }
.svc h3 a:hover { text-decoration-color: var(--red); }
.svc-main > p { max-width: 40ch; font-size: clamp(17.5px, .5vw + 14.5px, 20px); font-weight: 460; line-height: 1.4; letter-spacing: -.008em; text-wrap: pretty; }
.svc-main > p b { font-weight: 660; color: var(--fg); }   /* the line that sells the service, before the plain description */
.svc-main .link { margin-top: 16px; font-size: 16px; }
.svc .kv { border-top: 0; font-size: 16.5px; line-height: 1.42; }
.svc .kv > div { grid-template-columns: 7.8em 1fr; padding: 12px 0; }
.svc .kv > div:first-child { padding-top: 4px; } .svc .kv > div:last-child { padding-bottom: 0; border-bottom: 0; }
/* which service for which situation: a real table, so people and machines can both read it */
.tbl.pick { border-radius: var(--r); }
.tbl.pick table { font-size: 16.5px; line-height: 1.38; }
.tbl.pick th, .tbl.pick td { padding: 15px clamp(14px, 1.9vw, 26px); }
.tbl.pick thead th { padding-block: 16px 12px; }
.tbl.pick tbody th[scope="row"] { width: 37%; font-weight: 620; letter-spacing: -.008em; }
.tbl.pick td:nth-child(2) { width: 25%; font-weight: 680; }
.tbl.pick td:nth-child(2) a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.tbl.pick td:last-child { color: var(--mut); }
.tbl.pick .grp th { padding-block: 20px 6px; border-bottom: 0; font: 500 10px/1.5 var(--f-m); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.tbl.pick .grp th::before { content: ""; display: inline-block; width: 8px; height: 9px; margin-right: 10px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.tbl.pick tbody + tbody { border-top: 1px solid var(--line); }
.tbl.pick tbody tr:not(.grp) { transition: background-color .3s; } .tbl.pick tbody tr:not(.grp):hover { background: color-mix(in srgb, var(--fg) 3.5%, transparent); }


/* ---------- articles ---------- */
.article { position: relative; }
.article .wrap { max-width: 720px; }
.tldr { margin-bottom: clamp(26px, 3.4vw, 44px); padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.tldr .label { margin-bottom: 10px; } .tldr p:last-child { font-size: clamp(17px, .4vw + 15px, 19px); line-height: 1.52; }
.prose { font-size: clamp(17.5px, .5vw + 14.5px, 20px); line-height: 1.62; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(25px, 2.4vw, 34px); font-weight: 740; font-stretch: 108%; letter-spacing: -.026em; line-height: 1.12; text-wrap: balance; }
.prose h3 { margin-top: 1.7em; font-size: 1.14em; font-weight: 700; letter-spacing: -.012em; line-height: 1.25; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose strong { font-weight: 680; }
.prose ul, .prose ol { display: grid; gap: .55em; padding-left: 1.5em; }
.prose ol { list-style: decimal; } .prose ol li::marker { font: 500 .72em var(--f-m); color: var(--mut); }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: -1.3em; top: .56em; width: 8px; height: 9px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.prose blockquote { padding-left: 1em; border-left: 3px solid var(--red); font-size: 1.1em; font-weight: 560; line-height: 1.42; }
.prose .src { font-size: .8em; color: var(--mut); }
.tbl { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.tbl table { width: 100%; border-collapse: collapse; font-size: .86em; line-height: 1.4; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { font: 500 10px/1.5 var(--f-m); font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.tbl tbody th { font-weight: 680; } .tbl tbody tr:last-child > * { border-bottom: 0; }
.prose + .faq-head, .faq-head { margin-top: clamp(40px, 5vw, 64px); }
.article .faq { margin-top: 16px; }
/* how far you have read: the crane walks the line beside the text, and settles whenever you stop */
.rail { display: none; }
@media (min-width: 1100px) {
  .rail { display: block; position: absolute; top: var(--pad); bottom: var(--pad); left: calc(50% - 360px - clamp(40px, 6vw, 110px)); width: 2px; border-radius: 2px; background: var(--line); }
  .rail i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); border-radius: 2px; background: var(--red); }
  .rail canvas { --s: 68px; position: sticky; top: 40vh; margin-left: -33px; }
}

/* ---------- the journal ---------- */
/* the kinds of post, as plain tabs along a hairline. The one you're on is underlined in red, as the bar marks the page you're on */
.jbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 24px; margin-bottom: clamp(24px, 3vw, 38px); border-bottom: 1px solid var(--line); }
.jfilter { display: flex; gap: clamp(20px, 2.6vw, 36px); }
.jfilter button { position: relative; padding: 12px 0 14px; font-size: 16px; font-weight: 560; color: var(--mut); white-space: nowrap; transition: color .25s; }
.jfilter button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.jfilter button:hover, .jfilter button[aria-pressed="true"] { color: var(--fg); }
.jfilter button[aria-pressed="true"]::after { transform: none; }
.jbar .cap { padding-bottom: 15px; }
.posts.all, .posts.trio { grid-template-columns: repeat(3, 1fr); }
.posts li[hidden] { display: none; }
.post-dek { margin: 8px 12px 0; color: var(--mut); font-size: 15.5px; line-height: 1.42; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.more-row { display: grid; justify-items: center; margin-top: clamp(22px, 3vw, 36px); }
.more-row[hidden] { display: none; }
.btn-line { background: transparent; color: var(--fg); border: 1.5px solid color-mix(in srgb, var(--fg) 30%, transparent); }
.btn-line:hover { background: var(--fg); color: var(--bg); }

/* ---------- the journal, read in daylight ----------
   The journal is a reading room, so its pages (class "paper") skip the night opening and the warm closing band: they open
   in daylight with a compact header and end on a light card (.ask). Their scenes stand on pale sweeps instead of the night
   sky (tools/build.py swaps that gradient on these pages). The ground is the same light grey as every daytime section. */
/* no night behind the bar on these pages, so it shows its pill from the top */
body:has(main > .paper:first-child) .nav:not(.is-open) { background: color-mix(in srgb, var(--bg) 94%, transparent); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
.paper .crumb { color: var(--mut); } .paper .crumb:hover { color: var(--fg); }
.byline a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1.5px; text-underline-offset: .3em; transition: text-decoration-color .25s; }   /* who wrote it: the team, until posts carry a person's name */
.byline a:hover { text-decoration-color: var(--red); }
.paper .post-art, .paper .hero-set.framed { background: #DADEF6; }
.paper .hero-set.framed { border-color: var(--line); }
/* each kind of post stands on its own pale sweep, so colour says what it is: guides blue (the sweep itself), playbooks lilac,
   posts for creators warm, point of view rose (the gradients are SWEEPS in tools/build.py). The drawings sit a little closer
   than elsewhere, so the object fills the frame instead of floating in it */
.paper [data-kind="playbook"] rect[fill="url(#gNight)"] { fill: url(#gDayPlaybook); }
.paper [data-kind="creators"] rect[fill="url(#gNight)"] { fill: url(#gDayCreators); }
.paper [data-kind="pov"] rect[fill="url(#gNight)"] { fill: url(#gDayPov); }
.paper .post-art svg, .paper .jfeature-art svg, .paper .hero-set.framed svg { transform: scale(1.08); transform-origin: 50% 60%; }
.jhead .lede, .ahead .lede { margin-top: clamp(14px, 1.8vw, 24px); max-width: 52ch; font-size: clamp(17px, .7vw + 12.5px, 21px); line-height: 1.45; letter-spacing: -.006em; color: var(--mut); text-wrap: pretty; }
/* the journal's front page: its title on the left and its lead story large on the right, as a magazine's cover has them */
.jhead { padding-top: clamp(120px, 15svh, 168px); padding-bottom: clamp(34px, 4vw, 60px); }
.jhead-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4.6vw, 76px); align-items: center; }
.jhead .h1 { font-size: clamp(38px, 4.5vw, 62px); }   /* three lines, broken by hand. The longest, "Notes on culture,", is 8.1em and must fit its column (528px at most) */
.jhead + .sec { padding-top: clamp(30px, 3.4vw, 52px); }
.jfeature a { display: block; }
.jfeature-art { display: block; aspect-ratio: 320 / 200; border-radius: var(--r); overflow: hidden; background: #DADEF6; }
.jfeature-art svg { width: 100%; height: 100%; }
.jfeature .post-meta { margin: 18px 0 0; }
.jfeature h2 { margin-top: 8px; font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; font-stretch: 104%; letter-spacing: -.022em; line-height: 1.14; text-wrap: balance; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .16em; transition: text-decoration-color .3s; }
.jfeature .post-dek { margin: 10px 0 0; max-width: 58ch; font-size: 16.5px; -webkit-line-clamp: 2; }
.jfeature .post-go { margin: 14px 0 0; padding-top: 0; }
.jfeature a:hover h2 { text-decoration-color: var(--red); }
.jfeature a:hover .post-go::after { transform: translateX(4px); }
/* an article: the headline and its picture fill the first screen, and the reading starts just below them */
.ahead { padding-top: clamp(116px, 15svh, 164px); padding-bottom: clamp(16px, 2vw, 32px); }
.ahead-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 68px); align-items: center; }
.ahead .h1 { font-size: clamp(31px, 3.4vw, 52px); font-weight: 740; font-stretch: 106%; line-height: 1.05; letter-spacing: -.03em; }
.ahead .lede { max-width: 44ch; }
main > .ahead + .article { border-top: 0; padding-top: clamp(28px, 3.4vw, 52px); }
@media (min-width: 1100px) { .ahead + .article .rail { top: clamp(28px, 3.4vw, 52px); } }
/* easier on the eyes over a long read: the text a shade softer than its headings, and headings that don't shout */
.paper .prose { color: color-mix(in srgb, var(--fg) 88%, var(--bg)); }
.paper .prose h2, .paper .prose h3, .paper .prose strong, .paper .prose a { color: var(--fg); }
.paper .prose h2 { font-size: clamp(24px, 2vw, 30px); font-weight: 690; font-stretch: 102%; letter-spacing: -.02em; line-height: 1.16; }
.paper .prose h3 { font-weight: 660; }
.paper .prose strong { font-weight: 640; }
.paper .faq-head { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; font-stretch: 104%; }
.paper .journal-grid .h3 { font-size: clamp(26px, 2.6vw, 36px); }
/* the closing ask: the golden-hour band's offer as one card */
.ask { position: relative; container-type: inline-size; margin-top: clamp(48px, 5.4vw, 76px); padding: clamp(22px, 3vw, 38px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.ask .label { margin-bottom: 12px; }
.ask .h3 { font-size: min(clamp(26px, 2.8vw, 40px), (100vw - 2 * var(--gut) - 52px) / 10.6); }
.ask .body { margin-top: 10px; max-width: 46ch; }
.ask-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(18px, 2.2vw, 26px); }
@container (min-width: 820px) {   /* wide, under the journal's posts: the offer on the left, the ways in on the right */
  .ask-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: end; }
  .ask-go { margin-top: 0; }
}

/* ---------- the form, in daylight ---------- */
[data-light="day"] .form { border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
[data-light="day"] .field input[type="text"], [data-light="day"] .field input[type="email"], [data-light="day"] .field input[type="tel"], [data-light="day"] .field textarea, [data-light="day"] .radios span { background: color-mix(in srgb, var(--fg) 6%, #fff); }
[data-light="day"] .field input:focus, [data-light="day"] .field textarea:focus { background: #fff; }
[data-light="day"] .radios input:checked + span { background: var(--fg); color: var(--bg); }
.reach { display: grid; gap: 0; margin-top: clamp(20px, 2.6vw, 32px); border-top: 1px solid var(--line); }
.reach > div { display: grid; grid-template-columns: 6.4em 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.reach dd { margin: 0; } .reach a { font-weight: 660; border-bottom: 2px solid var(--red); }

.hero-set.framed { view-transition-name: set; }

@media (max-width: 1080px) {
  .fours, .fours.five { grid-template-columns: repeat(2, 1fr); }
  .posts.all { grid-template-columns: repeat(2, 1fr); }
  .posts.trio { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding: 8px var(--gut) 6px; scrollbar-width: none; }
  .walk, .walk.is-js { grid-template-columns: 1fr; }
  .walk.is-js .walk-tabs { position: static; display: flex; gap: 6px; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 8px; scrollbar-width: none; }
  .walk-tabs::-webkit-scrollbar { display: none; }
  .walk-tabs button { flex: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero.has-form { padding-top: clamp(116px, 16svh, 176px); }
  .hero.has-form .hero-grid { grid-template-columns: 1fr; } .hero-set.holds-form { margin-top: 96px; }
  /* on a phone the form comes straight after the headline, and the other ways to reach us follow it */
  .hero.has-form .hero-copy { display: contents; } .hero.has-form .hero-copy > * { position: relative; z-index: 3; }
  .hero.has-form .hero-set { order: 1; } .hero.has-form .reach { order: 2; max-width: none; }
  .how { grid-template-columns: 1fr; } .how .sheet { position: static; }
  .hero-grid, .ahead-grid, .jhead-grid { grid-template-columns: 1fr; gap: 10px; }
  .jhead .h1 { font-size: clamp(38px, 7vw, 60px); } .jfeature { margin-top: 26px; }
  .hero-set { aspect-ratio: 16 / 10.5; } .hero-set.framed { margin-top: 22px; }
  .short, .split, .walk-panel, .duo, .svc { grid-template-columns: 1fr; }
  .fours.three { grid-template-columns: 1fr; }
  .svc-main > p { max-width: 52ch; }
}
@media (max-width: 640px) {
  .fours, .fours.five, .posts.all { grid-template-columns: 1fr; }
  .jbar { flex-wrap: wrap; } .jbar .cap { order: -1; width: 100%; padding: 0; }   /* the count above, the tabs scroll sideways */
  .jfilter { width: calc(100% + 2 * var(--gut)); margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); overflow-x: auto; scrollbar-width: none; }
  .jfilter::-webkit-scrollbar { display: none; }
  .posts.all { display: grid; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; } .posts.all li { flex: none; }
  .kv > div, .reach > div { grid-template-columns: 1fr; gap: 2px; }
  .field-row { grid-template-columns: 1fr; }
  .creed li { grid-template-columns: 1fr; } .creed h3 span { display: inline; }
  .sec-head + .thread { margin-top: 0; }
  .rows.r-kv li { grid-template-columns: 1fr; gap: 2px; }
  .rows.r-time li { grid-template-columns: 3.4em 1fr; } .rows.r-time li span { grid-column: 2; }
  .rows.r-day li { grid-template-columns: 3.2em 1fr auto; } .rows.r-day li span { grid-column: 1 / -1; grid-row: 2; } .rows.r-day li em { grid-column: 3; grid-row: 1; }   /* the status stays on the first line, at the right */
  .rows.r-pick li { grid-template-columns: 1fr auto; } .rows.r-pick li span { grid-column: 1 / -1; } .rows.r-pick li em { grid-column: 2; grid-row: 1; }
  .sheet-facts { grid-template-columns: 1fr 1fr; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl tr { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); } .tbl tbody tr:last-child { border-bottom: 0; }
  .tbl th, .tbl td { padding: 4px 14px; border: 0; }
  .tbl td[data-label]::before { content: attr(data-label); display: block; font: 500 9.5px/1.6 var(--f-m); font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
  .tbl.pick tr { padding: 12px 0; } .tbl.pick tr.grp { padding: 14px 0 0; border-bottom: 0; }
  .tbl.pick th, .tbl.pick td { padding: 4px 16px; } .tbl.pick .grp th { padding-block: 4px; }
  .tbl.pick tbody th[scope="row"], .tbl.pick td:nth-child(2) { width: auto; }
  .tbl.pick tbody th[scope="row"] { font-size: 17.5px; padding-bottom: 6px; }
  .svc .kv > div { grid-template-columns: 1fr; }
}
html:not(.js) .jfilter, html:not(.js) .more-row { display: none; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > * { opacity: 1; }
  .js .hero.has-scene .set-hint { opacity: 1; }
}
