/* OneClick Systems homepage v3 — built from the Claude Design file "OCS Homepage v2". */

:root {
  --ink: #1C1A16;
  --ink-2: #25221D;
  --ink-line: #3A362E;
  --paper: #FBF9F4;
  --panel: #F3EFE6;
  --sand: #EDE7DA;
  --rule: #D6CDBA;
  --rule-2: #CFC7B4;
  --rule-3: #E0DACB;
  --text-2: #4A463D;
  --text-3: #77705F;
  --text-4: #8B8474;
  --bronze: #7A6446;
  --bronze-2: #A48C6A;
  --gold: #C9A97E;
  --gold-2: #E6D3B3;
  --cream-dim: #CFC7B4;
  --cream-2: #D9D2C0;
  --cream-3: #EFE6D6;
  --fail: #B4553A;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(64px, 8vw, 112px);
  --draw: cubic-bezier(.45, 0, .2, 1);
  --settle: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--bronze); }
[id] { scroll-margin-top: 84px; }
h1, h2, h3, p { margin: 0; }

/* ---------- shared ---------- */
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: 18px; }
.eyebrow.light { color: var(--cream-dim); }
.h2 { font-weight: 300; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.h2 strong { font-weight: 500; }
.body { font-size: 17px; line-height: 1.68; color: var(--text-2); }
.wrap { max-width: 1280px; margin: 0 auto; padding: var(--section-y) var(--gutter); }
.wrap-inner { max-width: 1280px; margin: 0 auto; }
.wrap-wide { padding: var(--section-y) clamp(0px, calc(8vw - 32px), 56px); }
.pad-fix { padding: 0 max(0px, calc(52px - 8vw)); }
.section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px 40px; align-items: end; margin-bottom: 40px; }
.section-head .h2 { margin: 0; }

.btn { display: inline-block; padding: 16px 26px; font-weight: 500; text-decoration: none; border: 1px solid var(--ink); transition: background-color .2s, color .2s, transform .2s var(--settle); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-lg { padding: 18px 32px; }
.btn-block { display: block; text-align: center; padding: 15px 22px; }

/* scroll reveal (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--settle), transform .8s var(--settle); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(28,26,22,.35); }
.header-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 26px; height: 26px; background: var(--ink); display: block; clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
.nav-desktop { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-desktop a { text-decoration: none; position: relative; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--draw); }
.nav-desktop a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.menu-toggle { all: unset; cursor: pointer; border: 1px solid var(--ink); padding: 11px 14px; font-size: 14px; font-weight: 500; display: none; }
.nav-mobile { border-top: 1px solid var(--rule-3); display: flex; flex-direction: column; font-size: 17px; font-weight: 500; }
.nav-mobile[hidden] { display: none; }
.nav-mobile a { padding: 18px 20px; border-bottom: 1px solid var(--rule-3); text-decoration: none; display: flex; justify-content: space-between; }
.nav-mobile .arrow { color: var(--bronze); }
@media (max-width: 899px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-block; }
}
@media (min-width: 900px) { .nav-mobile { display: none !important; } }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); }
.hero-copy { padding: clamp(48px, 8vw, 112px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-title { font-weight: 300; font-size: clamp(38px, 5vw, 66px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 28px; text-wrap: balance; }
.hero-title strong { font-weight: 500; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; }
.js .hero-title .w > span { transform: translateY(105%); transition: transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.12s + var(--wi) * 55ms); }
.js .loaded .hero-title .w > span, .js.loaded .hero-title .w > span { transform: none; }
.lede { font-size: 18px; line-height: 1.65; color: var(--text-2); margin: 0 0 40px; max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.js .hero-in { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--settle), transform .9s var(--settle); transition-delay: calc(.1s + var(--i) * 90ms); }
.js.loaded .hero-in { opacity: 1; transform: none; }

/* live operations panel */
.ops { background: var(--ink); color: #fff; padding: clamp(32px, 4vw, 56px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 22px; position: relative; overflow: hidden; }
.ops::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(207,199,180,.09) 1px, transparent 1.2px); background-size: 22px 22px; background-position: 11px 11px; pointer-events: none; mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%); }
.ops > * { position: relative; }
.ops-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ops-live { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-dim); }
.live-dot { width: 8px; height: 8px; background: var(--gold-2); display: block; position: relative; animation: livePulse 2s ease-in-out infinite; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--gold-2); opacity: 0; animation: liveRing 2s cubic-bezier(.2, .7, .2, 1) infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes liveRing { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.9); } }
.ops-count { font-size: 13px; color: var(--cream-dim); display: flex; align-items: center; gap: 6px; }
.odo { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; display: inline-flex; height: 1.25em; line-height: 1.25em; overflow: hidden; font-size: 14px; }
.odo .dg { display: inline-block; height: 1.25em; overflow: hidden; }
.odo .dg > span { display: flex; flex-direction: column; transition: transform .7s cubic-bezier(.2, .9, .25, 1); }
.odo .dg > span > span { height: 1.25em; }
.ops-stage { width: 100%; max-width: 600px; align-self: center; }
.ops-stage svg { display: block; width: 100%; height: auto; overflow: visible; }
.ops-feed-win { --row: 46px; height: calc(var(--row) * 3 + 1px); overflow: hidden; border-top: 1px solid var(--ink-line); }
.ops-feed { list-style: none; margin: 0; padding: 0; will-change: transform; }
.ops-feed li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; height: var(--row); padding: 0; border-bottom: 1px solid var(--ink-line); font-size: 14px; align-items: center; }
.ops-feed .m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops-feed .t { color: var(--text-4); font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ops-feed .m { color: #fff; }
.ops-feed .d { color: var(--cream-dim); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ops-feed li.fresh .m, .ops-feed li.fresh .d, .ops-feed li.fresh .t { animation: feedInk 1.1s ease-out both; }
@keyframes feedInk { 0% { opacity: 0; } 30% { opacity: 1; color: var(--gold-2); } 100% { } }
.ops-feed li { position: relative; }
.ops-feed li.fresh::after { content: ""; position: absolute; left: -10px; top: 50%; width: 4px; height: 4px; margin-top: -2px; background: var(--gold-2); animation: freshDot 2.2s ease-out both; }
@keyframes freshDot { 0% { opacity: 1; } 100% { opacity: 0; } }

/* svg pieces (hero) */
.o-label { font-family: var(--sans); font-size: 11px; letter-spacing: 1.6px; fill: var(--text-4); }
.o-card { fill: var(--ink-2); stroke: var(--ink-line); }
.o-card-title { font-family: var(--sans); font-size: 14.5px; fill: #fff; }
.o-card-sub { font-family: var(--mono); font-size: 9.5px; fill: var(--text-4); }
.o-card-count { font-family: var(--mono); font-size: 10.5px; fill: var(--cream-dim); }
.o-icon { fill: none; stroke: var(--cream-dim); stroke-width: 1.3; stroke-linecap: square; }
.o-wire { fill: none; stroke: var(--ink-line); stroke-width: 1.2; }
.o-port { fill: var(--ink); stroke: #4A463D; }
.o-hub { fill: var(--bronze); }
.o-hub-title { font-family: var(--sans); font-size: 15px; font-weight: 500; fill: #fff; }
.o-hub-sub { font-family: var(--sans); font-size: 11.5px; fill: var(--cream-3); }
.o-tag { font-family: var(--mono); font-size: 9.5px; fill: var(--ink); }
.o-cap { font-family: var(--mono); font-size: 10px; fill: var(--gold-2); letter-spacing: .02em; }

/* ---------- trusted by ---------- */
.trust { background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; align-items: stretch; overflow: hidden; }
.trust-label { flex: none; display: flex; align-items: center; padding: 0 var(--gutter); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--bronze); position: relative; z-index: 1; }
.trust-rail { flex: 1; overflow: hidden; min-width: 0; mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); }
.trust-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.trust-rail:hover .trust-track { animation-play-state: paused; }
.trust-track .logo { flex: none; display: flex; align-items: center; justify-content: center; height: 76px; padding: 0 46px; border-right: 1px solid var(--rule); }
.trust-track img { display: block; width: auto; max-width: none; filter: grayscale(1) contrast(1.15); opacity: .6; transition: opacity .3s, filter .3s; }
.trust-track img.inv { filter: invert(1) grayscale(1) contrast(1.15); }
.trust-track .logo:hover img { filter: none; opacity: 1; }
.trust-track .logo:hover img.inv { filter: invert(1); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- why / compare ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.why-copy .h2 { margin: 0 0 20px; }
.why-copy .body { max-width: 520px; line-height: 1.7; }
.compare { display: flex; flex-direction: column; gap: 26px; }
.compare-bar { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-3); border-bottom: 1px solid var(--rule-3); padding-bottom: 14px; }
.sim-clock { font-family: var(--mono); font-size: 13px; color: var(--ink); background: var(--panel); border: 1px solid var(--rule); padding: 5px 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sim-day { color: var(--text-3); }
.sim-note { flex: 1; min-width: 0; }
.lane-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 10px; }
.lane-name { font-weight: 500; }
.lane-meta { color: var(--text-3); }
.lane-meta.accent { color: var(--bronze); font-weight: 500; }
.lane-track { position: relative; }
.lane-point .lane-track { padding-top: 58px; padding-bottom: 30px; }
.lane-system .lane-track { padding-top: 10px; padding-bottom: 6px; }
.stations { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.4vw, 16px); }
.stations .link { position: absolute; left: 0; right: 0; top: 72%; height: 0; pointer-events: none; }
.lane-point .stations .link { border-top: 1px dashed var(--rule-2); }
.lane-system .stations .link { border-top: 2px solid var(--ink); }
.st { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.lane-point .st { background: var(--paper); border: 1px solid var(--rule-2); }
.lane-point .st.auto { background: var(--ink); border-color: var(--ink); }
.lane-system .st { background: var(--ink); }
.st svg.ic { position: absolute; left: 32%; top: 17%; width: 36%; height: 36%; fill: none; stroke-width: 1.4; stroke-linecap: square; stroke-linejoin: miter; z-index: 1; }
.lane-point .st svg.ic { stroke: var(--rule-2); }
.lane-point .st svg.ic.claude { fill: #D97757; stroke: none !important; }
.lane-point .st.auto svg.ic:not(.claude), .lane-system .st svg.ic { stroke: var(--text-4); transition: stroke .25s; }
.st .who { position: absolute; right: 3px; top: 3px; width: 13px; height: 13px; z-index: 2; }
.st .who svg { width: 100%; height: 100%; fill: var(--text-3); }
.st .glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; box-shadow: inset 0 0 0 1.5px var(--gold), inset 0 0 14px rgba(201,169,126,.4); }
.st .prog { position: absolute; inset: -1px; pointer-events: none; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; }
.st .prog rect { fill: none; stroke: var(--bronze); stroke-width: 2; }
.st-labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.4vw, 16px); margin-top: 10px; }
.st-labels span { font-size: 12px; line-height: 1.3; color: var(--text-2); text-align: center; }
.st-labels span.manual { color: var(--text-3); font-style: italic; }
.lane-point .st-labels { margin-top: 0; }
.tokens { position: absolute; inset: 0; pointer-events: none; }
.tok { position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; will-change: transform, opacity; }
.lane-point .tok { background: var(--text-3); }
.lane-point .tok.moving { background: var(--ink); }
.lane-point .tok.drop { background: var(--fail); }
.lane-system .tok { background: var(--gold); box-shadow: 0 0 0 1px rgba(28,26,22,.35); }
.lane-system .tok.hot { background: #FFF6E6; box-shadow: 0 0 8px 1px rgba(230,211,179,.85); }
.tok-trail { position: absolute; height: 2px; margin-top: -1px; left: 0; top: 0; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(201,169,126,0), rgba(201,169,126,.75)); pointer-events: none; }
.missed { position: absolute; font-family: var(--mono); font-size: 10px; color: var(--fail); letter-spacing: .04em; transform: translate(-50%, 0); white-space: nowrap; pointer-events: none; }
.qcount { position: absolute; font-family: var(--mono); font-size: 10px; color: var(--text-2); transform: translate(-50%, -100%); white-space: nowrap; pointer-events: none; }
.done-bin { position: absolute; right: -2px; top: 50%; pointer-events: none; }
.lane-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; padding: 0; }
.lane-stats > div { border-top: 1px solid var(--rule-3); padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lane-stats dt { font-size: 12px; color: var(--text-3); }
.lane-stats dd { margin: 0; font-family: var(--mono); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); transition: color .3s; }
.lane-point .lane-stats .bad dd.nz { color: var(--fail); }
.lane-system .lane-stats > div:first-child dd { color: var(--bronze); }
.lane-stats dd.bump { animation: bump .45s ease-out; }
@keyframes bump { 0% { color: var(--gold); } 100% { } }

/* ---------- process ---------- */
.process { background: var(--sand); padding: var(--section-y) var(--gutter); }
.gantt { position: relative; }
.gantt-ruler { display: flex; flex-wrap: wrap; gap: 0 32px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-2); }
.gantt-spacer { flex: 1 1 280px; }
.gantt-weeks { flex: 2 1 420px; display: grid; grid-template-columns: repeat(12, 1fr); font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; position: relative; }
.playhead-chip { position: absolute; top: -4px; left: 0; transform: translateX(-50%); background: var(--ink); color: #fff; font-family: var(--mono); font-size: 10.5px; padding: 3px 7px; white-space: nowrap; will-change: left; transition: opacity .3s; z-index: 3; }
.playhead-chip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 7px; height: 7px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.stage { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule-2); align-items: flex-start; position: relative; }
.stage-info { flex: 1 1 280px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.stage-num { width: 44px; height: 44px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 500; position: relative; transition: background-color .4s; }
.stage-num::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--bronze); opacity: 0; transform: scale(.85); transition: opacity .4s, transform .5s var(--settle); }
.stage.active .stage-num { background: var(--bronze); }
.stage.active .stage-num::after { opacity: 1; transform: none; }
.stage-title { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.stage-title h3 { font-weight: 500; font-size: 19px; }
.stage-when { font-size: 13px; color: var(--bronze); font-weight: 500; }
.stage-info p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.stage-track { flex: 2 1 420px; position: relative; }
.stage-lane { position: relative; height: 36px; background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px calc(100% / 12)); }
.stage-plan { position: absolute; top: 6px; bottom: 6px; border: 1px dashed rgba(28,26,22,.28); }
.stage-fill { position: absolute; top: 6px; bottom: 6px; overflow: hidden; }
.stage-fill i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.stage-fill.bronze i { background: var(--bronze); }
.stage-fill.hatch i { background: repeating-linear-gradient(135deg, var(--ink) 0 3px, #4A463D 3px 8px); background-size: 11.3px 11.3px; }
.stage.live .stage-fill.hatch i { animation: hatchMove 1s linear infinite; }
@keyframes hatchMove { to { background-position: 11.3px 0; } }
.stage-fill i::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-2); opacity: var(--edge, 0); box-shadow: 0 0 8px var(--gold); }
.playhead { position: absolute; top: -23px; bottom: -23px; left: 0; width: 1px; background: var(--ink); pointer-events: none; z-index: 2; opacity: .9; will-change: left; }
.stage:last-child .playhead { bottom: -8px; }
.stage-art { position: relative; z-index: 3; margin-top: 12px; height: 112px; width: min(300px, 100%); }
.stage-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.art-frame { fill: var(--paper); stroke: var(--rule-2); }
.art-cap { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; fill: var(--text-3); text-transform: uppercase; }
.art-text { font-family: var(--sans); font-size: 10px; fill: var(--text-2); }
.art-mono { font-family: var(--mono); font-size: 9.5px; fill: var(--text-2); }
.art-ink { stroke: var(--ink); fill: none; stroke-width: 1.2; }
.art-faint { stroke: var(--rule-2); fill: none; stroke-width: 1; }
.art-node { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.art-node.solid { fill: var(--ink); }
.art-bronze { stroke: var(--bronze); fill: none; stroke-width: 1.5; }
.art-fillb { fill: var(--bronze); }
.stage-art .d { transition: stroke-dashoffset .9s var(--draw), opacity .5s; }
.stage-art.on .d { stroke-dashoffset: 0; }
.stage-art .pop { opacity: .22; transform: scale(.88); transform-box: fill-box; transform-origin: center; transition: opacity .35s, transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.stage-art .fade { opacity: .14; transition: opacity .5s; }
.stage-art.on .pop, .stage-art.on .fade { opacity: 1; transform: none; }
.stage-art .pend { opacity: .28; }
.stage-art.on .pend { opacity: 1; transition: opacity .4s; }

/* ---------- departments ---------- */
.dept-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.dept-tabs button { all: unset; cursor: pointer; padding: 16px 20px; font-size: 15px; font-weight: 500; background: var(--paper); color: var(--ink); text-align: center; position: relative; transition: background-color .3s, color .3s; }
.dept-tabs button:hover { background: var(--panel); }
.dept-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.dept-tabs button:focus-visible { outline: 2px solid var(--bronze); outline-offset: -4px; }
.dept-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); border: 1px solid var(--ink); border-top: 0; }
.dept-info { padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.dept-info h3 { font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); margin: 0 0 14px; }
.dept-info p { line-height: 1.7; color: var(--text-2); font-size: 17px; max-width: 460px; }
.dept-info .swap { animation: swapIn .6s var(--settle) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dept-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.metric { font-weight: 300; font-size: clamp(36px, 4vw, 48px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.meter { height: 4px; background: var(--rule-3); margin: 14px 0 10px; }
.meter i { display: block; height: 100%; background: var(--ink); width: 0; transition: width 1.1s var(--draw); }
.meter i.bronze { background: var(--bronze); }
.metric-label { font-size: 14px; color: var(--text-2); }
.dept-flow { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); }
.dept-flow-head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 20px; }
.flow { position: relative; }
.flow-rail { position: absolute; left: 15.5px; top: 26px; bottom: 26px; width: 1px; background: #4A463D; }
.flow-rail i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.flow-pulse { position: absolute; left: 16px; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: #FFF6E6; box-shadow: 0 0 10px 2px rgba(230,211,179,.7); opacity: 0; z-index: 2; }
.fstep { position: relative; display: grid; grid-template-columns: 32px 1fr auto; gap: 16px; align-items: center; padding: 10px 0; }
.fstep .n { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; color: #fff; position: relative; z-index: 1; transition: box-shadow .3s; }
.fstep.agent .n { background: var(--bronze); border: 1px solid var(--bronze); }
.fstep.human .n { background: var(--ink); border: 1px solid var(--cream-dim); }
.fstep .t { font-size: 15px; line-height: 1.4; transition: color .3s; }
.fstep .who { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-width: 74px; }
.fstep.agent .who { color: var(--gold-2); border: 1px solid var(--bronze); }
.fstep.human .who { color: #fff; border: 1px solid var(--cream-dim); }
.fstep .who .st8 { font-family: var(--mono); font-size: 10px; letter-spacing: .02em; text-transform: none; color: var(--gold); max-width: 0; margin-left: 0; overflow: hidden; transition: max-width .4s var(--settle), margin-left .4s var(--settle); white-space: nowrap; }
.fstep.waiting .who .st8 { max-width: 90px; margin-left: 6px; }
.fstep.hit .n { box-shadow: 0 0 0 4px rgba(201,169,126,.18), 0 0 14px rgba(201,169,126,.45); }
.fstep.done .n::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--gold-2); opacity: 0; animation: ringOut .7s ease-out; }
@keyframes ringOut { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.fstep .timer { position: absolute; left: -4px; top: 50%; width: 40px; height: 40px; margin-top: -20px; pointer-events: none; overflow: visible; }
.fstep .timer rect { fill: none; stroke: var(--gold-2); stroke-width: 1.5; }
.js .fstep { opacity: 0; transform: translateX(-8px); }
.js .fstep.shown { opacity: 1; transform: none; transition: opacity .45s var(--settle), transform .55s var(--settle); transition-delay: var(--sd, 0s); }

/* ---------- results ---------- */
.results { background: var(--ink); color: #fff; padding: var(--section-y) var(--gutter); }
.results-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.link-light { color: #fff; font-weight: 500; }
.link-light:hover { color: var(--gold-2); }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.case { color: #fff; text-decoration: none; background: #221F1A; border: 1px solid var(--ink-line); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.js .case.in { transition: opacity .7s var(--settle), transform .8s var(--settle), border-color .3s, background-color .3s; }
.case:hover { color: #fff; border-color: #5A5346; background: #27231D; }
.case-sector { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); }
.case h3 { font-weight: 400; font-size: 20px; line-height: 1.35; min-height: 54px; }
.case-bars { display: flex; flex-direction: column; gap: 10px; }
.cbar { display: grid; grid-template-columns: 56px 1fr 72px; gap: 12px; align-items: center; font-size: 13px; }
.cbar .k { color: var(--text-4); }
.cbar .k.on { color: var(--cream-dim); }
.cbar .track { height: 10px; background: var(--ink-line); position: relative; overflow: hidden; }
.cbar .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; transition: width 1.2s var(--draw); }
.cbar .track i.before { background: var(--text-3); }
.cbar .track i.after { background: var(--gold); transition-delay: .55s; }
.case.in .cbar .track i.before { width: var(--bw, 100%); }
.case.in .cbar .track i.after { width: var(--w); }
.cbar .v { text-align: right; color: var(--cream-dim); }
.cbar .v.strong { color: #fff; font-weight: 500; }
.case-foot { display: flex; justify-content: space-between; align-items: baseline; }
.case-metric { font-weight: 300; font-size: 36px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.case-link { font-size: 14px; color: var(--cream-dim); transition: color .2s, transform .3s var(--settle); }
.case:hover .case-link { color: #fff; transform: translateX(3px); }

/* ---------- ROI ---------- */
.roi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.h2.tight { margin: 0 0 14px; }
.roi-sub { margin: 0 0 36px; }
.slider { display: block; margin-bottom: 26px; }
.slider.last { margin-bottom: 0; }
.slider-head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 12px; }
.slider-head b { font-weight: 500; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 14px; }
.slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer; --fill: 50%; }
.slider input[type=range]:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.slider input[type=range]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--ink) 0 var(--fill), var(--rule) var(--fill) 100%); }
.slider input[type=range]::-moz-range-track { height: 3px; background: var(--rule); }
.slider input[type=range]::-moz-range-progress { height: 3px; background: var(--ink); }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); transition: transform .2s var(--settle), background-color .2s; }
.slider input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 0; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); }
.slider input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); background: var(--bronze); }
.roi-card { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); position: relative; overflow: hidden; }
.roi-label { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-dim); }
.roi-big { font-weight: 300; font-size: clamp(48px, 6vw, 80px); letter-spacing: -.03em; line-height: 1.05; margin: 10px 0 32px; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.roi-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.roi-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--cream-dim); margin-bottom: 6px; }
.roi-row span:last-child { font-variant-numeric: tabular-nums; }
.roi-bar { height: 12px; display: flex; background: transparent; }
.roi-bar i { display: block; height: 100%; }
.roi-bar .today { width: 100%; background: #4A463D; }
.roi-bar .kept { width: 30%; background: var(--text-3); transition: width .5s var(--settle); }
.roi-bar .saved { flex: 1; background: repeating-linear-gradient(135deg, var(--bronze) 0 2px, transparent 2px 7px); background-size: 9.9px 9.9px; animation: hatchMove2 1.6s linear infinite; }
@keyframes hatchMove2 { to { background-position: 9.9px 0; } }
.roi-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--ink-line); padding-top: 20px; margin-bottom: 28px; }
.roi-stats .n { font-size: 22px; font-variant-numeric: tabular-nums; }
.roi-stats .l { font-size: 13px; color: var(--cream-dim); }
.roi-note { font-size: 12px; color: var(--text-4); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 128px) var(--gutter); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(24px, 5vw, 56px); }
.faq .h2 { font-size: clamp(30px, 3.6vw, 48px); margin: 0 0 16px; }
.faq-sub { color: var(--cream-2); line-height: 1.65; }
.qa { border-top: 1px solid var(--ink-line); }
.qa:last-child { border-bottom: 1px solid var(--ink-line); }
.qa button { all: unset; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 0; font-size: 17px; line-height: 1.4; box-sizing: border-box; transition: color .2s; }
.qa button:hover { color: var(--gold-2); }
.qa button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sign { position: relative; width: 14px; height: 14px; flex: none; margin-top: 5px; }
.sign::before, .sign::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: var(--cream-dim); transition: transform .4s var(--settle); }
.sign::after { transform: rotate(90deg); }
.qa.open .sign::after { transform: rotate(0); }
.ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--settle); }
.ans > div { overflow: hidden; }
.ans p { margin: 0 0 22px; line-height: 1.7; color: var(--cream-2); opacity: 0; transform: translateY(-4px); transition: opacity .35s, transform .45s var(--settle); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa.open .ans p { opacity: 1; transform: none; transition-delay: .08s; }

/* ---------- CTA + footer ---------- */
.cta { background: var(--bronze); color: #fff; padding: clamp(56px, 8vw, 104px) var(--gutter); position: relative; overflow: hidden; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; }
.cta .h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.025em; margin: 0 0 12px; }
.cta p { max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--cream-3); }
.site-footer { background: var(--ink); color: var(--cream-dim); padding: clamp(48px, 6vw, 72px) var(--gutter) 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 32px; margin-bottom: 48px; line-height: 2; }
.brand-light { color: #fff; font-size: 17px; margin-bottom: 10px; }
.brand-light .brand-mark { width: 22px; height: 22px; background: var(--paper); }
.footer-blurb { line-height: 1.6; max-width: 260px; }
.fh { color: #fff; font-weight: 500; }
.footer-base { border-top: 1px solid var(--ink-line); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  .ops-feed-win { --row: 58px; }
  .ops-feed li { grid-template-columns: 64px minmax(0, 1fr); align-content: center; row-gap: 2px; }
  .ops-feed .t { grid-row: span 2; }
  .ops-feed .d { grid-column: 2; }
  .compare-bar { flex-wrap: wrap; }
  .sim-note { order: 3; flex-basis: 100%; }
  .lane-stats > div { flex-direction: column; gap: 2px; }
  .st .who { width: 10px; height: 10px; right: 2px; top: 2px; }
  .playhead { top: -12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trust-track, .live-dot, .live-dot::after, .roi-bar .saved, .stage.live .stage-fill.hatch i { animation: none !important; }
  .js [data-reveal], .js .hero-in, .js .hero-title .w > span, .js .fstep { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* hero diagram entrance */
.ops-stage .o-in, .ops-stage .o-out { transition: opacity .55s ease-out, transform .7s cubic-bezier(.2, .8, .25, 1); }
.ops-stage .o-hubg { transform-box: fill-box; transform-origin: center; transition: opacity .5s ease-out, transform .8s cubic-bezier(.3, 1.25, .5, 1); }
.ops-stage svg.pre .o-in { opacity: 0; transform: translateX(-12px); }
.ops-stage svg.pre .o-out { opacity: 0; transform: translateX(12px); }
.ops-stage svg.tall.pre .o-in { transform: translateY(-10px); }
.ops-stage svg.tall.pre .o-out { transform: translateY(10px); }
.ops-stage svg.pre .o-hubg { opacity: 0; transform: scale(.94); }

/* compare: manual station at work */
.lane-point .st.busy { border-color: var(--text-3); }
.lane-point .st.busy .who svg { fill: var(--ink); }
.lane-point .st.busy svg.ic { stroke: var(--text-3); }

/* process deliverables */
.dep-bar { transform-box: fill-box; transform-origin: left; transform: scaleX(var(--f, 0)); transition: transform .3s ease-out; }
.stage-art.on .fade.live-line { opacity: .14; }
.stage-art.on.done .fade.live-line { opacity: 1; }
.opt-ring { transform-box: fill-box; transform-origin: center; }
.stage-art.on .opt-ring { animation: optRing 2.4s ease-out 1.4s infinite; }
@keyframes optRing { 0% { opacity: .9; transform: scale(.5); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .stage-art.on .opt-ring { animation: none; } }

@media (max-width: 440px) {
  .brand { font-size: 16px; gap: 8px; white-space: nowrap; }
  .brand-mark { width: 22px; height: 22px; }
  .header-bar { gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .btn-sm { padding: 10px 14px; white-space: nowrap; }
  .menu-toggle { padding: 9px 12px; }
}

/* ---------- copy draft additions ---------- */
.why-points { list-style: none; margin: 28px 0 0; padding: 0; max-width: 520px; display: grid; gap: 12px; }
.why-points li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.why-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--bronze); }
.why-points b { color: var(--ink); font-weight: 500; }
.dept-links { margin-top: 14px !important; font-size: 14px !important; color: var(--text-3) !important; }
.dept-links a { color: var(--ink); text-underline-offset: 3px; }
.start { padding: var(--section-y) var(--gutter); border-bottom: 1px solid var(--rule); }
.start .body a { color: var(--ink); font-weight: 500; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.offer { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3vw, 40px); background: #fff; border: 1px solid var(--ink); text-decoration: none; color: var(--ink); transition: background-color .3s, color .3s; }
.offer:hover { background: var(--ink); color: #fff; }
.offer-n { position: absolute; right: clamp(26px, 3vw, 40px); top: clamp(26px, 3vw, 40px); font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.offer-name { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.offer h3 { font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.01em; max-width: 440px; }
.offer p { font-size: 16px; line-height: 1.65; color: var(--text-2); max-width: 480px; transition: color .3s; }
.offer:hover p { color: var(--cream-2); }
.offer:hover .offer-name { color: var(--gold-2); }
.offer-link { margin-top: auto; padding-top: 10px; font-weight: 500; font-size: 15px; }
.tc-people { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 28px; min-height: 22px; }
.tc-people i { position: relative; width: 22px; height: 22px; border: 1px solid #4A463D; display: block; }
.tc-people i::after { content: ""; position: absolute; left: 0; bottom: 0; top: 0; width: calc(var(--f, 0) * 100%); background: var(--gold); transition: width .4s var(--settle); }
.roi-card .roi-row { margin-bottom: 10px; }
.roi-card .roi-row span:last-child { color: #fff; font-family: var(--mono); }


/* ---------- site navigation: mega menus (desktop) and accordions (mobile) ---------- */
.nav-desktop:has(.nav-trigger) { gap: 2px; }
.nav-trigger { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; font-size: 15px; font-weight: 500; color: var(--ink); position: relative; }
.nav-trigger svg { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .15s ease-out; }
.nav-trigger::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .12s ease-out; }
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--bronze); }
.nav-trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-trigger:focus-visible { outline: 2px solid var(--bronze); outline-offset: -2px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--rule-3); border-bottom: 1px solid var(--rule); box-shadow: 0 30px 50px -30px rgba(28,26,22,.4); }
.mega[hidden] { display: none; }
.mega-inner { max-width: 1280px; margin: 0 auto; padding: 30px var(--gutter) 34px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.mega-inner:not(:has(.mega-feature)) { grid-template-columns: minmax(0, 1fr); }
/* first open eases in quickly; moving between menus swaps instantly */
.mega.open .mega-inner { animation: megaIn .14s ease-out both; }
.mega.open.instant .mega-inner { animation: none; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 6px 40px; align-content: start; }
.mega-h { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); padding-bottom: 9px; margin-bottom: 6px; border-bottom: 1px solid var(--rule-3); min-height: 1.2em; }
.ml { display: block; padding: 7px 10px; margin: 0 -10px; text-decoration: none; color: var(--ink); }
.ml-label { font-size: 15px; font-weight: 500; }
.ml-note { display: block; font-size: 13px; line-height: 1.4; color: var(--text-3); margin-top: 2px; }
.mega .ml:hover { background: var(--panel); }
.mega .ml:hover .ml-label { color: var(--ink); }
.mega .ml:hover .ml-note { color: var(--text-2); }
.mega-all { grid-column: 1 / -1; justify-self: start; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--rule-3); width: 100%; font-weight: 500; font-size: 14px; text-decoration: none; }
.mega-feature { background: var(--ink); color: #fff; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; position: relative; overflow: hidden; }
.mega-feature::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(207,199,180,.1) 1px, transparent 1.2px); background-size: 16px 16px; pointer-events: none; }
.mega-feature:hover { background: #2A2620; color: #fff; }
.mf-t { position: relative; font-size: 19px; font-weight: 500; }
.mf-d { position: relative; color: var(--cream-2); font-size: 14px; line-height: 1.55; }
.mf-c { position: relative; margin-top: auto; padding-top: 8px; color: var(--gold-2); font-weight: 500; font-size: 14px; }
@media (max-width: 1099px) { .nav-desktop:has(.nav-trigger) { display: none; } .site-header:has(.nav-trigger) .menu-toggle { display: inline-block; } .mega { display: none !important; } }
@media (min-width: 1100px) { .site-header:has(.nav-trigger) .menu-toggle { display: none; } .site-header:has(.nav-trigger) .nav-mobile { display: none !important; } }
@media (min-width: 900px) and (max-width: 1099px) { .site-header:has(.nav-trigger) .nav-mobile:not([hidden]) { display: flex !important; } }
.nav-mobile:has(.mnav) { max-height: calc(100vh - 70px); overflow-y: auto; }
.mnav { border-bottom: 1px solid var(--rule-3); }
.mnav summary { list-style: none; cursor: pointer; padding: 18px 20px; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-sign { position: relative; width: 12px; height: 12px; }
.mnav-sign::before, .mnav-sign::after { content: ""; position: absolute; left: 0; top: 5.5px; width: 12px; height: 1px; background: var(--bronze); transition: transform .3s var(--settle); }
.mnav-sign::after { transform: rotate(90deg); }
.mnav[open] .mnav-sign::after { transform: rotate(0); }
.mnav-links { padding: 0 20px 14px; display: grid; }
.nav-mobile .mnav-links .ml { padding: 9px 0; margin: 0; border-bottom: 0; display: block; }
.nav-mobile .mnav-cta { margin: 18px 20px 22px; justify-content: center; border-bottom: 1px solid var(--ink); }

/* footer link columns (built from the menu list) */
.footer-grid .fcol a { display: block; color: var(--cream-dim); text-decoration: none; line-height: 1.5; padding: 4px 0; font-size: 14px; }
.footer-grid .fcol a:hover { color: #fff; }
.footer-grid .fh { margin-bottom: 8px; }
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); line-height: 1.6; }
.footer-grid .fbrand { grid-column: span 2; max-width: 300px; }
@media (max-width: 700px) { .footer-grid .fbrand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 32px; } .footer-grid .fbrand { grid-column: auto; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }

/* logo mark (ringed core), cropped tight so it fills its height */
.brand-logo { display: block; flex: none; height: 24px; width: auto; aspect-ratio: 30.60 / 19.74; }
.brand-light .brand-logo { height: 22px; }
@media (max-width: 440px) { .brand-logo { height: 20px; } }

/* ---------- book a call: live calendar on the page ---------- */
.book { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.book-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.book-eyebrow { color: var(--gold-2); }
.book .h2 { margin: 0 0 18px; }
.book-lede { font-size: 17px; line-height: 1.65; color: var(--cream-3); margin: 0 0 30px; max-width: 520px; }
.book-ready { border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px; margin-bottom: 26px; max-width: 520px; }
.book-h { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.book-ready ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.book-ready li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: var(--cream-3); }
.book-ready li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--gold-2); }
.book-alt { font-size: 15px; color: var(--cream-3); }
.book-alt a { color: #fff; }
.book-card { position: relative; background: #fff; height: 700px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); overflow: hidden; }
.book-card iframe { display: block; width: 100%; height: 100%; border: 0; }
.book-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--text-3); font-size: 14px; }
.book-card.ready .book-loading { display: none; }
.spin { width: 16px; height: 16px; border: 2px solid var(--rule); border-top-color: var(--bronze); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .book-inner { grid-template-columns: 1fr; } .book-card { height: 760px; } }

/* =====================================================================================
   Inner pages: shared blocks (sales pages, articles, hubs) built by build_site.py
   ===================================================================================== */
.crumbs { max-width: calc(1280px + 2 * var(--gutter)); margin: 0 auto; padding: 18px var(--gutter) 0; font-size: 13px; color: var(--text-3); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 6px; color: var(--rule-2); }
.p-title { font-weight: 300; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.1; letter-spacing: -.022em; margin: 0 0 24px; text-wrap: balance; }
.blk { padding: var(--section-y) var(--gutter); }
.tone-paper { background: var(--paper); }
.tone-sand { background: var(--sand); }
.tone-ink { background: var(--ink); color: #fff; }
.blk .section-head { margin-bottom: 36px; }
.blk a:not([class]) { color: var(--bronze); text-underline-offset: 3px; }
.blk a:not([class]):hover { color: var(--ink); }

/* hero with a live workflow card */
.p-hero { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(56px, 7vw, 96px); }
.p-hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.p-hero .lede { max-width: 560px; }
.flow-card { background: var(--ink); color: #fff; padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.flow-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(207,199,180,.09) 1px, transparent 1.2px); background-size: 22px 22px; pointer-events: none; }
.flow-card > * { position: relative; }
.flow-card-head { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 18px; }
@media (max-width: 900px) { .p-hero-inner { grid-template-columns: 1fr; } }

/* feature list */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 0 48px; border-top: 1px solid var(--rule-3); }
.feature-grid li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule-3); font-size: 16px; line-height: 1.55; color: var(--text-2); }
.feature-grid strong { color: var(--ink); font-weight: 500; }
.fx { flex: none; width: 26px; height: 26px; background: var(--ink); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.fx svg { width: 15px; height: 15px; fill: none; stroke: var(--gold-2); stroke-width: 2.2; }

/* problem cards */
.prob-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.prob { background: #fff; border: 1px solid var(--rule); padding: 28px 26px 30px; }
.prob-n { display: block; font-family: var(--mono); font-size: 12px; color: var(--bronze); margin-bottom: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-3); }
.prob h3 { font-weight: 500; font-size: 21px; margin: 0 0 10px; }
.prob p { font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* story with a stat card */
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.story-copy .h2 { margin: 0 0 22px; }
.story-copy p { font-size: 17px; line-height: 1.7; color: var(--text-2); margin: 0 0 16px; max-width: 620px; }
.stat-card { background: var(--ink); color: #fff; padding: 30px 28px; }
.sc-cap { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 22px; }
.sc-row { margin-bottom: 20px; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--cream-2); margin-bottom: 8px; }
.sc-top b { font-weight: 300; font-size: 40px; color: #fff; letter-spacing: -.02em; line-height: 1; }
.sc-track { height: 10px; background: var(--ink-line); }
.sc-track i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 1.2s var(--draw) .25s; }
.sc-row + .sc-row .sc-track i { background: var(--cream-dim); transition-delay: .45s; }
.story-aside.in .sc-track i { width: var(--w); }
.sc-foot { font-size: 13px; line-height: 1.5; color: var(--cream-dim); margin-top: 6px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* numbered steps with a side card */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 0 0 26px; position: relative; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.steps li::before { content: ""; position: absolute; left: 21.5px; top: 44px; bottom: 0; width: 1px; background: var(--rule-2); }
.steps li:last-child::before { display: none; }
.st-n { width: 44px; height: 44px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; }
.steps li > div { padding-top: 10px; }
.steps-aside { position: sticky; top: 100px; }
.video-card { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--rule); }
.video-card:hover { border-color: var(--ink); color: var(--ink); }
.vc-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--settle); }
.video-card:hover .vc-thumb img { transform: scale(1.03); }
.vc-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.vc-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.vc-t { display: block; padding: 16px 18px 4px; font-weight: 500; font-size: 16px; }
.vc-n { display: block; padding: 0 18px 18px; font-size: 13px; color: var(--text-3); }
@media (max-width: 900px) { .steps-wrap { grid-template-columns: 1fr; } .steps-aside { position: static; } }

/* comparison columns */
.cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.cmp-col { background: #fff; border: 1px solid var(--rule); padding: 26px 24px 28px; }
.cmp-col.star { background: var(--ink); color: #fff; border-color: var(--ink); }
.cmp-tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: 10px; }
.star .cmp-tag { color: var(--gold-2); }
.cmp-col h3 { font-weight: 500; font-size: 22px; margin: 0 0 18px; }
.cmp-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cmp-col li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.star li { color: var(--cream-2); }
.cmp-col li svg { flex: none; width: 18px; height: 18px; fill: none; stroke-width: 2.2; margin-top: 2px; }
.cmp-col li.pro svg { stroke: var(--bronze); }
.star li.pro svg { stroke: var(--gold-2); }
.cmp-col li.con svg { stroke: var(--rule-2); }
.cmp-verdict { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--text-2); padding: 18px 22px; border-left: 3px solid var(--bronze); background: rgba(255,255,255,.55); }
.cmp-verdict strong { color: var(--ink); font-weight: 500; }

/* integrations chips + compliance note */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; background: #fff; border: 1px solid var(--rule); font-size: 15px; font-weight: 500; }
.chip svg { width: 20px; height: 20px; fill: none; stroke: var(--bronze); stroke-width: 1.6; }
.b-chips + .b-note { padding-top: 0; }
.note { display: flex; gap: 20px; padding: 28px; border: 1px solid var(--ink); background: #fff; max-width: 980px; }
.note-ic { flex: none; width: 48px; height: 48px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.note-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; }
.note h3 { font-weight: 500; font-size: 20px; margin: 0 0 8px; }
.note p { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.assure { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.assure li { display: flex; gap: 14px; padding: 20px 22px; background: #fff; border: 1px solid var(--rule); font-size: 16px; line-height: 1.55; color: var(--text-2); }
.assure svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--bronze); stroke-width: 1.6; }

/* proof highlight */
.proof { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 48px; align-items: center; }
.proof p { color: var(--cream-2); font-size: 17px; line-height: 1.7; margin: 16px 0 22px; max-width: 640px; }
.proof-stat { border-left: 1px solid var(--ink-line); padding-left: 40px; }
.ps-n { display: block; font-weight: 300; font-size: clamp(56px, 7vw, 88px); letter-spacing: -.03em; color: var(--gold-2); line-height: 1; font-variant-numeric: tabular-nums; }
.ps-l { display: block; margin-top: 10px; color: var(--cream-dim); font-size: 15px; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr; } .proof-stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink-line); padding-top: 24px; } }

/* related and hub cards */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.rel, .hub-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; grid-template-rows: auto auto; column-gap: 16px; row-gap: 3px; padding: 22px; background: #fff; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.rel:hover, .hub-card:not(.soon):hover { border-color: var(--ink); color: var(--ink); }
.rel-ic { grid-row: 1 / span 2; width: 44px; height: 44px; background: var(--panel); display: flex; align-items: center; justify-content: center; }
.rel-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.rel:hover .rel-ic, .hub-card:not(.soon):hover .rel-ic { background: var(--ink); }
.rel:hover .rel-ic svg, .hub-card:not(.soon):hover .rel-ic svg { stroke: var(--gold-2); }
.rel-t { font-weight: 500; font-size: 17px; align-self: end; }
.rel-d { grid-column: 2; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.rel-go { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: flex; }
.rel-go svg { width: 18px; height: 18px; fill: none; stroke: var(--text-3); stroke-width: 1.8; transition: transform .15s; }
.rel:hover .rel-go svg, .hub-card:hover .rel-go svg { transform: translateX(3px); stroke: var(--ink); }
.rel-extra { margin-top: 22px; color: var(--text-2); }
.hub-card.soon { grid-template-columns: 44px minmax(0, 1fr) auto; background: transparent; border-style: dashed; border-color: var(--rule-2); }
.hub-card.soon .rel-t, .hub-card.soon .rel-d { color: var(--text-3); }
.hub-card.soon .rel-ic { background: transparent; border: 1px dashed var(--rule-2); }
.hub-card.soon .rel-ic svg { stroke: var(--text-3); }
.soon-tag { grid-column: 3; grid-row: 1; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: var(--text-3); }
.hub-head { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(36px, 5vw, 56px); }
.hub-head .lede { max-width: 720px; margin-bottom: 0; }
.hub-group + .hub-group { margin-top: 56px; }
.hub-gh { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--ink); padding-bottom: 12px; margin-bottom: 20px; }
.hub-gh h2 { font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); margin: 0; }
.hub-gh span { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.help { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px 40px; align-items: end; }
.help .h2 { margin: 0; }
.hub-proof { list-style: none; margin: 32px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 32px; }
.hub-proof li { border-top: 1px solid var(--ink-line); padding: 18px 0; }
.hub-proof b { display: block; font-weight: 500; color: #fff; font-size: 17px; margin-bottom: 6px; }
.hub-proof span { color: var(--cream-2); font-size: 15px; line-height: 1.5; }

/* article */
.art-head { max-width: calc(1280px + 2 * var(--gutter)); padding: clamp(28px, 4vw, 56px) var(--gutter) 36px; }
.art-title { font-weight: 300; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.022em; margin: 0 0 22px; max-width: 920px; text-wrap: balance; }
.art-intro { font-size: 19px; line-height: 1.65; color: var(--text-2); max-width: 760px; margin: 0 0 28px; }
.byline { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--rule-3); max-width: 760px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.by-mark { flex: none; width: 44px; height: 44px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 14px; }
.byline b { color: var(--ink); font-weight: 500; }
.by-meta { margin-left: auto; text-align: right; color: var(--text-3); }
.art-body { max-width: calc(1280px + 2 * var(--gutter)); display: grid; grid-template-columns: 220px minmax(0, 740px); gap: clamp(32px, 5vw, 80px); padding: 24px var(--gutter) var(--section-y); }
.toc { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; font-size: 14px; }
.toc-h { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: 10px; }
.toc a { color: var(--text-3); text-decoration: none; padding: 6px 0 6px 12px; border-left: 2px solid var(--rule-3); line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--bronze); font-weight: 500; }
.prose { font-size: 17px; line-height: 1.75; color: var(--text-2); }
.prose h2 { font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.015em; color: var(--ink); margin: 56px 0 16px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 500; font-size: 20px; color: var(--ink); margin: 32px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 20px; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--bronze); }
.prose a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--bronze); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose .src { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.tbl { overflow-x: auto; margin: 8px 0 14px; border: 1px solid var(--rule); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; background: #fff; }
.prose th { text-align: left; background: var(--ink); color: #fff; font-weight: 500; padding: 12px 16px; }
.prose td { padding: 12px 16px; border-top: 1px solid var(--rule-3); vertical-align: top; }
.prose td:last-child { color: var(--ink); font-weight: 500; }
.prose tr:nth-child(even) td { background: #FCFBF8; }
.good-for { background: var(--panel); border-left: 3px solid var(--bronze); padding: 12px 16px; font-size: 15px; }
.good-for b { color: var(--bronze); font-weight: 500; margin-right: 8px; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
@media (max-width: 960px) { .art-body { grid-template-columns: 1fr; } .toc { display: none; } .by-meta { display: none; } }

/* ---------- round 2 of the inner-page blocks ---------- */
/* hero photograph with two status cards */
.hero-visual { position: relative; }
.hv-frame { margin: 0; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--sand); }
.hv-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.6s var(--settle); }
.js.loaded .hv-frame img { transform: none; }
.hv-chip { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 16px 12px 12px; box-shadow: 0 18px 40px -18px rgba(28,26,22,.45); min-width: 230px; }
.hv-chip-0 { left: -28px; top: 14%; }
.hv-chip-1 { right: -20px; bottom: 12%; }
.hv-chip b { display: block; font-weight: 500; font-size: 15px; }
.hv-chip em { display: block; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-top: 2px; }
.hv-ic { flex: none; width: 38px; height: 38px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.hv-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--gold-2); stroke-width: 1.7; }
.hv-chip-1 .hv-ic { background: var(--bronze); }
.hv-chip-1 .hv-ic svg { stroke: #fff; }
.hv-live { position: absolute; right: 14px; top: 12px; width: 7px; height: 7px; background: var(--bronze); animation: livePulse 1.6s ease-in-out infinite; }
.js .hv-chip { opacity: 0; transform: translateY(10px); }
.js.loaded .hv-chip { opacity: 1; transform: none; transition: opacity .6s var(--settle), transform .8s var(--settle); transition-delay: var(--d); }
@media (max-width: 900px) { .hv-chip-0 { left: 10px; } .hv-chip-1 { right: 10px; } .hv-chip { min-width: 0; } }

/* checklist beside the live workflow */
.feat-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-3); }
.feature-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule-3); font-size: 16px; line-height: 1.55; color: var(--text-2); }
.feature-list strong { color: var(--ink); font-weight: 500; }
.feat-visual { position: sticky; top: 100px; }
@media (max-width: 900px) { .feat-split { grid-template-columns: 1fr; } .feat-visual { position: static; } }

/* video that plays in place */
.steps-wrap.has-video { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.video-embed { margin: 0; background: #fff; border: 1px solid var(--rule); }
.ve-play { all: unset; cursor: pointer; position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.ve-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--settle), opacity .3s; }
.ve-play:hover img { transform: scale(1.02); opacity: .92; }
.ve-play .vc-play { width: 76px; height: 76px; margin: -38px 0 0 -38px; transition: background-color .2s; }
.ve-play:hover .vc-play { background: var(--bronze); }
.ve-play .vc-play svg { width: 28px; height: 28px; }
.ve-play:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.video-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-embed figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: 14px; color: var(--text-3); }
.video-embed figcaption b { color: var(--ink); font-weight: 500; font-size: 15px; }
@media (max-width: 900px) { .steps-wrap.has-video { grid-template-columns: 1fr; } .video-embed figcaption { flex-direction: column; gap: 2px; } }

/* integrations with the rules card beside them */
.chips-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.chips-split .h2 { margin: 0 0 16px; }
.chips-text { margin: 0 0 26px; max-width: 600px; }
.rules-card { background: var(--ink); color: #fff; padding: 30px 28px; }
.rules-card .note-ic { background: var(--bronze); margin-bottom: 18px; }
.rules-card .note-ic svg { stroke: #fff; }
.rules-card h3 { font-weight: 500; font-size: 20px; margin: 0 0 10px; }
.rules-card p { font-size: 15px; line-height: 1.65; color: var(--cream-2); }
@media (max-width: 900px) { .chips-split { grid-template-columns: 1fr; } }

/* industries as small boxes under the related systems */
.ind-block { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rule-3); }
.ind-h { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin: 0 0 16px; }
.ind-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.ind { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: #fff; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.blk a.ind { color: var(--ink); text-decoration: none; }
.ind:hover { border-color: var(--ink); }
.ind-ic { width: 34px; height: 34px; background: var(--panel); display: flex; align-items: center; justify-content: center; }
.ind-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.ind:hover .ind-ic { background: var(--ink); }
.ind:hover .ind-ic svg { stroke: var(--gold-2); }
.ind-go { width: 16px; height: 16px; fill: none; stroke: var(--text-3); stroke-width: 1.8; margin-left: 4px; transition: transform .15s; }
.ind:hover .ind-go { transform: translateX(3px); stroke: var(--ink); }

/* client logos on the results cards (white on the dark cards) */
.case-logo { display: block; width: auto; max-width: 70%; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 4px; }

/* article: tags, wide photograph, price-range charts */
.art-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 18px; }
.art-eyebrow .eyebrow { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; font-weight: 500; padding: 5px 10px; border: 1px solid var(--rule-2); color: var(--text-2); text-decoration: none; background: #fff; }
.tag:hover { border-color: var(--ink); color: var(--ink); }
.art-image { margin: 0 auto 20px; max-width: calc(1280px + 2 * var(--gutter)); padding: 0 var(--gutter); }
.art-image img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; }
.range-chart { margin: 26px 0 30px; padding: 22px 22px 12px; background: #fff; border: 1px solid var(--rule); }
.range-chart figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.range-chart figcaption b { font-weight: 500; color: var(--ink); font-size: 16px; }
.range-chart figcaption span { font-size: 12px; color: var(--text-3); }
.range-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.rc-grid { stroke: var(--rule-3); stroke-width: 1; }
.rc-tick { font-family: var(--mono); font-size: 11px; fill: var(--text-3); }
.rc-label { font-family: var(--sans); font-size: 13px; fill: var(--text-2); }
.rc-val { font-family: var(--mono); font-size: 11px; fill: var(--ink); opacity: .8; }
.rc-bar { fill: var(--bronze); transform-box: fill-box; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--draw); transition-delay: var(--d); }
.range-chart.in .rc-bar { transform: none; }
.rc-open { opacity: .85; }
.rc-arrow { fill: none; stroke: var(--bronze); stroke-width: 2; }
.rc-hit { fill: transparent; }
.rc-row:hover .rc-hit, .rc-row:focus .rc-hit { fill: var(--panel); }
.rc-row:hover .rc-bar, .rc-row:focus .rc-bar { fill: var(--ink); }
.rc-row:focus { outline: none; }

/* guides hub: topic filters and picture cards */
.g-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gf { all: unset; cursor: pointer; font-size: 14px; font-weight: 500; padding: 9px 14px; border: 1px solid var(--rule-2); background: #fff; color: var(--text-2); }
.gf:hover { border-color: var(--ink); color: var(--ink); }
.gf.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.gf:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.g-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.blk a.g-card { color: var(--ink); text-decoration: none; }
.g-card:hover { border-color: var(--ink); }
.g-card[hidden] { display: none; }
.g-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.g-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--settle); }
.g-card:hover .g-img img { transform: scale(1.03); }
.g-ph { background: repeating-linear-gradient(135deg, var(--panel) 0 10px, #F7F3EA 10px 20px); }
.g-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 18px 0; }
.g-tags span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--bronze); }
.g-tags span + span::before { content: "\00B7"; margin-right: 6px; color: var(--rule-2); }
.g-t { padding: 8px 18px 0; font-weight: 500; font-size: 19px; line-height: 1.3; }
.g-d { padding: 8px 18px 0; font-size: 14px; line-height: 1.55; color: var(--text-2); flex: 1; }
.g-meta { padding: 16px 18px 18px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.g-card.soon { background: transparent; border-style: dashed; }
.g-card.soon .g-t, .g-card.soon .g-d { color: var(--text-3); }
.g-empty { color: var(--text-3); }

/* four results read better as two rows of two */
.cases.cases-2x2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.case-metric { white-space: nowrap; }
.case-foot { gap: 12px; }

.case-logo.light { filter: none; }

/* ---------- case studies ---------- */
.cs-mark { margin-bottom: 22px; min-height: 30px; display: flex; align-items: center; }
.cs-logo { display: block; width: auto; }
.cs-logo.inv { filter: invert(1); }
.cs-anon, .case-anon { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.cs-anon { color: var(--ink); border: 1px solid var(--ink); padding: 6px 10px; }
.case-anon { color: #fff; display: block; margin-bottom: 6px; }
.cs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 32px; margin: 8px 0 0; max-width: 1100px; border-top: 1px solid var(--rule-3); }
.cs-facts div { padding: 16px 0; border-bottom: 1px solid var(--rule-3); }
.cs-facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.cs-facts dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.cs-banner { background: var(--ink); color: #fff; padding: clamp(32px, 4vw, 48px) var(--gutter); margin: 8px 0 28px; }
.csb { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px 48px; }
.csb-item { border-left: 1px solid var(--ink-line); padding-left: 24px; }
.csb-n { display: block; font-weight: 300; font-size: clamp(44px, 5vw, 64px); letter-spacing: -.03em; line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.csb-l { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--cream-2); max-width: 300px; }
.cs-image img { aspect-ratio: 21 / 7; }
.prose blockquote { margin: 28px 0; padding: 26px 28px; background: var(--ink); color: #fff; border-left: 4px solid var(--gold); }
.prose blockquote p { font-weight: 300; font-size: 22px; line-height: 1.45; color: #fff; margin: 0 0 12px; }
.prose blockquote p:last-child { font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-2); margin: 0; }
.case-big { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.case-big .case-metric { font-size: 44px; }
.case-ml { font-size: 14px; line-height: 1.45; color: var(--cream-dim); }

/* videos hub */
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 18px; }
.v-card figcaption { flex-direction: column; gap: 6px; align-items: flex-start; }
.v-card figcaption b { font-size: 15px; line-height: 1.4; }
.v-see { font-size: 13px; font-weight: 500; color: var(--bronze); text-decoration: none; }
.v-see:hover { color: var(--ink); }
.v-card .ve-play .vc-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.v-card .ve-play .vc-play svg { width: 22px; height: 22px; }

.cases.cases-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* numbered lists in articles: numbers only, no square bullet */
.prose ol { margin: 0 0 20px; padding-left: 24px; }
.prose ol li { padding-left: 6px; }
.prose ol li::before { display: none; }
.prose ol li::marker { color: var(--bronze); font-family: var(--mono); font-size: 14px; }

/* ---------- free tools: quiz and tabs ---------- */
.quiz { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--rule); padding: clamp(24px, 4vw, 48px); }
.qz-top { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.qz-step { font-family: var(--mono); font-size: 13px; color: var(--text-3); white-space: nowrap; }
.qz-bar { flex: 1; height: 4px; background: var(--rule-3); }
.qz-bar i { display: block; height: 100%; width: 0; background: var(--bronze); transition: width .4s var(--settle); }
.qz-static { margin: 0; padding-left: 22px; color: var(--text-2); }
.qz-static p { font-weight: 500; color: var(--ink); margin: 14px 0 6px; }
.qz-body.swap { animation: swapIn .4s var(--settle) both; }
.qz-text { font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 24px; }
.qz-opts { display: grid; gap: 10px; }
.qz-opt { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--rule-2); background: var(--paper); font-size: 16px; line-height: 1.4; color: var(--ink); }
.qz-opt:hover { border-color: var(--ink); background: #fff; }
.qz-opt.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.qz-opt:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.qz-key { flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; background: #fff; border: 1px solid var(--rule-2); color: var(--text-2); }
.qz-opt.on .qz-key { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.qz-back, .qz-again { all: unset; cursor: pointer; margin-top: 20px; font-size: 14px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.qz-res { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--rule-3); }
.qz-score { position: relative; width: 180px; height: 180px; }
.qz-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qz-ring-bg { fill: none; stroke: var(--rule-3); stroke-width: 10; }
.qz-ring { fill: none; stroke: var(--bronze); stroke-width: 10; transition: stroke-dasharray 1.2s var(--draw); }
.qz-pct { position: absolute; left: 0; right: 0; top: 56px; text-align: center; font-weight: 300; font-size: 44px; letter-spacing: -.02em; }
.qz-pts { position: absolute; left: 0; right: 0; top: 112px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.qz-read h3 { font-weight: 500; font-size: 26px; margin: 0 0 10px; }
.qz-read p { font-size: 16px; line-height: 1.65; color: var(--text-2); margin: 0 0 18px; }
.qz-read p a { color: var(--ink); }
.qz-area { display: inline-flex; flex-direction: column; gap: 4px; padding: 12px 16px; background: var(--panel); border-left: 3px solid var(--bronze); }
.qz-area span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.qz-area b { font-weight: 500; font-size: 18px; }
.qz-first { padding: 28px 0; }
.qz-first .rel-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.qz-first .rel { grid-template-columns: 44px minmax(0, 1fr); }
.qz-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.qz-cta .qz-again { margin: 0 0 0 8px; }
@media (max-width: 640px) { .qz-res { grid-template-columns: 1fr; justify-items: start; } }
.tabs { background: var(--paper); }
.tab-bar { display: flex; gap: 0; padding: 0 var(--gutter); max-width: calc(1280px + 2 * var(--gutter)); margin: 0 auto; border-bottom: 1px solid var(--rule); }
.tab-btn { all: unset; cursor: pointer; padding: 18px 22px; font-weight: 500; font-size: 15px; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.on { color: var(--ink); border-bottom-color: var(--bronze); }
.tab-btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: -4px; }
.tab-panel[hidden] { display: none; }

.hero-note { margin-top: 14px; font-size: 14px; color: var(--text-3); max-width: 460px; }

/* four problem cards: one row on wide screens, two by two on laptops, one column on phones */
.prob-grid.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) { .prob-grid.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .prob-grid.n4 { grid-template-columns: 1fr; } }
/* calculators with a single result: no empty row under the big number */
.roi-stats:empty { display: none; }
@media (max-width: 700px) { .art-image img, .cs-image img { aspect-ratio: 16 / 10; } }

/* story sections without a side card run as one wider column */
.story-aside:empty { display: none; }
.story:has(.story-aside:empty) { grid-template-columns: minmax(0, 1fr); }
.story:has(.story-aside:empty) .story-copy p { max-width: 760px; }
/* slider values never wrap under long labels */
.slider-head b { white-space: nowrap; }
/* phone: articles never push sideways; wide tables scroll inside their own box */
@media (max-width: 960px) { .art-body { grid-template-columns: minmax(0, 1fr); } .prose table { display: block; overflow-x: auto; } }
.case-note { font-size: 14px; line-height: 1.55; color: var(--cream-dim); margin: -6px 0 18px; }
/* links inside FAQ answers sit on the dark band: keep them readable */
.faq .ans a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold-2); text-underline-offset: 3px; }
.faq .ans a:hover { color: var(--gold-2); }
/* article extras: template download box and the inline calculator */
.dl-box { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--rule); background: #fff; padding: 24px; margin: 28px 0; }
.prose .dl-box h3 { margin: 2px 0 6px; }
.prose .dl-box p { margin: 0 0 16px; font-size: 16px; }
.prose .dl-box .btn, .prose .calc-inline .btn { text-decoration: none; }
.prose .dl-box .btn-ink { color: #fff; }
.calc-inline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--rule); background: #fff; margin: 28px 0; }
.calc-inline .ci-controls { padding: 28px 24px 8px; }
.calc-inline .slider-head span { font-size: 15px; }
.prose .calc-inline .ci-note { font-size: 14px; color: var(--text-3); line-height: 1.55; margin: 0 0 18px; }
.calc-inline .roi-card { padding: 28px 24px; }
.calc-inline .roi-big { font-size: clamp(40px, 5vw, 56px); margin-bottom: 20px; }
.calc-inline .roi-stats { grid-template-columns: 1fr; }
.prose .calc-inline .btn-paper { color: var(--ink); }
@media (max-width: 640px) { .calc-inline { grid-template-columns: minmax(0, 1fr); } .dl-box { flex-direction: column; } }
.footer-base a { color: inherit; text-decoration: none; }
.footer-base a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 760px; }
.legal p { margin: 0 0 18px; }
section.b-legal { padding-top: clamp(8px, 2vw, 24px); }

/* results: featured client story above the cards */
.feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; color: #fff; text-decoration: none; border: 1px solid var(--ink-line); background: #221F1A; padding: clamp(28px, 4vw, 56px); margin-bottom: 20px; }
.feat:hover { color: #fff; border-color: #5A5346; }
.feat-story { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.feat blockquote { margin: 0; font-weight: 300; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.32; letter-spacing: -.01em; text-wrap: pretty; }
.feat-who { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.feat:hover .case-link { color: #fff; transform: translateX(3px); }
.feat-big { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.feat-n { font-weight: 300; font-size: clamp(84px, 9vw, 140px); line-height: .9; letter-spacing: -.04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.feat-l { font-size: 17px; line-height: 1.35; color: var(--cream-dim); }
.feat-row { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ink-line); }
.feat-row .k { font-size: 13px; color: var(--text-4); }
.feat-row.on .k { color: var(--cream-dim); }
.feat-ppl { display: flex; gap: 8px; height: 40px; }
.feat-ppl i { display: block; width: 30px; height: 40px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--settle); transition-delay: calc(var(--d) * .14s + .3s); }
.feat-ppl i svg { width: 100%; height: 100%; fill: var(--text-3); }
.feat-ppl i.g svg { fill: var(--gold); }
.feat-ppl i.half { width: 15px; overflow: hidden; }
.feat-ppl i.half svg { width: 30px; }
.feat.in .feat-ppl i { opacity: 1; transform: none; }
.feat-row.on .feat-ppl i { transition-delay: calc(var(--d) * .14s + .7s); }
.feat-cap { border-top: 1px solid var(--ink-line); padding-top: 12px; font-size: 13px; color: var(--text-4); }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat-big { flex-direction: column; align-items: flex-start; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .feat-ppl i { opacity: 1; transform: none; transition: none; } }

.case-mwrap { display: flex; flex-direction: column; gap: 4px; }
.case-mwrap .case-ml { font-size: 13px; color: var(--cream-dim); }
