/* JW Blueprint — design system
   Palette, type and line-art language follow the Blueprint family:
   warm paper, near-black ink, one orange-red accent, one green for "good".
   Hairlines instead of boxes, light display type, drawings in single strokes. */

@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 500; font-display: swap; src: url(/fonts/bricolage-grotesque-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 500; font-display: swap; src: url(/fonts/bricolage-grotesque.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/fonts/inter-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(/fonts/inter.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/jetbrains-mono.woff2) format('woff2'); }

:root {
  --bg-rgb: 245, 244, 240;
  --ink-rgb: 22, 22, 24;
  --acc-rgb: 214, 72, 28;
  --green-rgb: 46, 122, 88;
  --bg: #f5f4f0;
  --bg-2: #efeee9;
  --panel: #f0efea;
  --raised: #fbfaf7;
  --ink: #161618;
  --ink-2: #3c3b38;
  --dim: #6e6c66;
  --faint: rgba(var(--ink-rgb), 0.14);
  --hair: rgba(var(--ink-rgb), 0.07);
  --line-2: rgba(var(--ink-rgb), 0.32);
  --accent: #d6481c;
  --green: #2e7a58;
  --on-accent: #fff;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 3.8vw, 48px);
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg-rgb: 5, 5, 5;
  --ink-rgb: 242, 242, 242;
  --acc-rgb: 255, 106, 61;
  --green-rgb: 120, 196, 156;
  --bg: #050505;
  --bg-2: #0b0b0b;
  --panel: #0c0d11;
  --raised: #101114;
  --ink: #f2f2f2;
  --ink-2: rgba(242, 242, 242, 0.84);
  --dim: rgba(242, 242, 242, 0.6);
  --faint: rgba(var(--ink-rgb), 0.14);
  --hair: rgba(var(--ink-rgb), 0.07);
  --line-2: rgba(var(--ink-rgb), 0.3);
  --accent: #ff6a3d;
  --green: #78c49c;
  --on-accent: #050505;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 15px/1.6 var(--sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh;
  background-image:
    linear-gradient(rgba(var(--ink-rgb), 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink-rgb), 0.022) 1px, transparent 1px);
  background-size: 48px 48px; background-attachment: fixed;
}
a { color: inherit; }
img, svg { display: block; }
::selection { background: rgba(var(--acc-rgb), 0.22); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 4px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- type ---- */
h1, h2, .display { font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 96; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; }
h1 em, h2 em { font-style: normal; color: var(--dim); }
h3 { font-weight: 500; font-size: 17px; letter-spacing: -0.012em; line-height: 1.3; margin: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.lead strong { color: var(--ink); font-weight: 500; }
.kicker { display: inline-flex; gap: .35em; align-items: center; font-size: 13px; font-weight: 500; color: var(--dim); margin-bottom: 14px; }
.kicker a { text-decoration: none; border-bottom: 1px solid var(--faint); }
.kicker a:hover { color: var(--accent); border-color: var(--accent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; flex: none; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.num { font-family: var(--display); font-weight: 300; font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }
.green { color: var(--green); }

/* ---- icons ---- */
.ic { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ic .acc { stroke: var(--accent); }
.ic .dim { opacity: .4; }
.ic [class*='a-'] { transform-box: fill-box; transform-origin: center; }
.line-icon {
  --ic: var(--ink-2);
  display: inline-grid; place-items: center; flex: none;
  width: var(--s, 42px); height: var(--s, 42px); padding: calc(var(--s, 42px) * .18);
  border-radius: calc(var(--s, 42px) * .28);
  border: 1px solid rgba(var(--ink-rgb), .12); background: var(--bg); color: var(--ic);
}
.line-icon .ic { stroke-width: 2.4; }
.bare-icon { display: inline-block; width: var(--s, 28px); height: var(--s, 28px); color: var(--ink-2); flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .ic .a-spin { animation: aSpin 14s linear infinite; }
  .ic .a-pulse { animation: aPulse 2.4s ease-in-out infinite; }
  .ic .a-float { animation: aFloat 3.2s ease-in-out infinite; }
  .ic .a-sway { animation: aSway 2.6s ease-in-out infinite; }
  .ic .a-flicker { animation: aFlicker 1.8s ease-in-out infinite; transform-origin: 50% 100%; }
  .fig .orbit { animation: aSpin 60s linear infinite; transform-origin: 120px 120px; }
  .fig .orbit-r { animation: aSpin 90s linear infinite reverse; transform-origin: 120px 120px; }
  .fig .sat { animation: aPulse 3s ease-in-out infinite; }
  .draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); animation: aDraw 2.2s var(--ease) .2s forwards; }
  .card:hover .line-icon, .row:hover .line-icon { animation: aBob 1s ease-in-out; }
}
@keyframes aSpin { to { transform: rotate(360deg); } }
@keyframes aPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes aFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes aSway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }
@keyframes aFlicker { 0%, 100% { transform: scale(1, 1); } 40% { transform: scale(.92, 1.08); } 70% { transform: scale(1.04, .95); } }
@keyframes aDraw { to { stroke-dashoffset: 0; } }
@keyframes aBob { 50% { translate: 0 -2px; } }

/* ---- top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--bg-rgb), .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hair);
}
.topbar-in { display: flex; align-items: center; gap: 24px; padding: 12px var(--gutter); max-width: 1440px; margin: 0 auto; }
.progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--accent); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 14px; flex: none; }
.brand svg { width: 26px; height: 26px; }
.brand small { display: block; font-weight: 400; font-size: 11px; color: var(--dim); line-height: 1; margin-top: 2px; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav > li { list-style: none; position: relative; }
.nav-a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: 14px; color: var(--ink-2); text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; border-bottom: 1px solid transparent; }
.nav-a:hover, .nav > li:focus-within > .nav-a { color: var(--ink); }
.nav-a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-a .car { width: 9px; height: 9px; opacity: .5; transition: transform .2s; }
.nav > li:hover .car, .nav > li.open .car { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: min(720px, 90vw);
  padding: 18px; background: var(--raised); border: 1px solid var(--faint); border-radius: 6px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
  display: grid; grid-template-columns: 220px 1fr; gap: 18px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav > li:hover .mega, .nav > li.open .mega, .nav > li:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-intro { border-right: 1px solid var(--hair); padding-right: 18px; }
.mega-intro p { font-size: 13px; color: var(--dim); margin: 8px 0 12px; }
.mega-intro .fig-sm { width: 96px; height: 96px; color: var(--ink-2); margin-bottom: 10px; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; align-content: start; }
.mega-links a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 4px; text-decoration: none; font-size: 13.5px; color: var(--ink-2); }
.mega-links a:hover { background: rgba(var(--ink-rgb), .04); color: var(--ink); }
.mega-links .bare-icon { --s: 22px; }
.tools { display: flex; gap: 6px; flex: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px;
  border: 1px solid var(--faint); border-radius: 4px; background: transparent; color: var(--ink-2);
  font: 500 13px var(--sans); text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--line-2); color: var(--ink); }
.btn-ghost svg { width: 15px; height: 15px; }
.btn-ghost .ic { stroke-width: 3; }
.menu-btn { display: none; }
.theme-btn svg.sun { display: none; }
.theme-btn .lbl { min-width: 2.6em; text-align: left; }
:root[data-theme="dark"] .theme-btn svg.sun { display: block; }
:root[data-theme="dark"] .theme-btn svg.moon { display: none; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 70; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--bg); border-left: 1px solid var(--faint); overflow-y: auto; padding: 18px 20px 40px; animation: slideIn .3s var(--ease); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer details { border-top: 1px solid var(--hair); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 16px; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary span:last-child { color: var(--dim); transition: transform .2s; }
.drawer details[open] summary span:last-child { transform: rotate(45deg); }
.drawer .d-links { display: grid; gap: 2px; padding-bottom: 12px; }
.drawer .d-links a { display: flex; gap: 10px; align-items: center; padding: 7px 4px; text-decoration: none; color: var(--ink-2); font-size: 14px; }
.drawer .d-links .bare-icon { --s: 22px; }
.drawer .d-top { display: block; padding: 14px 0; border-top: 1px solid var(--hair); text-decoration: none; font-size: 16px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .tools { margin-left: auto; }
  .tools .lbl { display: none; }
}

/* ---- sections ---- */
main { position: relative; z-index: 1; }
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec + .sec, .hero + .sec { padding-top: 0; }
.hero + .sec { padding-top: 8px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: end; margin-bottom: 36px; }
.sec-head p { color: var(--dim); font-size: 16px; margin: 0; }
.sec-head .more { justify-self: end; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow .ic { stroke-width: 3.4; }

/* ---- hero ---- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; max-width: 16ch; }
.hero .lead { margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.fig { width: clamp(180px, 24vw, 300px); aspect-ratio: 1; color: var(--ink-2); }
.fig svg { width: 100%; height: 100%; overflow: visible; }
.fig .ic { stroke-width: 1.5; }
.fig .grid-l { stroke: var(--faint); stroke-width: 1; fill: none; }
.fig .ring { stroke: var(--faint); fill: none; stroke-width: 1; }
.fig .ring-d { stroke: var(--line-2); fill: none; stroke-width: 1; stroke-dasharray: 2 5; }
.fig .tick { stroke: var(--ink-2); stroke-width: 1.2; fill: none; }
.fig .acc-l { stroke: var(--accent); fill: none; stroke-width: 1.4; }
.fig .sat { fill: var(--accent); }
.fig text { font: 500 8.5px var(--mono); letter-spacing: .1em; fill: var(--dim); }
.fig text.t-acc { fill: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 4px;
  font: 500 14px var(--sans); text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.alt:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn svg { width: 15px; height: 15px; }
.btn .ic { stroke-width: 3; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* step path — the "walks the same path" diagram */
.path { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); position: relative; margin: 8px 0 0; padding: 0; }
.path::before { content: ""; position: absolute; left: calc(50% / var(--n, 4)); right: calc(50% / var(--n, 4)); top: 22px; height: 1px; background: var(--line-2); }
.path::after { content: ""; position: absolute; left: calc(50% / var(--n, 4)); top: 22px; height: 1px; width: calc((100% - 100% / var(--n, 4)) * var(--pp, .45)); background: var(--accent); }
.path li { list-style: none; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.path a { text-decoration: none; display: contents; }
.path .node { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; padding: 10px; color: var(--ink-2); transition: border-color .2s, color .2s, transform .2s var(--ease); }
.path li:hover .node, .path li.on .node { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.path .node .ic { stroke-width: 2.6; }
.path b { font-weight: 500; font-size: 13px; color: var(--ink-2); line-height: 1.25; }
.path small { font: 10px var(--mono); color: var(--dim); }
.path-cap { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card {
  position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) 20px; gap: 16px; align-items: center;
  padding: 18px; border: 1px solid var(--faint); background: rgba(var(--bg-rgb), .6); text-decoration: none; color: inherit;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.card:hover { border-color: var(--line-2); background: var(--raised); transform: translateY(-2px); }
.card .art { width: 84px; height: 68px; color: var(--ink-2); display: grid; place-items: center; }
.card .art .ic { width: 56px; height: 56px; stroke-width: 1.7; }
.card h3 { font-size: 17px; margin: 2px 0 4px; }
.card p { font-size: 13.5px; color: var(--dim); margin: 0; line-height: 1.45; }
.card .tag { font-size: 12.5px; font-weight: 500; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.card .tag.acc { color: var(--accent); }
.card .go { width: 18px; height: 18px; color: var(--dim); transition: transform .25s var(--ease), color .2s; }
.card .go .ic { stroke-width: 3; }
.card:hover .go { transform: translateX(3px); color: var(--accent); }
.bars { display: inline-flex; gap: 2px; }
.bars i { width: 6px; height: 11px; border-radius: 2px; background: currentColor; }
.bars i.o { background: transparent; border: 1px solid currentColor; }

/* large feature cards */
.features { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.feature { display: flex; flex-direction: column; border: 1px solid var(--faint); text-decoration: none; background: rgba(var(--bg-rgb), .6); transition: border-color .25s, transform .25s var(--ease), background .25s; min-height: 100%; }
.feature:hover { border-color: var(--line-2); background: var(--raised); transform: translateY(-2px); }
.feature .stage { position: relative; aspect-ratio: 16/10; border-bottom: 1px solid var(--hair); display: grid; place-items: center; color: var(--ink-2); overflow: hidden;
  background-image: linear-gradient(rgba(var(--ink-rgb), .045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb), .045) 1px, transparent 1px); background-size: 24px 24px; }
.feature .stage .ic { width: 38%; height: auto; max-height: 72%; stroke-width: 1.4; }
.feature .stage .mono { position: absolute; left: 14px; top: 12px; }
.feature .stage .mono.r { left: auto; right: 14px; }
.feature .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.feature h3 { font-family: var(--display); font-weight: 300; font-size: 24px; letter-spacing: -.015em; line-height: 1.1; }
.feature:first-child h3 { font-size: 30px; }
.feature p { color: var(--dim); font-size: 14px; margin: 0; }
.feature .k { font-size: 12.5px; color: var(--accent); font-weight: 500; }

/* video tiles */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.vid { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.vid .thumb { position: relative; aspect-ratio: 16/9; border: 1px solid var(--faint); display: grid; place-items: center; color: var(--ink-2); overflow: hidden; background: rgba(var(--bg-rgb), .6);
  background-image: radial-gradient(circle at 50% 50%, rgba(var(--ink-rgb), .07) 1px, transparent 1.4px); background-size: 12px 12px; transition: border-color .25s; }
.vid .thumb .ic { width: 34%; height: auto; max-height: 64%; stroke-width: 1.5; }
.vid .play { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; padding: 9px 8px 9px 10px; transition: background .2s, border-color .2s, color .2s; }
.vid .play svg { width: 100%; height: 100%; fill: currentColor; }
.vid .dur { position: absolute; left: 10px; bottom: 10px; font: 10px var(--mono); color: var(--dim); }
.vid:hover .thumb { border-color: var(--line-2); }
.vid:hover .play { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.vid h3 { font-size: 15px; font-weight: 500; }
.vid p { font-size: 12.5px; color: var(--dim); margin: 0; }

/* open-column lists (one hairline over each item) */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.col { border-top: 1px solid var(--faint); padding-top: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.col .bare-icon { --s: 34px; margin-bottom: 6px; }
.col h3 { font-size: 16px; }
.col p { color: var(--dim); font-size: 13.5px; margin: 0; }
a.col:hover h3 { color: var(--accent); }

/* rows (numbered list with icon, like the "Tell us about you" steps) */
.rows { border-top: 1px solid var(--faint); }
.row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--faint); text-decoration: none; transition: background .2s; }
a.row:hover { background: rgba(var(--ink-rgb), .025); }
a.row:hover h3 { color: var(--accent); }
.row .bare-icon { --s: 30px; justify-self: center; }
.row h3 { font-size: 16px; }
.row p { margin: 2px 0 0; font-size: 13.5px; color: var(--dim); }
.row .n { font: 11px var(--mono); color: var(--dim); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 32px; margin: 8px 0 0; }
.stat { border-top: 1px solid var(--faint); padding-top: 18px; position: relative; }
.stat .num { font-size: clamp(38px, 4.4vw, 58px); line-height: 1; display: block; margin-bottom: 10px; }
.stat p { margin: 0; color: var(--ink-2); font-size: 14px; }
.stat small { display: block; font-size: 11.5px; color: var(--dim); margin-top: 10px; }
.stat .spark { position: absolute; right: 0; top: 22px; width: 52px; height: 30px; }
.stat .spark path { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; }
.stat .spark .base { stroke: var(--faint); }

/* sub-nav pill strip */
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .14); font-size: 13px; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: border-color .2s, transform .2s; }
.pill .line-icon { --s: 26px; border-radius: 50%; }
.pill:hover { border-color: var(--line-2); transform: translateY(-1px); }
.pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill.on .line-icon { background: transparent; color: var(--bg); border-color: rgba(var(--bg-rgb), .35); }
.pill.on .line-icon .acc { stroke: var(--bg); }
.subnav { position: sticky; top: 59px; z-index: 30; background: rgba(var(--bg-rgb), .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.subnav .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gutter); max-width: 1440px; margin: 0 auto; }
.subnav .pills::-webkit-scrollbar { display: none; }

/* toc */
.toc { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 16px 0; border-top: 1px solid var(--faint); border-bottom: 1px solid var(--faint); margin: 8px 0 40px; }
.toc a { font-size: 13px; color: var(--dim); text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* ---- article ---- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.prose { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); max-width: 68ch; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); margin: 52px 0 16px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .mono { display: block; margin-bottom: 10px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 10px; height: 1px; background: var(--accent); }
.prose a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.verse { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 1px solid var(--accent); }
.verse p { font-family: var(--display); font-weight: 300; font-size: 22px; line-height: 1.35; color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; }
.verse cite { font-style: normal; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.callout { margin: 28px 0; padding: 18px 20px; border: 1px solid var(--faint); background: rgba(var(--bg-rgb), .6); display: grid; grid-template-columns: 30px 1fr; gap: 14px; font-size: 15px; }
.callout .bare-icon { --s: 30px; }
.callout p:last-child { margin: 0; }
.aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 22px; }
.aside-box { border-top: 1px solid var(--faint); padding-top: 14px; }
.aside-box h4 { margin: 0 0 10px; font-size: 13px; font-weight: 500; color: var(--dim); }
.aside-box a { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.aside-box a:hover { color: var(--accent); }
.aside-box .bare-icon { --s: 22px; }
.aside-box ol { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.aside-box ol a::before { counter-increment: t; content: counter(t, decimal-leading-zero); font: 10px var(--mono); color: var(--dim); width: 18px; }
.share-row { display: flex; gap: 6px; }

/* faq accordion */
.faq { border-top: 1px solid var(--faint); }
.faq details { border-bottom: 1px solid var(--faint); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px 1fr 24px; gap: 14px; align-items: center; padding: 18px 4px; font-size: 16.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font: 11px var(--mono); color: var(--dim); }
.faq summary .pm { width: 18px; height: 18px; color: var(--dim); transition: transform .3s var(--ease); }
.faq details[open] summary .pm { transform: rotate(45deg); color: var(--accent); }
.faq .ans { padding: 0 40px 22px 54px; color: var(--ink-2); font-size: 15px; max-width: 80ch; }
.faq .ans p:last-child { margin: 0; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--dim); padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: 14px 12px; border-bottom: 1px solid var(--faint); vertical-align: top; }
.tbl td:first-child { font: 11px var(--mono); color: var(--dim); white-space: nowrap; }
.tbl tr:hover td { background: rgba(var(--ink-rgb), .02); }
.tbl a { text-decoration: none; }
.tbl a:hover { color: var(--accent); }
.tbl-wrap { overflow-x: auto; }

/* bible book grid */
.books h3 { margin: 32px 0 14px; font-size: 13px; color: var(--dim); font-weight: 500; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.book { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px; border: 1px solid var(--faint); text-decoration: none; font-size: 14px; transition: border-color .2s, background .2s; }
.book small { font: 10px var(--mono); color: var(--dim); }
.book:hover { border-color: var(--accent); background: var(--raised); }
.book:hover small { color: var(--accent); }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 400 15px var(--sans); color: var(--ink); background: var(--raised); border: 1px solid var(--faint); border-radius: 4px; padding: 11px 12px; transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; padding: 8px 14px; border: 1px solid var(--faint); border-radius: 4px; font-size: 13.5px; transition: all .2s; }
.seg input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: 12.5px; color: var(--dim); grid-column: 1 / -1; }
.form-ok { display: none; grid-column: 1 / -1; padding: 16px; border: 1px solid var(--green); color: var(--green); font-size: 14px; }
.form.sent .form-ok { display: block; }

/* panels: framed blocks */
.panel { border: 1px solid var(--faint); background: rgba(var(--bg-rgb), .6); padding: clamp(20px, 3vw, 32px); }
.panel-head { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--faint); }
.panel-head .bare-icon { --s: 30px; margin-top: 2px; }
.panel-head h3 { font-family: var(--display); font-weight: 300; font-size: 24px; letter-spacing: -.015em; }
.panel-head p { margin: 4px 0 0; color: var(--dim); font-size: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.split.r { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

/* timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.tl { position: relative; padding-bottom: 26px; }
.tl::before { content: ""; position: absolute; left: -27px; top: 6px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--accent); background: var(--bg); }
.tl:first-child::before { background: var(--accent); }
.tl .mono { display: block; margin-bottom: 4px; }
.tl h3 { margin-bottom: 4px; }
.tl p { color: var(--dim); font-size: 14px; margin: 0; }

/* news list */
.news-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) 140px; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--faint); text-decoration: none; align-items: start; }
.news-item:hover h3 { color: var(--accent); }
.news-item .mono { padding-top: 3px; }
.news-item h3 { font-family: var(--display); font-weight: 300; font-size: 22px; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 6px; }
.news-item p { margin: 0; color: var(--dim); font-size: 14px; }
.news-item .art { height: 84px; border: 1px solid var(--faint); display: grid; place-items: center; color: var(--ink-2); }
.news-item .art .ic { width: 44px; height: 44px; stroke-width: 1.6; }

/* world map dots */
.map { position: relative; border: 1px solid var(--faint); aspect-ratio: 2/1; overflow: hidden; }
.map svg { width: 100%; height: 100%; }
.map .land { fill: rgba(var(--ink-rgb), .22); }
.map .hot { fill: var(--accent); }
.map .hot-r { fill: none; stroke: var(--accent); stroke-width: .6; }

/* search */
.search-box { display: flex; gap: 0; border: 1px solid var(--line-2); border-radius: 4px; background: var(--raised); align-items: center; padding: 0 0 0 14px; max-width: 720px; }
.search-box svg { width: 20px; height: 20px; color: var(--dim); flex: none; }
.search-box input { flex: 1; border: 0; background: transparent; font: 300 22px var(--sans); color: var(--ink); padding: 14px; min-width: 0; }
.search-box input:focus { outline: none; }
.search-box:focus-within { border-color: var(--accent); }
.results { margin-top: 28px; }
.result-count { font-size: 13px; color: var(--dim); margin-bottom: 8px; }
mark { background: rgba(var(--acc-rgb), .18); color: inherit; padding: 0 1px; }

/* notice band */
.band { border-top: 1px solid var(--faint); border-bottom: 1px solid var(--faint); padding: 28px 0; }
.band-in { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h3 { font-family: var(--display); font-weight: 300; font-size: 26px; letter-spacing: -.015em; }
.band .bare-icon { --s: 40px; }
.band-l { display: flex; gap: 18px; align-items: center; }
.band p { margin: 4px 0 0; color: var(--dim); font-size: 14px; }

/* breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--faint); }
.crumbs a:hover { color: var(--accent); border-color: var(--accent); }

/* ---- footer ---- */
.foot { margin-top: 40px; border-top: 1px solid var(--faint); padding: 56px 0 40px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.foot h4 { font-size: 13px; font-weight: 500; color: var(--dim); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { text-decoration: none; font-size: 13.5px; color: var(--ink-2); }
.foot a:hover { color: var(--accent); }
.foot-brand p { font-size: 13.5px; color: var(--dim); max-width: 34ch; margin: 12px 0 16px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--dim); }
.foot-base a { font-size: 12.5px; color: var(--dim); }
.lang { display: inline-flex; align-items: center; gap: 8px; }
.lang select { font: 500 13px var(--sans); background: transparent; color: var(--ink-2); border: 1px solid var(--faint); border-radius: 4px; padding: 6px 8px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
.no-js .rv { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .fig { justify-self: start; width: 180px; order: -1; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .sec-head .more { justify-self: start; }
  .features { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; }
  .split, .split.r { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-item .art { display: none; }
  .mega { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .path { --n: 4 !important; row-gap: 22px; }
  .path b { font-size: 12px; }
  .card { grid-template-columns: 56px minmax(0, 1fr) 16px; gap: 12px; padding: 14px; }
  .card .art { width: 56px; height: 56px; }
  .card .art .ic { width: 42px; height: 42px; }
  .form { grid-template-columns: 1fr; }
  .faq .ans { padding: 0 8px 20px 54px; }
  .brand small { display: none; }
}
@media print {
  .topbar, .foot, .subnav, .aside, .drawer { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =====================================================================
   v2 — photography in Blueprint frames, line-art scenes, motion
   ===================================================================== */

/* ---- photo frame ---- */
.ph { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16/10; background: var(--panel); border: 1px solid var(--faint);
  background-image: linear-gradient(rgba(var(--ink-rgb), .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb), .05) 1px, transparent 1px); background-size: 24px 24px; isolation: isolate; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92) contrast(1.02); }
.ph-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); }
.ph-fallback .ic { width: 28%; height: auto; max-height: 60%; stroke-width: 1.4; }
.ph::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .28)); }
.ph-anno { position: absolute; inset: 10px; z-index: 3; pointer-events: none; }
.ph-anno i { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255, 255, 255, .95); transform: scale(0); transition: transform .9s var(--ease) .35s; }
.ph-anno i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; transform-origin: 0 0; }
.ph-anno i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; transform-origin: 100% 0; }
.ph-anno i:nth-child(3) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; transform-origin: 100% 100%; }
.ph-anno i:nth-child(4) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; transform-origin: 0 100%; }
.rv.in .ph-anno i, .banner .ph-anno i, .no-js .ph-anno i { transform: scale(1); }
a:hover .ph-anno i { transform: scale(1.35); transition-delay: 0s; }
.ph-scan { position: absolute; left: -10px; right: -10px; top: 0; height: 1px; background: var(--accent); box-shadow: 0 0 12px var(--accent); opacity: 0; }
.ph figcaption { position: absolute; left: 38px; right: 38px; bottom: 13px; z-index: 3; display: flex; justify-content: space-between; gap: 10px; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
a:hover .ph img { transform: scale(1.05); filter: saturate(1.05); }
@media (prefers-reduced-motion: no-preference) {
  .rv .ph img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease) .1s, transform 1.2s var(--ease), filter .6s; }
  .rv.in .ph img { clip-path: inset(0 0 0 0); }
  .ph:hover .ph-scan, a:hover .ph-scan { animation: scan 1.6s var(--ease) 1; }
  .banner .ph-scan, .hero-photo .ph-scan { animation: scan 6s ease-in-out 1s infinite; }
}
@keyframes scan { 0% { opacity: 0; top: 0; } 10% { opacity: .9; } 90% { opacity: .9; } 100% { opacity: 0; top: 100%; } }

/* ---- home banner (photo-led, like the original site) ---- */
.banner { position: relative; }
.banner-ph { aspect-ratio: auto; height: clamp(380px, 62vh, 640px); border: 0; border-bottom: 1px solid var(--faint); }
.banner-ph::after { background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05) 60%), linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35)); }
.banner-ph img { will-change: transform; }
.banner-copy { position: absolute; inset: 0; z-index: 4; display: flex; align-items: flex-end; padding-bottom: clamp(28px, 5vw, 64px); pointer-events: none; }
.banner-card { pointer-events: auto; max-width: 520px; padding: 24px 26px; background: rgba(var(--bg-rgb), .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--faint); position: relative; }
.banner-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 40px; height: 2px; background: var(--accent); }
.banner-card h2 { font-size: clamp(30px, 3.6vw, 48px); margin: 10px 0 8px; }
.banner-card p { color: var(--ink-2); margin-bottom: 18px; }
.banner-card .mono { color: var(--accent); }

/* ---- hero photo band ---- */
.hero-photo { margin-top: clamp(28px, 4vw, 48px); }
.ph.wide { aspect-ratio: 21/8; }
.hero-text > * { animation: heroIn .9s var(--ease) both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; } .hero-text > *:nth-child(3) { animation-delay: .16s; } .hero-text > *:nth-child(4) { animation-delay: .24s; } .hero-text > *:nth-child(5) { animation-delay: .32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } }
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }

/* floating line-art decoration behind heroes */
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.deco span { position: absolute; width: var(--s); height: var(--s); color: var(--ink); opacity: .07; animation: drift 14s ease-in-out infinite; }
.deco .ic { stroke-width: 1.6; }
.deco .ic .acc { stroke: var(--accent); }
:root[data-theme="dark"] .deco span { opacity: .12; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(10px, -14px) rotate(6deg); } 66% { transform: translate(-8px, 8px) rotate(-5deg); } }

/* ---- photo cards ---- */
.cards.pcards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--faint); background: rgba(var(--bg-rgb), .6); transition: border-color .25s, transform .3s var(--ease), background .25s, box-shadow .3s; }
.pcard .ph { border: 0; border-bottom: 1px solid var(--faint); aspect-ratio: 16/9; }
.pcard:hover { border-color: var(--line-2); background: var(--raised); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .35); }
.pcard-body { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 14px; padding: 0 18px 18px; align-items: start; }
.pcard-body .line-icon { margin-top: -20px; position: relative; z-index: 4; background: var(--bg); box-shadow: 0 0 0 4px var(--bg); }
.pcard-body h3 { font-size: 16.5px; margin: 14px 0 4px; }
.pcard-body p { font-size: 13.5px; color: var(--dim); margin: 0; line-height: 1.45; }
.pcard .go { width: 18px; height: 18px; color: var(--dim); margin-top: 16px; transition: transform .25s var(--ease), color .2s; }
.pcard .go .ic { stroke-width: 3; }
.pcard:hover .go { transform: translateX(3px); color: var(--accent); }
.pcard:hover .line-icon { color: var(--accent); }

/* features with photos */
.feature .stage-ph { border: 0; border-bottom: 1px solid var(--hair); aspect-ratio: 16/10; }

/* video tiles with photos */
.vid .thumb.has-ph .ph { position: absolute; inset: 0; aspect-ratio: auto; border: 0; }
.vid .thumb.has-ph .vid-ic { position: absolute; left: 10px; top: 10px; z-index: 4; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(var(--bg-rgb), .9); color: var(--ink-2); }
.vid .thumb.has-ph .vid-ic .ic { width: 100%; height: 100%; max-height: none; stroke-width: 2.4; }
.vid .thumb.has-ph .dur { z-index: 4; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.vid .play { z-index: 4; }
.vid .thumb:not(.has-ph) .vid-ic { display: contents; }

/* news photos */
.news-item .art-ph { border: 0; padding: 0; height: auto; display: block; }
.news-item .art-ph .ph { aspect-ratio: 4/3; }
.news-item { grid-template-columns: 120px minmax(0, 1fr) 180px; }

/* ---- marquee of topics ---- */
.marquee { border-top: 1px solid var(--faint); border-bottom: 1px solid var(--faint); overflow: hidden; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; align-items: center; animation: marq 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a, .marquee .dup a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-family: var(--display); font-weight: 300; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; color: var(--ink-2); }
.marquee .dup { display: flex; gap: 28px; align-items: center; }
.marquee a:hover { color: var(--accent); }
.marquee .bare-icon { --s: 28px; }
.marquee i { color: var(--accent); font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- line-art scenes ---- */
.scene-block { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.scene-block.flip > .scene { order: 2; }
.scene-block h2 { margin-bottom: 16px; }
.scene-block .lead { margin-bottom: 22px; }
.scene { border: 1px solid var(--faint); background: rgba(var(--bg-rgb), .6); position: relative;
  background-image: linear-gradient(rgba(var(--ink-rgb), .04) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--ink-rgb), .04) 1px, transparent 1px); background-size: 30px 30px; }
.scene::before, .scene::after { content: ""; position: absolute; width: 16px; height: 16px; border: 1px solid var(--accent); }
.scene::before { left: 8px; top: 8px; border-right: 0; border-bottom: 0; }
.scene::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.scene svg { width: 100%; height: auto; display: block; overflow: visible; }
.scene path, .scene circle, .scene rect, .scene ellipse { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.scene .l, .scene .l * { stroke: var(--ink-2); stroke-width: 1.6; fill: none; }
.scene .a { stroke: var(--accent); stroke-width: 1.6; }
.scene .d { stroke: var(--line-2); stroke-width: 1; }
.scene .a-dot { fill: var(--accent); stroke: none; }
.scene text { font: 500 9px var(--mono); letter-spacing: .12em; fill: var(--dim); }
.scene text.sign { fill: var(--ink-2); font-size: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .scene path, .scene circle, .scene rect, .scene ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
  .scene .a-dot { opacity: 0; transition: opacity .6s 1.6s; }
  .scene text { opacity: 0; transition: opacity .8s 1.8s; }
  .rv.in .scene path, .rv.in .scene circle, .rv.in .scene rect, .rv.in .scene ellipse { stroke-dashoffset: 0; }
  .rv.in .scene .a-dot, .rv.in .scene text { opacity: 1; }
  .scene .s-cloud { animation: cloud 26s linear infinite; }
  .scene .s-bird { animation: flap .9s ease-in-out infinite; }
  .scene .s-sway { animation: sway 5s ease-in-out infinite; }
  .scene .s-ray { animation: aPulse 3s ease-in-out infinite; }
  .scene .s-spin { animation: aSpin 30s linear infinite; }
  .scene .s-walk { animation: walk 12s ease-in-out infinite; }
  .scene .s-flicker { animation: aFlicker 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
  .scene .s-page { animation: page 4s ease-in-out infinite; transform-box: fill-box; transform-origin: 0 100%; }
  .scene .s-ping { animation: ping 2.4s ease-out infinite; }
  .rv.in .scene .s-flow { stroke-dasharray: .04 .03; animation: flow 3s linear infinite; }
  .rv.in .scene .s-orbit { stroke-dasharray: .01 .02; animation: flow 20s linear infinite; }
}
@keyframes cloud { from { transform: translateX(-40px); } to { transform: translateX(80px); } }
@keyframes flap { 50% { transform: scaleY(.4) translateY(2px); } }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes walk { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(40px); } }
@keyframes page { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg); } }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes flow { to { stroke-dashoffset: -1; } }

/* ---- icons draw themselves in when revealed ---- */
@media (prefers-reduced-motion: no-preference) {
  .rv .ic path, .rv .ic circle, .rv .ic rect, .rv .ic ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease) .15s; }
  .rv.in .ic path, .rv.in .ic circle, .rv.in .ic rect, .rv.in .ic ellipse { stroke-dashoffset: 0; }
  .fig .ic path, .fig .ic circle, .fig .ic rect, .fig .ic ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; animation: aDraw 2.4s var(--ease) .3s forwards; }
  .fig .ring, .fig .tick { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: aDraw 3s var(--ease) forwards; }
  .card:hover .ic path, .card:hover .ic circle, .col:hover .ic path, .row:hover .ic path, .pcard:hover .ic path { animation: redraw 1s var(--ease); }
  .path::after { transform-origin: left; animation: grow 1.6s var(--ease) .4s both; }
  .btn svg { transition: transform .25s var(--ease); }
  .btn:hover svg { transform: translateX(3px); }
  .link-arrow { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s, border-color .2s; }
  .link-arrow:hover { background-size: 100% 1px; }
  .stat .spark path:not(.base) { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
  .rv.in .spark path:not(.base) { stroke-dashoffset: 0; }
  .tl::before { transition: transform .5s var(--ease), background .3s; }
  .tl:hover::before { transform: scale(1.4); background: var(--accent); }
}
@keyframes redraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleX(0); } }

@media (max-width: 960px) {
  .scene-block, .scene-block.flip { grid-template-columns: 1fr; }
  .scene-block.flip > .scene { order: 0; }
  .ph.wide { aspect-ratio: 16/9; }
  .banner-ph { height: 70vh; }
  .news-item .art-ph { display: block; }
  .news-item { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .banner-copy { position: relative; padding: 0; }
  .banner-ph { height: 52vh; }
  .banner-card { max-width: none; border-left: 0; border-right: 0; margin: -40px 0 0; }
  .marquee a { font-size: 18px; }
}
