/* iVishwa rebirth: inner pages. Every section is a scene; every scene has a still version. */

:root { --error: #ff8a63; --ok: #86d9a6; interpolate-size: allow-keywords; }
:root[data-theme="day"] { --error: #b3300c; --ok: #1d6e3f; }
.deep { --bg: var(--bg-3); background: var(--bg); }

/* ---------- Page heads ---------- */
.ph { position: relative; padding: clamp(128px, 15vw, 200px) var(--gutter) clamp(40px, 6vw, 84px); }
/* widths in em, measured from the brand fonts' "0" (1ch): the same lines whichever font has loaded */
.ph h1 { font-size: clamp(3rem, 8.2vw, 8.6rem); max-width: 9.61em; margin-bottom: clamp(22px, 3vw, 36px); }
.ph .lede { max-width: 38em; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0 0 clamp(24px, 3vw, 40px); padding: 0; font: 500 .74rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--text-2); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-3); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* words rise into place behind an invisible edge */
.js .rise .w { display: inline-block; overflow: clip; overflow-clip-margin: .14em; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.js .rise .w > span { display: inline-block; transform: translateY(108%); }
.js .rise.in .w > span { animation: wrise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 42ms); }
@keyframes wrise { to { transform: none; } }

.band { padding: clamp(72px, 10vw, 150px) var(--gutter); border-top: 1px solid var(--line); }
.band.tea, .band.inv { border-top-color: transparent; }
.band-head { margin-bottom: clamp(32px, 5vw, 68px); }
.band-head h2 { font-size: clamp(2.3rem, 5vw, 5rem); max-width: 11.09em; }
.num { font: 500 .78rem/1 var(--font-mono); letter-spacing: .1em; color: var(--text-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(26px, 3vw, 40px); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: 500 .95rem/1 var(--font-text); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
button.chip span { font: 500 .72rem/1 var(--font-mono); color: var(--text-3); }
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip[aria-pressed="true"] span { color: inherit; opacity: .7; }
.chip:active { transform: scale(.97); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--sun); outline-offset: 3px; }

/* depth of field: point at one card and the others drift out of focus */
@media (hover: hover) and (pointer: fine) {
  .dof > * { transition: filter .45s var(--ease), opacity .45s var(--ease), transform .45s var(--ease); }
  .dof:has(> :hover) > :not(:hover) { filter: blur(2.5px); opacity: .45; }
  .dof > :hover { transform: translateY(-4px); }
}

/* ---------- A browser and a phone for recordings of real sites ---------- */
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.browser-bar b { margin: 0 auto; font: 500 .72rem/1 var(--font-mono); letter-spacing: .04em; color: var(--text-3); padding-right: 40px; }
.browser-view video, .browser-view img { width: 100%; height: auto; background: var(--bg-3); }
.phone { border-radius: clamp(22px, 3vw, 36px); border: clamp(5px, .7vw, 9px) solid #0c0b09; background: #0c0b09; overflow: hidden; box-shadow: 0 50px 90px -40px rgb(0 0 0 / .8); }
.phone video, .phone img { width: 100%; height: auto; border-radius: clamp(16px, 2.2vw, 28px); }

/* ---------- Work: the projects stack up ---------- */
.stack { padding: 0 var(--gutter) 8vh; }
.sc { position: sticky; top: 92px; margin-bottom: 7vh; border-radius: clamp(20px, 2.4vw, 32px); overflow: hidden; background: var(--bg); color: var(--text); border: 1px solid var(--line); transform-origin: 50% 0; transform: perspective(1400px) rotateX(calc(var(--q, 0) * 5deg)) scale(calc(1 - var(--q, 0) * .07)); }
.sc:nth-child(2) { top: 106px; } .sc:nth-child(3) { top: 120px; } .sc:nth-child(4) { top: 134px; } .sc:nth-child(5) { top: 148px; } .sc:nth-child(6) { top: 162px; }
.sc::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--q, 0) * .55); pointer-events: none; }
.sc-in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; min-height: min(76vh, 760px); padding: clamp(18px, 3vw, 44px); text-decoration: none; }
.sc-media { transition: transform .8s var(--ease); }
.sc-in:hover .sc-media { transform: scale(1.015) rotate(-.4deg); }
.sc-copy h2 { font-size: clamp(2.4rem, 4.6vw, 5rem); margin: 14px 0 16px; }
.sc-n { color: var(--sun-txt); }
.sc-line { margin: 0 0 22px; color: var(--text-2); font-size: clamp(1rem, .9rem + .3vw, 1.15rem); max-width: 30em; }
.sc-meta { display: flex; gap: 18px; margin: 0 0 26px; font: 500 .78rem/1 var(--font-mono); letter-spacing: .06em; color: var(--text-3); }
.sc-go { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; border-bottom: 2px solid var(--sun); padding-bottom: 6px; }
.sc-in:hover .arr { transform: translateX(5px); }
.arr { display: inline-block; transition: transform .35s var(--ease); }
.cursor-lens { position: fixed; left: 0; top: 0; z-index: 40; width: 96px; height: 96px; margin: -48px 0 0 -48px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); color: var(--sun-ink); font: 600 .9rem/1 var(--font-text); pointer-events: none; scale: 0; transition: scale .45s var(--ease); }
.cursor-lens.on { scale: 1; }

.table-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.table-list li { border-bottom: 1px solid var(--line); }
.table-list a { display: grid; grid-template-columns: 5.5rem minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) 5rem; gap: 10px clamp(14px, 2.4vw, 36px); align-items: baseline; padding: clamp(18px, 2vw, 26px) 4px; text-decoration: none; color: var(--text-2); transition: padding-left .45s var(--ease), background-color .3s, color .3s; }
.table-list a:hover, .table-list a:focus-visible { padding-left: 18px; background: color-mix(in srgb, var(--text) 4%, transparent); color: var(--text); }
.table-list b { font: 600 clamp(1.15rem, .95rem + .8vw, 1.7rem)/1.2 var(--font-text); letter-spacing: -.012em; color: var(--text); }
.table-list span:last-child { text-align: right; font: 500 .78rem/1 var(--font-mono); color: var(--text-3); }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; overflow: hidden; pointer-events: none; opacity: 0; scale: .35; transition: opacity .35s, scale .55s var(--ease); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--bone) 80%, transparent), 0 0 0 8px color-mix(in srgb, var(--sun) 22%, transparent), 0 34px 70px -20px rgb(0 0 0 / .65); }
.peek.on { opacity: 1; scale: 1; }
.peek-img { position: absolute; inset: -14%; background-size: cover; background-position: center; }

/* ---------- Case study ---------- */
.ph-case h1 { font-size: clamp(3.4rem, 10vw, 10.5rem); max-width: 8.87em; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px clamp(20px, 3vw, 44px); margin: 0 0 34px; padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); max-width: 1100px; }
.meta dd { margin: 8px 0 0; font-weight: 600; }
.cs-note { margin: 30px 0 0; max-width: 46em; padding: 18px 22px; border-radius: 14px; background: var(--bg-2); border: 1px dashed var(--line-2); color: var(--text-2); font-size: .95rem; }
.cs-note b { color: var(--text); }

.devices { position: relative; padding: 0 var(--gutter) clamp(60px, 8vw, 120px); perspective: 1800px; --p: 1; }
.dv-desk { max-width: 1240px; margin: 0 auto; transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p)) * 22deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)) translateY(calc((1 - var(--p)) * 60px)) scale(calc(.9 + var(--p) * .1)); transition: transform .3s linear; will-change: transform; }
.dv-phone { position: absolute; right: max(var(--gutter), calc(50% - 680px)); bottom: clamp(30px, 5vw, 80px); width: clamp(110px, 17vw, 250px); transform: translateY(calc((1 - var(--p)) * 160px)) rotate(calc((1 - var(--p)) * 6deg)); transition: transform .3s linear; }

.glow { margin: 0; font: 500 clamp(1.4rem, 2.5vw, 2.4rem)/1.28 var(--font-text); letter-spacing: -.012em; max-width: 26.08em; text-wrap: pretty; }
.glow.big { font-size: clamp(1.6rem, 3.3vw, 3.3rem); max-width: 22.16em; }
.glow.lit .gw { opacity: calc(.6 + .4 * clamp(0, var(--p, 0) * var(--n, 1) * 1.15 - var(--i, 0), 1)); transition: opacity .25s linear; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 90px); margin-top: clamp(56px, 7vw, 100px); }
.two h3 { margin: 0 0 22px; }
.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.asks li { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.2; padding-left: 1.1em; position: relative; }
.asks li::before { content: "\201C"; position: absolute; left: 0; top: -.08em; color: var(--sun-txt); font-size: 1.3em; }
.needs { list-style: none; counter-reset: n; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.needs li { counter-increment: n; display: grid; grid-template-columns: 3rem 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.needs li::before { content: counter(n, decimal-leading-zero); font: 500 .76rem/1.9 var(--font-mono); color: var(--sun-txt); }

.chapters { padding: clamp(72px, 10vw, 150px) var(--gutter) 0; border-top: 1px solid var(--line); }
.ch-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); }
.ch-stage { position: sticky; top: 13vh; height: 74vh; display: grid; place-items: center; }
.ch-frame { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; clip-path: circle(0% at 50% 50%); transition: clip-path 1.1s var(--ease), opacity .5s; }
.ch-frame.on { opacity: 1; clip-path: circle(80% at 50% 50%); }
.ch-frame > video, .ch-frame > img { max-width: 100%; max-height: 74vh; width: auto; height: auto; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: var(--shadow); object-fit: contain; }
.ch-frame > .embed, .ch-frame > .spec-card { width: 100%; }
.embed { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); }
.spec-card { padding: clamp(24px, 3vw, 44px); border-radius: 20px; background: var(--tea); color: var(--bone); }
.spec-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem); }
.spec-card li { padding-left: 28px; position: relative; }
.spec-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--ember); }
.spec-card .k { color: #c9d3c6; }
.ch-count { position: absolute; left: 0; bottom: -6px; margin: 0; }
.ch-count b { color: var(--text); }
.ch-list { list-style: none; margin: 0; padding: 6vh 0 30vh; }
.ch { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.ch > :is(h3, p, .link) { transition: color .5s var(--ease); }
.ch-list:has(.ch.on) .ch:not(.on) > :is(h3, p, .link) { color: var(--text-3); }
.ch-n { font: 500 .8rem/1 var(--font-mono); color: var(--sun-txt); letter-spacing: .1em; }
.ch h3 { margin: 0; font: 600 clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem)/1.1 var(--font-text); letter-spacing: -.02em; }
.ch p { margin: 0; color: var(--text-2); max-width: 34em; }
.ch-media-sm { display: none; }
.ticks-list { margin: 0; padding-left: 1.1em; color: var(--text-2); }

.quote-band { text-align: left; }
.big-quote { margin: 0 auto; max-width: 1100px; }
.big-quote blockquote { margin: 18px 0 30px; font-size: clamp(1.7rem, 3.3vw, 3.3rem); line-height: 1.16; text-wrap: pretty; }
.big-quote figcaption { display: flex; gap: 14px; align-items: baseline; }
.big-quote figcaption span { color: var(--text-3); }
.stars { color: var(--sun-txt); letter-spacing: .2em; font-size: 1.2rem; }

.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 44px); }
.num-card { border-top: 1px solid var(--line-2); padding-top: 22px; }
.num-card .big { font-size: clamp(4rem, 8.5vw, 8.6rem); line-height: .9; margin: 0 0 16px; font-variant-numeric: tabular-nums; animation: breathe 5s ease-in-out infinite alternate; }
@keyframes breathe { from { --ctrs: 10; } to { --ctrs: 85; } }
.num-card p:last-child { margin: 0; color: var(--text-2); max-width: 24em; }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(40px, 5vw, 70px); padding: 0; }
.pills li { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .98rem; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(18px, 2vw, 28px) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track ul { display: flex; gap: clamp(28px, 4vw, 60px); margin: 0; padding: 0 clamp(28px, 4vw, 60px) 0 0; list-style: none; }
.mq-track li { font: 600 clamp(1.6rem, 3.4vw, 3.4rem)/1 var(--font-display); font-variation-settings: "CTRS" 40; white-space: nowrap; color: var(--text-3); }
.mq-track li:nth-child(odd) { color: var(--text); }
@keyframes mq { to { transform: translateX(-50%); } }

.next { padding: clamp(80px, 12vw, 170px) var(--gutter); border-top: 1px solid var(--line); overflow: hidden; --p: 1; }
.next-in { position: relative; display: grid; grid-template-rows: auto auto auto; place-items: center; gap: 22px; text-decoration: none; isolation: isolate; }
.next-title, .next-lens { grid-area: 2 / 1; }
.next-title { position: relative; z-index: 2; font-size: clamp(3.2rem, 12vw, 13rem); line-height: .9; text-align: center; color: #fff; mix-blend-mode: difference; transform: translateX(calc((1 - var(--p)) * -8vw)); transition: transform .3s linear; }
.next-lens { width: min(52vw, 620px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; clip-path: circle(calc(10% + var(--p) * 40%) at 50% 50%); transition: clip-path .3s linear; }
.next-lens img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.3 - var(--p) * .3)); transition: transform .9s var(--ease); }
.next-in:hover .next-lens img { transform: scale(1.06); }
.next-in > .k { grid-area: 1 / 1; }
.next-in > .next-kind { grid-area: 3 / 1; }

/* ---------- Services hub: the index and the lens ---------- */
.dial { position: relative; padding: 0 var(--gutter) clamp(60px, 8vw, 110px); }
.dial-pin { display: block; }
.dial-lens, .dial-text { display: none; }
.dial-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.dial-list a { display: grid; gap: 12px; padding: 14px 14px 22px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; height: 100%; transition: border-color .3s, transform .45s var(--ease); }
.dial-list a:hover { border-color: var(--line-2); transform: translateY(-4px); }
.dl-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.dial-list b { font: 600 1.5rem/1.15 var(--font-text); letter-spacing: -.015em; }
.dl-text { color: var(--text-2); }
.dl-go { font-weight: 600; color: var(--text); }
.dial.pinned { height: 420vh; padding: 0; }
.dial.pinned .dial-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 5vw, 90px); padding: 96px var(--gutter) 40px; }
.dial.pinned .dial-list { display: block; }
.dial.pinned .dial-list a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; background: none; border: 0; border-radius: 0; transform: none; color: var(--text-3); }
.dial.pinned .dl-media, .dial.pinned .dl-text, .dial.pinned .dl-go { display: none; }
.dial.pinned .dial-list b { font: 600 clamp(1.8rem, 3.3vw, 3.5rem)/1.06 var(--font-display); font-variation-settings: "CTRS" var(--ctrs); --ctrs: 20; letter-spacing: calc(-.012em + (85 - var(--ctrs)) * .000242em); transition: color .4s, --ctrs .6s var(--ease); }
.dial.pinned .dial-list a.on { color: var(--text); }
.dial.pinned .dial-list a.on b { --ctrs: 85; }
.dial.pinned .dial-list a.on .num { color: var(--sun-txt); }
.dial.pinned .dial-text { display: block; margin: 28px 0 0 calc(.78rem * 5 + 18px); max-width: 30em; color: var(--text-2); min-height: 3.2em; }
.dial.pinned .dial-lens { display: grid; place-items: center; position: relative; width: min(42vw, 72vh); aspect-ratio: 1; justify-self: center; }
.dial-img { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; opacity: 0; clip-path: circle(0% at 50% 50%); transition: clip-path 1s var(--ease), opacity .4s; }
.dial-img.on { opacity: 1; clip-path: circle(50% at 50% 50%); }
.dial-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.dial-img.on img { transform: scale(1); }
.dial-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dr-track { fill: none; stroke: var(--line-2); stroke-width: .6; }
.dr-fill { fill: none; stroke: var(--sun); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dial-n { position: absolute; right: 0; bottom: 4%; margin: 0; }
.dial-n b { color: var(--text); }

.goal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.goal-card { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 20px; border: 1px solid var(--line-2); text-decoration: none; transition: opacity .45s var(--ease), filter .45s var(--ease), transform .45s var(--ease), border-color .3s; }
.goal-card b { font: 600 1.3rem/1.2 var(--font-text); }
.goal-card span { color: var(--text-2); }
.goal-card .dl-go { color: var(--text); font-weight: 600; margin-top: 6px; }
.goal-card.dim { transform: scale(.98); border-style: dashed; }
.goal-card.dim :is(b, span, .dl-go) { color: var(--text-3); }
.goal-card :is(b, span, .dl-go) { transition: color .45s var(--ease); }
.goal-card:not(.dim) { border-color: var(--sun); }

/* ---------- Service page ---------- */
.ph-service h1 { font-size: clamp(2.7rem, 6.4vw, 6.8rem); max-width: 13.31em; }
.aperture { position: relative; --p: 1; }
.aperture .ap-pin { position: relative; overflow: hidden; }
.ap-fig { margin: 0 var(--gutter); border-radius: 24px; overflow: hidden; }
.ap-fig img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ap-ring { display: none; }
.aperture.moving { height: 230vh; }
.aperture.moving .ap-pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.aperture.moving .ap-fig { position: absolute; inset: 0; margin: 0; border-radius: 0; clip-path: circle(calc(15% + var(--p) * 60%) at 50% 50%); }
.aperture.moving .ap-fig img { height: 100%; aspect-ratio: auto; transform: scale(calc(1.3 - var(--p) * .3)); }
.aperture.moving .ap-ring { display: block; position: relative; z-index: 1; width: min(76vh, 84vw); fill: var(--text-2); font: 500 9.5px/1 var(--font-mono); letter-spacing: .26em; text-transform: uppercase; opacity: calc(1 - var(--p) * 2.4); transform: rotate(calc(var(--p) * 160deg)) scale(calc(1 + var(--p) * .5)); pointer-events: none; }

.who-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.who-cards li { padding: 24px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 22px; align-content: space-between; min-height: 230px; }
.who-cards p { margin: 0; font-size: 1.08rem; line-height: 1.4; }

.rail { border-top: 1px solid var(--line); padding: clamp(72px, 10vw, 150px) 0; }
.rail .band-head { padding: 0 var(--gutter); }
.rail-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track:focus-visible { outline: 2px solid var(--sun); outline-offset: 6px; border-radius: 12px; }
.rail-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 34px); border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); min-height: 340px; }
.rc-n { font-size: clamp(4rem, 7vw, 7.5rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.2px var(--text-3); margin-bottom: auto; padding-bottom: 30px; }
.rail-card:hover .rc-n { -webkit-text-stroke-color: var(--sun); }
.rail-card h3 { margin: 0; font: 600 1.35rem/1.2 var(--font-text); letter-spacing: -.01em; }
.rail-card p { margin: 0; color: var(--text-2); }
.rail-bar { display: none; }
.rail.pinned { padding: 0; }
.rail.pinned .rail-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 80px 0 40px; }
.rail.pinned .rail-track { display: flex; overflow: visible; width: max-content; will-change: transform; }
.rail.pinned .rail-card { width: clamp(300px, 30vw, 430px); min-height: min(52vh, 460px); }
.rail.pinned .rail-bar { display: block; margin: 34px var(--gutter) 0; height: 2px; background: var(--line); }
.rail-bar span { display: block; height: 100%; background: var(--sun); transform-origin: 0 50%; transform: scaleX(0); }

.proc-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 90px); align-items: start; }
.proc-loop { position: sticky; top: 20vh; }
.loop-svg { width: 100%; height: auto; overflow: visible; }
.loop-track { stroke: var(--line-2); stroke-width: 2; }
.loop-done { stroke-width: 5; stroke-linecap: round; }
.loop-node { fill: var(--bg); stroke: var(--line-2); stroke-width: 2; transition: fill .3s, stroke .3s; }
.loop-node.on { fill: var(--sun); stroke: var(--sun); }
.loop-dot { fill: var(--sun); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--sun) 80%, transparent)); }
.loop-label { margin: 10px 0 0; text-align: center; }
.loop-label b { font: 600 clamp(2rem, 4vw, 3.4rem)/1 var(--font-display); color: var(--text); letter-spacing: 0; }
.proc-steps { list-style: none; margin: 0; padding: 6vh 0 14vh; display: grid; gap: clamp(40px, 12vh, 120px); }
.proc-steps li { display: grid; gap: 10px; }
.proc-steps li :is(h2, h3, p, dd) { transition: color .45s var(--ease); }
.proc-steps:has(li.on) li:not(.on) :is(h2, h3, p, dd) { color: var(--text-3); }
.proc-steps h3 { margin: 0; font: 600 clamp(1.5rem, 1rem + 1.4vw, 2.2rem)/1.15 var(--font-text); letter-spacing: -.015em; }
.proc-steps p { margin: 0; color: var(--text-2); max-width: 32em; }
.proc-full .proc-steps li { min-height: 52vh; align-content: center; }
.proc-full .proc-steps h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
.ydo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.ydo dd { margin: 8px 0 0; color: var(--text); }

.faq { max-width: 960px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font: 600 clamp(1.08rem, 1rem + .3vw, 1.26rem)/1.3 var(--font-text); transition: color .25s; }
.faq summary:hover { color: var(--sun-txt); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font: 400 1.3rem/1 var(--font-mono); color: var(--text-2); transition: transform .45s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--sun); color: var(--sun-ink); border-color: var(--sun); }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq-a p { margin: 0; padding: 0 4px 26px; max-width: 44em; color: var(--text-2); }

.rel-work { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 40px; }
.rel-card { display: grid; gap: 10px; text-decoration: none; }
.rel-img { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); }
.rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.rel-card:hover .rel-img img { transform: scale(1.05); }
.rel-card b { font: 600 1.2rem/1.25 var(--font-text); }
.rel-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.rel-lists ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }

/* ---------- Regions: the dotted world ---------- */
.ph-region h1 { max-width: 10.35em; }
.map-scene { padding: 0 var(--gutter) clamp(50px, 7vw, 100px); }
.map { position: relative; margin: 0 auto; max-width: 1400px; aspect-ratio: 1000 / 431; }
.map-dots, .map-hl { position: absolute; inset: 0; -webkit-mask: url(/assets/map/world.svg) center / 100% 100% no-repeat; mask: url(/assets/map/world.svg) center / 100% 100% no-repeat; background: var(--text-3); opacity: .42; }
.map-hl { background: var(--sun); opacity: 0; transition: opacity 1.2s var(--ease) .3s; }
.map.on .map-hl { opacity: 1; }
.map-us { -webkit-mask-image: url(/assets/map/us.svg); mask-image: url(/assets/map/us.svg); }
.map-uk { -webkit-mask-image: url(/assets/map/uk.svg); mask-image: url(/assets/map/uk.svg); }
.map-eu { -webkit-mask-image: url(/assets/map/eu.svg); mask-image: url(/assets/map/eu.svg); }
.map-au { -webkit-mask-image: url(/assets/map/au.svg); mask-image: url(/assets/map/au.svg); }
.map-ca { -webkit-mask-image: url(/assets/map/ca.svg); mask-image: url(/assets/map/ca.svg); }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.land-hl, .land-home { fill: var(--sun); fill-opacity: 0; stroke: var(--sun); stroke-opacity: 0; stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill-opacity 1.2s var(--ease) .2s, stroke-opacity 1.2s var(--ease) .2s; }
.map.on .land-hl { fill-opacity: .2; stroke-opacity: .9; }
.map.on .land-home { fill-opacity: .5; stroke-opacity: 1; }
.arc { fill: none; stroke: var(--sun); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease); transition-delay: calc(var(--k, 0) * .22s + .2s); }
.map.on .arc { stroke-dashoffset: 0; }
.pin circle { fill: var(--text); }
.pin.home circle { fill: var(--sun); }
.pin .pulse { fill: none; stroke: currentColor; color: var(--sun-txt); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }
.map-label { position: absolute; z-index: 1; display: flex; gap: 8px; align-items: baseline; padding: 7px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); font: 500 .72rem/1 var(--font-mono); letter-spacing: .04em; white-space: nowrap; transform: translate(-50%, calc(-100% - 14px)); box-shadow: 0 14px 30px -18px rgb(0 0 0 / .6); }
.map-label.home { border-color: var(--sun); }
/* a label shows once the script has put it in its place (until then it would sit in a corner and jump) */
.map-label:not(.placed) { visibility: hidden; }
.map-label time { color: var(--text-3); }
.map-cap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; justify-content: center; margin: clamp(20px, 3vw, 36px) 0 0; text-align: center; color: var(--text-2); }
.map-cap b { font-size: clamp(2.2rem, 4.4vw, 4.4rem); color: var(--text); }

.ic { width: 30px; height: 30px; fill: none; stroke: var(--sun); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-cards, .build-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.why-cards li, .build-cards li { padding: 28px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.why-cards h3, .build-cards h3 { margin: 10px 0 0; font: 600 1.25rem/1.2 var(--font-text); }
.why-cards p, .build-cards p { margin: 0; color: var(--text-2); }

.hours-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.hours-intro { color: var(--text-2); max-width: 36em; margin: 0; }
.tz-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.tz-list li { display: grid; grid-template-columns: minmax(0, 13rem) 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tz-list span { color: var(--text-2); }
.hours-note { margin: 22px 0 0; color: var(--text-2); max-width: 36em; }
.hours { margin: 0; display: grid; gap: 18px; justify-items: center; }
.hr-svg { width: min(100%, 420px); height: auto; overflow: visible; }
.hr-face { fill: var(--bg-2); stroke: var(--line-2); }
.hr-ticks line { stroke: var(--text-3); stroke-width: 1.2; }
.hr-ticks text { fill: var(--text-3); font: 500 9px/1 var(--font-mono); text-anchor: middle; dominant-baseline: middle; letter-spacing: .06em; }
.hr-calls { fill: none; stroke: var(--sun); stroke-width: 12; stroke-linecap: round; }
.hr-build { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; opacity: .9; }
.hr-hand { stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; }
.hr-hub { fill: var(--text); }
.hours figcaption { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; width: min(100%, 420px); }
.hr-now { margin: 0; display: grid; gap: 6px; }
.hr-now b { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.hr-key { grid-column: 1 / -1; list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .95rem; color: var(--text-2); }
.hr-key li { display: flex; gap: 10px; align-items: center; }
.hr-key li::before { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--sun); }
.hr-key li.build::before { background: var(--gold); height: 3px; }
.hr-key span { color: var(--text); }

.rule-cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 60px) clamp(26px, 5vw, 80px); margin: 0; padding: 0; }
.rule-cards li { border-top: 1px solid var(--line-2); padding-top: 22px; display: grid; gap: 10px; }
.rule-code { font-size: clamp(3rem, 6vw, 6rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.3px var(--text); margin-bottom: 8px; transition: color .5s var(--ease); }
.rule-cards li:hover .rule-code { color: var(--sun-txt); -webkit-text-stroke-color: var(--sun); }
.rule-cards h3 { margin: 0; font: 600 1.3rem/1.2 var(--font-text); }
.rule-cards p { margin: 0; color: var(--text-2); }
.rule-cards a { color: var(--text); }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(30px, 6vw, 100px); align-items: end; }
.ph-about h1 { max-width: 8.87em; }
.arch { margin: 0; position: relative; justify-self: end; width: min(100%, 360px); aspect-ratio: 3 / 4.6; border-radius: 999px 999px 26px 26px; background: var(--tea); overflow: hidden; display: grid; align-items: end; justify-items: center; transform: translate3d(0, var(--d, 0px), 0); }
.arch img { width: 74%; height: auto; margin-top: 12%; filter: drop-shadow(0 30px 30px rgb(0 0 0 / .35)); }
.arch figcaption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #d3dccf; }
.why-started { padding-top: clamp(60px, 8vw, 120px); }
.promise-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.promise-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.count-on .promise-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promise-cards li { padding: 28px; border-radius: 22px; border: 1px solid var(--line-2); display: grid; gap: 12px; align-content: start; background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.promise-cards .num { font-size: clamp(2.6rem, 4vw, 4rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--text-3); letter-spacing: 0; }
.promise-cards li:hover .num { -webkit-text-stroke-color: var(--sun); }
.promise-cards h3 { margin: 10px 0 0; font: 600 1.25rem/1.2 var(--font-text); }
.promise-cards p { margin: 0; color: var(--text-2); }
.facts-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: end; }
.facts-grid .band-head { grid-column: 1 / -1; margin-bottom: 0; }
.fact-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px; }
.fact-list div { border-top: 1px solid var(--line-2); padding-top: 14px; }
.fact-list dd { margin: 8px 0 0; font-size: 1.15rem; font-weight: 600; }
.clock-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.clock-pair p { margin: 0; display: grid; gap: 8px; }
.clock-pair b { font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.craft-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin: 0; padding: 0; }
.craft-list li { border-top: 2px solid var(--sun); padding-top: 20px; }
.craft-list p { margin: 12px 0 0; color: var(--text-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 6vw, 100px); padding: 0 var(--gutter) clamp(72px, 10vw, 140px); align-items: start; }
.cform { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font: 500 .78rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 0; margin-bottom: 4px; }
.opt { text-transform: none; letter-spacing: 0; color: var(--text-3); }
.field input, .field textarea { width: 100%; padding: 12px 0 14px; border: 0; border-bottom: 2px solid var(--line-2); background: transparent; color: var(--text); font: 500 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.3 var(--font-text); border-radius: 0; transition: border-color .3s; }
.field textarea { font-size: 1.1rem; resize: vertical; min-height: 130px; border: 2px solid var(--line-2); border-radius: 14px; padding: 14px 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sun); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field ::placeholder { color: var(--text-3); opacity: .8; }
.err { margin: 0; color: var(--error); font-size: .92rem; }
/* SiteCraft Playbook code: checked as you type; the status line keeps its height so nothing below jumps */
.scp-field input { font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; max-width: 16em; }
.scp-field input::placeholder { text-transform: none; letter-spacing: .04em; }
.scp-field:has(.scp-out[data-state="valid"]) input { border-color: var(--ok); }
.scp-hint { margin: 0; font-size: .9rem; color: var(--text-3); max-width: 36em; }
.scp-out { margin: 0; min-height: 1.45em; font-size: .92rem; color: var(--text-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.scp-out[data-state="valid"] { color: var(--ok); }
.scp-out[data-state="valid"]::before { content: "✓"; font-weight: 700; }
.scp-out[data-state="invalid"] { color: var(--error); }
.scp-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--sun); animation: spin .8s linear infinite; flex: none; }
.scp-retry { font: inherit; color: var(--sun-txt, var(--sun)); background: none; border: 0; padding: 4px 2px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; border-radius: 4px; }
.scp-retry:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .scp-spin { animation-duration: 2.4s; } }
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.need-chips .chip { position: relative; }
.cform .btn { justify-self: start; min-width: 180px; }
.form-out { margin: 0; color: var(--text-2); max-width: 36em; min-height: 1.5em; }
.cform.sent .form-out { padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--sun); color: var(--text); }
.contact-side { display: grid; gap: 34px; position: sticky; top: 110px; }
.ways { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.ways li { border-bottom: 1px solid var(--line); }
.way { display: grid; grid-template-columns: 7rem 1fr auto; gap: 14px; align-items: baseline; padding: 18px 4px; text-decoration: none; transition: padding-left .4s var(--ease), color .3s; }
.way:hover { padding-left: 14px; }
.way b { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Blog ---------- */
.lead-post { padding: 0 var(--gutter) clamp(60px, 8vw, 110px); }
.lp-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 5vw, 80px); align-items: center; text-decoration: none; }
.lp-lens { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--bg-2); max-width: 620px; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 14px color-mix(in srgb, var(--sun) 10%, transparent); transition: box-shadow .5s var(--ease); }
.lp-lens img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.lp-in:hover .lp-lens img { transform: scale(1); }
.lp-in:hover .lp-lens { box-shadow: 0 0 0 1px var(--sun), 0 0 0 22px color-mix(in srgb, var(--sun) 16%, transparent); }
.lp-copy { display: grid; gap: 18px; justify-items: start; }
.lp-title { font-size: clamp(2.2rem, 4.2vw, 4.4rem); line-height: 1; }
.lp-text { color: var(--text-2); max-width: 34em; }
.post-list a { grid-template-columns: 7rem minmax(0, 2.6fr) minmax(0, 1fr) 4.5rem; }
.posts .chips { margin: 0 0 30px; }

.read-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 25; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--sun); transform-origin: 0 50%; transform: scaleX(0); }
.ph-post { padding-bottom: clamp(30px, 4vw, 50px); }
.ph-post h1, .h-post { font-size: clamp(2.3rem, 5vw, 5rem); max-width: 15.53em; line-height: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 30px; font: 500 .8rem/1.4 var(--font-mono); letter-spacing: .04em; color: var(--text-3); }
.in-short { max-width: 760px; padding: 22px 26px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--sun); }
.in-short ul { margin: 12px 0 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--text-2); }
.post-hero { margin: 0 var(--gutter) clamp(40px, 6vw, 80px); border-radius: 24px; overflow: hidden; }
.post-hero img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; }
.post-grid { display: grid; grid-template-columns: minmax(170px, 250px) minmax(0, 740px); gap: clamp(28px, 6vw, 100px); justify-content: center; padding: 0 var(--gutter) clamp(60px, 8vw, 110px); }
.toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 140px); overflow: auto; }
.toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--text-3); font-size: .9rem; line-height: 1.35; transition: color .25s, border-color .25s; }
.toc a:hover { color: var(--text); }
.toc a[aria-current] { color: var(--text); border-left-color: var(--sun); }

.prose { font-size: 1.1rem; line-height: 1.72; color: var(--text-2); min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose li + li { margin-top: .4em; }
.prose strong, .prose b { color: var(--text); }
.prose h2 { margin: 2.1em 0 .6em; font: 600 clamp(1.8rem, 2.8vw, 2.6rem)/1.08 var(--font-display); font-variation-settings: "CTRS" 85; letter-spacing: -.01em; color: var(--text); scroll-margin-top: 100px; }
.prose h3 { margin: 1.6em 0 .5em; font: 600 1.3rem/1.25 var(--font-text); color: var(--text); }
.prose a { color: var(--text); text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-underline-offset: 6px; }
.prose aside { margin: 1.6em 0; padding: 20px 24px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--sun); color: var(--text); }
.prose aside > :last-child { margin-bottom: 0; }
.prose figure { margin: 1.8em 0; }
.prose figure img, .prose figure video, .prose video { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.prose figcaption { margin-top: 10px; font-size: .9rem; color: var(--text-3); }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--sun); font: italic 500 1.4rem/1.35 var(--font-accent); color: var(--text); }
.prose code { font: 500 .92em var(--font-mono); background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.table-wrap { margin: 1.6em 0; overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.prose th { text-align: left; font: 500 .74rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); background: var(--bg-2); }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--text); font-weight: 600; }
.sources { margin-top: 3em; padding-top: 1em; border-top: 1px solid var(--line-2); font-size: .92rem; }
.sources h2 { font-size: 1.4rem; margin-top: 0; }
.sources a { overflow-wrap: anywhere; }
.author { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; margin-top: 2.6em; padding: 20px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); font-size: 1rem; }
.author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 6%; background: var(--tea); }
.author p { margin: 0 0 6px; }
.policy .prose section + section { margin-top: 1em; }
.note { color: var(--text-3); font-size: .95rem; }

/* ---------- Closing call ---------- */
.close-cta { position: relative; overflow: hidden; padding: clamp(90px, 13vw, 190px) var(--gutter); border-top: 1px solid var(--line); isolation: isolate; }
.cta-in { position: relative; z-index: 1; }
.close-cta h2 { font-size: clamp(2.6rem, 6.4vw, 6.6rem); max-width: 10.35em; margin-bottom: 36px; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; color: var(--text-2); font-size: .95rem; }
.ticks li { display: inline-flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.cta-orbit { position: absolute; z-index: 0; right: -14vw; top: 50%; width: min(70vw, 900px); aspect-ratio: 1; translate: 0 -50%; pointer-events: none; }
.cta-orbit span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.cta-orbit span:nth-child(2) { inset: 14%; border-color: var(--line-2); border-top-color: var(--sun); animation: spin 26s linear infinite; }
.cta-orbit span:nth-child(3) { inset: 30%; border-right-color: var(--sun); animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- 404 ---------- */
.ph-404 { min-height: 92vh; display: grid; align-content: center; overflow: hidden; }
.lost-lens { position: absolute; z-index: -1; right: -10vw; top: 50%; width: min(80vw, 900px); aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%); mask-image: radial-gradient(circle, #000 40%, transparent 70%); }
.lost-lens span { position: absolute; inset: 22%; border-radius: 50%; border: 2px solid var(--sun); animation: spin 30s linear infinite; border-left-color: transparent; }
.p-404 .ph { isolation: isolate; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .sc-in { grid-template-columns: 1fr; min-height: 0; }
  .ch-grid { grid-template-columns: 1fr; }
  .ch-stage { display: none; }
  .ch-media-sm { display: block; margin: 6px 0 6px; }
  .ch-media-sm > video, .ch-media-sm > img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-2); }
  .ch { min-height: 0; opacity: 1; padding: 0 0 clamp(50px, 9vw, 80px); }
  .ch-list { padding: 0; }
  .who-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-cards, .build-cards, .promise-cards, .count-on .promise-cards, .goal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours-grid, .facts-grid, .contact-grid, .about-hero, .lp-in { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .proc-grid { grid-template-columns: 1fr; }
  .proc-loop { top: 60px; z-index: 2; max-width: 380px; padding: 8px 0 12px; background: linear-gradient(var(--bg) 82%, transparent); }
  .proc-full .proc-steps li { min-height: 0; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .arch { justify-self: start; width: min(70vw, 300px); }
  .lp-lens { max-width: 420px; }
}
@media (max-width: 760px) {
  .ph { padding-top: 112px; }
  .sc { position: relative; top: auto !important; transform: none; margin-bottom: 18px; }
  .sc::after { display: none; }
  .table-list a, .post-list a { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .table-list a > span:not(.num) { grid-column: 2; }
  .table-list span:last-child { text-align: left; }
  .post-list a { grid-template-columns: 1fr; gap: 6px; }
  .post-list a > * { grid-column: 1 !important; }
  .post-list a .num { font-size: .7rem; }
  .two, .rule-cards, .who-cards, .why-cards, .build-cards, .promise-cards, .promise-cards.three, .count-on .promise-cards, .goal-cards, .craft-list { grid-template-columns: 1fr; }
  .dv-phone { position: relative; right: auto; bottom: auto; width: 42%; margin: -18% 0 0 auto; transform: none; }
  .ydo { grid-template-columns: 1fr; }
  .tz-list li { grid-template-columns: 1fr; gap: 4px; }
  .map-label { font-size: .6rem; padding: 5px 8px; }
  .clock-pair { grid-template-columns: 1fr 1fr; }
  .way { grid-template-columns: 1fr auto; }
  .way .k { grid-column: 1 / -1; }
  .next-lens { width: 80vw; }
  .cta-orbit { right: -40vw; width: 110vw; }
  .meta { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rise .w > span, .js .rise.in .w > span { animation: none; transform: none; }
  .sc, .dv-desk, .dv-phone, .next-title, .next-lens, .ch-frame, .dial-img, .goal-card, .arc, .map-hl { transition: none; }
  .mq-track { animation: none; flex-wrap: wrap; width: auto; }
  .mq-track ul[aria-hidden] { display: none; }
  .pin .pulse, .cta-orbit span, .lost-lens span, .num-card .big { animation: none; }
  .faq details::details-content { transition: none; }
}

/* ---------- Fifth pass: heads that are not empty on the right ---------- */
.orbs { position: absolute; right: var(--gutter); top: 120px; width: min(40vw, 560px); aspect-ratio: 1; pointer-events: none; }
.orb { position: absolute; display: block; border-radius: 50%; overflow: hidden; pointer-events: auto; text-decoration: none; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -30px rgb(0 0 0 / .7); translate: calc(var(--ox, 0) * 1px) calc(var(--oy, 0) * 1px); transition: scale .6s var(--ease), box-shadow .4s, translate .9s var(--ease); animation: bob 7s ease-in-out infinite alternate; }
.orb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.orb span { position: absolute; inset: auto 0 14% 0; text-align: center; font: 600 .78rem/1 var(--font-text); color: #fff; text-shadow: 0 1px 10px rgb(0 0 0 / .8); opacity: 0; transition: opacity .3s; }
.orb:hover { scale: 1.08; box-shadow: 0 0 0 2px var(--sun), 0 30px 60px -30px rgb(0 0 0 / .7); z-index: 2; }
.orb:hover span { opacity: 1; }
.orb:nth-child(1) { width: 46%; aspect-ratio: 1; left: 27%; top: 25%; z-index: 1; animation-duration: 8s; }
.orb:nth-child(2) { width: 30%; aspect-ratio: 1; left: 2%; top: 8%; animation-delay: -2s; }
.orb:nth-child(3) { width: 26%; aspect-ratio: 1; left: 70%; top: 4%; animation-delay: -4s; animation-duration: 9s; }
.orb:nth-child(4) { width: 28%; aspect-ratio: 1; left: 6%; top: 66%; animation-delay: -1s; animation-duration: 6.5s; }
.orb:nth-child(5) { width: 32%; aspect-ratio: 1; left: 66%; top: 62%; animation-delay: -3s; }
@keyframes bob { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
.ph-work > :not(.orbs) { position: relative; max-width: min(100%, 760px); }

.case-lens { position: absolute; right: var(--gutter); top: 130px; width: min(30vw, 430px); aspect-ratio: 1; margin: 0; display: grid; place-items: center; }
.ph-case { overflow-x: clip; }
.cl-img { width: 80%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 16px color-mix(in srgb, var(--sun) 9%, transparent), var(--shadow); }
.cl-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.25) translate(4%, 2%); } to { transform: scale(1.25) translate(-4%, -2%); } }
.cl-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--text-3); font: 500 11px/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; animation: spin 60s linear infinite; }
.ph-case > :not(.case-lens) { position: relative; max-width: min(100%, calc(100vw - var(--gutter) * 2 - min(30vw, 430px) - 40px)); }
@media (max-width: 1080px) {
  .orbs { position: relative; right: auto; top: auto; width: min(100%, 520px); margin: 0 auto 10px; }
  .ph-work > :not(.orbs) { max-width: none; }
  .case-lens { position: relative; right: auto; top: auto; width: min(64vw, 340px); margin: 0 0 26px; }
  .ph-case > :not(.case-lens) { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .orb, .cl-img img, .cl-ring { animation: none; } }

/* ---------- Search and answers pass: sections that carry the content the live pages have ---------- */
.band-lede { margin: 18px 0 0; max-width: 40em; color: var(--text-2); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.portal-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 18px; }
.portal-list li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; }
.portal-list b { display: block; margin-bottom: 4px; }
.portal-list span { color: var(--text-2); }
.portal-mock { border-radius: 20px; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; box-shadow: var(--shadow); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .8s var(--ease); }
.portal-mock:hover { transform: none; }
.pm-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.pm-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.pm-bar span { margin: 0 auto; padding-right: 40px; font: 500 .72rem/1 var(--font-mono); color: var(--text-3); }
.pm-body { display: grid; gap: 14px; padding: clamp(16px, 2vw, 26px); }
.pm-proj { display: flex; gap: 16px; align-items: center; }
.pm-proj b { display: block; }
.pm-proj span { font-size: .85rem; color: var(--text-3); }
.pm-ring { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--sun) 0 64%, var(--line-2) 64% 100%); }
.pm-ring b { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font: 500 .8rem/1 var(--font-mono); }
.pm-phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-size: .72rem; color: var(--text-3); }
.pm-phases span { padding-top: 8px; border-top: 3px solid var(--line-2); }
.pm-phases .d { border-color: var(--sun); color: var(--text-2); }
.pm-phases .n { border-color: var(--gold); color: var(--text); }
.pm-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.pm-row b { display: block; font-size: .92rem; }
.pm-row small { color: var(--text-3); }
.pm-pill { padding: 6px 12px; border-radius: 999px; font: 600 .74rem/1 var(--font-text); background: var(--tea); color: var(--bone); }
.pm-pill.go { background: var(--sun); color: var(--sun-ink); }
.pm-chat { display: grid; gap: 6px; font-size: .84rem; }
.pm-chat span { justify-self: start; max-width: 80%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--bg-3); color: var(--text-2); }
.pm-chat .me { justify-self: end; border-radius: 14px 14px 4px 14px; background: color-mix(in srgb, var(--sun) 20%, var(--bg-2)); color: var(--text); }
.else-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.else-card { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 22px; border: 1px solid var(--line-2); text-decoration: none; transition: border-color .3s; }
.else-card:hover { border-color: var(--sun); }
.else-card:hover .rule-code { color: var(--sun-txt); -webkit-text-stroke-color: var(--sun); }
.else-card .rule-code { font-size: clamp(2.6rem, 4vw, 4rem); }
.else-card b { font: 600 1.15rem/1.2 var(--font-text); }
.else-card > span:not(.rule-code):not(.dl-go) { color: var(--text-2); font-size: .95rem; }
.else-card .dl-go { font-weight: 600; margin-top: 4px; }
.np-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.np-text { margin: 22px 0 0; max-width: 38em; color: var(--text-2); }
.np-grid h3 { margin: 6px 0 18px; }
.factors { margin: 0 0 30px; display: grid; border-top: 1px solid var(--line-2); }
.factors div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.factors dt { font-weight: 600; }
.factors dd { margin: 0; color: var(--text-2); }
.pl-main { display: grid; gap: 6px; }
.table-list .pl-main .pl-desc { color: var(--text-3); font: 400 .92rem/1.45 var(--font-text); text-align: left; max-width: 52em; }
.rel-desc { color: var(--text-2); font-size: .92rem; line-height: 1.45; }
.series { margin: 26px 0 0; max-width: 760px; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line-2); }
.series ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 6px; }
.series a { color: var(--text-2); }
.series [aria-current] { color: var(--text); font-weight: 600; }
.post-cta { margin-top: 2.4em; padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: var(--tea); color: var(--bone); }
.post-cta h2 { margin: 0 0 .4em; color: var(--bone); font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.post-cta p { color: #d3dccf; }
.post-cta .btn-sun { color: var(--sun-ink); text-decoration: none; }
.post-cta .btn-ghost { color: var(--bone); border-color: #4a7060; }
@media (max-width: 1080px) {
  .portal-grid, .np-grid { grid-template-columns: 1fr; }
  .else-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-mock { transform: none; }
}
@media (max-width: 560px) {
  .else-cards { grid-template-columns: 1fr; }
  .factors div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Themes: two worlds, a fan of styles, a style switcher ---------- */
.worlds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter) clamp(60px, 8vw, 110px); }
.world { position: relative; display: grid; grid-template-rows: auto auto; overflow: hidden; border-radius: clamp(22px, 2.4vw, 34px); padding: clamp(22px, 3vw, 44px); text-decoration: none; min-height: min(86vh, 820px); isolation: isolate; }
.fan { position: relative; display: block; height: clamp(300px, 34vw, 470px); margin-bottom: 26px; }
.fan-card { position: absolute; left: 50%; bottom: 0; width: clamp(110px, 12vw, 176px); aspect-ratio: 780 / 1688; border-radius: clamp(16px, 1.6vw, 24px); overflow: hidden; border: 5px solid #0c0b09; background: #0c0b09; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); transform-origin: 50% 120%; transition: transform .9s var(--ease); }
.fan-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fan-card:nth-child(1) { transform: translateX(-50%) rotate(-14deg); z-index: 1; }
.fan-card:nth-child(2) { transform: translateX(-50%) rotate(-7deg); z-index: 2; }
.fan-card:nth-child(3) { transform: translateX(-50%) rotate(0deg) translateY(-12px); z-index: 5; }
.fan-card:nth-child(4) { transform: translateX(-50%) rotate(7deg); z-index: 2; }
.fan-card:nth-child(5) { transform: translateX(-50%) rotate(14deg); z-index: 1; }
.fan-card:first-child:nth-last-child(4) ~ .fan-card:nth-child(3) { transform: translateX(-50%) rotate(4deg) translateY(-6px); }
.world:hover .fan-card:nth-child(1), .world:focus-visible .fan-card:nth-child(1) { transform: translateX(-170%) rotate(-12deg) translateY(10px); }
.world:hover .fan-card:nth-child(2), .world:focus-visible .fan-card:nth-child(2) { transform: translateX(-110%) rotate(-6deg); }
.world:hover .fan-card:nth-child(3), .world:focus-visible .fan-card:nth-child(3) { transform: translateX(-50%) translateY(-26px); }
.world:hover .fan-card:nth-child(4), .world:focus-visible .fan-card:nth-child(4) { transform: translateX(10%) rotate(6deg); }
.world:hover .fan-card:nth-child(5), .world:focus-visible .fan-card:nth-child(5) { transform: translateX(70%) rotate(12deg) translateY(10px); }
.world-copy { display: grid; gap: 14px; justify-items: start; align-content: end; }
.world-name { font-size: clamp(3rem, 6vw, 6.4rem); line-height: .9; }
.world-line { color: var(--text-2); max-width: 30em; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.status-pill { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .88rem; width: max-content; max-width: 100%; }
.status-pill::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3ccf8e; box-shadow: 0 0 0 4px rgb(60 207 142 / .18); }
.ph-theme .status-pill { margin: 0 0 28px; }
.ph-theme > :not(.case-lens) { position: relative; max-width: min(100%, calc(100vw - var(--gutter) * 2 - min(30vw, 430px) - 40px)); }
.promise-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sl-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-bottom: 26px; }
.sl-chip { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; font: inherit; transition: border-color .3s, background-color .3s, color .3s; }
.sl-chip b { font: 600 1.05rem/1.2 var(--font-text); color: var(--text); }
.sl-chip span { font-size: .84rem; }
.sl-chip:hover { border-color: var(--text-3); }
.sl-chip[aria-pressed="true"] { border-color: var(--sun); background: color-mix(in srgb, var(--sun) 10%, transparent); }
.sl-stage { position: relative; display: grid; min-height: 0; }
.sl-frame { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; opacity: 0; clip-path: circle(0% at 50% 50%); transition: clip-path 1.1s var(--ease), opacity .5s; pointer-events: none; }
.sl-frame.on { opacity: 1; clip-path: circle(85% at 50% 50%); pointer-events: auto; }
.sl-frame .sl-desk { grid-area: 1 / 1; max-width: 1080px; width: 86%; }
.sl-frame .sl-phone { grid-area: 1 / 1; justify-self: end; width: clamp(110px, 17vw, 240px); margin-bottom: -24px; }
.sl-frame .sl-phone.solo { justify-self: center; width: clamp(180px, 24vw, 300px); margin: 0; }
.films .film-main { max-width: 1100px; }
.film-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.film-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); }
.film-card video { width: 100%; height: auto; }
.film-list h3 { margin: 14px 0 6px; font: 600 1.1rem/1.25 var(--font-text); }
.film-list p { margin: 0; color: var(--text-2); }
.help-links .else-card .rule-code { font-size: clamp(2.2rem, 3.4vw, 3.4rem); }
@media (max-width: 1080px) {
  .worlds { grid-template-columns: 1fr; }
  .world { min-height: 0; }
  .ph-theme > :not(.case-lens) { max-width: none; }
  .promise-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .promise-cards.four, .film-list { grid-template-columns: 1fr; }
  .sl-frame .sl-desk { width: 100%; }
  .sl-frame .sl-phone { width: 34%; margin-bottom: -18%; }
}
@media (prefers-reduced-motion: reduce) { .fan-card, .sl-frame { transition: none; } }

/* ---------- Live forms: consent, the field only robots fill, messages ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--text-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sun); flex: none; }
.form-out.bad { color: var(--error); }

.chip .cnt { font: 500 .72rem/1 var(--font-mono); color: var(--text-3); }
.chip:has(input:checked) .cnt { color: inherit; opacity: .7; }

.nojs-note { margin: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text-2); }

/* the page headline is visible from the first frame: it only sharpens (see .focus in base.css); the words of
   lower headlines still rise as they come into view */
.js h1.rise .w > span, .js h1.rise.in .w > span { animation: none; transform: none; }
