/* Indizilla, the site edition. Built from the tool and foundry explorations. */

/* ------------------------------------------------------------------
   Indizilla, the tool edition. One document, no build step.

   Studied for this version: weave.figma.com (the node canvas, the hung
   lime tabs, the workflow-to-tool switch), linear.app (the product in a
   glowing frame under a one-line promise, the trust strip, the two-tone
   statement), mercury.com (an accordion beside a switching product
   panel, a demo one click away), razorpay.com (route visitors by intent
   under the headline, a sticky call to action, plain benefit copy).

   Conversion mechanics: intent router, stage chooser with real prices,
   agency projects slider, FAQ that answers objections, a WhatsApp
   composer that needs no backend, a sticky call bar on phones.

   Everything drawn is the product's own pipeline; every price, plan,
   channel and figure is the site's own. All motion is off under
   prefers-reduced-motion.
   ------------------------------------------------------------------ */
:root {
  color-scheme: light dark;
  --paper: #F3F4F6; --paper-top: #E2E6EC; --card: #FFFFFF;
  --ink: #14161A; --ink-2: #3A3D40; --ink-3: #676B70;
  --line: #D3D6DB; --grid: rgba(20, 22, 26, .075);
  --black: #1B1D21; --black-2: #24272C; --on-black: #F5F5F3; --on-black-2: #B6B9BD; --on-black-3: #7E8287;
  --sage: #AEB3A9; --lime: #DAFE31; --on-lime: #14161A; --lime-ink: #5C6B00;
  --sans: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 4vw, 56px); --max: 1400px; --r: 12px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #1B1D21; --paper-top: #24272C; --card: #24272C; --ink: #F5F5F3; --ink-2: #C9CBCD; --ink-3: #9A9DA1; --line: #33373D; --grid: rgba(245, 245, 243, .06); --black: #14161A; --black-2: #1E2126; --sage: #4A5048; --lime-ink: #DAFE31; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--lime); color: var(--on-lime); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--lime); }
p { max-width: 58ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.d1 { font-weight: 500; font-size: clamp(38px, 6vw, 88px); line-height: .96; letter-spacing: -0.04em; text-wrap: balance; }
.d2 { font-weight: 500; font-size: clamp(32px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.d3 { font-weight: 500; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.lede { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 54ch; }
.k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cap { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); max-width: 60ch; margin-top: 10px; }
.hl { color: var(--lime); }
.d1 .l { display: block; }
.mk { color: var(--lime); }
@media (prefers-color-scheme: light) { .mk, .hl { -webkit-text-stroke: .03em var(--ink); paint-order: stroke fill; } }
.u { border-bottom: 1px solid var(--line); } .u:hover { border-color: var(--ink); }
.grid-bg { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; }

/* Words rise once, in order, as a headline arrives */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.in .w > span { transform: none; }
.fade { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.in .fade, .fade.in { opacity: 1; transform: none; }
.rv { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* Plain-words tooltips on the console's own terms */
.term { position: relative; font-family: var(--mono); font-size: .85cqw; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px dotted var(--ink-3); cursor: help; display: inline-block; margin-top: .9cqw; }
.term::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 8px); width: max-content; max-width: 26ch; font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: none; line-height: 1.4; color: var(--paper); background: var(--ink); padding: 8px 10px; border-radius: 6px; opacity: 0; translate: 0 4px; pointer-events: none; transition: opacity .2s var(--ease), translate .2s var(--ease); z-index: 9; }
.term:hover::after, .term:focus-visible::after { opacity: 1; translate: 0 0; }

/* Buttons and tabs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); transition: transform .16s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn.lime { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.btn.lime:hover { filter: brightness(.97); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.tab { display: inline-flex; align-items: center; background: var(--lime); color: var(--on-lime); font-weight: 500; letter-spacing: -0.01em; }

/* Announcement bar, masthead with the hung tab */
.bar { background: var(--black); color: var(--on-black); font-size: 13px; text-align: center; padding: 9px var(--gutter); }
.bar a { color: var(--lime); margin-left: 8px; }
.mast { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mast-in { display: flex; align-items: stretch; gap: 24px; min-height: 68px; }
/* The wordmark as the identity sets it: Archivo 900, tracked -0.03em, uppercase; the mark at 36px */
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; align-self: center; white-space: nowrap; flex-shrink: 0; }
.brand picture { flex-shrink: 0; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.mast nav { display: flex; gap: 2px; margin-left: auto; margin-right: 12px; align-items: center; }
.mast nav a { font-size: 13.5px; font-weight: 500; padding: 15px 10px; color: var(--ink-2); white-space: nowrap; }
.mast nav a:hover { color: var(--ink); }
.hang { align-self: stretch; display: inline-flex; align-items: center; padding: 0 22px; margin-bottom: 8px; border-radius: 0 0 10px 10px; font-size: 15px; font-weight: 600; min-height: 48px; white-space: nowrap; transition: padding-bottom .25s var(--ease); }
.hang:hover { padding-bottom: 6px; }
@media (max-width: 1023px) { .mast nav { display: none; } .hang { margin-left: auto; } }
@media (max-width: 767px) { .hang { padding: 0 16px; } .brand { font-size: 14px; gap: 8px; } .brand img { width: 30px; height: 30px; } }

/* Hero */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 96px); background: linear-gradient(var(--paper-top), var(--paper) 55%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% 0 0 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(transparent 22%, #000 36%, #000 78%, transparent); -webkit-mask-image: linear-gradient(transparent 22%, #000 36%, #000 78%, transparent); pointer-events: none; }
.hero > .wrap { position: relative; }
.hero h1 { max-width: 20ch; }
.hero .lede { margin: 22px 0 0; max-width: 50ch; font-size: clamp(17px, 1.4vw, 21px); }
.hero .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-g { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }
/* Your customer's phone: the promise the brand is named after, played instead of described */
.phone-wrap { display: flex; justify-content: center; perspective: 1200px; }
.phone { width: 100%; max-width: 316px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 30px 70px rgba(20, 22, 26, .14); padding: 14px 14px 16px; transform-style: preserve-3d; transition: transform .4s var(--ease); will-change: transform; }
.ph-top { display: flex; align-items: center; gap: 8px; padding: 2px 6px 10px; }
.ph-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 30%, transparent); }
.ph-screen { position: relative; height: 430px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; padding: 12px; transition: opacity .45s var(--ease); }
.out .ph-screen { opacity: 0; }
.out .ph-screen > *, .out .ph-chips span { transition: none; }
.ph-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.ph-search svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--ink-3); }
.ph-q::after { content: ""; display: inline-block; width: 1px; height: 1em; background: var(--ink); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.found .ph-q::after { display: none; }
.ph-hit, .ph-prof, .ph-cta { opacity: 0; translate: 0 14px; transition: opacity .5s var(--ease), translate .6s var(--ease); }
.found .ph-hit, .seen .ph-prof, .cta .ph-cta { opacity: 1; translate: 0 0; }
.ph-hit { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--lime); }
.ph-hit b { display: block; font-size: 15px; font-weight: 600; }
.ph-sub { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.ph-sub2 { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.ph-prof { margin-top: 12px; }
.ph-lead { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.ph-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-photos i { display: block; aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, var(--paper-top), var(--line)); }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ph-chips span { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); opacity: 0; translate: 0 6px; transition: opacity .4s var(--ease), translate .4s var(--ease); transition-delay: calc(var(--i) * 120ms + .25s); }
.seen .ph-chips span { opacity: 1; translate: 0 0; }
.ph-cta { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.ph-btns { display: flex; gap: 6px; }
.ph-btn { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; padding: 10px 0; border-radius: 999px; border: 1px solid var(--line); background: var(--card); transition: transform .2s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.ph-btn.hot { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.tap .ph-btn.hot { transform: scale(.93); }
.booked .ph-btn.hot { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: none; }
.ph-tap { position: absolute; left: 50%; bottom: 18px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; translate: -50% 50%; pointer-events: none; }
.tap .ph-tap { animation: phTap .7s var(--ease) both; }
@keyframes phTap { 0% { opacity: .9; scale: .4; } 100% { opacity: 0; scale: 1.7; } }
.ph-steps { list-style: none; display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.ph-steps li { flex: 0 1 auto; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding-top: 8px; border-top: 2px solid var(--line); white-space: nowrap; transition: color .3s var(--ease), border-color .3s var(--ease); }
.ph-steps li.on { color: var(--ink); border-color: var(--lime); }
.ph-note { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); margin-top: 10px; min-height: 2.9em; }
@media (max-width: 1023px) { .hero-g { grid-template-columns: 1fr; } .phone-wrap { justify-content: flex-start; margin-top: 36px; } }
/* Route by intent, like a good bank's "looking for a product?" row */
.route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; width: max-content; max-width: 100%; }
.route .k { margin-right: 6px; }
.route a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .16s var(--ease); }
.route a:hover { border-color: var(--ink); background: var(--paper); }
.route a:active { transform: scale(.97); }
/* The product in a frame, with a quiet glow behind it */
.frame { position: relative; margin-top: clamp(40px, 5vw, 64px); padding: clamp(14px, 1.6vw, 22px); background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 30px 80px rgba(20, 22, 26, .10); }
.frame::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(60% 50% at 50% 40%, color-mix(in srgb, var(--lime) 28%, transparent), transparent 70%); filter: blur(30px); pointer-events: none; }
.frame-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 2px 4px 14px; }
.mh { font-weight: 500; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.025em; color: var(--ink-3); transition: color .3s var(--ease); }
.mh.on { color: var(--ink); }
.switch { position: relative; width: 84px; height: 44px; border-radius: 999px; background: var(--lime); flex: none; transition: transform .16s var(--ease); }
.switch:active { transform: scale(.97); }
.switch::after { content: ""; position: absolute; top: 5px; left: 5px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); transition: transform .32s var(--ease); }
.switch[aria-pressed="true"]::after { transform: translateX(40px); }
.switch.lg { width: 112px; height: 56px; } .switch.lg::after { top: 6px; left: 6px; width: 44px; height: 44px; } .switch.lg[aria-pressed="true"]::after { transform: translateX(56px); }
.sw { display: flex; align-items: center; gap: 14px; }
.story { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 24px; align-items: center; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.steps { display: flex; gap: 6px; }
.steps button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink-3); display: grid; place-items: center; background: var(--card); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .16s var(--ease); }
.steps button:hover { border-color: var(--ink); color: var(--ink); } .steps button:active { transform: scale(.94); }
.steps button.on { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.steps button.done { border-color: var(--ink); color: var(--ink); }
.cap-big { font-weight: 500; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.3; letter-spacing: -0.015em; min-height: 2.6em; max-width: none; }
.cap-big .cur { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -0.15em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.run { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: border-color .2s var(--ease), transform .16s var(--ease), opacity .2s var(--ease); }
.run:hover { border-color: var(--ink); } .run:active { transform: scale(.98); }
.run .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lime) 40%, transparent); }
.run.busy .dot { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 60%, transparent); } 50% { box-shadow: 0 0 0 7px transparent; } }
.pd { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: middle; animation: pulse 2s ease-in-out infinite; }
@media (max-width: 899px) { .story { grid-template-columns: 1fr; } .steps { flex-wrap: wrap; } }

/* The canvas */
.canvas { position: relative; margin-top: 16px; aspect-ratio: 1200 / 460; container-type: inline-size; touch-action: pan-y; transition: transform 1s var(--ease); background: var(--paper); border-radius: 10px; border: 1px solid var(--line); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity .35s var(--ease); }
.wires path { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 3 9; animation: flow 1.6s linear infinite; transition: opacity .5s var(--ease), stroke .3s var(--ease); }
.wires path.hot { stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 5 7; animation-duration: .7s; }
.wires .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawIn 1s var(--ease) calc(.5s + var(--i) * 110ms) forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.wires .port { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wires .pkt { fill: var(--lime); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.canvas.focus .wires path:not(.hot):not(.draw) { opacity: .22; }
.canvas.focus .node:not(.lit) { opacity: .34; }
.node { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 12px 32px rgba(20, 22, 26, .06); padding: 1.1cqw 1.25cqw; font-size: 1.05cqw; line-height: 1.4; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform;
  animation: nodeIn .7s var(--ease) calc(var(--i) * 70ms) both, drift 7s ease-in-out calc(.7s + var(--i) * 70ms) infinite;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), opacity .5s var(--ease); }
.node:nth-child(odd) { animation-duration: .7s, 8.5s; }
@keyframes nodeIn { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.45cqw; } }
.node.drag { animation-name: nodeIn, none; cursor: grabbing; z-index: 8; box-shadow: 0 2px 4px rgba(20, 22, 26, .06), 0 28px 64px rgba(20, 22, 26, .18); }
.node.lit { border-color: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 55%, transparent), 0 16px 40px rgba(20, 22, 26, .12); z-index: 3; }
.node.morph { transition: transform .75s var(--ease), opacity .3s var(--ease) .4s, border-color .3s var(--ease), box-shadow .3s var(--ease); }
.node.gone { visibility: hidden; }
.node .lab { position: absolute; left: 0; top: -2.1cqw; font-family: var(--mono); font-size: .85cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.node .lab b { font-weight: 500; color: var(--ink); margin-right: 1cqw; }
.node .v { font-weight: 600; font-size: 1.3cqw; letter-spacing: -0.012em; color: var(--ink); }
.node .st { color: var(--ink-3); font-size: .95cqw; margin-top: .5cqw; }
.node .chips { display: flex; flex-wrap: wrap; gap: .5cqw; margin-top: .7cqw; }
.node .chips span { border: 1px solid var(--line); border-radius: 4px; padding: .3cqw .7cqw; font-family: var(--mono); font-size: .85cqw; color: var(--ink-2); }
.node .btns { display: flex; gap: .6cqw; margin-top: .9cqw; }
.node .btns span { border-radius: 4px; padding: .5cqw 1cqw; font-weight: 500; font-size: .95cqw; border: 1px solid var(--line); transition: transform .16s var(--ease); }
.node .btns span.yes { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.node .btns span.pressed { transform: scale(.94); }
.node .fig { font-family: var(--mono); font-size: 1.15cqw; color: var(--ink); }
.node .fig + .fig { margin-top: .35cqw; }
.node.dk { background: var(--black); border-color: var(--black); color: var(--on-black); }
.node.dk .v { color: var(--on-black); } .node.dk .st { color: var(--on-black-2); } .node.dk .chips span { border-color: #3A3E44; color: var(--on-black-2); }
.node.dk .lab { color: var(--on-black-3); } .node.dk .lab b { color: var(--on-black); } .node.dk .term { color: var(--on-black-3); border-color: var(--on-black-3); }
.node.dk .btns span { border-color: #4A4F56; }
.n1 { left: 2.5%;  top: 13.7%; width: 19.2%; --i: 0; }
.n2 { left: 27.5%; top: 5.9%;  width: 20.8%; --i: 1; }
.n3 { left: 27.5%; top: 41.3%; width: 20.8%; --i: 2; }
.n4 { left: 54.2%; top: 11.7%; width: 21.7%; --i: 3; }
.n5 { left: 54.2%; top: 63%;   width: 21.7%; --i: 4; }
.n6 { left: 80%;   top: 7.8%;  width: 18.3%; --i: 5; }
.n7 { left: 80%;   top: 45.2%; width: 18.3%; --i: 6; }
.hero-con { position: absolute; left: 50%; top: 50%; width: min(640px, 64%); translate: -50% -50%; scale: .96; opacity: 0; pointer-events: none; z-index: 6; transition: opacity .45s var(--ease), scale .6s var(--ease); }
.canvas.console .hero-con { opacity: 1; scale: 1; pointer-events: auto; }
.canvas.console .wires { opacity: 0; }
.hero-con .con-card { opacity: 0; translate: 0 8px; transition: opacity .5s var(--ease), translate .5s var(--ease); transition-delay: calc(.25s + var(--i) * 80ms); }
.canvas.console .hero-con .con-card { opacity: 1; translate: 0 0; }
@media (max-width: 899px) {
  .canvas { aspect-ratio: auto; display: grid; gap: 24px; padding: 18px 14px 18px 30px; transition: none; background-image: none; }
  .wires { display: none; }
  .node { position: static; width: auto !important; padding: 16px 18px; font-size: 13.5px; animation: nodeIn .7s var(--ease) calc(var(--i) * 70ms) both; cursor: default; touch-action: auto; }
  .node .lab { position: static; font-size: 11px; margin-bottom: 8px; display: block; }
  .node .lab b { margin-right: 10px; }
  .term { margin-top: 10px; font-size: 10px; }
  .node .v { font-size: 16px; } .node .st { font-size: 13px; margin-top: 6px; }
  .node .chips { gap: 6px; margin-top: 10px; } .node .chips span { font-size: 11px; padding: 3px 8px; }
  .node .btns { gap: 8px; margin-top: 12px; } .node .btns span { font-size: 13px; padding: 7px 12px; }
  .node .fig { font-size: 15px; } .node .fig + .fig { margin-top: 4px; }
  .hero-con { display: none; }
  .canvas.console { padding-left: 14px; }
  .canvas.console .node { display: none; }
  .canvas.console .hero-con { display: block; position: static; width: 100%; translate: 0 0; scale: 1; }
}

/* The console, from its own markup */
.con { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; box-shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 24px 60px rgba(20, 22, 26, .10); }
.con-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.con-bar .url { font-family: var(--mono); }
.con-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.con-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.con-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.con-v { font-size: 15px; font-weight: 600; line-height: 1.3; }
.con-v.ok { background: var(--lime); color: var(--on-lime); display: inline-block; padding: 2px 8px; border-radius: 4px; }
.con-s { font-size: 12.5px; color: var(--ink-3); margin-top: 7px; line-height: 1.45; }
@media (max-width: 479px) { .con-grid { grid-template-columns: 1fr; } }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 16px 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--lime); margin-right: 10px; vertical-align: 2px; }

/* Sections */
.s { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.dark { background: var(--black); color: var(--on-black); }
.dark .lede { color: var(--on-black-2); } .dark .k { color: var(--on-black-3); } .dark .cap { color: var(--on-black-3); }
.dark .btn.ghost { color: var(--on-black); border-color: #3A3E44; } .dark .btn.ghost:hover { border-color: var(--on-black); }
.sh { margin-bottom: clamp(32px, 4vw, 56px); }
.sh .lede { margin-top: 18px; }

/* The two-tone statement */
.say { padding: clamp(64px, 10vw, 150px) 0; }
.say p { font-weight: 500; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; max-width: 24ch; color: var(--on-black-3); }
.say p b { font-weight: 500; color: var(--on-black); }
.say p em { font-style: normal; color: var(--lime); }

/* A month, step by step */
.month-g { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.month-g .stick { position: sticky; top: 100px; }
.month-g .stick .lede { margin-top: 20px; }
.tl { position: relative; list-style: none; padding-left: 44px; }
.tl::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.tl::after { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--ink); border-radius: 2px; transform-origin: top; scale: 1 0; }
.ev { position: relative; padding: 14px 0 34px; opacity: 0; translate: -14px 0; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.ev.in { opacity: 1; translate: 0 0; }
.ev::before { content: ""; position: absolute; left: -44px; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); scale: .6; transition: scale .5s var(--ease); }
.ev.in::before { scale: 1; }
.ev.it::before { background: var(--lime); }
.ev .day { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: 12px; }
.ev .who { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink-2); }
.ev.it .who { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.ev p { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; letter-spacing: -0.01em; margin-top: 10px; max-width: 30ch; }
.ev p b { font-family: var(--mono); font-weight: 500; }
.ev .att { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ev .att span { border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); background: var(--card); }
.ev .btns { display: flex; gap: 8px; margin-top: 12px; }
.ev .btns span { border-radius: 4px; padding: 8px 14px; font-weight: 500; font-size: 14px; border: 1px solid var(--line); background: var(--card); }
.ev .btns span.yes { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
@media (max-width: 899px) { .month-g { grid-template-columns: 1fr; } .month-g .stick { position: static; } }

/* Accordion beside a switching panel */
.acc-g { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.acc { list-style: none; border-top: 1px solid #3A3E44; }
.acc li { border-bottom: 1px solid #3A3E44; }
.acc button { width: 100%; text-align: left; display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding: 18px 0; font-weight: 500; font-size: 18px; letter-spacing: -0.01em; color: var(--on-black-2); transition: color .25s var(--ease), padding-left .25s var(--ease); min-height: 48px; }
.acc button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; order: -1; opacity: 0; scale: .5; transition: opacity .25s var(--ease), scale .25s var(--ease); }
.acc li.on button { color: var(--on-black); }
.acc li.on button::before { opacity: 1; scale: 1; }
.acc .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc li.on .body { grid-template-rows: 1fr; }
.acc .body > div { overflow: hidden; }
.acc .body p { font-size: 15px; line-height: 1.5; color: var(--on-black-2); padding: 0 0 20px 24px; max-width: 46ch; }
.acc .bar-t { height: 2px; background: #3A3E44; margin: 0 0 0 24px; position: relative; overflow: hidden; display: none; }
.acc li.on .bar-t { display: block; }
.acc .bar-t::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform-origin: left; scale: var(--p, 0) 1; }
.panel-wrap { position: sticky; top: 100px; }
.pane-x { position: relative; background: var(--black-2); border: 1px solid #2C3036; border-radius: 16px; padding: clamp(18px, 2vw, 28px); min-height: 380px; overflow: hidden; }
.pane-x::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(245, 245, 243, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 245, 243, .045) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.shot { position: relative; opacity: 0; translate: 0 10px; transition: opacity .45s var(--ease), translate .45s var(--ease); pointer-events: none; }
.shot.on { opacity: 1; translate: 0 0; pointer-events: auto; position: relative; }
.shot:not(.on) { position: absolute; inset: clamp(18px, 2vw, 28px); }
.shot .k { color: var(--on-black-3); margin-bottom: 14px; }
.shot .card-l { background: var(--black); border: 1px solid #3A3E44; border-radius: 10px; padding: 16px 18px; margin-bottom: 10px; }
.shot .card-l .t { font-weight: 600; font-size: 15px; color: var(--on-black); }
.shot .card-l .m { font-family: var(--mono); font-size: 12px; color: var(--on-black-3); margin-top: 6px; line-height: 1.5; }
.shot .row-l { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #2C3036; font-size: 14px; color: var(--on-black-2); }
.shot .row-l:first-of-type { border-top: 0; }
.shot .row-l b { font-family: var(--mono); font-weight: 500; color: var(--on-black); }
.shot .tag-l { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--lime); color: var(--on-lime); padding: 3px 7px; border-radius: 4px; }
.shot .big-l { font-family: var(--mono); font-size: clamp(28px, 3vw, 42px); color: var(--on-black); letter-spacing: -0.02em; line-height: 1.1; }
.shot .chain-l { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.shot .chain-l span { border: 1px solid #4A4F56; border-radius: 4px; padding: 6px 10px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--on-black); position: relative; }
.shot .chain-l span + span::before { content: ""; position: absolute; left: -9px; top: 50%; width: 9px; height: 1px; background: #6B7077; }
.shot .meter { height: 6px; border-radius: 3px; background: #3A3E44; overflow: hidden; margin-top: 10px; }
.shot .meter i { display: block; height: 100%; width: var(--w, 40%); background: var(--lime); transition: width 1s var(--ease); }
@media (max-width: 899px) { .acc-g { grid-template-columns: 1fr; } .panel-wrap { position: static; } .pane-x { min-height: 0; } .shot:not(.on) { display: none; } }

/* Channels roll */
.chan { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.chan .stick { position: sticky; top: 100px; align-self: start; }
.chan .stick .lede { margin-top: 24px; }
.roll { list-style: none; }
.roll li { font-weight: 500; font-size: clamp(34px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -0.035em; color: var(--on-black-3); transition: color .35s var(--ease), translate .35s var(--ease); }
.roll li.on { color: var(--lime); translate: 14px 0; }
.roll li small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-black-3); margin: 6px 0 22px; }
@media (max-width: 899px) { .chan { grid-template-columns: 1fr; } .chan .stick { position: static; } .roll li.on { translate: 0 0; } }

/* Stage chooser */
.stages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.stages button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 500; font-size: 15px; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease); }
.stages button b { font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--ink-3); }
.stages button:hover { border-color: var(--ink); } .stages button:active { transform: scale(.97); }
.stages button.on { background: var(--ink); border-color: var(--ink); color: var(--paper); } .stages button.on b { color: var(--paper); opacity: .7; }
.stage-out { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: start; }
.bundles { display: grid; gap: 16px; }
.bundle { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 76px; transition: border-color .25s var(--ease), translate .25s var(--ease); }
.bundle:hover { border-color: var(--ink); translate: 0 -3px; }
.bundle .n { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bundle .n em { font-style: normal; color: var(--ink); }
.bundle .p { font-weight: 500; font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -0.035em; line-height: 1; margin: 12px 0 4px; }
.bundle .a { font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }
.bundle .who { font-size: 15px; line-height: 1.5; color: var(--ink); margin-bottom: 14px; }
.bundle ul { list-style: none; }
.bundle li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.bundle .tab { position: absolute; left: 0; bottom: 0; border-radius: 0 10px 0 var(--r); padding: 12px 18px; font-size: 15px; min-height: 48px; transition: padding .25s var(--ease); }
.bundle:hover .tab { padding-right: 26px; }
.addons { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.addons h3 { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 4px; }
.addons .cap { margin: 0 0 14px; }
.addons ul { list-style: none; }
.addons li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.addons li b { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.addons li b small { color: var(--ink-3); font-size: 11px; margin-left: 4px; }
.stage-view { display: none; } .stage-view.on { display: contents; }
.stage-note { grid-column: 1 / -1; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 899px) { .stage-out { grid-template-columns: 1fr; } }

/* Plans: toggle, ladders, projects slider */
.tog-h { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 48px); }
.tog-h .d2 { transition: color .3s var(--ease); } .tog-h .d2.dim { color: var(--ink-3); } .tog-h .d2:last-child { text-align: right; } .tog-h .switch { justify-self: center; }
.views { position: relative; margin-top: clamp(32px, 4vw, 56px); }
.view { transition: opacity .3s var(--ease), transform .3s var(--ease), filter .3s var(--ease); }
.view.off { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); filter: blur(3px); pointer-events: none; }
.tiers { display: grid; gap: 16px; }
.tiers.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiers.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tier { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 72px; transition: border-color .25s var(--ease), translate .25s var(--ease), box-shadow .25s var(--ease); }
.tier:hover { border-color: var(--ink); translate: 0 -3px; }
.tier.mark { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 55%, transparent); }
.tier .n { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tier .n em { font-style: normal; color: var(--ink); }
.tier .p { font-weight: 500; font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -0.035em; line-height: 1; margin: 12px 0 4px; }
.tier .a { font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; }
.tier .who { font-size: 14.5px; line-height: 1.45; color: var(--ink); margin-bottom: 12px; }
.tier ul { list-style: none; }
.tier li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.tier .tab { position: absolute; left: 0; bottom: 0; border-radius: 0 10px 0 var(--r); padding: 12px 18px; font-size: 15px; min-height: 48px; transition: padding .25s var(--ease); }
.tier:hover .tab { padding-right: 26px; }
.slider { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; margin-bottom: 20px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.slider label { display: block; font-weight: 500; font-size: 16px; margin-bottom: 10px; }
.slider input[type=range] { width: 100%; accent-color: var(--ink); height: 44px; }
.slider .out { font-family: var(--mono); font-size: 14px; color: var(--ink-2); line-height: 1.6; text-align: right; min-width: 24ch; }
.slider .out b { font-weight: 500; color: var(--ink); font-size: 18px; }
@media (max-width: 767px) { .tog-h { grid-template-columns: 1fr; text-align: left; } .tog-h .d2:last-child { text-align: left; } .tog-h .switch { justify-self: start; } .tiers.two, .tiers.three { grid-template-columns: 1fr; } .slider { grid-template-columns: 1fr; } .slider .out { text-align: left; } }

/* Research */
.io { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.panel .ph { background: var(--lime); color: var(--on-lime); padding: 14px 20px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel .ph .st { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; opacity: .75; }
.panel .pb { padding: 20px; }
.panel .pb p { font-size: 15px; line-height: 1.55; }
.panel .q { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink-2); white-space: pre-line; }
.run-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.prog { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.prog .bar-p { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.prog .bar-p::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleX(var(--p, 0)); transform-origin: left; }
.memo .part { opacity: 0; translate: 0 8px; transition: opacity .5s var(--ease), translate .5s var(--ease); transition-delay: calc(var(--i) * 110ms); }
.memo.done .part { opacity: 1; translate: 0 0; }
.memo .vd { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 5px 9px; border-radius: 4px; margin-bottom: 14px; scale: .9; transition: opacity .5s var(--ease), scale .5s var(--ease); }
.memo.done .vd { scale: 1; }
.memo h3 { font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; }
.memo .sub { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.stats b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; }
.stats b small { font-size: 13px; color: var(--ink-3); }
.stats span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.memo .box { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.memo .box .kk { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.modes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.mode { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; background: var(--card); transition: translate .25s var(--ease), border-color .25s var(--ease); }
.mode:hover { translate: 0 -3px; border-color: var(--ink); }
.mode b { display: block; font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.mode span { display: block; font-family: var(--mono); font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.mode.lime { background: var(--lime); border-color: var(--lime); color: var(--on-lime); } .mode.lime span { color: var(--on-lime); }
@media (max-width: 899px) { .io { grid-template-columns: 1fr; } .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .modes { grid-template-columns: 1fr; } }

/* Work: carousel */
.car-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.car-h .lede { margin-top: 18px; }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #3A3E44; display: grid; place-items: center; color: var(--on-black); transition: border-color .2s var(--ease), transform .16s var(--ease); }
.arrows button:hover { border-color: var(--on-black); } .arrows button:active { transform: scale(.96); }
.arrows svg { width: 18px; height: 18px; }
.car { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) 24px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.car::-webkit-scrollbar { display: none; }
.card { flex: 0 0 min(420px, 84vw); scroll-snap-align: start; display: grid; gap: 14px; perspective: 900px; }
.card .t { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card .t small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-black-3); }
.pane { position: relative; background: var(--black-2); border-radius: var(--r); padding: 22px 22px 72px; min-height: 340px; border: 1px solid #2C3036; transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .3s var(--ease); }
.pane:hover { border-color: #4A4F56; }
.chain { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chain li { border: 1px solid #4A4F56; border-radius: 4px; padding: 6px 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--on-black); background: rgba(20, 22, 26, .5); position: relative; opacity: 0; translate: 0 6px; transition: opacity .5s var(--ease), translate .5s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.chain li + li::before { content: ""; position: absolute; left: -9px; top: 50%; width: 0; height: 1px; background: #6B7077; transition: width .3s var(--ease); transition-delay: calc(var(--i) * 90ms + 200ms); }
.in .chain li { opacity: 1; translate: 0 0; } .in .chain li + li::before { width: 9px; }
.pane .tab { position: absolute; left: 0; bottom: 0; border-radius: 0 10px 0 var(--r); padding: 12px 18px; font-size: 18px; min-height: 48px; transition: padding .25s var(--ease); }
.pane:hover .tab { padding-right: 26px; }
.wk .ph-box { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; border: 1px solid #3A3E44; background: linear-gradient(to top right, transparent calc(50% - .5px), #3A3E44 calc(50% - .5px), #3A3E44 calc(50% + .5px), transparent calc(50% + .5px)), linear-gradient(to top left, transparent calc(50% - .5px), #3A3E44 calc(50% - .5px), #3A3E44 calc(50% + .5px), transparent calc(50% + .5px)), #1E2126; margin-bottom: 16px; }
.wk .ph-box span { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--on-black-3); }
.wk .ph-box .chain { position: absolute; left: 12px; top: 12px; right: 12px; }
.wk .lesson { font-size: 14px; line-height: 1.5; color: var(--on-black-2); }
.wk .res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.wk .res b { display: block; font-family: var(--mono); font-weight: 500; font-size: 24px; color: var(--on-black); }
.wk .res span { display: block; font-size: 11.5px; color: var(--on-black-3); line-height: 1.35; margin-top: 4px; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--ink-3); flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 15px; line-height: 1.55; color: var(--ink-2); padding: 0 0 20px; max-width: 52ch; }
@media (max-width: 767px) { .faq { grid-template-columns: 1fr; } }

/* Founder */
.fdr { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.fdr .pbox { aspect-ratio: 1; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)), linear-gradient(to top left, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)), var(--card); position: relative; }
.fdr .pbox span { position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--ink-3); }
.fdr .name { font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; margin-bottom: 4px; }
.fdr .role { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 18px; }
.fdr p + p { margin-top: 12px; }
.fdr .rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: 22px; list-style: none; }
.fdr .rules li { font-size: 14px; line-height: 1.45; color: var(--ink-2); padding-left: 14px; border-left: 2px solid var(--lime); }
@media (max-width: 767px) { .fdr { grid-template-columns: 1fr; } .fdr .pbox { max-width: 200px; } .fdr .rules { grid-template-columns: 1fr; } }

/* The brand band, as the site sets it; it drifts a little with scroll */
.band { background: var(--black); color: var(--on-black); overflow: hidden; padding: 26px 0 30px; font-weight: 900; font-size: clamp(52px, 8vw, 118px); line-height: .92; letter-spacing: -0.03em; white-space: nowrap; }
.band-in { display: inline-block; }

/* Footer: the sage block, and a wire into the lime block with the composer */
.foot { position: relative; padding: 0 0 40px; }
.sage { position: relative; background: var(--sage); color: var(--ink); border-radius: 0 var(--r) 0 0; padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(40px, 6vw, 80px); margin-right: clamp(0px, 12vw, 180px); }
@media (prefers-color-scheme: dark) { .sage { color: var(--on-black); } }
.sage .big { font-weight: 500; font-size: clamp(40px, 7.4vw, 108px); line-height: .96; letter-spacing: -0.04em; max-width: 12ch; }
.sage .big .plus { display: inline-block; margin: 0 .2em; font-weight: 300; }
.sage .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-top: clamp(40px, 6vw, 80px); font-size: 13.5px; }
.sage .cols .k { margin-bottom: 10px; color: inherit; opacity: .7; }
.sage .cols a { display: flex; align-items: center; padding: 6px 0; min-height: 44px; }
.sage .cols p { font-size: 14px; line-height: 1.5; opacity: .85; }
.foot .wire2 { position: absolute; right: clamp(40px, 12vw, 180px); bottom: 260px; width: 220px; height: 260px; overflow: visible; pointer-events: none; }
.foot .wire2 path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 9; animation: flow 1.6s linear infinite; }
.foot .wire2 circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.limeblock { position: relative; z-index: 2; margin: -48px var(--gutter) 0 auto; width: min(640px, calc(100% - 2 * var(--gutter))); background: var(--lime); color: var(--on-lime); border-radius: var(--r) 0 0 var(--r); padding: 28px 28px 24px; }
.limeblock .d3 { margin-bottom: 6px; }
.limeblock .cap { color: var(--on-lime); opacity: .75; margin: 0 0 18px; }
.composer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.composer label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; margin-bottom: 6px; }
.composer input, .composer select { width: 100%; min-height: 46px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(20, 22, 26, .25); background: rgba(255, 255, 255, .55); color: var(--on-lime); font-size: 15px; }
.composer input::placeholder { color: rgba(20, 22, 26, .45); }
.composer input:focus-visible, .composer select:focus-visible { outline: 2px solid var(--on-lime); outline-offset: 2px; }
.composer .full { grid-column: 1 / -1; }
.composer .acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.composer .acts .btn.ghost { border-color: rgba(20, 22, 26, .35); color: var(--on-lime); }
.composer .acts .btn.ghost:hover { border-color: var(--on-lime); }
.lines { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(20, 22, 26, .18); display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; }
.lines a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.colophon { display: flex; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; padding: 32px var(--gutter) 0; font-size: 12.5px; color: var(--ink-3); max-width: var(--max); margin: 0 auto; }
.colophon nav { display: flex; flex-wrap: wrap; } .colophon nav a { padding: 14px 10px; margin-left: -10px; margin-right: 10px; color: var(--ink-2); }
@media (max-width: 899px) { .sage { margin-right: 0; border-radius: 0; } .sage .cols { grid-template-columns: 1fr 1fr; } .foot .wire2 { display: none; } .limeblock { margin-top: 0; border-radius: 0; width: 100%; } }
@media (max-width: 599px) { .composer { grid-template-columns: 1fr; } }

/* Sticky call bar on phones */
.callbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 72px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .callbar .btn { min-height: 48px; }
}

/* Where the browser can animate with scroll for free, it does */
@supports (animation-timeline: scroll()) {
  .hero::before { animation: pan linear both; animation-timeline: scroll(); animation-range: 0 1200px; }
  @keyframes pan { to { translate: 0 -160px; } }
  .grid-bg { animation: pan2 linear both; animation-timeline: view(); }
  @keyframes pan2 { from { background-position: 0 0; } to { background-position: 0 -200px; } }
  .tl::after { animation: grow linear both; animation-timeline: view(); animation-range: entry 25% exit 75%; }
  @keyframes grow { to { scale: 1 1; } }
  .say p { animation: sayIn linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  .band-in { animation: bandPan linear both; animation-timeline: view(); }
  @keyframes sayIn { from { opacity: .12; scale: .94; translate: 0 40px; } to { opacity: 1; scale: 1; translate: 0 0; } }
  @keyframes bandPan { from { transform: translateX(0); } to { transform: translateX(-12%); } }
}
@supports not (animation-timeline: scroll()) {
  .tl.in::after { scale: 1 1; transition: scale 2.2s var(--ease); }
  .say p { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
  .say.in p { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rv, .fade, .memo .part, .chain li, .ev, .ev::before, .shot { opacity: 1; transform: none; translate: 0 0; scale: 1; transition: none; }
  .w > span { transform: none; transition: none; }
  .chain li + li::before { width: 9px; transition: none; }
  .wires path, .foot .wire2 path { animation: none; stroke-dasharray: none; }
  .wires .draw { display: none; }
  .node, .pd, .run .dot, .cap-big .cur { animation: none; }
  .hang, .switch::after, .view, .btn, .tier, .bundle, .mode, .pane, .canvas, .acc .body, .route a, .stages button { transition: none; }
  .hero::before, .grid-bg, .tl::after, .say p, .band-in, .ph-q::after, .ph-tap { animation: none; }
  .ph-hit, .ph-prof, .ph-cta, .ph-chips span, .ph-btn, .phone { transition: none; }
  .tl::after { scale: 1 1; } .say p { opacity: 1; scale: 1; translate: 0 0; }
  html { scroll-behavior: auto; }
}
  
/* ------------------------------------------------------------------
   Foundry edition: the same page system, re-hung on the journey.
   Test, brand, build, market, customers. The masthead is the spine:
   it names the station you are at and fills a lime line as you go.
   ------------------------------------------------------------------ */
.mast .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--lime); transition: width .15s linear; }
.mast nav a b { display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 10.5px; line-height: 1; color: var(--ink-3); margin-right: 7px; padding: 3px 5px; border-radius: 4px; border: 1px solid var(--line); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.mast nav a.on { color: var(--ink); }
.mast nav a.on b { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.mast nav a.sec { margin-left: 10px; }
.here { display: none; }
@media (max-width: 1023px) { .here { display: inline-flex; align-items: center; margin-left: auto; margin-right: 14px; color: var(--ink); } .hang { margin-left: 0; } }

/* The canvas frame lives in a section now, not the hero; clip what its nodes overhang, as the hero did */
#market { overflow-x: clip; }

/* Chapter label */
.ch { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.ch b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; background: var(--lime); color: var(--on-lime); font-weight: 500; font-size: 12px; letter-spacing: 0; }
.dark .ch { color: var(--on-black-3); }

/* The road: five stations on one line */
.jn { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.jn::before, .jn::after { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--line); }
.jn::after { background: var(--lime); transform-origin: left; scale: 0 1; }
.jn.in::after { scale: 1 1; transition: scale 1.8s var(--ease) .3s; }
.jn li { position: relative; display: flex; flex-direction: column; }
.jn li > b { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); font-family: var(--mono); font-weight: 500; font-size: 13px; margin-bottom: 14px; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.jn.in li > b { background: var(--lime); border-color: var(--lime); color: var(--on-lime); transition-delay: calc(var(--i) * 340ms + .3s); }
.jn li a { flex: 1; display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px 16px; transition: border-color .25s var(--ease), translate .25s var(--ease); }
.jn li a:hover { border-color: var(--ink); translate: 0 -3px; }
.jn h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.jn p { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); max-width: none; }
.jn p span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 10px 0 2px; }
.jn p span:first-child { margin-top: 0; }
.jn .pr { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; line-height: 1.45; }
@media (max-width: 1099px) { .jn { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jn::before, .jn::after { display: none; } }
@media (max-width: 599px) { .jn { grid-template-columns: 1fr; } }

/* The founder's shortest road */
.launch { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px 40px; align-items: center; background: var(--black); color: var(--on-black); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.launch .k { color: var(--on-black-3); }
.launch h3 { font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.025em; line-height: 1.1; margin: 8px 0 10px; }
.launch p { color: var(--on-black-2); font-size: 14.5px; line-height: 1.5; max-width: 52ch; }
.launch ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.launch li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--lime); margin-right: 10px; vertical-align: 2px; }
.launch .price { font-family: var(--mono); font-size: 12.5px; color: var(--on-black-2); margin: 16px 0 4px; }
.launch .price b { font-family: var(--sans); font-weight: 500; font-size: 30px; color: var(--on-black); letter-spacing: -0.02em; margin-right: 10px; }
.launch .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.launch .btn.ghost { color: var(--on-black); border-color: #4A4F56; }
@media (max-width: 767px) { .launch { grid-template-columns: 1fr; } }

/* Offers: a price, a timeline, what you get */
.offers { display: grid; gap: 12px; }
.offer { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.dark .offer { background: var(--black-2); border-color: #33373D; }
.offer .k { margin-bottom: 6px; } .dark .offer .k { color: var(--on-black-3); }
.offer .price { font-weight: 500; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.offer .price small { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-left: 10px; }
.dark .offer .price small { color: var(--on-black-3); }
.offer ul { list-style: none; display: grid; gap: 5px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.dark .offer ul { color: var(--on-black-2); }
.offer li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--lime); margin-right: 9px; vertical-align: 2px; }

/* Brand: one identity on four surfaces */
.br-g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 899px) { .br-g { grid-template-columns: 1fr; } }
.surfaces { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sf { position: relative; border: 1px solid #33373D; border-radius: var(--r); padding: 14px; background: var(--black-2); transition: border-color .35s var(--ease); min-height: 178px; display: flex; flex-direction: column; }
.sf.on { border-color: var(--lime); }
.sf-l { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-black-3); margin-bottom: 12px; }
.sf .wm { font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1; }
.sf .mock { flex: 1; display: flex; }
.card-mock { align-self: center; width: 100%; max-width: 200px; margin: auto; aspect-ratio: 85 / 55; background: #FFFFFF; color: #14161A; border-radius: 6px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.card-mock img { width: 22px; height: 22px; }
.card-mock .wm { font-size: 15px; }
.card-mock small { font-size: 9px; color: #676B70; letter-spacing: .02em; }
.dp-mock { flex: 1; display: flex; align-items: center; gap: 12px; }
.dp-mock .av { width: 54px; height: 54px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; flex-shrink: 0; }
.dp-mock .av img { width: 26px; height: 26px; }
.dp-mock .ln { flex: 1; display: grid; gap: 8px; }
.dp-mock .ln i { display: block; height: 8px; border-radius: 4px; background: #33373D; }
.dp-mock .ln i:first-child { width: 60%; background: #4A4F56; }
.sign-mock { flex: 1; display: grid; place-items: center; background: var(--lime); color: var(--on-lime); border-radius: 6px; min-height: 96px; }
.sign-mock .wm { font-size: clamp(20px, 2.2vw, 28px); }
.web-mock { flex: 1; background: #FFFFFF; color: #14161A; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.web-mock .tb { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #D3D6DB; font-family: var(--mono); font-size: 10px; color: #676B70; }
.web-mock .tb img { width: 14px; height: 14px; }
.web-mock .bd { padding: 14px 12px; display: grid; gap: 8px; }
.web-mock .bd .wm { font-size: 16px; }
.web-mock .bd i { display: block; height: 6px; border-radius: 3px; background: #E2E6EC; width: 80%; } .web-mock .bd i + i { width: 55%; }
@keyframes stamp { 0% { scale: 1.25; opacity: 0; } 100% { scale: 1; opacity: 1; } }
.sf.on .wm, .sf.on img { animation: stamp .55s var(--ease) both; }
@media (max-width: 479px) { .surfaces { grid-template-columns: 1fr; } }

/* A case, in the chapter it belongs to */
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: clamp(32px, 5vw, 64px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.dark .case { border-color: #33373D; }
.cph { --l: var(--line); position: relative; aspect-ratio: 16 / 10; border-radius: 8px; border: 1px solid var(--l); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--l) calc(50% - .5px), var(--l) calc(50% + .5px), transparent calc(50% + .5px)), linear-gradient(to top left, transparent calc(50% - .5px), var(--l) calc(50% - .5px), var(--l) calc(50% + .5px), transparent calc(50% + .5px)), var(--paper-top); }
.dark .cph { --l: #3A3E44; background-color: #1E2126; }
.cph span { position: absolute; left: 12px; bottom: 10px; right: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }
.dark .cph span { color: var(--on-black-3); }
.cph .chain { position: absolute; left: 12px; top: 12px; right: 12px; }
.case .t { font-weight: 500; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.15; }
.case .t small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.dark .case .t small { color: var(--on-black-3); }
.case .tab { min-height: 44px; padding: 0 16px; border-radius: 6px; }
.case .lesson { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 12px 0 16px; max-width: 52ch; }
.dark .case .lesson { color: var(--on-black-2); }
.case .res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 6px; }
.case .res b { display: block; font-family: var(--mono); font-weight: 500; font-size: 26px; }
.case .res > div > span { display: block; font-size: 11.5px; line-height: 1.35; margin-top: 4px; color: var(--ink-3); }
.case .res b span { display: inline; font: inherit; color: inherit; margin: 0; }
.dark .case .res > div > span { color: var(--on-black-3); }
@media (max-width: 767px) { .case { grid-template-columns: 1fr; } }

/* Build: six weeks in a browser frame */
.bd-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 899px) { .bd-g { grid-template-columns: 1fr; } }
.bframe { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 24px 60px rgba(20, 22, 26, .10); }
.bf-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.bf-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); } .bf-top span { margin-left: 8px; }
.bf-body { position: relative; min-height: 280px; }
.bf-p { position: absolute; inset: 20px; opacity: 0; translate: 0 12px; transition: opacity .5s var(--ease), translate .6s var(--ease); pointer-events: none; }
.bf-p.on { opacity: 1; translate: 0 0; }
.bf-w { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.bf-p h4 { font-weight: 500; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.bf-p p { font-size: 14px; color: var(--ink-2); line-height: 1.5; max-width: none; }
.bf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.bf-chips span { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); opacity: 0; translate: 0 6px; transition: opacity .4s var(--ease), translate .4s var(--ease); transition-delay: calc(var(--i) * 130ms + .25s); }
.bf-p.on .bf-chips span { opacity: 1; translate: 0 0; }
.bf-tag { display: inline-block; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 4px; background: var(--lime); color: var(--on-lime); margin-left: 8px; vertical-align: 3px; }
.bf-q { border-left: 3px solid var(--lime); padding-left: 12px; font-size: 14px; color: var(--ink-2); margin: 8px 0; }
.bf-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.bf-steps li { flex: 1 1 42%; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding-top: 8px; border-top: 2px solid var(--line); white-space: nowrap; transition: color .3s var(--ease), border-color .3s var(--ease); }
.bf-steps li.on { color: var(--ink); border-color: var(--lime); }

/* Customers: the proof, and the ownership rule */
.cu-g { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 899px) { .cu-g { grid-template-columns: 1fr; } }
.cu-g .case { margin-top: 0; padding-top: 0; border-top: 0; grid-template-columns: 1fr; }
.own { background: var(--black-2); border: 1px solid #33373D; border-radius: var(--r); padding: clamp(20px, 2.6vw, 32px); }
.own h3 { font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.025em; line-height: 1.1; margin: 8px 0 14px; }
.own ul { list-style: none; display: grid; gap: 10px; font-size: 14px; color: var(--on-black-2); line-height: 1.45; }
.own li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--lime); margin-right: 10px; vertical-align: 2px; }
.own .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.own .btn.ghost { color: var(--on-black); border-color: #4A4F56; }

@media (prefers-reduced-motion: reduce) {
  .jn::after, .jn li > b, .jn li a, .sf, .bf-p, .bf-chips span, .bf-steps li, .mast .prog, .mast nav a b { transition: none; }
  .sf.on .wm, .sf.on img { animation: none; }
}
  
/* ==================================================================
   The site edition: the shell every page shares, the road, and the
   pages the explorations did not have.
   ================================================================== */

/* Masthead: the site's links, a menu on phones, a progress line on the home */
.mast { z-index: 40; }
.mast nav a[aria-current="page"] { color: var(--ink); }
.mast nav a.os { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.mast .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--lime); transition: width .15s linear; }
.menu { display: none; width: 44px; height: 44px; align-self: center; margin-left: auto; margin-right: 6px; position: relative; border-radius: 8px; }
.menu span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); top: 17px; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu span + span { top: 25px; }
body.nav-open .menu span:first-child { top: 21px; transform: rotate(45deg); }
body.nav-open .menu span + span { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1023px) { .menu { display: block; } .hang { margin-left: 0; } }
.sheet { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--paper); padding: 10px var(--gutter) 40px; overflow: auto; }
body.nav-open .sheet { display: block; }
body.nav-open { overflow: hidden; }
.sheet a { display: flex; align-items: center; min-height: 54px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.sheet a.os::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-left: 12px; }
.sheet .k { display: block; margin: 24px 0 4px; }
.sheet .sm a { font-size: 16px; min-height: 44px; font-weight: 400; color: var(--ink-2); }

/* Page heads */
.page-h { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(32px, 4vw, 56px); background: linear-gradient(var(--paper-top), var(--paper)); }
.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.crumb a:hover { color: var(--ink); }
.t1 { font-weight: 500; font-size: clamp(36px, 5.4vw, 80px); line-height: .98; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; }
.page-h .lede { margin-top: 20px; }
.page-h .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta { padding: clamp(56px, 8vw, 112px) 0; }
.cta .d2 { max-width: 22ch; }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.two.wide-l { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
.two.lead-l { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
@media (max-width: 899px) { .two, .two.wide-l, .two.lead-l { grid-template-columns: 1fr; } }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 899px) { .cards3, .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards3, .cards4 { grid-template-columns: 1fr; } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.dark .tile { background: var(--black-2); border-color: #33373D; }
.tile h3 { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 8px; }
.tile p { font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: none; }
.dark .tile p { color: var(--on-black-2); }
.tile .k { margin-bottom: 8px; }
.quote { font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.025em; line-height: 1.15; max-width: 26ch; text-wrap: balance; }
.quote small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 14px; }
.list { list-style: none; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.list li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--lime); margin-right: 10px; vertical-align: 2px; }
.dark .list { color: var(--on-black-2); }
.note { font-size: 13px; line-height: 1.5; color: var(--ink-3); max-width: 60ch; }

/* Forms on pages (the lime composer keeps its own styles) */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 15px; }
.form textarea { min-height: 110px; resize: vertical; }
.form .acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 599px) { .form { grid-template-columns: 1fr; } }
.panelbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); }
.panelbox h3 { font-weight: 500; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; }
.panelbox > p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }

/* The road: the home page's spine. A line down the left; it fills to where you read. */
.road { position: relative; --x: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.road::before, .road-fill { content: ""; position: absolute; top: 0; left: calc(var(--x) + 21px); width: 2px; height: 100%; background: rgba(128, 130, 135, .35); z-index: 3; pointer-events: none; }
.road-fill { height: 0; background: var(--lime); transition: height .12s linear; }
.stn { position: relative; overflow-x: clip; }
.road .wrap { padding-left: calc(var(--gutter) + 64px); }
.stn .rail { position: absolute; top: 0; bottom: 0; left: calc(var(--x) + 22px); translate: -50% 0; width: 44px; z-index: 4; pointer-events: none; }
.pin { position: sticky; top: 92px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pin b { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 2px solid rgba(128, 130, 135, .45); font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--ink-3); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), scale .3s var(--ease); }
.stn.dark .pin b { background: var(--black); color: var(--on-black-3); }
.stn.lit .pin b { background: var(--lime); border-color: var(--lime); color: var(--on-lime); scale: 1.08; }
.pin span { writing-mode: vertical-rl; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.stn.dark .pin span { color: var(--on-black-3); }
.stn.lit .pin span { color: var(--ink); } .stn.dark.lit .pin span { color: var(--on-black); }
@media (max-width: 767px) {
  .road::before, .road-fill { left: calc(var(--gutter) + 13px); }
  .road .wrap { padding-left: calc(var(--gutter) + 40px); }
  .stn .rail { left: calc(var(--gutter) + 14px); width: 28px; }
  .pin { top: 84px; } .pin b { width: 28px; height: 28px; font-size: 11px; } .pin span { display: none; }
}
.stn .lede { max-width: 54ch; }
.fy-h { font-size: clamp(36px, 5vw, 72px); }

/* The foundry, in the hero: an idea becomes a business, station by station, on a loop */
.fy-wrap { display: flex; justify-content: center; perspective: 1200px; }
.fy { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 30px 70px rgba(20, 22, 26, .14); transform-style: preserve-3d; transition: transform .4s var(--ease); will-change: transform; }
.fy-body { position: relative; min-height: 336px; }
.fy .bf-p > p { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); margin-top: 12px; max-width: none; }
.fy-q { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.fy-q .mono { font-family: var(--mono); font-size: 13.5px; line-height: 1.5; min-height: 2.9em; margin-top: 4px; color: var(--ink); }
.fy-verdict { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; opacity: 0; translate: 0 8px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.fy.verdict .fy-verdict { opacity: 1; translate: 0 0; }
.vd { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; background: var(--lime); color: var(--on-lime); }
.fy-id { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; }
.fy-mark { width: 56px; height: 56px; border-radius: 12px; background: var(--ink); position: relative; }
.fy-mark::after { content: ""; position: absolute; inset: 16px; border-radius: 4px; background: var(--lime); }
.fy-wm { font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; font-size: 26px; line-height: 1; }
.fy-wm.sm { font-size: 16px; }
.fy-sw { display: flex; gap: 6px; margin-top: 8px; }
.fy-sw i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); }
.bf-p.on .fy-wm, .bf-p.on .fy-mark { animation: stamp .55s var(--ease) both; }
.fy-web { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fy-web .tb { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.fy-web .tb i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.fy-web .bd { padding: 14px 12px; display: grid; gap: 8px; justify-items: start; }
.fy-web .bd i { display: block; height: 6px; border-radius: 3px; background: var(--line); width: 80%; }
.fy-web .bd i + i { width: 55%; }
.fy-btn { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 999px; background: var(--lime); color: var(--on-lime); }
.fy-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fy-post { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 6px; opacity: 0; translate: 0 10px; transition: opacity .45s var(--ease), translate .45s var(--ease); transition-delay: calc(var(--i) * 140ms + .2s); }
.bf-p.on .fy-post { opacity: 1; translate: 0 0; }
.fy-post b { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fy-post i { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.fy-post i + i { width: 60%; }
.fy-appr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.fy-yes { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--lime); color: var(--on-lime); transition: transform .2s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.fy.pressed .fy-yes { transform: scale(.93); }
.fy.approved .fy-yes { background: var(--ink); color: var(--paper); transform: none; }
.fy .ph-hit { opacity: 1; translate: 0 0; transition: none; }
.fy .ph-btns { margin-top: 12px; }
.fy.tap .ph-btn.hot { transform: scale(.93); }
.fy.booked .ph-btn.hot { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: none; }
.fy .fy-tag { font-weight: 500; color: var(--ink); font-size: 14.5px; }
.fy-steps { flex-wrap: wrap; gap: 8px 12px; }
.fy-steps li { flex: 1 1 auto; }
.fy-steps li.done { border-color: color-mix(in srgb, var(--lime) 55%, var(--line)); }
@media (max-width: 1023px) { .fy-wrap { justify-content: flex-start; margin-top: 36px; } }

/* Services: each card arrives on its own, lifts to the pointer, and its price counts in */
.svc.rv { transform: translateY(14px) scale(.985); }
.svc.rv.in { transform: none; }
.svc { transition: border-color .25s var(--ease), box-shadow .25s var(--ease), translate .25s var(--ease), opacity .6s var(--ease), transform .6s var(--ease); transition-delay: 0ms, 0ms, 0ms, var(--d, 0ms), var(--d, 0ms); }
.svc:hover { border-color: var(--ink); translate: 0 -3px; box-shadow: 0 14px 34px rgba(20, 22, 26, .10); }
/* Photographs drift a little against the scroll */
@supports (animation-timeline: view()) {
  .cph { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes drift { from { translate: 0 22px; } to { translate: 0 -22px; } }
}

/* Marketing OS on the home: a compact ladder of the plans */
.plans-lite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
@media (max-width: 767px) { .plans-lite { grid-template-columns: 1fr; } }
.plans-lite .tile .price { font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin: 4px 0 6px; }
.plans-lite .tile .price small { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-left: 8px; }

/* Services: groups, cards, the bundle tray */
.groups { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; top: 68px; z-index: 12; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 12px 0; margin-bottom: 8px; }
.groups a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; background: var(--card); transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.groups a:hover { border-color: var(--ink); }
.groups a.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.grp { padding: clamp(28px, 3.5vw, 48px) 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.grp-h { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 24px; align-items: end; margin-bottom: 20px; }
.grp-h h2 { font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.025em; }
.grp-h p { color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 899px) { .svcs, .grp-h { grid-template-columns: 1fr; } }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 14px; display: grid; gap: 10px; align-content: start; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.svc.picked { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 55%, transparent); }
.svc h3 { font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.svc .prob { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; max-width: none; }
.svc .prob b { color: var(--ink-2); font-weight: 500; }
.svc > p { font-size: 14px; color: var(--ink-2); line-height: 1.5; max-width: none; }
.svc ul { list-style: none; display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.svc li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--lime); margin-right: 9px; vertical-align: 2px; }
.svc .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.svc .from { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.svc .from small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; font-weight: 400; letter-spacing: .08em; }
.add { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; cursor: pointer; background: var(--card); transition: border-color .2s var(--ease); }
.add:hover { border-color: var(--ink); }
.add input { width: 16px; height: 16px; accent-color: #A8C900; margin: 0; }
.tray { position: sticky; bottom: 12px; z-index: 15; margin-top: 28px; background: var(--black); color: var(--on-black); border-radius: var(--r); padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; box-shadow: 0 20px 50px rgba(20, 22, 26, .25); }
.tray .k { color: var(--on-black-3); }
.tray b { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.tray .sum { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; color: var(--on-black-2); }
.tray .sum b { font-size: 15px; margin-right: 4px; }
.tray .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tray .btn.ghost { color: var(--on-black); border-color: #4A4F56; }
.tray .btn.ghost:hover { border-color: var(--on-black); }
.tray .empty { font-size: 14px; color: var(--on-black-2); }
@media (max-width: 767px) { .tray { bottom: 82px; } .tray .acts { margin-left: 0; width: 100%; } }

/* Print: mockups drawn in the identity, one per item */
.item .mock { aspect-ratio: 4 / 3; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; overflow: hidden; margin-bottom: 6px; }
.item .mock svg { width: 82%; height: auto; display: block; transition: scale .35s var(--ease); }
.item:hover .mock svg { scale: 1.04; }
.item .mock text { font-family: 'Archivo', sans-serif; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.item .mock .mono { font-family: 'IBM Plex Mono', monospace; font-weight: 500; letter-spacing: .04em; text-transform: none; }

/* Work pages: real screens, in frames */
.shots { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 767px) { .shots { grid-template-columns: 1fr; } }
.shotbox { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: var(--card); box-shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 24px 60px rgba(20, 22, 26, .10); }
.shotbox img { display: block; width: 100%; height: auto; }
.shotbox.tall { max-height: 720px; overflow: auto; }
.shotbox.phone { max-width: 300px; border-radius: 22px; margin: 0 auto; height: 600px; overflow: auto; }
.shotbox .cap-l { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 767px) { .compare { grid-template-columns: 1fr; } }
.sysd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
@media (max-width: 767px) { .sysd { grid-template-columns: 1fr; } }
.sysd .tile { position: relative; }
.sysd .tile .k { margin-bottom: 8px; }
.fork { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.fork .tile { text-align: left; }
.fork .k.mid { font-size: 10px; color: var(--ink-3); text-align: center; }
@media (max-width: 599px) { .fork { grid-template-columns: 1fr; } }

/* Inside the walls: a project as a board of frames, connected the way the decisions were */
.board-wrap { position: relative; padding: clamp(24px, 3vw, 40px) 0; overflow-x: clip; }
.board { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 24px; align-items: start; }
.board::before { content: ""; position: absolute; inset: -24px; background-image: radial-gradient(color-mix(in srgb, var(--ink) 18%, transparent) 1px, transparent 1.5px); background-size: 24px 24px; border-radius: 16px; pointer-events: none; z-index: 0; }
.board .wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.board .wires path { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.board .wires path.in { stroke-dashoffset: 0; }
.board .wires text { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-3); }
.board .wires .lb { fill: var(--paper); stroke: var(--line); }
.board .wires .dot { fill: var(--lime); }
.fr { position: relative; z-index: 2; grid-column: var(--c, span 4); grid-row: var(--r, auto); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 14px; display: grid; gap: 8px; align-content: start; box-shadow: 0 1px 2px rgba(20, 22, 26, .04); transition: border-color .25s var(--ease), translate .25s var(--ease), box-shadow .25s var(--ease); }
.fr:hover { border-color: var(--ink); translate: 0 -2px; box-shadow: 0 14px 34px rgba(20, 22, 26, .10); }
.fr.rv { transform: translateY(14px) scale(.985); } .fr.rv.in { transform: none; }
.fr-l { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fr-l b { font-weight: 500; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); }
.fr.decision .fr-l b { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.fr.incident { border-style: dashed; }
.fr.incident .fr-l b { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fr.outcome { background: var(--black); color: var(--on-black); border-color: var(--black); }
.fr.outcome .fr-l { color: var(--on-black-3); } .fr.outcome .fr-l b { border-color: #4A4F56; }
.fr.outcome .fr-b, .fr.outcome .fr-b li { color: var(--on-black-2); }
.fr-t { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; line-height: 1.25; }
.fr-b { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); max-width: none; }
.fr-b ul { list-style: none; display: grid; gap: 4px; margin-top: 2px; }
.fr-b li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--lime); margin-right: 8px; vertical-align: 2px; }
.fr-img { border-radius: 6px; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-top); }
.fr-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fr-q { font-size: 14px; line-height: 1.45; padding-left: 12px; border-left: 3px solid var(--lime); color: var(--ink); }
.fr .nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fr .nums div { padding: 8px 10px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); }
.fr .nums b { display: block; font-family: var(--mono); font-weight: 500; font-size: 15px; }
.fr .nums span { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.3; }
.fr .nums s { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.fr .mini { display: flex; flex-wrap: wrap; gap: 6px; }
.fr .mini span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; padding: 5px 8px; border-radius: 4px; border: 1px solid var(--line); background: var(--paper); }
.fr .mini span.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fr .stack { display: grid; gap: 4px; }
.fr .stack span { font-family: var(--mono); font-size: 10.5px; padding: 6px 10px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); text-align: center; }
.fr .stack span.on { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.fr .steps { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); }
.fr .steps i { font-style: normal; color: var(--ink-3); }
.fr a.u { color: inherit; }
.cur-tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; pointer-events: none; }
.cur-tag svg { width: 14px; height: 14px; }
.cur-tag span { padding: 3px 7px; border-radius: 4px; background: var(--lime); color: var(--on-lime); }
.cur-tag.studio span { background: var(--ink); color: var(--paper); }
.cur-tag.tr { top: -10px; right: -8px; } .cur-tag.bl { bottom: -10px; left: -8px; } .cur-tag.br { bottom: -10px; right: -8px; }
.board-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 18px; }
.board-meta b { font-weight: 500; color: var(--ink); }
.lessons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 899px) { .lessons { grid-template-columns: 1fr; } }
.next-board { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--line); margin-top: 18px; }
@media (max-width: 1023px) {
  .board { grid-template-columns: 1fr; gap: 14px; }
  .fr { grid-column: auto !important; grid-row: auto !important; }
  .board .wires { display: none; }
  .cur-tag { display: none; }
}
/* The strip: a board as a clean grid of real screens, a label and one line each. No wires. */
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 767px) { .strip { grid-template-columns: 1fr; gap: 14px; } }
.strip .fr { padding: 0; gap: 0; overflow: hidden; grid-column: auto; grid-row: auto; }
.strip .fr.wide { grid-column: 1 / -1; }
.strip .fr-img { aspect-ratio: 16 / 10; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); background: var(--paper-top); }
.strip .fr.wide .fr-img { aspect-ratio: 21 / 9; }
.strip .fr-img.fit img { object-fit: contain; object-position: center; }
.strip .fr-img.brand { display: grid; place-items: center; }
.strip .fr-img.brand img { width: auto; height: auto; max-width: 40%; max-height: 46%; object-fit: contain; }
.strip .fr-txt { padding: 14px 16px 16px; display: grid; gap: 6px; }
.strip .fr-l b { font-family: var(--mono); }
.strip .fr-t { font-size: 17px; }
.strip .fr-b { font-size: 13.5px; }
.strip .fr:hover { translate: 0 -3px; }
.oneline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
@media (max-width: 767px) { .oneline { grid-template-columns: 1fr; } }
.oneline .tile b { display: block; font-family: var(--mono); font-weight: 500; font-size: 22px; margin-bottom: 4px; }
.story { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.story summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px; font-weight: 500; font-size: 15px; }
.story summary::-webkit-details-marker { display: none; }
.story summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--ink-3); }
.story[open] summary::after { content: "\2013"; }
.story .body { padding: 0 18px 18px; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }
.story .body p { max-width: none; }
.story .body b { color: var(--ink); font-weight: 500; }

/* the index of boards on the portfolio */
.boards { gap: 12px; }
@media (max-width: 1023px) { .boards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 599px) { .boards { grid-template-columns: 1fr !important; } }
.boards a.fr { text-decoration: none; }

/* Finance: a teaser, in the tool's own mood */
.fin .bframe { background: var(--black); border-color: #33373D; color: var(--on-black); }
.fin .bf-top { border-color: #33373D; color: var(--on-black-3); }
.fin .bf-top i { background: #33373D; }
.fin .bf-body { min-height: 260px; padding: 24px; }
.fin-line { font-family: var(--mono); font-size: clamp(16px, 1.6vw, 22px); line-height: 1.5; min-height: 3.2em; }
.fin-line .cur { display: inline-block; width: 2px; height: 1em; background: var(--lime); vertical-align: -0.15em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.fin .bf-chips span { background: var(--black-2); border-color: #33373D; color: var(--on-black-2); }
.fin .bf-steps { border-color: #33373D; }
.fin .bf-steps li { color: var(--on-black-3); border-color: #33373D; }
.fin .bf-steps li.on { color: var(--on-black); border-color: var(--lime); }

/* Print: items and the quote list */
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 899px) { .items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .items { grid-template-columns: 1fr; } }
.item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 8px; align-content: start; }
.item h3 { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.item .from { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.item p { font-size: 14px; color: var(--ink-2); line-height: 1.5; max-width: none; }
.item .add { justify-self: start; margin-top: 4px; }
.add.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qlist { display: grid; gap: 8px; margin: 14px 0; }
.qrow { display: grid; grid-template-columns: minmax(0, 1fr) 90px 44px; gap: 8px; align-items: center; font-size: 14.5px; }
.qrow input { min-height: 44px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 15px; }
.qrow .x { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); font-size: 18px; }
.qrow .x:hover { border-color: var(--ink); }
.qempty { font-size: 14px; color: var(--ink-3); margin: 10px 0 14px; }
.qbox { position: sticky; top: 92px; }
@media (max-width: 899px) { .qbox { position: static; } }

/* Research: the comparison, the steps, the uses, the ladder */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.cmp td:first-child { color: var(--ink-3); }
.cmp td.us { font-weight: 500; background: color-mix(in srgb, var(--lime) 12%, transparent); }
.cmp.wide { min-width: 900px; }
.steps5 { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 899px) { .steps5 { grid-template-columns: 1fr; } }
.steps5.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1099px) { .steps5.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .steps5.six { grid-template-columns: 1fr; } }
.steps5 li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.steps5 li b { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--on-lime); align-items: center; justify-content: center; font-family: var(--mono); font-weight: 500; font-size: 12px; margin-bottom: 10px; }
.steps5 h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.steps5 p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; max-width: none; }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 899px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .uses { grid-template-columns: 1fr; } }
.uses a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; transition: border-color .25s var(--ease), translate .25s var(--ease); }
.uses a:hover { border-color: var(--ink); translate: 0 -3px; }
.uses h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.uses p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; max-width: none; }
.ladder { list-style: none; position: relative; padding-left: 36px; }
.ladder::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.ladder li { position: relative; padding: 8px 0 18px; }
.ladder li::before { content: ""; position: absolute; left: -31px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); }
.ladder li.us::before { background: var(--lime); border-color: var(--lime); }
.ladder b { display: block; font-weight: 500; font-size: 17px; }
.ladder li.us b { color: var(--ink); }
.ladder span { font-size: 14px; color: var(--ink-2); }

/* Portfolio: a study */
.study { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); align-items: start; }
.study .side { position: sticky; top: 92px; }
.study h2 { font-weight: 500; font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -0.025em; line-height: 1.1; margin: 14px 0 20px; }
.study h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 6px; }
.study p { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.study .res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 6px; }
.study .res b { display: block; font-family: var(--mono); font-weight: 500; font-size: 26px; }
.study .res > div > span { display: block; font-size: 11.5px; line-height: 1.35; margin-top: 4px; color: var(--ink-3); }
.study .res b span { display: inline; font: inherit; color: inherit; margin: 0; }
@media (max-width: 899px) { .study { grid-template-columns: 1fr; } .study .side { position: static; } }
@media (max-width: 599px) { .study .res { grid-template-columns: 1fr; } }

/* Compare */
.own-l { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 899px) { .own-l { grid-template-columns: 1fr; } }

/* Documents: terms, privacy, refunds */
.doc { max-width: 72ch; }
.doc h1 { font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 20px; }
.doc h2 { font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.025em; margin: 44px 0 12px; }
.doc h3 { font-weight: 500; font-size: 19px; letter-spacing: -0.02em; margin: 26px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: none; }
.doc p { margin: 10px 0; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc a { border-bottom: 1px solid var(--line); }
.doc a:hover { border-color: var(--ink); }
.doc .eyebrow, .doc .crumb, .doc .breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.doc .lead { font-size: 18px; color: var(--ink-2); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc .btn, .doc .btn-primary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--ink); margin-top: 12px; }

/* 404 */
.nf { min-height: 72vh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; padding: clamp(48px, 8vw, 120px) 0; }
.nf > .wrap { width: 100%; min-width: 0; }
.nf .code { font-family: var(--mono); font-weight: 500; font-size: clamp(64px, 14vw, 180px); line-height: 1; letter-spacing: -0.04em; color: var(--ink-3); margin-bottom: 18px; }
.nf .lede { margin-top: 18px; }
.nf .route { margin-top: 26px; }

/* About */
.why div h3 { margin-bottom: 6px; }
.numbered { list-style: none; display: grid; gap: 12px; }
.numbered li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--ink-2); padding: 12px 0; border-top: 1px solid var(--line); }
.numbered li b { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-family: var(--mono); font-size: 12px; font-weight: 500; }

/* Contact */
.direct { display: grid; gap: 10px; }
.direct a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.next { list-style: none; counter-reset: n; display: grid; gap: 10px; }
.next li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); }
.next li b { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-family: var(--mono); font-size: 12px; font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .road-fill, .pin b, .groups a, .svc, .uses a, .add, .fy, .fy-verdict, .fy-post, .fy-yes { transition: none; }
  .cph { animation: none; }
  .bf-p.on .fy-wm, .bf-p.on .fy-mark { animation: none; }
}
