/* Procession's site (docs/PLAN-2026-10-27-procession-site.md): the app's night tokens, Instrument Sans and
   IBM Plex Mono, colour only for state, and the pressure line as the signature. */
@font-face { font-family: 'Instrument Sans'; src: url('fonts/InstrumentSans-Variable.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/IBMPlexMono-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/IBMPlexMono-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }

:root {
  --ground: #0C1317; --panel: #101B20; --raised: #17242A; --line: #1C272C; --line2: #152025;
  --text: #E3ECEA; --soft: #B9C8C5; --muted: #8FA3A0;
  --calm: #6FE3C1; --tight: #F2B33D; --short: #E8875A; --tight-rule: #6FA79A; --leave: #A9BCE0; --busy: #C2B2F5;
  --head: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --body: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --out: cubic-bezier(.2, .8, .2, 1);
  --wrap: min(1180px, calc(100vw - 48px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--calm); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--ground); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--calm); outline-offset: 3px; border-radius: 6px; }
.p-wrap { width: var(--wrap); margin: 0 auto; }
.p-eyebrow, .p-caps { font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-eyebrow { margin-bottom: 18px; }
.p-sub { color: var(--soft); font-size: 18px; max-width: 640px; margin-top: 18px; }
.p-fine { color: var(--muted); font-size: 13px; margin-top: 14px; }
.p-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 10px; background: var(--text); color: var(--ground); font: 600 15px var(--body); border: 0; cursor: pointer; white-space: nowrap; }
.p-btn:hover { text-decoration: none; background: #fff; }
.p-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 500 12.5px var(--mono); letter-spacing: .04em; }
.p-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--tight); }
.p-status.live i { background: var(--calm); }

/* The header */
.p-top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px max(24px, calc((100vw - 1180px) / 2)); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.p-top.solid { background: rgba(12, 19, 23, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.p-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.p-mark:hover { text-decoration: none; }
.p-mark b { font: 600 13px var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.p-mark-line { width: 26px; height: 17px; color: var(--calm); }
.p-top nav { display: flex; gap: 22px; margin-left: auto; }
.p-top nav a { color: var(--soft); font-size: 14px; }
.p-top > .p-btn, .p-top > a:last-child:not(.p-mark) { height: 36px; padding: 0 16px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.p-top.past > .p-btn, .p-top.past > a:last-child:not(.p-mark) { opacity: 1; pointer-events: auto; }

/* The pressure line */
.p-line { width: 100%; height: 100%; display: block; overflow: visible; }
.p-line .band { stroke-width: 1.4; stroke-dasharray: 5 9; fill: none; }
.p-line .band.short { stroke: var(--short); opacity: .5; }
.p-line .band.tight { stroke: var(--tight-rule); opacity: .55; }
.p-line .stroke { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.p-line .now-halo { opacity: .16; }
.p-band-label { position: absolute; left: 14px; transform: translateY(-175%); font: 500 10.5px var(--mono); letter-spacing: .1em; }
.p-band-label.short { color: var(--short); }
.p-band-label.tight { color: var(--tight-rule); }
.js .p-line.draw .stroke { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--out) .25s forwards; }
.js .p-line.draw .under, .js .p-line.draw circle { opacity: 0; animation: fade 1s ease 1.9s forwards; }
.js .p-line.draw .now-halo { animation: fade-halo 1s ease 1.9s forwards, pulse 2s ease-in-out 3s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fade-halo { to { opacity: .16; } }
@keyframes pulse { 50% { opacity: .05; } }

/* 1. Hero */
.p-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 0; overflow: hidden; }
.p-hero-line { position: relative; order: 2; height: clamp(170px, 26svh, 260px); margin: 34px 0 70px; }
.p-hero-text { position: relative; width: var(--wrap); margin: 0 auto; }
.p-hero h1 { font-size: clamp(48px, 8.4vw, 116px); max-width: 11.5em; }
.p-hero h1 em { font-style: normal; color: var(--calm); }
.p-lede { color: var(--soft); font-size: clamp(18px, 1.6vw, 22px); max-width: 640px; margin-top: 26px; }
.p-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.p-price-line { margin-top: 18px; color: var(--muted); font-size: 14px; }
.p-price-line span { margin-left: 10px; font: 12.5px var(--mono); }
.p-next { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.p-next i { width: 1px; height: 30px; background: linear-gradient(var(--muted), transparent); }
.js [data-in] { opacity: 0; transform: translateY(14px); animation: rise .9s var(--out) forwards; animation-delay: calc(var(--d) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Pinned sections */
.p-sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; }

/* 2. Why is my Mac slow? */
.p-slow { height: 320svh; }
.p-now { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px 26px; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
.p-now-head { display: flex; align-items: flex-end; gap: 28px; justify-content: space-between; }
.p-now-head > div:first-child { position: relative; flex: 1; min-height: 92px; }
.p-state { position: absolute; inset: auto 0 0 0; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s var(--out); }
.p-state.on { opacity: 1; transform: none; }
.p-headline { font: 500 clamp(26px, 3.4vw, 44px)/1.05 var(--head); letter-spacing: -0.02em; margin-top: 8px; }
.p-readings { display: flex; gap: 26px; margin: 0; }
.p-readings dt { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-readings dd { margin: 4px 0 0; display: grid; }
.p-readings dd span { grid-area: 1 / 1; white-space: nowrap; font: 500 24px var(--mono); opacity: 0; transition: opacity .4s; }
.p-readings dd span.on { opacity: 1; }
.p-readings dd span.alarm { color: var(--short); }
.p-readings small { font: 12px var(--mono); color: var(--muted); margin-left: 4px; }
.p-now-line { position: relative; height: 220px; margin: 24px 0 22px; background: var(--ground); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.p-scene { position: absolute; inset: 14px 18px 26px; opacity: 0; transition: opacity .6s; }
.p-scene.on { opacity: 1; }
.p-axis { position: absolute; right: 16px; bottom: 8px; font: 10.5px var(--mono); color: var(--muted); letter-spacing: .08em; }
.p-now-body { display: grid; grid-template-columns: 1fr 320px; gap: 22px; }
.p-help { opacity: .25; transition: opacity .5s; }
.p-slow.short .p-help { opacity: 1; }
.p-help .p-caps { display: flex; justify-content: space-between; padding: 0 4px 10px; border-bottom: 1px solid var(--line); }
.p-row { display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 14px; padding: 11px 4px; border-bottom: 1px solid var(--line2); }
.p-slow .p-row { transform: translateY(6px); opacity: .6; transition: transform .5s var(--out), opacity .5s; transition-delay: calc(var(--i) * 90ms); }
.p-slow.short .p-row { transform: none; opacity: 1; }
.p-tile { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: #fff; font: 600 13px var(--body); }
.p-row-name { display: flex; flex-direction: column; min-width: 0; }
.p-row-name b { font-size: 15px; font-weight: 600; }
.p-row-name em { font-style: normal; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-row-back { font: 500 15px var(--mono); }
.p-show { font-size: 13px; padding: 5px 12px; border-radius: 7px; background: var(--raised); border: 1px solid var(--line); }
.p-reading { background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; position: relative; min-height: 150px; }
.p-reading-text { position: absolute; inset: 44px 18px 16px; font-size: 15px; line-height: 1.5; opacity: 0; transition: opacity .45s; }
.p-reading-text.on { opacity: 1; }
.p-slow-foot { color: var(--muted); font-size: 14px; margin-top: 18px; text-align: center; }

/* 3. Everything, introduced */
.p-intro { padding: 150px 0 40px; }
.p-intro .p-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.p-intro h2, .p-close-s h2, .p-looks h2, .p-price h2, .p-faq h2 { font-size: clamp(34px, 4.4vw, 60px); }
.p-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.p-picker button { font: 500 13.5px var(--mono); color: var(--soft); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 9px 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.p-picker button:hover { color: var(--text); border-color: #2a3a40; }
.p-picker button[aria-selected="true"] { background: var(--raised); color: var(--calm); border-color: var(--calm); }
.p-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 32px; min-height: 420px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.p-card.enter { animation: card .5s var(--out); }
@keyframes card { from { opacity: 0; transform: translateY(10px); } }
.p-tech { font: 13px var(--mono); color: var(--muted); }
.p-card h3 { font-size: clamp(32px, 3.6vw, 46px); margin: 12px 0 10px; }
.p-verdict { color: var(--c); font-size: 15px; font-weight: 500; }
.p-card .what { font-size: 18px; line-height: 1.55; margin-top: 18px; }
.p-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.p-facts > div { background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.p-facts p { margin-top: 8px; font-size: 15px; line-height: 1.5; }

/* 4. Verdicts */
.p-verdicts { padding: 90px 0 30px; }
.p-verdicts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p-verdicts li { border-top: 2px solid var(--c); padding-top: 16px; }
.p-verdicts b { display: block; color: var(--c); font: 500 20px var(--head); }
.p-verdicts span { display: block; color: var(--soft); font-size: 15px; margin-top: 8px; }

/* 5. Show and close */
.p-close-s { padding: 150px 0 60px; }
.p-close-s .p-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.p-close-s h2 { font-size: clamp(40px, 5.4vw, 76px); }
.p-demo { position: relative; height: 470px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; overflow: hidden; }
.d-row { display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--ground); }
.d-row .p-show.press { background: var(--text); color: var(--ground); border-color: transparent; font-weight: 600; }
.d-coach { position: absolute; right: 26px; top: 104px; width: 300px; padding: 16px 18px; border-radius: 14px; background: #0A1013; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.d-coach .p-caps { display: flex; align-items: center; gap: 8px; }
.d-coach .p-mark-line { width: 18px; height: 12px; }
.d-big { font: 500 22px var(--head); margin-top: 8px; }
.d-small { color: var(--muted); font-size: 13px; margin-top: 6px; }
.d-done { position: absolute; left: 26px; right: 26px; top: 270px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(111, 227, 193, .45); background: var(--ground); font-family: var(--head); }
.d-done b { font-weight: 500; font-size: 19px; }
.d-tick { color: var(--calm); font-weight: 700; }
.d-line { position: absolute; left: 26px; right: 26px; bottom: 22px; height: 110px; }
.js .p-close-s .d-coach, .js .p-close-s .d-done { opacity: 0; transform: translateY(12px); }
.js .p-close-s .d-line .stroke { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .p-close-s .d-line circle, .js .p-close-s .d-line .under { opacity: 0; }
.p-close-s.seen .d-row .p-show.press { animation: press 1.2s ease .5s; }
.p-close-s.seen .d-coach { animation: rise .7s var(--out) 1.1s forwards; }
.p-close-s.seen .d-done { animation: rise .7s var(--out) 2.9s forwards; }
.p-close-s.seen .d-line .stroke { animation: draw 1.8s var(--out) 2.4s forwards; }
.p-close-s.seen .d-line circle, .p-close-s.seen .d-line .under { animation: fade .6s ease 3.9s forwards; }
.p-close-s.seen .d-line .now-halo { animation: fade-halo .6s ease 3.9s forwards; }
@keyframes press { 30% { transform: scale(.92); } 60% { transform: none; } }

/* 6. How it looks */
.p-looks { height: 300svh; }
.p-looks .p-sticky { flex-direction: row; align-items: center; gap: 56px; width: var(--wrap); margin: 0 auto; }
.p-looks-text { flex: 0 0 34%; }
.p-steps { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.p-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .4s; }
.p-steps li.on { opacity: 1; }
.p-steps .n { font: 500 13px var(--mono); color: var(--calm); padding-top: 4px; }
.p-steps h3 { font-size: 24px; }
.p-steps p { color: var(--soft); font-size: 15.5px; margin-top: 6px; }
.p-step-pic { display: none; }
.p-looks-pic { flex: 1; }
.p-win { position: relative; aspect-ratio: 1.6; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 50px 110px rgba(0, 0, 0, .45); }
.p-win img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 0 0; opacity: 0; transition: opacity .6s; }
.p-win img.on, .p-step-pic .p-win img { opacity: 1; }

/* The film: the wide cut, or the vertical one on a phone held upright (procession.js picks). */
.p-film { padding: clamp(80px, 10vw, 140px) 0; }
.p-film h2 { font-size: clamp(34px, 4.4vw, 60px); }
.p-film-frame { position: relative; margin-top: 40px; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 60px 140px -50px #000, 0 0 160px -70px rgba(111, 227, 193, .35); }
.p-film video { display: block; width: 100%; aspect-ratio: 16 / 10; background: #000; }
.p-film video.tall { aspect-ratio: 9 / 16; }
.p-play { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer; color: var(--ground); background: var(--calm); display: grid; place-items: center; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); transition: transform .25s var(--out); }
.p-play:hover { transform: scale(1.06); } .p-play svg { width: 34px; height: 34px; margin-left: 4px; }

/* 7. Private */
.p-private { padding: 150px 0; text-align: center; }
.p-promises { list-style: none; margin: 0; padding: 0; }
.p-promises li { font: 500 clamp(36px, 5.6vw, 78px)/1.08 var(--head); letter-spacing: -0.02em; }
.p-promises li:last-child { color: var(--calm); }
.js .p-private .p-promises li { opacity: 0; transform: translateY(16px); }
.p-private.seen .p-promises li { animation: rise .8s var(--out) forwards; animation-delay: calc(var(--i) * 260ms); }
.p-private .p-sub { margin: 30px auto 0; }

/* 8. Price */
.p-price { padding: 60px 0 120px; }
.p-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.p-plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px; display: flex; flex-direction: column; }
.p-plan.main { border-color: var(--calm); }
.p-plan .amount { font: 500 52px var(--head); margin: 10px 0 16px; letter-spacing: -0.02em; }
.p-plan .amount em { font: 500 14px var(--mono); color: var(--muted); font-style: normal; margin-left: 10px; letter-spacing: .08em; text-transform: uppercase; }
.p-plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.p-plan li { display: flex; gap: 10px; font-size: 16px; }
.p-plan li i { font-style: normal; font-size: 10px; color: var(--muted); padding-top: 6px; }
.p-plan.main li i { color: var(--calm); }
.p-plan .p-btn { margin-top: auto; align-self: flex-start; }

/* 9. Questions, what's new and the close */
.p-faq { padding: 40px 0 120px; }
.p-faq .p-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; }
.p-qs details, .p-new details { border-top: 1px solid var(--line); padding: 18px 0; }
.p-qs summary, .p-new summary { cursor: pointer; font: 500 19px var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.p-qs summary::after { content: '+'; color: var(--muted); font-family: var(--mono); }
.p-qs details[open] summary::after { content: '−'; }
.p-qs details p { color: var(--soft); margin-top: 10px; }
.p-new { padding: 0 0 80px; }
.p-end { position: relative; padding: 170px 0 0; text-align: center; overflow: hidden; display: flex; flex-direction: column; }
.p-end-line { order: 2; height: clamp(150px, 22svh, 240px); margin-top: 70px; }
.p-end h2 { font-size: clamp(44px, 6.6vw, 92px); margin-top: 14px; }
.p-end .p-actions { justify-content: center; }

/* Other pages: privacy, notify */
.p-doc { width: min(760px, calc(100vw - 48px)); margin: 0 auto; padding: 150px 0 110px; }
.p-doc h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.p-meta { color: var(--muted); font: 13px var(--mono); margin-bottom: 34px; }
.p-prose h2 { font-size: 26px; margin: 34px 0 10px; }
.p-prose p, .p-prose li { color: var(--soft); }
.p-prose p + p { margin-top: 12px; }
.p-notify img { border-radius: 18px; margin-bottom: 26px; }
.p-form { margin-top: 30px; }
.p-form label { display: block; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.p-form .row { display: flex; gap: 10px; }
.p-form input[type=email] { flex: 1; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 0 14px; font: 16px var(--body); }
.p-form .error { color: var(--short); margin-top: 10px; }
.hp { position: absolute; left: -9999px; }
.p-link { font-weight: 600; }

/* The footer */
.p-foot { border-top: 1px solid var(--line); padding: 34px max(24px, calc((100vw - 1180px) / 2)) 40px; }
.p-foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.p-foot nav { display: flex; gap: 22px; }
.p-foot nav a { color: var(--soft); font-size: 14px; }
.p-foot-fine { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 12.5px; }
.p-foot-fine a { color: var(--soft); }

/* Sections that rise in */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s, transform .9s var(--out); }
.js [data-reveal].seen { opacity: 1; transform: none; }

/* Phones */
@media (max-width: 900px) {
  .p-top nav { display: none; }
  .p-top > .p-btn, .p-top > a:last-child:not(.p-mark) { margin-left: auto; }
  .p-hero-line { height: 150px; margin: 26px 0 60px; }
  .p-now { padding: 20px 18px; }
  .p-now-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .p-now-head > div:first-child { min-height: 84px; }
  .p-readings { gap: 16px; }
  .p-readings dd span { font-size: 19px; }
  .p-now-line { height: 160px; }
  .p-now-body { grid-template-columns: 1fr; }
  .p-reading { min-height: 170px; }
  .p-intro .p-wrap, .p-close-s .p-wrap, .p-faq .p-wrap { grid-template-columns: 1fr; gap: 30px; }
  .p-facts { grid-template-columns: 1fr; }
  .p-verdicts ul { grid-template-columns: 1fr 1fr; }
  .p-demo { height: 520px; padding: 18px; }
  .d-coach { left: 18px; right: 18px; width: auto; top: 90px; }
  .d-done { left: 18px; right: 18px; top: 268px; }
  .d-line { height: 120px; }
  .d-done b { font-size: 16px; }
  .p-looks { height: auto; }
  .p-looks .p-sticky { position: static; min-height: 0; display: block; padding: 110px 0 30px; }
  .p-looks-pic { display: none; }
  .p-steps li { opacity: 1; grid-template-columns: 1fr; }
  .p-step-pic { display: block; margin-top: 14px; }
  .p-plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .p-row-name em { display: none; }
  .p-verdicts ul { grid-template-columns: 1fr; }
  .p-readings { flex-wrap: wrap; gap: 12px 18px; }
}

/* Reduce Motion: every section shows its final state, and nothing loops */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-in], .js [data-reveal], .js .p-private .p-promises li, .js .p-close-s .d-coach, .js .p-close-s .d-done { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .js .p-line .stroke { stroke-dashoffset: 0 !important; animation: none !important; }
  .js .p-line circle, .js .p-line .under { opacity: 1 !important; animation: none !important; }
  .js .p-line .now-halo { opacity: .16 !important; }
}

/* The guide: an index of every name, and a page for each (lib/sites/procession.mjs) */
.g-index, .g-entry { padding: 132px 0 90px; }
.p-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 12.5px var(--mono); color: var(--muted); margin-bottom: 30px; }
.p-crumbs a { color: var(--soft); }
.p-crumbs > * + *::before { content: "/"; margin-right: 10px; color: #3A4A50; }
.g-index h1 { font-size: clamp(38px, 5.4vw, 68px); }
.g-head h1 { display: grid; gap: 10px; }
.g-head h1 code { font: 500 clamp(34px, 5.4vw, 70px)/1.04 var(--mono); letter-spacing: -.03em; overflow-wrap: anywhere; }
.g-plain { font: 500 clamp(22px, 2.6vw, 32px)/1.2 var(--head); color: var(--soft); letter-spacing: -.01em; }
.g-mark { display: inline-block; margin-top: 18px; font-size: 16px; }
.g-head .p-lede { margin-top: 16px; }
.g-body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 40px; margin-top: 46px; align-items: start; }
.g-card { min-height: 0; }
.g-card .what { margin-top: 12px; }
.g-verdict { margin-top: 22px; border-left: 2px solid var(--c); padding: 4px 0 4px 18px; }
.g-verdict p { margin-top: 8px; color: var(--soft); }
.g-verdict b { color: var(--c); font-weight: 600; }
.g-side { display: grid; gap: 30px; padding-top: 8px; }
.g-names { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.g-names code { display: inline-block; font: 500 13.5px var(--mono); color: var(--soft); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; overflow-wrap: anywhere; }
.g-src { list-style: none; padding: 0; margin: 10px 0 0; }
.g-src li + li { margin-top: 6px; }
.g-related { margin-top: 70px; }
.g-related .p-sub { font-size: 15px; }
.g-list { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.g-list li > a, .g-list li > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto; grid-template-areas: "code name verdict"; gap: 18px; align-items: baseline; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--text); transition: background .2s; }
.g-list li > a:hover { background: var(--panel); }
.g-list code { grid-area: code; font: 500 14.5px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-list span:not(.p-verdict) { grid-area: name; color: var(--soft); font-size: 15px; }
.g-list .p-verdict { grid-area: verdict; justify-self: end; font-size: 13.5px; white-space: nowrap; }
.g-filter { margin: 36px 0 0; max-width: 560px; }
.g-filter input { width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font: 500 15px var(--mono); transition: border-color .2s; }
.g-filter input::placeholder { color: var(--muted); }
.g-filter input:focus { border-color: var(--calm); outline: none; }
.g-group { margin-top: 46px; }
.g-group h2 span { color: var(--text); margin-left: 8px; }
.g-verdicts { margin-top: 76px; }
.g-verdicts ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.g-verdicts li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.g-verdicts b { display: block; color: var(--c); font-weight: 600; }
.g-verdicts span { display: block; margin-top: 6px; color: var(--soft); font-size: 14px; }
.g-cta { position: relative; overflow: hidden; margin-top: 84px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 34px 34px 118px; }
.g-cta-line { position: absolute; left: 0; right: 0; bottom: 0; height: 86px; opacity: .55; pointer-events: none; }
.g-cta > div:last-child { position: relative; max-width: 640px; }
.g-cta .p-caps { display: inline-flex; align-items: center; gap: 10px; }
.g-cta-big { font: 500 clamp(24px, 2.8vw, 34px)/1.18 var(--head); letter-spacing: -.02em; margin-top: 12px; }
.g-cta .p-actions { margin-top: 22px; }
.p-more { display: inline-block; margin-top: 20px; font-size: 15px; }
.g-source { margin-top: 26px; }
@media (max-width: 900px) {
  .g-index, .g-entry { padding-top: 110px; }
  .g-body { grid-template-columns: 1fr; gap: 30px; }
  .g-verdicts ul { grid-template-columns: 1fr 1fr; }
  .g-cta { padding: 26px 22px 104px; }
  .g-card { padding: 22px 20px; }
}
@media (max-width: 560px) {
  .g-list li > a, .g-list li > div { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "code verdict" "name name"; gap: 4px 12px; }
  .g-verdicts ul { grid-template-columns: 1fr; }
}
