/* PolarPath landing. Ink and bone, one signal colour, Cabinet Grotesk display, Satoshi text, Gambetta italic for emphasis. */
:root {
  --ink: #0c0d10;
  --ink-2: #15171c;
  --bone: #f2efe8;
  --bone-2: #e9e5dc;
  --ice: #d9dee3;
  --signal: #ff4d1c;
  --mute-on-ink: #9aa0a8;
  --mute-on-bone: #5e5a52;
  --hair-ink: rgba(242,239,232,0.12);
  --hair-bone: rgba(12,13,16,0.12);
  --display: "Cabinet Grotesk", "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;
  --text: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Gambetta", "Times New Roman", serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 2200px;
  --gutter: clamp(20px, 4vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button, a { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
::selection { background: var(--signal); color: var(--ink); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
main { width: 100%; max-width: 100%; overflow-x: clip; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.96; text-wrap: balance; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.02em; }
.h-display { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4.25rem); }
h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.025em; line-height: 1.05; }
.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.word { display: block; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 1rem; white-space: nowrap; will-change: transform; transition: background-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease); }
.btn > span { position: relative; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn-lg { min-height: 68px; padding: 0 34px; font-size: 1.125rem; }
.btn-bone { background: var(--bone); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-ghost-bone { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px var(--hair-ink); }
.arrow { width: 36px; height: 36px; margin-right: -14px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(12,13,16,0.08); transition: transform 500ms var(--ease), background-color 300ms var(--ease); }
.btn-ink .arrow { background: rgba(242,239,232,0.12); }
.arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .btn-bone:hover { background: #fff; }
  .btn-ghost-bone:hover { box-shadow: inset 0 0 0 1px rgba(242,239,232,0.4); }
  .btn-signal:hover { background: #ff6a40; }
  .btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
}
.textlink { position: relative; display: inline-block; margin-top: 22px; font-weight: 500; padding-bottom: 4px; }
.textlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform 500ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .textlink:hover::after { transform: scaleX(0); transform-origin: right; } }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--gutter); color: var(--bone); mix-blend-mode: difference; transition: transform 600ms var(--ease); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; justify-self: start; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { position: relative; font-size: 0.9375rem; font-weight: 500; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 500ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav-right { display: flex; align-items: center; gap: 22px; justify-self: end; }
.nav-link-contact { font-size: 0.9375rem; font-weight: 500; }
.nav .btn-bone { background: #fff; color: #000; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1px currentColor; }
.burger span { position: absolute; left: 14px; width: 16px; height: 1.5px; background: currentColor; transition: transform 500ms var(--ease), top 500ms var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--bone); padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu ul { display: grid; gap: 4px; }
.menu a:not(.btn) { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 10vw, 4rem); letter-spacing: -0.04em; line-height: 1; padding: 8px 0; }
.menu .btn { align-self: flex-start; }
.menu.is-open li { opacity: 0; transform: translateY(30px); animation: menu-in 700ms var(--ease) forwards; animation-delay: calc(var(--i) * 50ms + 60ms); }
@keyframes menu-in { to { opacity: 1; transform: none; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 130px 0 150px; overflow: clip; }
.hero-wash { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(900px 600px at 85% 20%, rgba(255,77,28,0.10), transparent 60%),
  radial-gradient(1000px 700px at 10% 90%, rgba(217,222,227,0.07), transparent 60%); }
.hero-inner { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.75rem, 1rem + 5.2vw, 7rem); line-height: 0.92; max-width: 100%; }
.hero-title .serif { font-size: 0.9em; }
.hero-foot { display: grid; gap: 28px; margin-top: clamp(36px, 4vw, 56px); max-width: 600px; }
.hero-lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); color: var(--mute-on-ink); line-height: 1.5; }
.hero-lead { color: #c9ccd2; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 0; will-change: transform; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(12,13,16,0.92) 18%, rgba(12,13,16,0.35) 48%, rgba(12,13,16,0.1) 100%), linear-gradient(180deg, rgba(12,13,16,0.55) 0%, transparent 25%, transparent 70%, var(--ink) 100%); }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; font-size: 0.875rem; color: var(--mute-on-ink); z-index: 2; }
.ledger { justify-self: end; display: grid; gap: 10px; justify-items: end; }
.ledger dl { display: flex; gap: 28px; }
.ledger dl div { display: grid; gap: 2px; min-width: 7rem; }
.ledger dt { font-size: 0.75rem; color: var(--mute-on-ink); white-space: nowrap; }
.ledger dd { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--bone); font-variant-numeric: tabular-nums; line-height: 1.1; }
.ledger-link { font-size: 0.8125rem; color: var(--signal); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(255,77,28,0.4); }
.swap { display: grid; }
.swap-item { grid-area: 1 / 1; white-space: nowrap; }
.js .swap-item:not(.is-current) { transform: translateY(125%); }
.path { width: min(46vw, 760px); justify-self: center; }
.path-track { position: relative; height: 1px; background: var(--hair-ink); margin-bottom: 14px; }
.path-line { position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(255,77,28,0.35), var(--signal)); transform-origin: left center; transform: scaleX(0); }
.runner { position: absolute; top: -4px; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(255,77,28,0.18), 0 0 18px rgba(255,77,28,0.75); }
.runner-chip { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); will-change: transform; white-space: nowrap; font-style: normal; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em; color: var(--ink); background: var(--bone); padding: 5px 10px; border-radius: 999px; box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6); }
.runner-chip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: var(--bone); transform: translateX(-50%) rotate(45deg); border-radius: 1px; }
.runner.at-start .runner-chip { left: -4px; transform: none; }
.runner.at-start .runner-chip::after { left: 8px; transform: rotate(45deg); }
.runner.at-end .runner-chip { left: auto; right: -4px; transform: none; }
.runner.at-end .runner-chip::after { left: auto; right: 4px; transform: rotate(45deg); }
.path-nodes { position: relative; height: 4.6em; font-size: 0.8125rem; color: var(--mute-on-ink); }
.path-nodes li { position: absolute; top: 0; left: var(--x, 0%); transform: translateX(-50%); text-align: center; padding-top: 10px; white-space: nowrap; transition: color 400ms var(--ease); }
.path-nodes li:first-child { left: 0; transform: none; text-align: left; }
.path-nodes li:last-child { left: 100%; transform: translateX(-100%); text-align: right; }
.path-nodes-5 li:nth-child(2) { --x: 25%; } .path-nodes-5 li:nth-child(3) { --x: 50%; } .path-nodes-5 li:nth-child(4) { --x: 75%; }
.path-nodes-4 li:nth-child(2) { --x: 33.333%; } .path-nodes-4 li:nth-child(3) { --x: 66.667%; }
.path-nodes li b { display: block; font-weight: 500; }
.path-nodes li small { display: block; white-space: normal; font-size: 0.75rem; color: var(--mute-on-ink); margin-top: 3px; width: 11rem; line-height: 1.35; opacity: 0; transform: translateY(4px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); }
.path-nodes li:not(:first-child):not(:last-child) small { margin-inline: auto; }
.path-nodes li:last-child small { margin-left: auto; }
.path-nodes li::before { content: ""; position: absolute; top: -17px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--mute-on-ink); transform: translateX(-50%); transition: background-color 400ms var(--ease); }
.path-nodes li::after { content: ""; position: absolute; top: -23px; left: 50%; width: 17px; height: 17px; margin-left: -8.5px; border-radius: 50%; border: 1px solid var(--signal); opacity: 0; transform: scale(0.4); }
.path-nodes li:first-child::before { left: 0; transform: translateX(-2.5px); }
.path-nodes li:first-child::after { left: 0; margin-left: -8.5px; }
.path-nodes li:last-child::before { left: auto; right: 0; transform: translateX(2.5px); }
.path-nodes li:last-child::after { left: auto; right: 0; margin-left: 0; margin-right: -8.5px; }
.path-nodes li.is-lit { color: var(--bone); }
.path-nodes li.is-lit::before { background: var(--signal); }
.path-nodes li.is-lit small { opacity: 0; }
.path-nodes li.is-now small { opacity: 1; transform: none; color: #c9ccd2; }
@media (prefers-reduced-motion: no-preference) { .js .path-nodes li.is-now::after { animation: ring 1.1s var(--ease-out) forwards; } }
@keyframes ring { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: no-preference) { .js .hero-photo img { animation: drift 24s var(--ease) infinite alternate; } }
@keyframes drift { from { transform: scale(1) translateX(0); } to { transform: scale(1.05) translateX(-1.5%); } }
.scroll-hint { display: inline-flex; align-items: center; gap: 10px; }
.scroll-hint i { width: 36px; height: 1px; background: currentColor; display: inline-block; transform-origin: left; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* Manifesto */
.manifesto { background: var(--bone); color: var(--ink); padding: clamp(96px, 12vw, 180px) 0; }
.scrub-text { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1rem + 2vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 1240px; text-wrap: pretty; }
.scrub-text .w { display: inline-block; opacity: 1; }
.js .scrub-text .w { opacity: 0.14; }

/* Views: pinned chapter that scrolls sideways, one panel per view */
.views { background: var(--bone); color: var(--ink); padding: 0; }
.views-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding: clamp(80px, 9vw, 140px) 0 clamp(24px, 3vw, 40px); }
.views-head .h-display { max-width: 16ch; }
.views-sub { max-width: 48ch; color: var(--mute-on-bone); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); }
.views-pin { height: 400svh; }
.views-stage { position: relative; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 100px 0 28px; overflow: hidden; }
.views-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; font-size: 0.875rem; color: var(--mute-on-bone); width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.views-steps li { position: relative; padding-top: 12px; transition: color 300ms var(--ease); }
.views-steps li i { position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--hair-bone); }
.views-steps li i::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform-origin: left; transform: scaleX(var(--p, 0)); }
.views-steps li.is-active { color: var(--ink); }
.views-track { display: flex; align-items: center; width: 400%; height: 100%; will-change: transform; }
.view-panel { width: 25%; flex: none; display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 110px); align-items: center; padding: 0 var(--gutter); box-sizing: border-box; }
.view-panel > * { max-width: calc(var(--wrap) / 2); }
.panel-copy { justify-self: end; width: 100%; }
.feature-row { display: block; max-width: 52ch; }
.row-tag { display: block; font-family: var(--text); font-weight: 500; font-size: 0.9375rem; color: var(--signal); margin-bottom: 14px; }
.feature-row h3 { font-size: clamp(1.625rem, 1rem + 1.9vw, 3.25rem); }
.feature-row > p { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; color: var(--ink); }
.row-list { margin-top: 22px; }
.row-list li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--hair-bone); font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem); }
.row-list strong { font-weight: 600; }
.row-list span { color: var(--mute-on-bone); }
.view-panel .views-card { justify-self: start; width: min(100%, 720px); will-change: transform; }
.stage-foot { display: flex; justify-content: space-between; align-items: center; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; font-size: 0.8125rem; color: var(--mute-on-bone); }
.stage-hint { display: inline-flex; align-items: center; gap: 10px; transition: opacity 400ms var(--ease); }
.stage-hint i { width: 36px; height: 1px; background: currentColor; display: inline-block; transform-origin: left; animation: hint 1.8s var(--ease) infinite; }
.views-stage.is-done .stage-hint { opacity: 0; }
.stage-count { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stage-count b { font-size: 1.5rem; }
.stage-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--hair-bone); }
.stage-progress b { position: absolute; inset: 0; background: var(--signal); transform-origin: left; transform: scaleX(0); }

/* The record card: the product's own conventions live here */
.views-card { justify-self: start; width: min(100%, 720px); background: #fff; border-radius: 24px; box-shadow: 0 1px 0 rgba(12,13,16,0.05), 0 40px 90px -40px rgba(12,13,16,0.35); font-family: var(--text); font-size: clamp(0.875rem, 0.8rem + 0.25vw, 1.0625rem); line-height: 1.45; color: var(--ink); overflow: hidden; }
[data-ui] .rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 1.4em 1.6em; border-bottom: 1px solid rgba(12,13,16,0.08); background: #faf9f6; }
[data-ui] .rc-id { display: grid; gap: 4px; }
[data-ui] .rc-id strong { font-size: 1.2em; font-weight: 700; letter-spacing: -0.01em; }
[data-ui] .rc-sub { color: var(--mute-on-bone); font-size: 0.9em; }
[data-ui] .rc-chip { display: inline-block; justify-self: start; font-size: 0.82em; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(12,13,16,0.06); }
[data-ui] .rc-chip-live { background: rgba(255,77,28,0.12); color: #c23a10; }
[data-ui] .rc-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82em; font-weight: 600; color: var(--mute-on-bone); white-space: nowrap; }
[data-ui] .rc-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(255,77,28,0.15); }
[data-ui] .rc-body { position: relative; display: grid; min-height: 24em; }
[data-ui] .rc-view { grid-area: 1 / 1; padding: 1.5em 1.6em 1.7em; display: grid; gap: 1.25em; align-content: start; }
[data-ui] .rc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
[data-ui] .rc-title span { font-weight: 700; }
[data-ui] .rc-title em { font-style: normal; color: var(--mute-on-bone); font-size: 0.9em; }
[data-ui] .rc-pipe { display: flex; gap: 6px; }
[data-ui] .rc-pipe li { flex: 1; text-align: center; font-size: 0.82em; padding: 0.5em 0 0.6em; border-top: 3px solid rgba(12,13,16,0.08); color: var(--mute-on-bone); }
[data-ui] .rc-pipe li.done { border-color: rgba(12,13,16,0.35); color: var(--ink); }
[data-ui] .rc-pipe li.now { border-color: var(--signal); color: var(--ink); font-weight: 600; }
[data-ui] .rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
[data-ui] .rc-grid div { display: grid; gap: 3px; padding: 0.9em 1em; border-radius: 12px; background: #f4f2ed; }
[data-ui] .rc-grid small { font-size: 0.82em; color: var(--mute-on-bone); }
[data-ui] .rc-grid b { font-size: 1.2em; font-weight: 700; letter-spacing: -0.01em; }
[data-ui] .rc-grid span { font-size: 0.82em; color: var(--mute-on-bone); }
[data-ui] .rc-ok { color: #1f6b3a !important; }
[data-ui] .rc-feed { display: grid; gap: 8px; }
[data-ui] .rc-feed li { display: flex; align-items: center; gap: 10px; font-size: 0.92em; }
[data-ui] .rc-feed i { width: 6px; height: 6px; border-radius: 50%; background: rgba(12,13,16,0.35); }
[data-ui] .rc-feed time { margin-left: auto; color: var(--mute-on-bone); font-size: 0.85em; }
[data-ui] .rc-gantt { display: grid; gap: 8px; }
[data-ui] .rc-gantt li { display: grid; grid-template-columns: 12em 1fr; align-items: center; gap: 12px; font-size: 0.92em; }
[data-ui] .rc-gantt li > i { position: relative; display: block; height: 10px; border-radius: 999px; background: rgba(12,13,16,0.06); }
[data-ui] .rc-gantt li > i::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--s); width: var(--w); border-radius: 999px; background: #3a4249; }
[data-ui] .rc-gantt li > i.crit::after { background: var(--signal); }
[data-ui] .rc-wo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
[data-ui] .rc-wo div { display: grid; gap: 2px; }
[data-ui] .rc-wo small { font-size: 0.82em; color: var(--mute-on-bone); }
[data-ui] .rc-wo b { font-weight: 600; }
[data-ui] .rc-check { display: grid; gap: 6px; }
[data-ui] .rc-check li { position: relative; padding-left: 26px; font-size: 0.92em; color: var(--mute-on-bone); }
[data-ui] .rc-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid rgba(12,13,16,0.25); }
[data-ui] .rc-check li.on { color: var(--ink); }
[data-ui] .rc-check li.on::before { background: var(--ink); border-color: var(--ink); }
[data-ui] .rc-check li.on::after { content: ""; position: absolute; left: 5px; top: 6px; width: 5px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
[data-ui] .rc-photos { display: inline-flex; gap: 4px; }
[data-ui] .rc-photos img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
[data-ui] .rc-people { display: grid; gap: 12px; }
[data-ui] .rc-people li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: #f4f2ed; }
[data-ui] .rc-people b { font-weight: 700; }
[data-ui] .rc-people span { font-size: 0.85em; color: var(--mute-on-bone); }
[data-ui] .rc-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
[data-ui] .rc-tags i { font-style: normal; font-size: 0.78em; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(31,107,58,0.1); color: #1f6b3a; }
[data-ui] .rc-tags i.warn { background: rgba(255,77,28,0.12); color: #c23a10; }

/* Savings calculator */
.roi { background: var(--bone); color: var(--ink); padding: clamp(96px, 10vw, 170px) 0; border-top: 1px solid var(--hair-bone); }
.roi-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.roi-copy .h-display { max-width: 12ch; }
.roi-copy > p { margin-top: 20px; max-width: 46ch; color: var(--ink); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
.roi-form { margin-top: 36px; display: grid; gap: 22px; max-width: 560px; }
.roi-form label { display: grid; grid-template-columns: 1fr auto; row-gap: 10px; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--hair-bone); font-size: 0.9375rem; }
.roi-form output { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.roi-form input[type="range"] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: linear-gradient(90deg, var(--signal) var(--fill, 0%), rgba(12,13,16,0.14) var(--fill, 0%)); border-radius: 2px; outline: none; cursor: pointer; }
.roi-form input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 3px solid var(--bone); box-shadow: 0 0 0 1px rgba(12,13,16,0.2); transition: transform 160ms var(--ease-out); }
.roi-form input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--bone); }
.roi-form input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.roi-form input[type="range"]:focus-visible { outline: 2px solid var(--signal); outline-offset: 8px; }
.roi-note { margin-top: 22px; font-size: 0.8125rem; color: var(--mute-on-bone); max-width: 46ch; }
.roi-panel { position: sticky; top: 110px; background: var(--ink); color: var(--bone); border-radius: 24px; padding: clamp(28px, 3vw, 44px); display: grid; gap: 28px; }
.roi-big span { display: block; font-size: 0.875rem; color: var(--mute-on-ink); margin-bottom: 6px; }
.roi-big strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.roi-big em { font-style: normal; }
.roi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 22px; border-top: 1px solid var(--hair-ink); }
.roi-row span { display: block; font-size: 0.8125rem; color: var(--mute-on-ink); margin-bottom: 4px; }
.roi-row b { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.roi-row em { font-style: normal; }
.roi-panel .btn { justify-self: start; }

/* Modules: clean index */
.modules { background: var(--bone); color: var(--ink); padding: clamp(96px, 10vw, 170px) 0; }
.modules-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: clamp(32px, 6vw, 96px); margin-bottom: clamp(40px, 5vw, 72px); }
.modules-head .h-display { max-width: 16ch; }
.modules-head p { color: var(--mute-on-bone); max-width: 48ch; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.module-grid li { border-top: 1px solid var(--hair-bone); }
.module-grid a { display: grid; gap: 10px; padding: 24px 0 36px; position: relative; }
.module-grid strong { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.module-grid strong::after { content: "\2192"; font-family: var(--text); font-weight: 400; color: var(--signal); opacity: 0; transform: translateX(-6px); transition: opacity 300ms var(--ease), transform 500ms var(--ease); }
.module-grid span { color: var(--mute-on-bone); font-size: 0.9375rem; line-height: 1.5; max-width: 34ch; }
@media (hover: hover) and (pointer: fine) { .module-grid a:hover strong::after { opacity: 1; transform: none; } }

/* Rollout: stacking cards */
.rollout { background: var(--bone-2); color: var(--ink); padding: clamp(96px, 10vw, 170px) 0; }
.rollout-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.rollout-head { position: sticky; top: 18vh; }
.rollout-head p { margin-top: 24px; max-width: 42ch; color: var(--mute-on-bone); }
.rollout-head .btn { margin-top: 32px; }
.stack { display: grid; gap: 24px; }
.stack-card { position: sticky; top: 15vh; background: #fff; border-radius: 24px; padding: clamp(28px, 3vw, 44px); min-height: 300px; box-shadow: 0 1px 0 rgba(12,13,16,0.06), 0 30px 60px -30px rgba(12,13,16,0.35); display: grid; align-content: start; gap: 20px; transform-origin: top center; will-change: transform; }
.stack-card:nth-child(2) { top: calc(15vh + 24px); }
.stack-card:nth-child(3) { top: calc(15vh + 48px); }
.stack-card:nth-child(4) { top: calc(15vh + 72px); }
.stack-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--signal); }
.stack-card p { color: var(--mute-on-bone); max-width: 48ch; }

/* Canada */
.canada { background: var(--ink); color: var(--bone); padding: clamp(96px, 10vw, 170px) 0; }
.canada-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.canada .h-display { max-width: 14ch; }
.canada-facts div { padding: 22px 0; border-top: 1px solid var(--hair-ink); display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 16px; }
.canada-facts div:last-child { border-bottom: 1px solid var(--hair-ink); }
.canada-facts dt { font-family: var(--display); font-weight: 700; font-size: 1.125rem; }
.canada-facts dd { color: #c9ccd2; font-size: 1rem; line-height: 1.55; }

/* CTA */
.cta { background: var(--bone); color: var(--ink); padding: clamp(96px, 12vw, 190px) 0 clamp(80px, 10vw, 150px); }
.cta-title { font-size: clamp(2.75rem, 1.2rem + 5.8vw, 7rem); line-height: 0.92; }
.cta-row { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: space-between; align-items: center; gap: 32px; margin-top: clamp(40px, 6vw, 80px); }
.cta-row p { font-size: 1.125rem; color: var(--mute-on-bone); }

/* Footer */
.footer { background: var(--bone); color: var(--ink); padding: 0 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: clamp(40px, 6vw, 96px); padding: 56px 0 48px; border-top: 1px solid var(--hair-bone); }
.footer-brand p { margin-top: 18px; color: var(--mute-on-bone); max-width: 36ch; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h3 { font-family: var(--text); font-size: 0.875rem; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.footer-cols a { display: block; font-size: 0.9375rem; color: var(--mute-on-bone); padding: 5px 0; transition: color 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .footer-cols a:hover { color: var(--ink); } }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--hair-bone); font-size: 0.875rem; color: var(--mute-on-bone); }

/* Motion fallbacks: without script everything is simply visible */
.js .hero-title .word, .js .cta-title .word { transform: translateY(110%); }
.js .hero-lead, .js .hero .actions, .js .hero-meta { opacity: 0; }
.js .hero-photo { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-title .word, .js .cta-title .word, .js .swap-item { transform: none; }
  .js .swap-item:not(.is-current) { display: none; }
  .path-line { transform: none; }
  .path-nodes li.is-lit small { opacity: 1; transform: none; }
  .js .hero-lead, .js .hero .actions, .js .hero-meta, .js .hero-photo { opacity: 1; }
  .js .scrub-text .w { opacity: 1; }
  .scroll-hint i { animation: none; }
}

/* Tablet and phone */
@media (max-width: 1024px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-link-contact, .nav .btn-sm { display: none; }
  .burger { display: block; }
  .rollout-grid { grid-template-columns: 1fr; }
  .rollout-head { position: static; }
  .views-head, .modules-head, .canada-inner { grid-template-columns: 1fr; gap: 20px; }
  .views-pin { height: auto; }
  .views-stage { height: auto; display: block; padding: 0 0 64px; overflow: visible; }
  .views-steps, .stage-foot, .stage-progress { display: none; }
  .views-track { display: block; width: auto; height: auto; }
  .view-panel { width: auto; display: grid; grid-template-columns: 1fr; gap: 24px; padding: 36px var(--gutter); border-top: 1px solid var(--hair-bone); }
  .view-panel > * { max-width: none; }
  .feature-row { max-width: none; }
  .view-panel .views-card { width: 100%; }
  .module-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 120px 0 40px; align-items: start; }
  .hero-title { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .btn { width: 100%; justify-content: center; }
  .hero-photo { position: relative; width: 100%; aspect-ratio: 4 / 3; margin-top: 40px; border-radius: 16px; overflow: hidden; }
  .hero-photo::after { background: linear-gradient(180deg, transparent 60%, rgba(12,13,16,0.6)); }
  .hero-meta { position: static; display: block; margin-top: 32px; }
  .scroll-hint { display: none; }
  .ledger { justify-self: start; justify-items: start; margin-top: 20px; }
  .ledger dl { flex-wrap: wrap; gap: 14px 20px; }
  .ledger dd { font-size: 1.125rem; }
  .roi-grid { grid-template-columns: 1fr; gap: 32px; }
  .roi-panel { position: static; }
  .path { width: 100%; }
  .path-nodes { font-size: 0.75rem; height: 2.4em; }
  .path-nodes li small, .runner-chip { display: none; }
  .module-grid { grid-template-columns: 1fr; }
  .row-list li { grid-template-columns: 1fr; gap: 4px; }
  .canada-facts div { grid-template-columns: 1fr; gap: 6px; }
  .stack-card { position: static; min-height: 0; }
  .cta-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Inner pages ---------- */
.phero { position: relative; min-height: 72svh; display: grid; align-items: end; padding: 150px 0 56px; overflow: clip; background: var(--ink); color: var(--bone); }
.phero-photo .hero-photo { width: 56%; }
.phero-inner { position: relative; z-index: 2; max-width: 1100px; }
.phero-inner .row-tag { color: var(--signal); margin-bottom: 22px; }
.phero-title { font-size: clamp(2.5rem, 1rem + 4.6vw, 6rem); line-height: 0.94; max-width: 16ch; }
.phero .hero-lead { max-width: 56ch; margin-top: 26px; color: #c9ccd2; }
.phero .actions { margin-top: 32px; }
.phero-proof { position: relative; z-index: 2; display: flex; gap: 32px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--hair-ink); font-size: 0.875rem; color: #c9ccd2; }
.phero-proof li { display: flex; align-items: center; gap: 10px; }
.phero-proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.js .phero-title .word { transform: translateY(125%); }

.caps, .flow, .evidence, .offer, .note, .journal, .prose-section, .apply { background: var(--bone); color: var(--ink); padding: clamp(96px, 10vw, 170px) 0; }
.cap-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 96px); }
.cap-row { padding: 28px 0 32px; border-top: 1px solid var(--hair-bone); }
.cap-row h3 { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); }
.cap-row p { margin-top: 12px; color: var(--mute-on-bone); max-width: 44ch; }

.evidence { padding-top: 0; }
.evidence-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.evidence-shot { border-radius: 20px; overflow: hidden; background: #0b0f1a; box-shadow: 0 50px 100px -50px rgba(12,13,16,0.5); }
.evidence-shot img { width: 100%; height: auto; display: block; }
.evidence-copy h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); margin-top: 14px; }
.evidence-copy p { margin-top: 16px; color: var(--mute-on-bone); max-width: 42ch; }

.flow { background: var(--ink); color: var(--bone); }
.flow .views-sub { color: #c9ccd2; }
.path-wide { width: 100%; margin-top: 24px; }
.path-wide .path-track { margin-bottom: 18px; }
.path-wide .path-nodes { font-size: 1rem; height: 7em; }
.path-wide .path-nodes li b { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.path-wide .path-nodes li small { font-size: 0.9375rem; width: 15rem; color: #c9ccd2; opacity: 1; transform: none; }
.path-wide .path-nodes li.is-lit small { opacity: 1; }

.note-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.note-grid .h-display { margin-top: 14px; max-width: 16ch; }
.note-letter { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.55; display: grid; gap: 18px; padding-top: 10px; }
.note-sig { color: var(--mute-on-bone); font-size: 1.25rem; }

.cta-page { padding-top: clamp(96px, 10vw, 170px); }
.cta-title-sm { font-size: clamp(2.25rem, 1.2rem + 3.8vw, 5rem); max-width: 18ch; }
.related { padding-top: 0; }

.offer-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--hair-bone); }
.offer-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); max-width: 18ch; }
.offer-head p { margin-top: 16px; color: var(--mute-on-bone); max-width: 44ch; }
.offer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.offer-list li { padding: 12px 0; border-bottom: 1px solid var(--hair-bone); font-size: 0.9375rem; }

.apply-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.apply-copy .h-display { max-width: 12ch; }
.apply-copy p { margin-top: 18px; max-width: 42ch; color: var(--mute-on-bone); }
.apply-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; background: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 1px 0 rgba(12,13,16,0.05), 0 40px 90px -40px rgba(12,13,16,0.3); }
.apply-form label { display: grid; gap: 8px; font-size: 0.875rem; font-weight: 500; }
.apply-form label.wide { grid-column: 1 / -1; }
.apply-form input, .apply-form select, .apply-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #f6f4ef; border: 1px solid rgba(12,13,16,0.1); border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(12,13,16,0.08); }
.apply-form textarea { resize: vertical; }
.apply-form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--mute-on-bone); }

.journal-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--hair-bone); }
.journal-lead figure { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bone-2); }
.journal-lead img { width: 100%; height: 100%; object-fit: cover; }
.journal time, .journal-list time { display: block; font-size: 0.8125rem; color: var(--mute-on-bone); margin-bottom: 10px; }
.journal-lead h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); }
.journal-lead p, .journal-list p { margin-top: 14px; color: var(--mute-on-bone); }
.journal-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.journal-list li { border-bottom: 1px solid var(--hair-bone); }
.journal-list a { display: block; padding: 28px 0 32px; }
.journal-list h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.journal-list p { font-size: 0.9375rem; }
@media (hover: hover) and (pointer: fine) { .journal-list a:hover h3, .journal-lead:hover h2 { text-decoration: underline; text-underline-offset: 0.12em; text-decoration-thickness: 2px; } }
.journal .roi-note { margin-top: 32px; }

.prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.65; }
.prose h2 { font-size: 1.75rem; margin: 48px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 1.2em; margin: 0 0 16px; list-style: disc; display: grid; gap: 6px; }

@media (max-width: 1024px) {
  .phero-photo .hero-photo { width: 100%; }
  .cap-rows, .evidence-grid, .note-grid, .offer-row, .apply-grid, .journal-lead { grid-template-columns: 1fr; }
  .journal-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .phero { padding: 120px 0 40px; min-height: 0; }
  .phero-title { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .phero-proof { flex-direction: column; gap: 10px; margin-top: 32px; }
  .offer-list, .journal-list, .apply-form { grid-template-columns: 1fr; }
  .path-wide .path-nodes { display: grid; gap: 18px; font-size: 0.9375rem; height: auto; }
  .path-wide .path-nodes li { position: static; transform: none; text-align: left; white-space: normal; }
  .path-wide .path-nodes li small { display: block; margin: 4px 0 0; width: auto; }
  .path-wide .path-track { display: none; }
  .path-wide .path-nodes li::before, .path-wide .path-nodes li::after { display: none; }
  .path-wide .path-nodes li { padding: 0 0 0 18px; border-left: 2px solid var(--hair-ink); }
  .path-wide .path-nodes li.is-lit { border-color: var(--signal); }
}

/* Statement band replaces app screenshots on inner pages */
.statement { background: var(--bone-2); color: var(--ink); padding: clamp(72px, 8vw, 130px) 0; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.statement h2 { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.5rem); max-width: 18ch; }
.statement p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: var(--mute-on-bone); max-width: 44ch; }
@media (max-width: 1024px) { .statement-grid { grid-template-columns: 1fr; gap: 20px; } }

/* Hand-drawn product illustrations */
.evidence { background: var(--bone); padding: clamp(72px, 8vw, 130px) 0; }
.evidence-shot { display: none; }
.viz { background: #fff; border-radius: 22px; box-shadow: 0 1px 0 rgba(12,13,16,0.05), 0 40px 90px -40px rgba(12,13,16,0.3); padding: clamp(20px, 2vw, 30px); font-size: clamp(0.8125rem, 0.75rem + 0.25vw, 0.9375rem); color: var(--ink); display: grid; gap: 1.4em; will-change: transform; }
[data-ui].viz .viz-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 0.9em; border-bottom: 1px solid rgba(12,13,16,0.08); }
[data-ui].viz .viz-head strong { font-family: var(--display); font-weight: 700; font-size: 1.25em; letter-spacing: -0.015em; }
[data-ui].viz .viz-head span { color: var(--mute-on-bone); font-size: 0.9em; }
[data-ui].viz .viz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
[data-ui].viz .viz-stats-3 { grid-template-columns: repeat(3, 1fr); }
[data-ui].viz .viz-stats div { display: grid; gap: 2px; padding: 0.9em 1em; border-radius: 12px; background: #f4f2ed; }
[data-ui].viz .viz-stats small { font-size: 0.82em; color: var(--mute-on-bone); }
[data-ui].viz .viz-stats b { font-family: var(--display); font-weight: 700; font-size: 1.5em; letter-spacing: -0.02em; line-height: 1.1; }
[data-ui].viz .viz-stats em { font-style: normal; font-size: 0.8em; color: var(--mute-on-bone); }
[data-ui].viz .viz-stats em.up { color: #1f6b3a; }
[data-ui].viz .viz-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
[data-ui].viz .viz-panel { padding: 0.9em 1em 1em; border-radius: 12px; background: #f4f2ed; display: grid; gap: 0.8em; }
[data-ui].viz .viz-panel small { font-size: 0.82em; color: var(--mute-on-bone); }
[data-ui].viz .viz-bars { display: flex; align-items: flex-end; gap: 6px; height: 5.5em; }
[data-ui].viz .viz-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: #3a4249; transform-origin: bottom; }
[data-ui].viz .viz-bars i.hot { background: var(--signal); }
[data-ui].viz svg { width: 100%; height: 5.5em; color: #3a4249; display: block; }
[data-ui].viz .viz-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.8em; color: var(--mute-on-bone); }
[data-ui].viz .viz-legend span { display: inline-flex; align-items: center; gap: 6px; }
[data-ui].viz .viz-legend i { width: 10px; height: 10px; border-radius: 3px; background: #3a4249; }
[data-ui].viz .viz-legend i.dim { background: #c9ccd2; }
[data-ui].viz .viz-legend i.hot { background: var(--signal); }
[data-ui].viz .viz-legend i.done { background: #8e9aa4; }
[data-ui].viz .viz-legend i.ms { width: 9px; height: 9px; border-radius: 1px; transform: rotate(45deg); background: var(--ink); }
[data-ui].viz .viz-funnel { display: grid; gap: 8px; }
[data-ui].viz .viz-funnel li { display: grid; grid-template-columns: 6.5em 1fr 4em; align-items: center; gap: 10px; }
[data-ui].viz .viz-funnel i { display: block; height: 1.6em; width: var(--w); border-radius: 6px; background: #c9ccd2; transform-origin: left; }
[data-ui].viz .viz-funnel i.hot { background: var(--signal); }
[data-ui].viz .viz-funnel i.ink { background: var(--ink); }
[data-ui].viz .viz-funnel b { font-variant-numeric: tabular-nums; text-align: right; }
[data-ui].viz .viz-weeks, [data-ui].viz .viz-hours { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 0.8em; color: var(--mute-on-bone); padding-left: 11em; }
[data-ui].viz .viz-hours { grid-template-columns: repeat(5, 1fr); padding-left: 7em; }
[data-ui].viz .viz-gantt, [data-ui].viz .viz-board { display: grid; gap: 8px; }
[data-ui].viz .viz-gantt li { position: relative; display: grid; grid-template-columns: 11em 1fr; align-items: center; gap: 0; height: 1.9em; white-space: nowrap; }
[data-ui].viz .viz-gantt li::after { content: ""; position: absolute; left: 11em; right: 0; top: 50%; height: 1px; background: rgba(12,13,16,0.06); z-index: 0; }
[data-ui].viz .viz-gantt li > i { position: absolute; left: calc(11em + (100% - 11em) * var(--s) / 100%); width: calc((100% - 11em) * var(--w) / 100%); height: 1.1em; border-radius: 999px; background: #3a4249; transform-origin: left; z-index: 1; }
[data-ui].viz .viz-gantt li > i.done { background: #8e9aa4; }
[data-ui].viz .viz-gantt li > i.hot { background: var(--signal); }
[data-ui].viz .viz-gantt li > u { position: absolute; left: calc(11em + (100% - 11em) * var(--s) / 100%); top: 50%; width: 9px; height: 9px; margin-top: -4.5px; background: var(--ink); transform: rotate(45deg); z-index: 2; }
[data-ui].viz .viz-board li { position: relative; display: grid; grid-template-columns: 7em 1fr; align-items: center; height: 2.4em; }
[data-ui].viz .viz-board li::after { content: ""; position: absolute; left: 7em; right: 0; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, rgba(12,13,16,0.06) 0 1px, transparent 1px 20%); z-index: 0; }
[data-ui].viz .viz-board li > i { position: absolute; left: calc(7em + (100% - 7em) * var(--s) / 100%); width: calc((100% - 7em) * var(--w) / 100%); height: 1.9em; line-height: 1.9em; padding: 0 0.7em; border-radius: 7px; background: #e8ecf1; color: var(--ink); font-style: normal; font-size: 0.82em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform-origin: left; z-index: 1; }
[data-ui].viz .viz-board li > i.hot { background: rgba(255,77,28,0.16); color: #c23a10; }
[data-ui].viz .viz-wait { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 8px; align-items: center; padding-top: 1em; border-top: 1px solid rgba(12,13,16,0.08); font-size: 0.85em; }
[data-ui].viz .viz-wait small { color: var(--mute-on-bone); }
[data-ui].viz .viz-wait span { padding: 0.45em 0.7em; border-radius: 7px; border: 1px dashed rgba(12,13,16,0.25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui].viz .viz-asset { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
[data-ui].viz .viz-qr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 5.5em; padding: 6px; border-radius: 10px; background: #f4f2ed; }
[data-ui].viz .viz-qr i { aspect-ratio: 1; background: var(--ink); border-radius: 2px; }
[data-ui].viz .viz-qr i:nth-child(2), [data-ui].viz .viz-qr i:nth-child(4), [data-ui].viz .viz-qr i:nth-child(6), [data-ui].viz .viz-qr i:nth-child(8) { background: #c9ccd2; }
[data-ui].viz .viz-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
[data-ui].viz .viz-facts div { display: grid; gap: 2px; }
[data-ui].viz .viz-facts dt { font-size: 0.8em; color: var(--mute-on-bone); }
[data-ui].viz .viz-facts dd { font-weight: 600; }
[data-ui].viz .viz-history { display: grid; gap: 8px; padding-top: 1em; border-top: 1px solid rgba(12,13,16,0.08); }
[data-ui].viz .viz-history li { display: flex; align-items: center; gap: 10px; font-size: 0.92em; }
[data-ui].viz .viz-history i { width: 7px; height: 7px; border-radius: 50%; background: #3a4249; }
[data-ui].viz .viz-history i.hot { background: var(--signal); }
[data-ui].viz .viz-history time { margin-left: auto; color: var(--mute-on-bone); font-size: 0.85em; }
[data-ui].viz .viz-mapbox { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; background: #f4f2ed; overflow: hidden; }
[data-ui].viz .viz-mapbox svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); }
[data-ui].viz .pin { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgba(12,13,16,0.12); }
[data-ui].viz .pin.hot { background: var(--signal); box-shadow: 0 0 0 3px rgba(255,77,28,0.2); }
[data-ui].viz .pin b { position: absolute; left: 14px; top: -4px; font-weight: 600; font-size: 0.85em; white-space: nowrap; }
@media (max-width: 760px) {
  [data-ui].viz .viz-stats { grid-template-columns: 1fr 1fr; }
  [data-ui].viz .viz-row2 { grid-template-columns: 1fr; }
  [data-ui].viz .viz-wait { grid-template-columns: 1fr; }
  [data-ui].viz .viz-gantt li { grid-template-columns: 7em 1fr; }
  [data-ui].viz .viz-gantt li::after, [data-ui].viz .viz-gantt li > i, [data-ui].viz .viz-gantt li > u { left: calc(7em + (100% - 7em) * var(--s) / 100%); }
  [data-ui].viz .viz-gantt li::after { left: 7em; }
  [data-ui].viz .viz-weeks { padding-left: 7em; }
}
.journal-more { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.journal .journal-more .roi-note { margin: 0; }

/* ---------- Phase 1 and 2 additions ---------- */
.ledger-note { font-size: 0.8125rem; color: var(--mute-on-ink); }
.ledger-note .ledger-link { margin-left: 6px; }

/* Drive the job */
.drive { background: var(--bone); color: var(--ink); padding: clamp(96px, 10vw, 170px) 0; }
.drive-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.drive-steps { display: grid; gap: 10px; }
.drive-steps button { width: 100%; text-align: left; display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: transparent; box-shadow: inset 0 0 0 1px var(--hair-bone); transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease), transform 160ms var(--ease-out); }
.drive-steps button:active { transform: scale(0.985); }
.drive-steps b { font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; }
.drive-steps span { font-size: 0.9rem; color: var(--mute-on-bone); }
.drive-steps li.is-current button { background: var(--ink); color: var(--bone); box-shadow: none; }
.drive-steps li.is-current span { color: #c9ccd2; }
.drive-steps li.is-done button { background: #fff; box-shadow: inset 0 0 0 1px var(--hair-bone); }
.drive-steps li.is-done b::after { content: " \2713"; color: #1f6b3a; }
.drive-steps li.is-current b::after { content: " \2713"; color: var(--signal); }
.drive-steps li.is-next button { box-shadow: inset 0 0 0 2px var(--signal); }
.drive-steps li.is-next b::after { content: "  Next"; font-family: var(--text); font-weight: 500; font-size: 0.75rem; color: var(--signal); letter-spacing: 0.04em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .drive-steps li:not(.is-current) button:hover { background: #fff; } }
.drive-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 3vw, 48px); align-items: start; }
.drive-card { width: 100%; }
[data-ui] .rc-chip-ok { background: rgba(31,107,58,0.12); color: #1f6b3a; }
.drive-ledger { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--hair-bone); }
.drive-ledger dt { font-size: 0.8125rem; color: var(--mute-on-bone); }
.drive-ledger dd { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.phone { width: 236px; padding: 10px; border-radius: 34px; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(12,13,16,0.6), inset 0 0 0 1px rgba(255,255,255,0.08); position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 999px; background: var(--ink); z-index: 2; }
.phone-screen { position: relative; border-radius: 26px; background: var(--bone); color: var(--ink); min-height: 420px; overflow: hidden; font-size: 0.8125rem; display: grid; grid-template-rows: auto 1fr; }
.phone-bar { display: flex; justify-content: space-between; padding: 12px 16px 6px; font-size: 0.72rem; font-weight: 600; }
.phone-pane { grid-area: 2 / 1; padding: 14px 14px 18px; display: grid; gap: 12px; align-content: start; }
.phone-pane h4 { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.015em; }
.phone-empty { color: var(--mute-on-bone); }
.phone-job { display: grid; gap: 3px; padding: 12px; border-radius: 12px; background: #fff; }
.phone-job b { font-weight: 700; }
.phone-job span { color: var(--mute-on-bone); font-size: 0.78rem; }
.phone-btn { margin-top: auto; padding: 12px; border-radius: 999px; background: var(--ink); color: var(--bone); font-weight: 500; font-size: 0.85rem; }
.phone-btn-signal { background: var(--signal); color: var(--ink); }
.phone-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phone-photos img { width: 100%; aspect-ratio: 1; border-radius: 8px; object-fit: cover; display: block; }

/* PolarAI */
.ai { background: var(--ink); color: var(--bone); padding: clamp(96px, 10vw, 170px) 0; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.ai-copy .h-display { max-width: 14ch; }
.ai-copy > p { margin-top: 20px; color: #c9ccd2; max-width: 44ch; }
.ai-chips { margin-top: 28px; display: grid; gap: 10px; max-width: 440px; }
.ai-chips button { background: rgba(242,239,232,0.08); color: var(--bone); text-align: left; min-height: 52px; padding: 12px 18px; border-radius: 14px; line-height: 1.3; white-space: normal; }
.ai-chips button[aria-selected="true"] { background: var(--signal); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .ai-chips button:not([aria-selected="true"]):hover { background: rgba(242,239,232,0.14); } }
.ai-panel { background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(22px, 2.5vw, 34px); display: grid; gap: 22px; min-height: 300px; align-content: start; }
.ai-q, .ai-a { display: grid; grid-template-columns: 5rem 1fr; gap: 14px; align-items: start; }
.ai-q > span, .ai-a > span { font-size: 0.8125rem; font-weight: 600; color: var(--mute-on-bone); padding-top: 3px; }
.ai-a > span { color: var(--signal); }
.ai-q p { font-weight: 500; }
.ai-a p { white-space: pre-wrap; line-height: 1.6; min-height: 5.5em; }
.ai-a p::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--signal); vertical-align: -0.15em; animation: caret 1s steps(2) infinite; }
.ai-a p.is-done::after { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.ai-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-actions span { font-size: 0.8125rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; background: #f4f2ed; box-shadow: inset 0 0 0 1px var(--hair-bone); }

/* Stories */
.stories { background: var(--bone); color: var(--ink); padding: clamp(96px, 10vw, 170px) 0; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.story { background: #fff; border-radius: 22px; padding: clamp(24px, 2.5vw, 36px); display: grid; gap: 22px; align-content: start; box-shadow: 0 1px 0 rgba(12,13,16,0.05), 0 30px 60px -36px rgba(12,13,16,0.3); }
.story-num b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 1.5rem + 2.4vw, 4rem); letter-spacing: -0.035em; line-height: 1; color: var(--signal); }
.story-num span { display: block; margin-top: 6px; color: var(--mute-on-bone); }
.story-quote { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.4; }
.story footer { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--hair-bone); }
.story footer strong { font-weight: 700; }
.story footer span { font-size: 0.8125rem; color: var(--mute-on-bone); }

/* Trades and integrations */
.trades { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid var(--hair-bone); }
.trades a { display: inline-block; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-bone); font-weight: 500; font-size: 0.9375rem; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .trades a:hover { background: var(--ink); color: var(--bone); } }
.integrations { background: var(--bone-2); color: var(--ink); padding: clamp(80px, 9vw, 150px) 0; }
.logo-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-row li { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; padding: 14px 18px; border-radius: 16px; background: var(--bone); box-shadow: inset 0 0 0 1px var(--hair-bone); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; }
.logo-row img { width: 24px; height: 24px; opacity: 0.9; }
.logo-row .wordmark { font-family: var(--display); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; }

@media (max-width: 1024px) {
  .drive-grid, .ai-grid { grid-template-columns: 1fr; }
  .drive-stage { grid-template-columns: 1fr; }
  .phone { justify-self: center; }
  .story-grid { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .drive-ledger { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .logo-row { grid-template-columns: 1fr 1fr; }
  .ai-q, .ai-a { grid-template-columns: 1fr; gap: 6px; }
  .ai-actions { grid-column: 1; }
}
.promise { background: var(--ink); color: var(--bone); padding: clamp(96px, 10vw, 170px) 0; }
.promise-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.promise-grid > div > p { margin-top: 20px; color: #c9ccd2; max-width: 42ch; }
.promise-list { display: grid; }
.promise-list li { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--hair-ink); }
.promise-list li:last-child { border-bottom: 1px solid var(--hair-ink); }
.promise-list b { font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; }
.promise-list span { color: #c9ccd2; }
@media (max-width: 1024px) { .promise-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .promise-list li { grid-template-columns: 1fr; gap: 6px; } }
/* Journal articles */
.phero-article { min-height: 0; padding: 150px 0 56px; }
.phero-title-article { font-size: clamp(1.75rem, 1rem + 2.2vw, 3.25rem); max-width: 26ch; line-height: 1.04; letter-spacing: -0.03em; }
.article-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.article .prose { max-width: 68ch; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.article .prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.article .prose img { max-width: 100%; height: auto; border-radius: 16px; margin: 24px 0; }
.article .prose a { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-color: rgba(12,13,16,0.3); }
.article .prose blockquote { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--signal); font-family: var(--serif); font-style: italic; font-size: 1.25em; }
.article .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: rgba(12,13,16,0.06); padding: 2px 6px; border-radius: 6px; }
.article .prose ol { padding-left: 1.3em; margin: 0 0 16px; list-style: decimal; display: grid; gap: 6px; }
.article-figure { margin: 0 0 32px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bone-2); }
.article-figure img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.article-aside { position: sticky; top: 110px; display: grid; gap: 24px; }
.aside-card { background: var(--ink); color: var(--bone); border-radius: 20px; padding: 28px; display: grid; gap: 12px; justify-items: start; }
.aside-card strong { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.1; }
.aside-card p { color: #c9ccd2; font-size: 0.9375rem; }
.aside-card .btn { margin-top: 6px; }
.aside-related { display: grid; }
.aside-related strong { font-family: var(--text); font-size: 0.875rem; font-weight: 700; margin-bottom: 8px; }
.aside-related a { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--hair-bone); }
.aside-related time { font-size: 0.8125rem; color: var(--mute-on-bone); }
.aside-related span { font-weight: 600; line-height: 1.3; }
@media (max-width: 1024px) { .article-grid { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* Integrations: three belts of marks flowing into one record */
.integrations { background: var(--ink); color: var(--bone); padding: clamp(96px, 10vw, 170px) 0 clamp(72px, 8vw, 120px); overflow: clip; }
.integrations .modules-head { margin-bottom: clamp(40px, 5vw, 64px); }
.integrations .modules-head p { color: #c9ccd2; }
.belts { display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.belt { overflow: hidden; }
.belt ul { display: flex; gap: 14px; width: max-content; will-change: transform; }
.belt li { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 26px; border-radius: 999px; background: rgba(242,239,232,0.06); box-shadow: inset 0 0 0 1px rgba(242,239,232,0.1); font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; white-space: nowrap; cursor: default; transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease), transform 300ms var(--ease); }
.belt li img { width: 22px; height: 22px; opacity: 0.92; }
.belt li::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px); white-space: nowrap; font-family: var(--text); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0; color: var(--ink); background: var(--bone); padding: 8px 12px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease), transform 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .belt li:hover { background: var(--bone); color: var(--ink); transform: translateY(-3px); }
  .belt li:hover img { filter: invert(1) brightness(0.1); }
  .belt li:hover::after { opacity: 1; transform: translate(-50%, 0); }
}
.belt-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--hair-ink); color: #c9ccd2; }
.textlink-bone { margin-top: 0; color: var(--bone); }
@media (prefers-reduced-motion: no-preference) {
  .js .belt ul { animation: belt 60s linear infinite; }
  .js .belt-reverse ul { animation-direction: reverse; animation-duration: 70s; }
  .js .belt[data-belt="3"] ul { animation-duration: 90s; }
  .js .belt[data-belt="4"] ul { animation-duration: 100s; }
  .js .belt[data-belt="5"] ul { animation-duration: 85s; }
  .js .belts:hover ul { animation-play-state: paused; }
}
@keyframes belt { to { transform: translateX(-33.333%); } }
@media (max-width: 760px) { .belt li { padding: 14px 18px; font-size: 1rem; } .belt-foot { flex-direction: column; align-items: flex-start; } }
/* Bylines */
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.byline img, .aside-author img, .card-byline img { border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.byline img { width: 48px; height: 48px; }
.byline strong { display: block; font-weight: 600; }
.byline span { font-size: 0.875rem; color: #c9ccd2; }
.card-byline { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 0.8125rem; color: var(--mute-on-bone); }
.card-byline img { width: 28px; height: 28px; }
.aside-author { display: grid; gap: 6px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair-bone); }
.aside-author img { width: 64px; height: 64px; margin-bottom: 8px; }
.aside-author strong { font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; }
.aside-author span { font-size: 0.8125rem; color: var(--mute-on-bone); }
.aside-author p { margin-top: 6px; font-size: 0.9375rem; color: var(--ink); }
/* Real map and asset photo in the illustrations */
[data-ui].viz .viz-mapbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.04); }
[data-ui].viz .viz-mapbox::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,242,237,0.15), rgba(244,242,237,0.35)); pointer-events: none; }
[data-ui].viz .pin { z-index: 2; }
[data-ui].viz .pin b { background: rgba(255,255,255,0.9); padding: 2px 7px; border-radius: 6px; }
[data-ui].viz .viz-asset-photo { width: 5.5em; aspect-ratio: 1; border-radius: 10px; overflow: hidden; margin: 0; }
[data-ui].viz .viz-asset-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Phone pass: nothing wider than the screen, tighter rhythm */
.hero { grid-template-columns: minmax(0, 1fr); }
.roi-panel { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
  .roi-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-title .serif { font-size: min(0.72em, 7.6vw); }
  .ledger-note { white-space: normal; display: block; line-height: 1.5; }
  .ledger-note .ledger-link { margin-left: 0; display: inline-block; margin-top: 4px; }
  .roi-panel .btn { justify-self: stretch; }
  [data-ui] .rc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  [data-ui] .rc-grid > div { padding: 12px 10px; }
  .manifesto, .roi, .modules, .rollout, .canada, .cta, .drive, .ai, .stories, .integrations,
  .caps, .flow, .evidence, .offer, .note, .journal, .prose-section, .apply { padding-top: 64px; padding-bottom: 64px; }
  .cta-page { padding-top: 64px; }
}
@media (max-width: 360px) {
  .btn { white-space: normal; }
}
@media (max-width: 760px) {
  .path-nodes { height: 4.2em; }
  .path-nodes li:nth-child(even) { padding-top: 30px; }
  .path-nodes li:nth-child(even)::before { top: -37px; }
  .path-nodes li:nth-child(even)::after { top: -43px; }
  .drive, .modules, .stories { border-top: 1px solid var(--hair-bone); }
  .manifesto, .roi, .modules, .rollout, .canada, .cta, .drive, .ai, .stories, .integrations,
  .caps, .flow, .evidence, .offer, .note, .journal, .prose-section, .apply { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 760px) {
  section:not(.views) .views-head { padding-top: 0; }
}
@media (max-width: 760px) {
  [data-ui].viz .viz-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  [data-ui].viz .viz-stats div { padding: 0.8em 0.7em; }
}
