/* Spurbuck Advisory: site styles and motion.
   Layout lives in inline styles in index.html (carried over from the design canvas);
   this file holds the fonts, shared components and every animation. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
}

@property --sb-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root { --accent: #F44508; color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html:not(.still) { scroll-behavior: smooth; } }

body { margin: 0; background: #121110; color: #F4F1EC; font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: #F4F1EC; }
a:hover { color: #FF7A45; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--accent); color: #121110; }
.sb-list li::marker { color: var(--accent); }

/* Skip link */
.sb-skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: #121110; font-weight: 700; text-decoration: none; }
.sb-skip:focus { top: 12px; color: #121110; }

/* Text-style buttons (demo controls, footer motion toggle) */
.sb-textbtn { min-height: 44px; padding: 0; border: 0; background: none; color: #E9E4DD; font: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
.sb-textbtn:hover { color: #FF7A45; }
.sb-textbtn--small { font-size: 14px; font-weight: 500; }

/* Demo example tabs */
.sb-tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); color: #E9E4DD; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.sb-tab:hover { border-color: rgba(244,69,8,0.5); }
.sb-tab[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #121110; }

/* Demo console lines */
.sb-logline { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.sb-time { color: #8C857D; }
.sb-text { color: #E9E4DD; font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif; font-size: 15px; }
.sb-tag { padding: 3px 10px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.sb-tag--accent { color: #FF8A5C; background: rgba(244,69,8,0.16); }
.sb-tag--wait { color: #F5C451; background: rgba(245,196,81,0.12); }
.sb-tag--neutral { color: #B5AEA5; background: rgba(255,255,255,0.06); }
@media (max-width: 520px) {
  .sb-logline { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .sb-time { grid-column: 1 / -1; }
}

/* Header: full navigation on wide screens, a Menu button below 1180px, a short booking label on phones */
.sb-cta-short { display: none; }
.sb-menu { display: none; }
.sb-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); color: #F4F1EC; font-size: 15px; font-weight: 600; cursor: pointer; -webkit-user-select: none; user-select: none; }
.sb-menu summary::-webkit-details-marker { display: none; }
.sb-menu summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sb-menu-icon { position: relative; display: block; width: 18px; height: 12px; }
.sb-menu-icon::before, .sb-menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, top .25s; }
.sb-menu-icon::before { top: 1px; }
.sb-menu-icon::after { top: 9px; }
.sb-menu[open] .sb-menu-icon::before { top: 5px; transform: rotate(45deg); }
.sb-menu[open] .sb-menu-icon::after { top: 5px; transform: rotate(-45deg); }
.sb-menu-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; box-sizing: border-box; padding: 6px clamp(20px, 5vw, 64px) 28px; display: flex; flex-direction: column; background: #161412; border-bottom: 1px solid rgba(255,255,255,0.10); box-shadow: 0 40px 80px -20px rgba(0,0,0,0.85); }
.sb-menu-panel a { display: flex; align-items: center; min-height: 58px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 22px; font-weight: 700; letter-spacing: -0.015em; color: #F4F1EC; text-decoration: none; }
.sb-menu-panel a[aria-current] { color: #FF7A45; }
.sb-menu-panel a.sb-menu-book { justify-content: center; margin-top: 22px; min-height: 54px; border: 0; border-radius: 999px; background: var(--accent); color: #121110; font-size: 17px; letter-spacing: 0; }
.sb-menu-panel a.sb-menu-mail { justify-content: center; border: 0; font-size: 16px; font-weight: 500; letter-spacing: 0; color: #B5AEA5; }
@media (max-width: 1180px) {
  .sb-headbar { flex-wrap: nowrap !important; gap: 12px !important; }
  .sb-headbar nav { flex-wrap: nowrap !important; gap: 10px !important; }
  .sb-navlink { display: none !important; }
  .sb-menu { display: block; }
}
@media (max-width: 640px) {
  .sb-logo { height: 22px !important; }
  .sb-navcta { min-height: 40px !important; padding: 0 16px !important; font-size: 14px !important; }
  .sb-menu summary { min-height: 40px; padding: 0 13px; font-size: 14px; gap: 8px; }
  .sb-cta-long { display: none; }
  .sb-cta-short { display: inline; }
}
@media (max-width: 400px) { .sb-logo { height: 19px !important; } }
@media (max-width: 350px) { .sb-navcta { display: none !important; } }

/* ---------- Motion ---------- */
/* The headline is the largest thing on the page, so it is on screen in the very first frame: each word starts dimmed and a
   little low, then settles. It never starts invisible, and it never uses a blur, which is slow to draw on phones. */
@keyframes sb-word { from { opacity: .35; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
.sb-w { display: inline-block; animation: sb-word .8s cubic-bezier(.2,.75,.15,1) both; }
@keyframes sb-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.sb-up { animation: sb-up .9s cubic-bezier(.2,.75,.15,1) both; }
@keyframes sb-rise { from { transform: translateY(18%); } to { transform: translateY(0); } }
@keyframes sb-drop { from { transform: translateY(-18%); } to { transform: translateY(0); } }
.sb-split-l { animation: sb-rise 1.5s cubic-bezier(.2,.75,.15,1) .6s both; }
.sb-split-r { animation: sb-drop 1.5s cubic-bezier(.2,.75,.15,1) .6s both; }
@keyframes sb-slice { 0% { transform: scaleY(0); opacity: 0; } 25% { opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.sb-slice { opacity: 0; transform-origin: top; animation: sb-slice 1.7s ease-out .25s both; }
.sb-half { transition: transform .4s cubic-bezier(.2,.75,.15,1), box-shadow .4s; }
.sb-half:hover { transform: translateY(-8px) scale(1.035); box-shadow: 0 34px 100px -18px rgba(244,69,8,0.85); }
@keyframes sb-spin { to { transform: rotate(360deg); } }
@keyframes sb-spin-rev { to { transform: rotate(-360deg); } }
.sb-orbit { animation: sb-spin 40s linear infinite; }
.sb-orbit-rev { animation: sb-spin-rev 24s linear infinite; }
@keyframes sb-drift { to { background-position: 56px 56px, 56px 56px; } }
.sb-grid { animation: sb-drift 16s linear infinite; }
@keyframes sb-ping { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(3); opacity: 0; } }
.sb-ping { animation: sb-ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes sb-bob { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.sb-chip { animation: sb-bob 3.2s ease-in-out infinite alternate; }
@keyframes sb-travel { 0% { left: 0%; opacity: 0; } 4% { opacity: 1; } 85% { left: 100%; opacity: 1; } 90% { left: 100%; opacity: 0; } 100% { left: 100%; opacity: 0; } }
.sb-pulse { opacity: 0; animation: sb-travel 6s linear infinite; }
@keyframes sb-light { 0%, 18% { background: #F44508; color: #121110; box-shadow: 0 0 0 6px rgba(244,69,8,0.18), 0 0 28px rgba(244,69,8,0.7); } 26%, 100% { background: #24211E; color: #B5AEA5; box-shadow: none; } }
.sb-stage { animation: sb-light 6s linear infinite; }
@keyframes sb-line { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.sb-line { animation: sb-line .45s cubic-bezier(.2,.75,.15,1) both; }
@keyframes sb-blink { 50% { opacity: 0; } }
.sb-caret { animation: sb-blink 1s steps(1) infinite; }
@keyframes sb-rank { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sb-rank { transform-origin: left; animation: sb-rank 1.4s cubic-bezier(.2,.75,.15,1) both; }
@keyframes sb-ring { 0% { transform: scale(.4); opacity: .85; } 100% { transform: scale(2.4); opacity: 0; } }
.sb-ring { animation: sb-ring 2.4s ease-out infinite; }
@keyframes sb-belt { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(150px); opacity: 0; } }
.sb-belt { opacity: 0; animation: sb-belt 3s linear infinite; }
@keyframes sb-bar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.sb-bar { transform-origin: bottom; animation: sb-bar 2.4s ease-in-out infinite; }
@keyframes sb-marquee { to { transform: translateX(-50%); } }
.sb-marquee { animation: sb-marquee 40s linear infinite; }
.sb-marquee:hover { animation-play-state: paused; }
@keyframes sb-turn { to { --sb-a: 360deg; } }
/* .sb-ring-border is a still gradient: the agent run is the one thing that moves */
@keyframes sb-scan { from { top: 0%; } to { top: 100%; } }
.sb-scan { animation: sb-scan 3.6s ease-in-out infinite alternate; }
.sb-card { transition: border-color .35s, transform .35s cubic-bezier(.2,.75,.15,1); }
.sb-card:hover { border-color: rgba(244,69,8,0.5); transform: translateY(-4px); }

/* ---------- Illustrations (the Automation pages) ----------
   Base styles are the still picture; every keyframe animates *from* the hidden state,
   so "Pause animations" and reduced motion leave a complete drawing. */
.sb-il { display: block; width: 100%; max-width: 680px; height: auto; overflow: visible; }
.sb-il text { -webkit-user-select: none; user-select: none; }
@keyframes sb-il-flow { to { stroke-dashoffset: -100; } }
.sb-il-pulse { stroke-dasharray: 9 91; animation: sb-il-flow 3s linear infinite; }
.sb-il-pulse--rev { animation-direction: reverse; }
@keyframes sb-il-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
.sb-il-pop { transform-box: fill-box; transform-origin: center; animation: sb-il-pop .7s cubic-bezier(.2,.75,.15,1) both; }
@keyframes sb-il-rise { from { transform: scaleY(0); } to { transform: none; } }
.sb-il-rise { transform-box: fill-box; transform-origin: 50% 100%; animation: sb-il-rise .9s cubic-bezier(.2,.75,.15,1) both; }
@keyframes sb-il-grow { from { transform: scaleX(0); } to { transform: none; } }
.sb-il-grow { transform-box: fill-box; transform-origin: 0 50%; animation: sb-il-grow .8s cubic-bezier(.2,.75,.15,1) both; }
@keyframes sb-il-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.sb-il-draw { stroke-dasharray: 100; stroke-dashoffset: 0; animation: sb-il-draw 1.5s cubic-bezier(.2,.75,.15,1) both; }
@keyframes sb-il-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.sb-il-breathe { transform-box: fill-box; transform-origin: center; animation: sb-il-breathe 3s ease-in-out infinite; }
@keyframes sb-il-glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.sb-il-glow { animation: sb-il-glow 3s ease-in-out infinite; }
@keyframes sb-il-blinkin { 0%, 100% { opacity: 0; transform: translateY(6px); } 12%, 55% { opacity: 1; transform: none; } 67% { opacity: 0; transform: translateY(-6px); } }
.sb-il-blinkin { animation: sb-il-blinkin 7s ease-in-out infinite; }
.sb-il .sb-orbit, .sb-il .sb-orbit-rev { transform-box: fill-box; transform-origin: center; }

/* CRM board: one deal card crossing four stages on a 14s loop */
@keyframes sb-crm-card {
  0% { opacity: 0; transform: translateX(0); } 3%, 20% { opacity: 1; transform: translateX(0); }
  25%, 44% { transform: translateX(145px); } 49%, 68% { transform: translateX(290px); }
  73%, 93% { opacity: 1; transform: translateX(435px); } 97%, 100% { opacity: 0; transform: translateX(435px); }
}
.sb-crm-card { transform: translateX(435px); animation: sb-crm-card 14s cubic-bezier(.2,.75,.15,1) infinite; }
@keyframes sb-crm-score { 0%, 26% { stroke-dashoffset: 100; } 36%, 100% { stroke-dashoffset: 22; } }
.sb-crm-score { stroke-dashoffset: 22; animation: sb-crm-score 14s linear infinite; }
@keyframes sb-crm-fill { 0%, 28% { opacity: 0; } 36%, 100% { opacity: 1; } }
.sb-crm-fill { animation: sb-crm-fill 14s linear infinite; }
.sb-crm-tag { opacity: 0; }
.sb-crm-tag--4 { opacity: 1; }
@keyframes sb-crm-tag-1 { 0%, 21% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes sb-crm-tag-2 { 0%, 22% { opacity: 0; } 25%, 45% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes sb-crm-tag-3 { 0%, 46% { opacity: 0; } 49%, 69% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes sb-crm-tag-4 { 0%, 70% { opacity: 0; } 73%, 100% { opacity: 1; } }
.sb-crm-tag--1 { animation: sb-crm-tag-1 14s linear infinite; }
.sb-crm-tag--2 { animation: sb-crm-tag-2 14s linear infinite; }
.sb-crm-tag--3 { animation: sb-crm-tag-3 14s linear infinite; }
.sb-crm-tag--4 { animation: sb-crm-tag-4 14s linear infinite; }
.sb-crm-note { opacity: 0; }
@keyframes sb-crm-note-1 { 0%, 7% { opacity: 0; transform: translateY(6px); } 10%, 20% { opacity: 1; transform: none; } 23%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes sb-crm-note-2 { 0%, 30% { opacity: 0; transform: translateY(6px); } 33%, 44% { opacity: 1; transform: none; } 47%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes sb-crm-note-3 { 0%, 54% { opacity: 0; transform: translateY(6px); } 57%, 68% { opacity: 1; transform: none; } 71%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes sb-crm-note-4 { 0%, 78% { opacity: 0; transform: translateY(6px); } 81%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
.sb-crm-note--1 { animation: sb-crm-note-1 14s ease-in-out infinite; }
.sb-crm-note--2 { animation: sb-crm-note-2 14s ease-in-out infinite; }
.sb-crm-note--3 { animation: sb-crm-note-3 14s ease-in-out infinite; }
.sb-crm-note--4 { animation: sb-crm-note-4 14s ease-in-out infinite; }

/* Customer analytics: a lens moving between three findings on a 15s loop */
@keyframes sb-an-lens { 0%, 28% { transform: translate(0, 0); } 36%, 62% { transform: translate(320px, 0); } 70%, 94% { transform: translate(150px, 180px); } 100% { transform: translate(0, 0); } }
.sb-an-lens { animation: sb-an-lens 15s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes sb-an-dot-1 { 0%, 3% { fill: rgba(255,255,255,0.32); } 6%, 28% { fill: #F44508; } 33%, 100% { fill: rgba(255,255,255,0.32); } }
@keyframes sb-an-dot-2 { 0%, 36% { fill: rgba(255,255,255,0.32); } 40%, 62% { fill: #F44508; } 67%, 100% { fill: rgba(255,255,255,0.32); } }
@keyframes sb-an-dot-3 { 0%, 70% { fill: rgba(255,255,255,0.32); } 74%, 94% { fill: #F44508; } 98%, 100% { fill: rgba(255,255,255,0.32); } }
.sb-an-dot--1 { fill: #F44508; animation: sb-il-pop .7s cubic-bezier(.2,.75,.15,1) both, sb-an-dot-1 15s linear infinite; }
.sb-an-dot--2 { animation: sb-il-pop .7s cubic-bezier(.2,.75,.15,1) both, sb-an-dot-2 15s linear infinite; }
.sb-an-dot--3 { animation: sb-il-pop .7s cubic-bezier(.2,.75,.15,1) both, sb-an-dot-3 15s linear infinite; }
.sb-an-ring { opacity: 0; transform-box: fill-box; transform-origin: center; }
@keyframes sb-an-ring-1 { 0%, 5% { opacity: 0; transform: scale(1); } 8% { opacity: .9; } 18%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes sb-an-ring-2 { 0%, 39% { opacity: 0; transform: scale(1); } 42% { opacity: .9; } 52%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes sb-an-ring-3 { 0%, 73% { opacity: 0; transform: scale(1); } 76% { opacity: .9; } 86%, 100% { opacity: 0; transform: scale(2.6); } }
.sb-an-ring--1 { animation: sb-an-ring-1 15s ease-out infinite; }
.sb-an-ring--2 { animation: sb-an-ring-2 15s ease-out infinite; }
.sb-an-ring--3 { animation: sb-an-ring-3 15s ease-out infinite; }
.sb-an-note { opacity: 0; }
.sb-an-note--1 { opacity: 1; }
@keyframes sb-an-note-1 { 0%, 6% { opacity: 0; transform: translateY(6px); } 9%, 27% { opacity: 1; transform: none; } 31%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes sb-an-note-2 { 0%, 40% { opacity: 0; transform: translateY(6px); } 43%, 61% { opacity: 1; transform: none; } 65%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes sb-an-note-3 { 0%, 74% { opacity: 0; transform: translateY(6px); } 77%, 93% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-6px); } }
.sb-an-note--1 { animation: sb-an-note-1 15s ease-in-out infinite; }
.sb-an-note--2 { animation: sb-an-note-2 15s ease-in-out infinite; }
.sb-an-note--3 { animation: sb-an-note-3 15s ease-in-out infinite; }

/* Automation pages: shared pieces */
.sb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; color: #8C857D; }
.sb-crumbs a { color: #B5AEA5; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.sb-crumbs a:hover { color: #FF7A45; }
.sb-pagelink { display: block; height: 100%; box-sizing: border-box; color: inherit; text-decoration: none; }
.sb-pagelink:hover { color: inherit; }
.sb-pagelink:focus-visible { border-radius: 22px; }
.sb-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.sb-compare ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.5; color: #B5AEA5; }
.sb-compare--after ul { color: #E9E4DD; }
.sb-compare--after li::marker { color: #F44508; }
.sb-compare--before li::marker { color: #8C857D; }
.sb-morelinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.sb-morelink { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.09); background: rgba(255,255,255,0.03); color: #F4F1EC; text-decoration: none; transition: border-color .3s, background .3s; }
.sb-morelink:hover { color: #F4F1EC; border-color: rgba(244,69,8,0.5); background: rgba(244,69,8,0.06); }
.sb-morelink strong { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.sb-morelink span { font-size: 16px; line-height: 1.5; color: #B5AEA5; }
@media (max-width: 760px) { .sb-il-wrap { padding: 8px 0 0 !important; } }

/* Scroll reveals: only hidden when the script is running, so nothing is lost without it */
.js .sb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.75,.15,1), transform .9s cubic-bezier(.2,.75,.15,1); }
.js .sb-reveal.is-in { opacity: 1; transform: none; }
.js .sb-reveal:not(.is-in) .sb-rank { animation-play-state: paused; }

@media (max-width: 760px) { .sb-rail { display: none; } }

/* Motion off: the visitor's "Pause animations" choice, or their system setting */
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.still .sb-reveal { opacity: 1 !important; transform: none !important; }
html.still .sb-il-pulse, html.still .sb-il-blinkin { opacity: 0; }
html.still .sb-an-dot--1 { fill: #F44508; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .sb-reveal { opacity: 1 !important; transform: none !important; }
  .sb-il-pulse, .sb-il-blinkin { opacity: 0; }
}

/* ---------- Briefings (the article format) ---------- */
.sb-brief-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 0; background: var(--accent); box-shadow: 0 0 12px rgba(244,69,8,0.7); }
.sb-brief-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: #8C857D; }
.sb-brief-kicker strong { color: #FF8A5C; font-weight: 700; }
.sb-brief-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.sb-brief-toc { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sb-brief-toc p { margin: 0 0 8px; font-weight: 700; color: #F4F1EC; }
.sb-brief-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid rgba(255,255,255,0.10); color: #B5AEA5; text-decoration: none; line-height: 1.35; }
.sb-brief-toc a:hover { color: #FF7A45; border-left-color: var(--accent); }
@media (max-width: 960px) { .sb-brief-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .sb-brief-toc { display: none; } }
.sb-brief-bars { display: flex; flex-direction: column; gap: 20px; }
.sb-brief-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: baseline; }
.sb-brief-bar span { font-size: 16px; font-weight: 600; color: #E9E4DD; }
.sb-brief-bar b { font-size: 19px; font-weight: 800; color: #B5AEA5; }
.sb-brief-bar.is-hi b { color: #F4F1EC; }
.sb-brief-bar i { grid-column: 1 / -1; display: block; height: 18px; border-radius: 9px; background: rgba(255,255,255,0.06); overflow: hidden; }
.sb-brief-bar em { display: block; height: 100%; border-radius: 9px; background: rgba(255,255,255,0.24); transform-origin: 0 50%; }
.sb-brief-bar.is-hi em { background: var(--accent); box-shadow: 0 0 14px rgba(244,69,8,0.6); }
.sb-brief-gates { overflow-x: auto; }
.sb-brief-gates svg { display: block; max-width: 100%; height: auto; }
@media (max-width: 640px) { .sb-brief-gates { display: none; } }
.sb-brief-body { max-width: 760px; display: flex; flex-direction: column; gap: 56px; }
.sb-brief-body h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: #F7F4EF; text-wrap: balance; scroll-margin-top: 100px; }
.sb-brief-body h3 { margin: 0; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 800; color: #F4F1EC; }
.sb-brief-prose { display: flex; flex-direction: column; gap: 20px; }
.sb-brief-prose p { margin: 0; font-size: 19px; line-height: 1.75; color: #CFC8BF; text-wrap: pretty; }
.sb-brief-prose p strong { color: #F4F1EC; }
.sb-brief-body sup a, .sb-brief-cite { color: #FF8A5C; text-decoration: none; font-size: 0.72em; font-weight: 700; padding-left: 2px; }
.sb-brief-short { padding: clamp(24px, 3vw, 36px); border-radius: 22px; border: 1px solid rgba(244,69,8,0.35); background: radial-gradient(520px circle at 0% 0%, rgba(244,69,8,0.16), transparent 55%), #1B1916; }
.sb-brief-short ul { margin: 16px 0 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 12px; font-size: 18px; line-height: 1.55; color: #E9E4DD; }
.sb-brief-short li::marker { color: var(--accent); }
.sb-brief-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.sb-brief-stat { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.025); }
.sb-brief-stat b { font-size: clamp(44px, 5vw, 64px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 800; color: #F7F4EF; }
.sb-brief-stat b em { font-style: normal; color: var(--accent); }
.sb-brief-stat span { font-size: 15px; line-height: 1.45; color: #B5AEA5; }
.sb-brief-stat small { font-size: 13px; color: #8C857D; }
.sb-brief-figure { margin: 0; padding: clamp(22px, 3vw, 34px); border-radius: 22px; border: 1px solid rgba(255,255,255,0.08); background: #161412; display: flex; flex-direction: column; gap: 18px; }
.sb-brief-figure figcaption { font-size: 14px; line-height: 1.5; color: #8C857D; }
.sb-brief-figure figcaption strong { display: block; margin-bottom: 4px; font-size: 18px; color: #F4F1EC; }
.sb-brief-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.sb-brief-quote { margin: 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--accent); }
.sb-brief-quote p { margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; color: #F7F4EF; text-wrap: balance; }
.sb-brief-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: #8C857D; }
.sb-brief-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.sb-brief-compare > div { padding: 24px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
.sb-brief-compare > div:last-child { border-color: rgba(244,69,8,0.35); background: radial-gradient(420px circle at 0% 0%, rgba(244,69,8,0.12), transparent 55%), #1B1916; }
.sb-brief-compare ul { margin: 14px 0 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; color: #B5AEA5; }
.sb-brief-compare > div:last-child ul { color: #E9E4DD; }
.sb-brief-compare > div:last-child li::marker { color: var(--accent); }
.sb-brief-board { padding: clamp(26px, 3.4vw, 40px); border-radius: 22px; background: #F4F1EC; color: #121110; }
.sb-brief-board h2 { color: #121110 !important; }
.sb-brief-board p.sb-brief-board-lead { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: #4A453F; }
.sb-brief-board ol { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: q; display: flex; flex-direction: column; gap: 0; }
.sb-brief-board li { counter-increment: q; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid rgba(18,17,16,0.14); font-size: 18px; line-height: 1.45; font-weight: 600; }
.sb-brief-board li::before { content: counter(q, decimal-leading-zero); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; font-weight: 700; color: #C23A06; padding-top: 3px; }
.sb-brief-sources ol { margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; color: #8C857D; }
.sb-brief-sources a { color: #B5AEA5; }
.sb-brief-sources li:target { color: #F4F1EC; }
.sb-brief-card { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,0.09); background: #1B1916; color: inherit; text-decoration: none; transition: border-color .35s, transform .35s cubic-bezier(.2,.75,.15,1); }
.sb-brief-card:hover { color: inherit; border-color: rgba(244,69,8,0.5); transform: translateY(-4px); }
.sb-brief-card-art { background: #121110; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 24px; }
.sb-brief-card-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .sb-brief-prose p { font-size: 18px; } }

/* ---------- Client testimonial (only with approved wording) ---------- */
.sb-testimonial blockquote { margin: 0; max-width: 980px; }
.sb-testimonial blockquote p { margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 700; color: #F7F4EF; text-wrap: balance; }
.sb-testimonial blockquote p::before { content: "\201C"; display: block; height: 0.62em; font-size: 2.4em; line-height: 1; color: var(--accent); }
.sb-testimonial figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; padding-left: 18px; border-left: 3px solid var(--accent); font-size: 16px; }
.sb-testimonial figcaption strong { color: #F4F1EC; }
.sb-testimonial figcaption span { color: #8C857D; }

/* ---------- Quiet scope: drawings that sit still (the home page keeps the agent run as its one moving thing) ---------- */
.sb-quiet *, .sb-quiet *::before, .sb-quiet *::after { animation: none !important; }
.sb-quiet .sb-il-pulse, .sb-quiet .sb-il-blinkin { opacity: 0; }
.sb-quiet .sb-an-dot--1 { fill: #F44508; }

/* ---------- FAQ: tap-to-open rows ---------- */
.sb-faqs { max-width: 900px; border-top: 1px solid rgba(255,255,255,0.10); }
.sb-faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 72px; align-items: start; }
@media (min-width: 961px) { .sb-faq-layout { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); } .sb-faq-layout > div:first-child { position: sticky; top: 120px; } }
.sb-faq { border-bottom: 1px solid rgba(255,255,255,0.10); }
.sb-faq summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; }
.sb-faq summary::-webkit-details-marker { display: none; }
.sb-faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sb-faq h3 { margin: 0; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; color: #F4F1EC; text-wrap: balance; }
.sb-faq summary:hover h3 { color: #FF7A45; }
.sb-faq-mark { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); }
.sb-faq-mark::before, .sb-faq-mark::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: #F4F1EC; transition: transform .25s; }
.sb-faq-mark::after { transform: rotate(90deg); }
.sb-faq[open] .sb-faq-mark { border-color: var(--accent); }
.sb-faq[open] .sb-faq-mark::after { transform: rotate(0deg); }
.sb-faq p { margin: 0; padding: 0 48px 28px 0; max-width: 46em; font-size: 17px; line-height: 1.65; color: #CFC8BF; text-wrap: pretty; }
@media (max-width: 640px) { .sb-faq p { padding-right: 0; } }

/* ---------- Home page ---------- */
.sb-h-wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(20px, 5vw, 64px); padding-right: clamp(20px, 5vw, 64px); }
.sb-h-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: #121110; font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 14px 44px -12px rgba(244,69,8,0.85); }
.sb-h-btn:hover { color: #121110; background: #FF5A1F; }
.sb-h-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); color: #F4F1EC; font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Hero: the headline beside an agent that is already working */
.sb-h-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); align-items: center; gap: 48px 64px; padding-top: 64px; padding-bottom: 104px; }
.sb-h-hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.sb-h-hero h1 { margin: 0; font-size: clamp(44px, 5.5vw, 82px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 800; color: #F7F4EF; text-wrap: balance; }
.sb-h-hero-lead { margin: 0; max-width: 540px; font-size: 19px; line-height: 1.6; color: #B5AEA5; text-wrap: pretty; }
.sb-h-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.sb-h-hero-by { margin: 0; font-size: 15px; line-height: 1.5; color: #8C857D; }
.sb-h-hero-by a { color: #F4F1EC; font-weight: 600; }
.sb-h-run { position: relative; min-width: 0; scroll-margin-top: 110px; }
.sb-h-mark { position: absolute; right: -34px; top: -58px; display: flex; align-items: flex-start; gap: 7px; pointer-events: none; }
.sb-h-mark span { display: block; width: 62px; height: 124px; background: var(--accent); }
.sb-h-mark span:first-child { border-radius: 999px 0 0 999px; }
.sb-h-mark span:last-child { margin-top: 44px; border-radius: 0 999px 999px 0; opacity: 0.6; }
.sb-h-console { position: relative; border-radius: 20px; padding: 1px; background: linear-gradient(140deg, rgba(244,69,8,0.7), rgba(255,255,255,0.10) 42%, rgba(255,255,255,0.05)); box-shadow: 0 44px 120px -44px rgba(244,69,8,0.5); }
.sb-h-console-in { border-radius: 19px; background: #0D0C0B; overflow: hidden; }
.sb-h-console-log { min-height: 404px; box-sizing: border-box; padding: 8px 20px 12px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.5; }
.sb-h-run-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.sb-h-console-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.sb-h-console-foot span { display: inline-flex; gap: 20px; }
.sb-h-console-foot .sb-textbtn { min-height: 36px; }
.sb-h-run-note { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: #8C857D; }
@media (max-width: 1020px) {
  .sb-h-hero { grid-template-columns: minmax(0, 1fr); padding-top: 44px; padding-bottom: 80px; }
  .sb-h-mark { right: -8px; top: -40px; transform: scale(0.7); transform-origin: top right; }
}
@media (max-width: 520px) { .sb-h-console-log { min-height: 0; padding: 6px 16px 10px; } }

/* Five stages, drawn still */
.sb-h-stage { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,69,8,0.6); background: #1B1916; color: #FF8A5C; font-size: 16px; font-weight: 800; }

@media (max-width: 760px) {
  .sb-h-step { display: grid !important; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px !important; row-gap: 2px !important; align-items: center !important; text-align: left !important; }
  .sb-h-step .sb-h-stage { grid-row: 1 / span 2; }
  .sb-h-step span:last-child { max-width: none !important; }
}
@media (max-width: 640px) { .sb-cta-mark { display: none !important; } }

/* Paper: the cream bands that break up the dark */
.sb-paper { background: #F4F1EC; color: #161412; color-scheme: light; }
.sb-paper ::selection { background: #161412; color: #F4F1EC; }
.sb-paper a { color: #161412; }
.sb-paper a:hover { color: #C93600; }
.sb-h-label { margin: 0; font-size: 15px; font-weight: 700; color: #C93600; }
.sb-h-inkbtn { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: #161412; color: #F4F1EC !important; font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .25s; }
.sb-h-inkbtn:hover { background: #C93600; }

/* Case study centrepiece */
.sb-h-case { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: 56px 64px; padding-top: 120px; padding-bottom: 104px; }
.sb-h-case-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.sb-h-case-title { margin: 0; display: flex; flex-direction: column; font-weight: 800; color: #161412; }
.sb-h-case-title span { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.15; letter-spacing: -0.025em; }
.sb-h-case-title strong { margin: 0.02em 0 0.13em -0.04em; font-size: clamp(104px, 14vw, 204px); line-height: 0.84; letter-spacing: -0.065em; font-weight: 800; font-variant-numeric: lining-nums; }
.sb-h-case-title span:last-child { font-size: clamp(40px, 5vw, 70px); line-height: 1; letter-spacing: -0.04em; }
.sb-h-case-lead { margin: 6px 0 4px; max-width: 30em; font-size: 19px; line-height: 1.6; color: #45403B; text-wrap: pretty; }
.sb-h-case-art { min-width: 0; padding: clamp(18px, 2.6vw, 34px); border-radius: 28px; background: radial-gradient(circle at 50% 46%, rgba(244,69,8,0.16), transparent 58%), #121110; box-shadow: 0 40px 90px -40px rgba(18,17,16,0.55); }
.sb-h-case-art .sb-il { max-width: none; }
.sb-h-case-figs { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(18,17,16,0.16); }
.sb-h-case-figs li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding: 26px 24px 0 0; }
.sb-h-case-figs li + li { padding-left: 28px; border-left: 1px solid rgba(18,17,16,0.16); }
.sb-h-case-figs b { font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.sb-h-case-figs span { font-size: 16px; line-height: 1.4; color: #5F5A54; }
@media (max-width: 960px) {
  .sb-h-case { grid-template-columns: minmax(0, 1fr); padding-top: 80px; padding-bottom: 80px; gap: 40px; }
  .sb-h-case-figs { grid-template-columns: minmax(0, 1fr); }
  .sb-h-case-figs li { padding: 18px 0; }
  .sb-h-case-figs li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(18,17,16,0.12); }
}

/* Where we work: one navigator in place of two card grids */
.sb-nav { background: #161412; border-top: 1px solid rgba(255,255,255,0.06); scroll-margin-top: 80px; }
.sb-nav-in { padding-top: 112px; padding-bottom: 112px; }
.sb-nav-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-bottom: 44px; }
.sb-nav-head h2 { margin: 0 0 16px; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: #F7F4EF; }
.sb-nav-head p { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.6; color: #B5AEA5; text-wrap: pretty; }
.sb-nav-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.sb-nav-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.sb-nav-lists { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.sb-nav-listtitle { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #FF8A5C; }
.sb-nav-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.10); }
.sb-nav-row { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 0 22px; border-bottom: 1px solid rgba(255,255,255,0.10); color: #F4F1EC; text-decoration: none; transition: padding-left .35s cubic-bezier(.2,.75,.15,1), color .25s; }
.sb-nav-row::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--accent); transition: width .35s cubic-bezier(.2,.75,.15,1); }
.sb-nav-row strong { font-size: clamp(25px, 2.9vw, 38px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.sb-nav-row span { max-width: 40em; font-size: 16px; line-height: 1.55; color: #B5AEA5; }
.sb-nav-row:hover { color: #F7F4EF; }
.sb-nav.is-live .sb-nav-listtitle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sb-nav-stage { display: none; }
@media (min-width: 961px) {
  .sb-nav.is-live .sb-nav-body { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .sb-nav.is-live .sb-nav-row { color: #8C857D; }
  .sb-nav.is-live .sb-nav-row span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sb-nav.is-live .sb-nav-row.is-active { padding-left: 44px; color: #F7F4EF; }
  .sb-nav.is-live .sb-nav-row.is-active::before { width: 28px; }
  .sb-nav.is-live .sb-nav-stage { display: block; position: sticky; top: 108px; min-width: 0; }
  .sb-nav-panel { display: flex; flex-direction: column; gap: 20px; }
  .sb-nav-panel .sb-il { max-width: none; max-height: 400px; }
  .sb-nav-panel p { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.6; color: #CFC8BF; text-wrap: pretty; }
  .sb-nav-panel small { font-size: 15px; color: #8C857D; }
  .js .sb-nav-panel { animation: sb-up .45s cubic-bezier(.2,.75,.15,1); }
}

/* Latest briefing */
.sb-h-brief { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 40px 72px; padding-top: 104px; padding-bottom: 104px; }
.sb-h-brief-art { display: flex; align-items: center; justify-content: center; padding: clamp(24px, 3vw, 44px); border-radius: 28px; border: 1px solid rgba(255,255,255,0.08); background: radial-gradient(360px circle at 76% 84%, rgba(244,69,8,0.2), transparent 62%), #161412; }
.sb-h-brief-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sb-h-brief-text h2 { margin: 0; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: #F7F4EF; text-wrap: balance; }
.sb-h-brief-text h2 a { color: inherit; text-decoration: none; }
.sb-h-brief-text h2 a:hover { color: #FF7A45; }
.sb-h-brief-text > p { margin: 0; max-width: 36em; font-size: 19px; line-height: 1.6; color: #B5AEA5; text-wrap: pretty; }
.sb-h-brief-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }
.sb-h-textlink { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 600; color: #F4F1EC; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 900px) { .sb-h-brief { grid-template-columns: minmax(0, 1fr); padding-top: 80px; padding-bottom: 80px; } }

/* About, on paper */
.sb-h-about { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: start; gap: 56px 72px; padding-top: 120px; padding-bottom: 112px; }
.sb-h-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; background: #D9D4CC; }
.sb-h-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.sb-h-about-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sb-h-about-text h2 { margin: 0 0 6px; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: #161412; text-wrap: balance; }
.sb-h-about-text p { margin: 0; max-width: 36em; font-size: 19px; line-height: 1.7; color: #36322E; text-wrap: pretty; }
.sb-h-facts { list-style: none; margin: 14px 0 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 18px 48px; border-top: 1px solid rgba(18,17,16,0.16); }
.sb-h-facts li { display: flex; flex-direction: column; gap: 2px; }
.sb-h-facts b { font-size: 18px; font-weight: 800; }
.sb-h-facts span { font-size: 16px; color: #5F5A54; }
@media (max-width: 960px) {
  .sb-h-about { grid-template-columns: minmax(0, 1fr); padding-top: 80px; padding-bottom: 80px; gap: 40px; }
  .sb-h-photo { max-width: 420px; }
}

/* ---------- Privacy: the note under booking buttons, and lists in long-form pages ---------- */
.sb-privacy-note { margin: 4px 0 0; max-width: 34em; font-size: 15px; line-height: 1.5; color: #8C857D; }
.sb-privacy-note a { color: #CFC8BF; }
.sb-brief-prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.6; color: #CFC8BF; }
.sb-brief-prose ul li::marker { color: var(--accent); }
.sb-brief-prose ul strong { color: #F4F1EC; }

/* ---------- Briefings: worked-example docket and budget lines ---------- */
.sb-brief-receipt { margin: 0; padding: clamp(24px, 3.2vw, 38px); border-radius: 6px 6px 22px 22px; background: #F4F1EC; color: #121110; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; box-shadow: 0 30px 70px -40px rgba(0,0,0,0.9); }
.sb-brief-receipt figcaption { display: flex; flex-direction: column; gap: 8px; padding-bottom: 18px; border-bottom: 2px dashed rgba(18,17,16,0.3); }
.sb-brief-receipt figcaption strong { font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.015em; }
.sb-brief-receipt figcaption span { font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5; color: #4A453F; }
.sb-brief-receipt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed rgba(18,17,16,0.22); font-size: 16px; }
.sb-brief-receipt-row span { display: flex; flex-direction: column; gap: 3px; font-weight: 600; }
.sb-brief-receipt-row small { font-size: 13px; font-weight: 400; color: #5F5A54; }
.sb-brief-receipt-row b { font-weight: 700; white-space: nowrap; }
.sb-brief-receipt-row.is-total { border-bottom: 0; border-top: 2px solid #121110; margin-top: -1px; padding-top: 16px; font-size: 20px; }
.sb-brief-receipt-row.is-total b { font-weight: 800; color: #C23A06; }
.sb-brief-receipt p { margin: 8px 0 0; font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.55; color: #4A453F; }
.sb-brief-receipt sup a { color: #C23A06 !important; }
.sb-brief-lines { list-style: none; margin: 0; padding: 0; counter-reset: line; }
.sb-brief-lines li { counter-increment: line; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.sb-brief-lines li::before { content: counter(line); grid-row: 1 / span 2; font-size: 18px; font-weight: 800; color: #FF8A5C; }
.sb-brief-lines li div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.sb-brief-lines strong { font-size: 18px; font-weight: 800; color: #F4F1EC; }
.sb-brief-lines em { font-style: normal; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(244,69,8,0.45); color: #FF8A5C; white-space: nowrap; }
.sb-brief-lines p { margin: 6px 0 0; font-size: 16px; line-height: 1.55; color: #B5AEA5; }

/* ---------- Briefings index: earlier issues as rows ---------- */
/* Topics above a list of briefings, with the feed at the end of the row */
.sb-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 36px; }
.sb-topic { padding: 9px 17px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); font-size: 16px; font-weight: 600; line-height: 1.2; color: #CFC8BF; text-decoration: none; transition: border-color .25s, color .25s; }
.sb-topic:hover { border-color: var(--accent); color: #F7F4EF; }
.sb-topic[aria-current="page"] { border-color: var(--accent); background: var(--accent); color: #121110; }
.sb-topics-feed { margin-left: auto; padding: 9px 0; font-size: 16px; font-weight: 600; color: #B5AEA5; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 5px; }
.sb-topics-feed:hover { color: #FF7A45; text-decoration-color: currentColor; }
@media (max-width: 640px) { .sb-topics-feed { margin-left: 0; flex-basis: 100%; } }
/* Every briefing by date */
.sb-brief-archive-wrap h2 { margin: 44px 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.015em; color: #F4F1EC; }
.sb-brief-archive { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.10); }
.sb-brief-archive li { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: baseline; gap: 6px 28px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
.sb-brief-archive time { font-size: 16px; color: #8C857D; }
.sb-brief-archive li > a:first-of-type { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: #F7F4EF; text-decoration: none; }
.sb-brief-archive li > a:first-of-type:hover { color: #FF7A45; }
.sb-brief-archive-topic { font-size: 16px; color: #B5AEA5; text-decoration: none; }
.sb-brief-archive-topic:hover { color: #FF7A45; }
@media (max-width: 700px) { .sb-brief-archive li { grid-template-columns: 1fr; gap: 4px; } }
.sb-brief-rows { border-top: 1px solid rgba(255,255,255,0.10); }
.sb-brief-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 24px 44px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.10); color: inherit; text-decoration: none; }
.sb-brief-row:hover { color: inherit; }
.sb-brief-row-art { padding: 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.08); background: #161412; }
.sb-brief-row-art svg { display: block; width: 100%; height: auto; }
.sb-brief-row-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sb-brief-row h3 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; color: #F7F4EF; text-wrap: balance; transition: color .25s; }
.sb-brief-row:hover h3 { color: #FF7A45; }
.sb-brief-row p { margin: 0; max-width: 44em; font-size: 17px; line-height: 1.55; color: #B5AEA5; text-wrap: pretty; }
@media (max-width: 640px) { .sb-brief-row { grid-template-columns: minmax(0, 1fr); } .sb-brief-row-art { max-width: 220px; } }

/* =====================================================================
   Sub-page components (rows, comparisons, samples, screens, picker)
   ===================================================================== */

/* Cross-page fade, skipped when motion is reduced or paused */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
html.still::view-transition-group(*), html.still::view-transition-old(*), html.still::view-transition-new(*) { animation: none !important; }

/* Rows: a title beside its explanation, in place of a grid of cards */
.sb-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
.sb-rows > li { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 10px 56px; align-items: baseline; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.10); }
.sb-rows h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: #F7F4EF; text-wrap: balance; }
.sb-rows p { margin: 0; max-width: 40em; font-size: 18px; line-height: 1.6; color: #B5AEA5; text-wrap: pretty; }
.sb-rows--marked h3::before { content: ""; display: inline-block; vertical-align: 0.02em; width: 0.42em; height: 0.84em; margin-right: 0.5em; border-radius: 999px 0 0 999px; background: var(--accent); }
.sb-paper .sb-rows, .sb-paper .sb-rows > li { border-color: rgba(18,17,16,0.16); }
.sb-paper .sb-rows h3 { color: #161412; }
.sb-paper .sb-rows p { color: #45403B; }
@media (max-width: 760px) { .sb-rows > li { grid-template-columns: minmax(0, 1fr); padding: 24px 0; } }

.sb-rows--compact > li { padding: 20px 0; gap: 6px 56px; grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr); }
.sb-rows--compact h3 { font-size: 20px; letter-spacing: -0.012em; line-height: 1.3; }
.sb-rows--compact p { font-size: 17px; line-height: 1.55; }
@media (max-width: 760px) { .sb-rows--compact > li { grid-template-columns: minmax(0, 1fr); padding: 18px 0; } }

/* Three points side by side */
.sb-cols3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.sb-cols3 > li { display: flex; flex-direction: column; gap: 14px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.16); }
.sb-cols3 h3 { margin: 0; font-size: clamp(22px, 2.1vw, 27px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: #F7F4EF; text-wrap: balance; }
.sb-cols3 p { margin: 0; font-size: 17px; line-height: 1.6; color: #B5AEA5; text-wrap: pretty; }
@media (max-width: 900px) { .sb-cols3 { grid-template-columns: minmax(0, 1fr); } .sb-cols3 > li { padding: 24px 0 28px; } }

/* Before and after, without boxes */
.sb-vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sb-vs > div { padding: 6px 0 6px 0; }
.sb-vs > div + div { padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid rgba(255,255,255,0.12); }
.sb-vs > div:first-child { padding-right: clamp(24px, 4vw, 56px); }
.sb-vs h3 { margin: 0 0 22px; font-size: 16px; font-weight: 700; color: #8C857D; }
.sb-vs > div + div h3 { color: #FF8A5C; }
.sb-vs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sb-vs li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.4; letter-spacing: -0.01em; color: #8C857D; text-wrap: pretty; }
.sb-vs > div + div li { color: #F4F1EC; font-weight: 600; }
@media (max-width: 760px) {
  .sb-vs { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sb-vs > div + div { padding-left: 0; border-left: 0; }
  .sb-vs > div:first-child { padding-right: 0; }
}

/* "More we build" links: plain columns */
.sb-morelinks { gap: 0 40px; border-top: 1px solid rgba(255,255,255,0.10); }
.sb-morelink { padding: 22px 0 0; border: 0; border-radius: 0; background: none; }
.sb-morelink:hover { background: none; border: 0; }
.sb-morelink:hover strong { color: #FF7A45; }
.sb-morelink strong { font-size: 20px; transition: color .25s; }

/* A sample of the output, on paper, with numbered keys */
.sb-sample { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px 72px; align-items: center; }
.sb-sample-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sb-sample-keys { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; counter-reset: key; }
.sb-sample-keys li { counter-increment: key; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.10); }
.sb-sample-keys li::before, .sb-doc [data-key]::after { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #121110; font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: 0; }
.sb-sample-keys li::before { content: counter(key); grid-row: 1 / span 2; margin-top: 2px; }
.sb-sample-keys strong { font-size: 18px; font-weight: 800; color: #F4F1EC; }
.sb-sample-keys span { font-size: 16px; line-height: 1.55; color: #B5AEA5; }
.sb-doc { position: relative; margin: 0; padding: clamp(22px, 3vw, 40px); border-radius: 10px; background: #F4F1EC; color: #161412; box-shadow: 0 50px 110px -50px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.06); }
.sb-doc [data-key] { position: relative; }
.sb-doc [data-key]::after { content: attr(data-key); position: absolute; right: -13px; top: -13px; box-shadow: 0 0 0 4px #F4F1EC; }
.sb-doc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-bottom: 14px; border-bottom: 2px solid #161412; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12px; color: #5F5A54; }
.sb-doc h3 { margin: 18px 0 20px; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
.sb-doc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(18,17,16,0.16); border-bottom: 1px solid rgba(18,17,16,0.16); }
.sb-doc-kpis > div { display: flex; flex-direction: column; gap: 3px; padding: 14px 14px 14px 0; }
.sb-doc-kpis > div + div { padding-left: 16px; border-left: 1px solid rgba(18,17,16,0.16); }
.sb-doc-kpis span { font-size: 13px; color: #5F5A54; }
.sb-doc-kpis b { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.sb-doc-kpis em { font-style: normal; font-size: 13px; font-weight: 600; color: #5F5A54; }
.sb-doc-kpis em.is-flag { color: #C23A06; }
.sb-doc-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 22px 28px; margin-top: 20px; }
.sb-doc h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #5F5A54; }
.sb-doc-bars { display: flex; align-items: flex-end; gap: 8px; height: 132px; padding-bottom: 20px; border-bottom: 1px solid rgba(18,17,16,0.3); }
.sb-doc-bars i { position: relative; flex: 1; border-radius: 3px 3px 0 0; background: rgba(18,17,16,0.22); }
.sb-doc-bars i.is-hi { background: var(--accent); }
.sb-doc-bars i span { position: absolute; left: 50%; bottom: -19px; transform: translateX(-50%); font-style: normal; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 10.5px; color: #5F5A54; white-space: nowrap; }
.sb-doc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sb-doc-table th { padding: 0 8px 7px 0; text-align: left; font-size: 11.5px; font-weight: 700; color: #5F5A54; border-bottom: 1px solid rgba(18,17,16,0.3); }
.sb-doc-table td { padding: 8px 8px 8px 0; border-bottom: 1px solid rgba(18,17,16,0.12); vertical-align: top; }
.sb-doc-table td:first-child { font-weight: 700; }
.sb-doc-table .is-flag { color: #C23A06; font-weight: 700; }
.sb-doc-notes h4 { padding-right: 22px; }
.sb-doc-notes ul { margin: 0; padding: 0 0 0 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: #36322E; }
.sb-doc-notes li::marker { color: var(--accent); }
.sb-doc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 22px; padding-top: 12px; border-top: 1px solid rgba(18,17,16,0.16); font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 11.5px; color: #5F5A54; }
.sb-doc-foot b { font-weight: 600; color: #161412; }
.sb-sample-note { margin: 14px 0 0; font-size: 15px; color: #8C857D; }
.sb-doc--wide .sb-doc-body { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .sb-sample { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .sb-doc-body { grid-template-columns: minmax(0, 1fr); }
  .sb-doc-kpis { grid-template-columns: minmax(0, 1fr); }
  .sb-doc-kpis > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(18,17,16,0.16); }
  .sb-doc [data-key]::after { right: -6px; }
}

/* Illustrative product screens */
.sb-screen { margin: 0; min-width: 0; border-radius: 16px; border: 1px solid rgba(255,255,255,0.12); background: #0D0C0B; overflow: hidden; box-shadow: 0 50px 110px -50px rgba(0,0,0,0.9); font-size: 14px; line-height: 1.5; color: #E9E4DD; text-align: left; }
.sb-screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); background: #161412; font-size: 13px; font-weight: 700; color: #F4F1EC; }
.sb-screen-bar span:last-child { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 400; color: #8C857D; }
.sb-screen-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sb-chat { display: flex; flex-direction: column; gap: 12px; }
.sb-chat p { margin: 0; max-width: 88%; padding: 11px 14px; border-radius: 14px; }
.sb-chat .is-me { align-self: flex-end; border-bottom-right-radius: 4px; background: #2B2723; color: #F4F1EC; }
.sb-chat .is-bot { align-self: flex-start; border-bottom-left-radius: 4px; border: 1px solid rgba(244,69,8,0.35); background: rgba(244,69,8,0.08); }
.sb-chat .is-bot strong { color: #F7F4EF; }
.sb-chat small { display: block; margin-top: 8px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 11px; color: #8C857D; }
.sb-chat-actions { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 8px; }
.sb-chat-actions span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); font-size: 12.5px; font-weight: 600; color: #F4F1EC; }
.sb-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sb-counts div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 10px; background: #1B1916; }
.sb-counts b { font-size: 24px; line-height: 1; letter-spacing: -0.03em; font-weight: 800; color: #F7F4EF; }
.sb-counts div:first-child b { color: #FF7A45; }
.sb-counts span { font-size: 11.5px; line-height: 1.3; color: #B5AEA5; }
.sb-queue { list-style: none; margin: 0; padding: 0; }
.sb-queue li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.sb-queue strong { font-size: 14px; font-weight: 700; color: #F4F1EC; }
.sb-queue span { grid-column: 1; font-size: 12.5px; color: #8C857D; }
.sb-queue em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; padding: 5px 10px; border-radius: 999px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 11px; border: 1px solid rgba(255,255,255,0.16); color: #B5AEA5; white-space: nowrap; }
.sb-queue em.is-hot { border-color: rgba(244,69,8,0.5); color: #FF8A5C; }
.sb-screen h4 { margin: 4px 0 0; font-size: 12px; font-weight: 700; color: #8C857D; }
.sb-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 860px) { .sb-screens { grid-template-columns: minmax(0, 1fr); } .sb-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Case study: hero on paper */
.sb-cs-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: 48px 64px; padding-top: 40px; padding-bottom: 72px; }
.sb-cs-hero .sb-crumbs a, .sb-cs-hero .sb-crumbs { color: #5F5A54; }
.sb-cs-hero .sb-crumbs span:last-child { color: #161412 !important; }
.sb-cs-hero-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.sb-cs-figs { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(18,17,16,0.16); }
.sb-cs-figs li { display: flex; flex-direction: column; gap: 4px; padding: 22px 16px 0 0; }
.sb-cs-figs li + li { padding-left: 20px; border-left: 1px solid rgba(18,17,16,0.16); }
.sb-cs-figs b { font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.sb-cs-figs span { font-size: 15px; line-height: 1.4; color: #5F5A54; }
.sb-cs-note { grid-column: 1 / -1; margin: 0; font-size: 15px; color: #5F5A54; }
.sb-h-ghost--ink { border-color: rgba(18,17,16,0.3); background: none; color: #161412 !important; }
.sb-h-ghost--ink:hover { border-color: #161412; }
@media (max-width: 960px) {
  .sb-cs-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; }
  .sb-cs-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-cs-figs li, .sb-cs-figs li + li { padding: 16px 12px 16px 0; border-left: 0; border-bottom: 1px solid rgba(18,17,16,0.12); }
}

.sb-screen-note { margin: 14px 0 0; font-size: 15px; color: #8C857D; }
.sb-paper .sb-screen-note { color: #5F5A54; }
.sb-cs-arch { width: 100%; max-width: 900px; margin: 0 auto; }
.sb-cs-arch .sb-il { max-width: none; }
.sb-layers { display: none; list-style: none; margin: 0; padding: 0; }
.sb-layers li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.025); }
.sb-layers li + li { margin-top: 10px; }
.sb-layers li.is-core { border-color: rgba(244,69,8,0.5); background: rgba(244,69,8,0.10); }
.sb-layers strong { font-size: 18px; font-weight: 800; color: #F4F1EC; }
.sb-layers span { font-size: 16px; line-height: 1.5; color: #B5AEA5; }
@media (max-width: 640px) { .sb-cs-arch > svg { display: none; } .sb-layers { display: block; } }
.sb-changes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; border-bottom: 1px solid rgba(18,17,16,0.16); }
.sb-changes li { padding: 24px 0; border-top: 1px solid rgba(18,17,16,0.16); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; letter-spacing: -0.012em; font-weight: 600; color: #161412; text-wrap: pretty; }
@media (max-width: 760px) { .sb-changes { grid-template-columns: minmax(0, 1fr); } }

/* Picker: point at one of twelve, read what it does */
.sb-pick-list { border-top: 1px solid rgba(255,255,255,0.10); }
.sb-pick-list details { border-bottom: 1px solid rgba(255,255,255,0.10); }
.sb-pick-list summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: #F4F1EC; }
.sb-pick-list summary::-webkit-details-marker { display: none; }
.sb-pick-list p { margin: 0; padding: 0 40px 18px 0; font-size: 17px; line-height: 1.55; color: #B5AEA5; }
.sb-pick-list summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sb-pick-list details[open] .sb-faq-mark { border-color: var(--accent); }
.sb-pick-list details[open] .sb-faq-mark::after { transform: rotate(0deg); }
.sb-pick-ring, .sb-pick-stage { display: none; }
@media (min-width: 961px) {
  .sb-pick.is-live { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
  .sb-pick.is-live .sb-pick-list { display: none; }
  .sb-pick.is-live .sb-pick-ring { display: block; position: relative; width: 100%; max-width: 620px; aspect-ratio: 1.18; margin: 0 auto; }
  .sb-pick-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .sb-pick-ring ellipse { fill: none; stroke: rgba(255,255,255,0.12); stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
  .sb-pick-ring line { stroke: rgba(244,69,8,0.22); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .2s; }
  .sb-pick-ring line.is-active { stroke: var(--accent); stroke-width: 2; }
  .sb-pick-hub { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #121110; font-size: 14px; font-weight: 800; text-align: center; line-height: 1.15; box-shadow: 0 0 60px rgba(244,69,8,0.55); }
  .sb-pick-node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); background: #1B1916; color: #CFC8BF; font: inherit; font-size: 14.5px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
  .sb-pick-node:hover { border-color: rgba(244,69,8,0.6); color: #F4F1EC; }
  .sb-pick-node.is-active { border-color: var(--accent); background: var(--accent); color: #121110; box-shadow: 0 0 28px rgba(244,69,8,0.5); }
  .sb-pick-node:focus-visible { outline: 3px solid #F4F1EC; outline-offset: 3px; }
  .sb-pick.is-live .sb-pick-stage { display: block; min-height: 230px; }
  .sb-pick-panel { display: flex; flex-direction: column; gap: 14px; }
  .sb-pick-panel small { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13px; color: #FF8A5C; }
  .sb-pick-panel h3 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; color: #F7F4EF; }
  .sb-pick-panel p { margin: 0; max-width: 26em; font-size: 20px; line-height: 1.55; color: #CFC8BF; text-wrap: pretty; }
  .js .sb-pick-panel { animation: sb-up .35s cubic-bezier(.2,.75,.15,1); }
}

/* The film: plays only when the visitor presses play */
.sb-film { margin: 0; }
.sb-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid rgba(255,255,255,0.12); background: #121110; box-shadow: 0 60px 120px -60px rgba(0,0,0,1); }
.sb-film video:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.sb-film { position: relative; }
.sb-film-play { position: absolute; left: 50%; top: calc((100% - 36px) / 2); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 20px; font-weight: 800; color: #F7F4EF; text-shadow: 0 2px 18px rgba(0,0,0,0.9); cursor: pointer; }
.sb-film-play span { display: block; width: 104px; height: 104px; margin-bottom: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 10px rgba(244,69,8,0.22), 0 24px 60px -10px rgba(0,0,0,0.9); transition: transform .25s cubic-bezier(.2,.75,.15,1), box-shadow .25s; }
.sb-film-play span::after { content: ""; display: block; width: 0; height: 0; margin: 32px 0 0 41px; border-left: 32px solid #121110; border-top: 20px solid transparent; border-bottom: 20px solid transparent; }
.sb-film-play:hover span { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(244,69,8,0.22), 0 24px 60px -10px rgba(0,0,0,0.9); }
.sb-film-play:focus-visible { outline: 3px solid #F4F1EC; outline-offset: 10px; border-radius: 16px; }
.sb-film-play small { font-size: 16px; font-weight: 600; color: #CFC8BF; }
.sb-film.is-ready:not(.is-played) video { filter: brightness(.62); }
@media (max-width: 560px) { .sb-film-play span { width: 76px; height: 76px; } .sb-film-play span::after { margin: 22px 0 0 30px; border-left-width: 24px; border-top-width: 16px; border-bottom-width: 16px; } .sb-film-play strong, .sb-film-play small { display: none; } .sb-film-play { top: calc((100% - 60px) / 2); } }
.sb-film figcaption { margin-top: 14px; font-size: 15px; color: #8C857D; }
.sb-film-text { border-top: 1px solid rgba(255,255,255,0.10); border-bottom: 1px solid rgba(255,255,255,0.10); }
.sb-film-text summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-size: 19px; font-weight: 700; color: #F4F1EC; }
.sb-film-text summary::-webkit-details-marker { display: none; }
.sb-film-text summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sb-film-text[open] .sb-faq-mark { border-color: var(--accent); }
.sb-film-text[open] .sb-faq-mark::after { transform: rotate(0deg); }
.sb-film-text ol { margin: 0; padding: 0 0 22px 22px; max-width: 46em; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.6; color: #B5AEA5; }
.sb-film-text ol strong { color: #F4F1EC; }

.sb-films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; align-items: start; }
.sb-films-cell { min-width: 0; display: flex; flex-direction: column; }
.sb-films-cell h3 { margin: 22px 0 0; font-size: clamp(22px, 2.1vw, 27px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; color: #F7F4EF; }
.sb-films-cell > p { margin: 10px 0 20px; font-size: 17px; line-height: 1.55; color: #B5AEA5; text-wrap: pretty; }
.sb-films .sb-film video { border-radius: 16px; }
.sb-films .sb-film-play span { width: 84px; height: 84px; }
.sb-films .sb-film-play span::after { margin: 25px 0 0 33px; border-left-width: 27px; border-top-width: 17px; border-bottom-width: 17px; }
.sb-films .sb-film-play strong, .sb-films .sb-film-play small { display: none; }
.sb-films .sb-film-play { top: calc((100% - 70px) / 2); }
@media (max-width: 900px) { .sb-films { grid-template-columns: minmax(0, 1fr); } }

/* Cost estimator */
.sb-est { margin: 0; padding: clamp(22px, 3vw, 36px); border-radius: 22px; border: 1px solid rgba(255,255,255,0.10); background: radial-gradient(520px circle at 100% 0%, rgba(244,69,8,0.14), transparent 55%), #161412; }
.sb-est > strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.015em; color: #F4F1EC; }
.sb-est > p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: #B5AEA5; }
.sb-est-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px 44px; margin-top: 26px; align-items: start; }
.sb-est-fields { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.sb-est-field { display: flex; flex-direction: column; gap: 8px; }
.sb-est-field label, .sb-est-field > span { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; color: #E9E4DD; }
.sb-est-field output { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 15px; font-weight: 400; color: #FF8A5C; }
.sb-est input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.sb-est input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.14); }
.sb-est input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.14); }
.sb-est input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; border: 3px solid #121110; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.sb-est input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #121110; background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.sb-est input[type="range"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.sb-est-tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-est-out { display: flex; flex-direction: column; padding: 22px 24px; border-radius: 16px; background: #F4F1EC; color: #121110; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.sb-est-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(18,17,16,0.25); font-size: 15px; }
.sb-est-out div:last-of-type { border-bottom: 0; }
.sb-est-out b { font-size: 17px; font-weight: 700; white-space: nowrap; }
.sb-est-out .is-total { border-top: 2px solid #121110; border-bottom: 0; margin-top: -1px; font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif; font-size: 16px; font-weight: 700; }
.sb-est-out .is-total b { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; font-weight: 800; color: #C23A06; }
.sb-est-out small { margin-top: 10px; font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif; font-size: 13px; line-height: 1.5; color: #4A453F; }
@media (max-width: 760px) { .sb-est-grid { grid-template-columns: minmax(0, 1fr); } }

/* Print: a briefing as a board paper */
.sb-print-btn { align-self: flex-start; }
/* ---- phones: the home page shows sector names without their summaries, the portrait is smaller, the footer takes two columns ---- */
@media (max-width: 760px) {
  .sb-nav--home.is-live .sb-nav-row { padding: 16px 0 17px; }
  .sb-nav--home.is-live .sb-nav-row span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 520px) {
  .sb-h-photo { max-width: 200px; border-radius: 22px; }
  #about .sb-h-facts { display: none; }
  .sb-foot { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 32px 24px !important; }
  .sb-foot > :first-child { grid-column: 1 / -1; }
  .sb-foot li a { padding: 6px 0; line-height: 1.3; }
}

/* ---- company pages: Services, About, Contact and the not-found page ---- */
/* rows whose right-hand side holds more than one sentence: a summary, a list, a link */
.sb-rows-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sb-rows-body ul { margin: 0; padding: 0 0 0 20px; max-width: 40em; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.5; color: #B5AEA5; }
.sb-rows-body a { color: #FF7A45; font-weight: 600; }
.sb-rows-body a:hover { color: #FFA07A; }
.sb-rows-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 700 !important; }
.sb-rows--marked .sb-rows-right h3::before { border-radius: 0 999px 999px 0; }
.sb-rows h3 a { color: inherit; text-decoration: none; }
.sb-rows h3 a:hover { color: #FF7A45; }
/* the services grouped under the two halves of the job (home page) */
.sb-svc { display: flex; flex-direction: column; gap: 22px; }
.sb-svc > div { display: flex; flex-direction: column; gap: 4px; }
.sb-svc h4 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -0.012em; font-weight: 800; color: #F7F4EF; }
.sb-svc h4 a { color: inherit; text-decoration: underline; text-decoration-color: rgba(244,69,8,0.55); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sb-svc h4 a:hover { color: #FF7A45; text-decoration-color: #FF7A45; }
/* steps of the five-step path, side by side: numbered because the order matters */
.sb-stepcols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px 48px; }
.sb-stepcols > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px 18px; align-items: center; align-content: start; }
.sb-stepcols h3 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 800; color: #F7F4EF; }
.sb-stepcols p { grid-column: 2; margin: 0; max-width: 34em; font-size: 17px; line-height: 1.6; color: #B5AEA5; text-wrap: pretty; }
/* About: the home page's portrait band as the top of a page */
.sb-paper .sb-crumbs, .sb-paper .sb-crumbs a { color: #5F5A54; }
.sb-paper .sb-crumbs a:hover { color: #C93600; }
.sb-paper .sb-crumbs span:last-child { color: #161412 !important; }
.sb-about-top { padding-top: 44px; }
.sb-h-about--page { padding-top: 32px; }
.sb-h-about-text h1 { margin: 0 0 6px; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; color: #161412; text-wrap: balance; }
.sb-h-about-more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 17px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* Contact: the session's agenda, drawn as a card on the dark page */
.sb-agenda { width: 100%; max-width: 440px; padding: clamp(24px, 3vw, 36px); }
.sb-agenda-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-bottom: 16px; border-bottom: 2px solid #161412; }
.sb-agenda-head strong { font-size: 22px; letter-spacing: -0.02em; font-weight: 800; }
.sb-agenda-head span { font-size: 15px; font-weight: 600; color: #5F5A54; }
.sb-agenda ol { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.sb-agenda li { counter-increment: a; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid rgba(18,17,16,0.14); }
.sb-agenda li::before { content: counter(a); grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--accent); color: #121110; font-size: 14px; font-weight: 800; }
.sb-agenda li b { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.sb-agenda li span { grid-column: 2; font-size: 15px; line-height: 1.5; color: #45403B; }
.sb-agenda figcaption { margin-top: 16px; font-size: 15px; font-weight: 600; color: #5F5A54; }

/* ---- the self-check (/worth-automating/): six questions, scored in the browser by check.js ---- */
.sb-check { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px 64px; align-items: start; }
.sb-check-qs { counter-reset: q; border-bottom: 1px solid rgba(255,255,255,0.10); }
.sb-q { min-width: 0; margin: 0; padding: 28px 0 30px; border: 0; border-top: 1px solid rgba(255,255,255,0.10); }
.sb-q legend { float: left; width: 100%; display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 800; color: #F7F4EF; }
.sb-q legend::before { counter-increment: q; content: counter(q); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(244,69,8,0.6); color: #FF8A5C; font-size: 15px; letter-spacing: 0; }
.sb-q-opts { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.sb-q label { position: relative; display: inline-flex; }
.sb-q input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sb-q label span { box-sizing: border-box; display: inline-flex; align-items: center; min-height: 46px; padding: 6px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.03); font-size: 16px; line-height: 1.3; font-weight: 600; color: #E9E4DD; transition: background .2s, border-color .2s, color .2s; }
.sb-q label:hover span { border-color: rgba(244,69,8,0.6); }
.sb-q input:checked + span { border-color: var(--accent); background: var(--accent); color: #121110; }
.sb-q input:focus-visible + span { outline: 3px solid #FF8A5C; outline-offset: 3px; }
.sb-check-out { position: sticky; top: 94px; box-sizing: border-box; max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(22px, 2.6vw, 32px); border-radius: 22px; border: 1px solid rgba(255,255,255,0.10); background: radial-gradient(520px circle at 100% 0%, rgba(244,69,8,0.14), transparent 55%), #161412; }
.sb-check-wait strong { display: block; font-size: 22px; letter-spacing: -0.015em; font-weight: 800; color: #F4F1EC; }
.sb-check-wait p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: #B5AEA5; }
.sb-check-result { display: flex; flex-direction: column; gap: 16px; }
.sb-check-result[hidden], .sb-check-wait[hidden] { display: none; }
.sb-check-result h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; color: #F7F4EF; text-wrap: balance; }
.sb-check-result > p { margin: 0; font-size: 17px; line-height: 1.6; color: #CFC8BF; text-wrap: pretty; }
.sb-check-hours { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.10); border-bottom: 1px solid rgba(255,255,255,0.10); }
.sb-check-hours b { font-size: 22px; letter-spacing: -0.015em; font-weight: 800; color: #F7F4EF; }
.sb-check-hours span { font-size: 15px; color: #8C857D; }
.sb-check-read { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); align-items: center; gap: 16px 24px; }
.sb-check-chart { display: block; width: 100%; height: auto; overflow: visible; }
.sb-check-chart [data-check-dot] { transition: transform .5s cubic-bezier(.2,.75,.15,1); }
.sb-check-bars { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sb-check-bars { gap: 14px; }
.sb-check-bars div { display: flex; flex-direction: column; gap: 5px; }
.sb-check-bars dt { font-size: 16px; font-weight: 600; color: #B5AEA5; }
.sb-check-bars dd { margin: 0; display: flex; align-items: center; gap: 6px; }
.sb-check-bars i { flex: none; display: block; width: 26px; height: 8px; border-radius: 8px; background: rgba(255,255,255,0.14); }
.sb-check-bars dd i:first-child, .sb-check-bars dd[data-level="1"] i:nth-child(2), .sb-check-bars dd[data-level="2"] i { background: var(--accent); }
.sb-check-bars b { margin-left: 8px; font-size: 16px; font-weight: 700; color: #F4F1EC; }
.sb-check-result .sb-list { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: #B5AEA5; }
.sb-check-next { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
html.still .sb-check-chart [data-check-dot], html.still .sb-q label span { transition: none; }
@media (prefers-reduced-motion: reduce) { .sb-check-chart [data-check-dot], .sb-q label span { transition: none; } }
@media (max-width: 900px) {
  .sb-check { grid-template-columns: minmax(0, 1fr); }
  .sb-check-out { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 520px) {
  .sb-check-read { grid-template-columns: minmax(0, 1fr); }
  .sb-check-chart { max-width: 280px; }
  .sb-check-bars { flex-direction: row; flex-wrap: wrap; gap: 14px 28px; }
}

/* ---- the contact form (/contact/): set in type like the rest of the page. contact.js sends it to /e/contact ---- */
.sb-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sb-write { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 72px; align-items: start; }
.sb-write-lead { display: flex; flex-direction: column; gap: 18px; }
.sb-form { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.sb-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 22px; }
.sb-form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.sb-field { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sb-field label { font-size: 16px; line-height: 1.4; font-weight: 600; color: #E9E4DD; }
.sb-field label span { font-weight: 500; color: #8C857D; }
.sb-field input, .sb-field textarea { box-sizing: border-box; width: 100%; min-height: 54px; margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.24); background: rgba(255,255,255,0.04); color: #F7F4EF; color-scheme: dark; font: inherit; font-size: 17px; line-height: 1.5; -webkit-appearance: none; appearance: none; }
.sb-field textarea { min-height: 190px; resize: vertical; }
.sb-field input:hover, .sb-field textarea:hover { border-color: rgba(255,255,255,0.4); }
.sb-field input:focus-visible, .sb-field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: transparent; }
.sb-field input[aria-invalid="true"], .sb-field textarea[aria-invalid="true"] { border-color: #FF8A5C; box-shadow: inset 0 0 0 1px #FF8A5C; }
.sb-field input:-webkit-autofill, .sb-field input:-webkit-autofill:focus { -webkit-text-fill-color: #F7F4EF; -webkit-box-shadow: inset 0 0 0 1000px #201D1A; caret-color: #F7F4EF; }
.sb-form fieldset:disabled .sb-field input, .sb-form fieldset:disabled .sb-field textarea { opacity: 0.5; }
.sb-form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sb-form-check:not(:empty) { min-height: 65px; }
.sb-form-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.sb-form-go button { border: 0; cursor: pointer; font-family: inherit; }
.sb-form-go button:disabled { opacity: 0.6; cursor: default; box-shadow: none; }
.sb-form-status { margin: 0; max-width: 36em; font-size: 16px; line-height: 1.55; color: #B5AEA5; }
.sb-form-status:empty, .sb-form-status[hidden] { display: none; }
.sb-form-status[data-state="error"] { padding-left: 14px; border-left: 3px solid #FF8A5C; color: #FFD2C2; }
.sb-form-status a { color: #F4F1EC; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sb-form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sb-form-done[hidden], .sb-form[hidden] { display: none; }
.sb-form-done h3 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; color: #F7F4EF; }
.sb-form-done h3:focus { outline: none; }
.sb-form-done p { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.6; color: #CFC8BF; }
.sb-form-done .sb-form-testnote { padding-left: 14px; border-left: 3px solid var(--accent); font-size: 16px; color: #B5AEA5; }
.sb-form-done .sb-form-or { margin-top: 12px; font-weight: 700; color: #F4F1EC; }
.sb-form-done .sb-privacy-note { font-size: 15px; color: #8C857D; }
@media (max-width: 900px) {
  .sb-write { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sb-form-pair { grid-template-columns: minmax(0, 1fr); }
  .sb-form-go button { width: 100%; }
}

/* ---------- Reading pages: the briefings and the buyer's guide ----------
   Everywhere else, cream documents sit on the dark page. On a reading page the reader is inside the document:
   the article is paper, set in ink, and its charts, diagrams and films are dark plates let into it. The header
   and the closing bands (questions, booking, footer) stay dark. Put .sb-paper and .sb-read on the wrapper. */
.sb-read a { color: #C23A06; }
.sb-read a:hover { color: #161412; }
.sb-read .sb-textbtn { color: #161412; }
.sb-read .sb-textbtn:hover { color: #C23A06; }
.sb-read-plate { box-sizing: border-box; width: 100%; max-width: 480px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: #161412; color: #F4F1EC; color-scheme: dark; box-shadow: 0 44px 80px -52px rgba(18,17,16,0.7); }
.sb-read-plate svg { display: block; width: 100%; height: auto; }
.sb-read .sb-brief-kicker { color: #5F5A54; }
.sb-read .sb-brief-kicker strong { color: #C23A06; }
.sb-brief-kicker a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 4px; }
.sb-read .sb-brief-kicker a { color: #5F5A54; text-decoration-color: rgba(18,17,16,0.3); }
.sb-read .sb-brief-kicker a:hover { color: #C23A06; }
.sb-read .sb-brief-made { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(18,17,16,0.14); }
.sb-read .sb-brief-made h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.01em; }
.sb-read .sb-brief-made p { margin: 0 0 8px; max-width: 44em; font-size: 16px; line-height: 1.6; color: #5F5A54; }
.sb-read .sb-brief-toc p { color: #161412; }
.sb-read .sb-brief-toc a { border-left-color: rgba(18,17,16,0.16); color: #5F5A54; }
.sb-read .sb-brief-toc a:hover { color: #C23A06; border-left-color: var(--accent); }
.sb-read .sb-brief-body h2, .sb-read .sb-brief-body h3 { color: #161412; }
.sb-read .sb-brief-prose p, .sb-read .sb-brief-prose ul { color: #34302B; }
.sb-read .sb-brief-prose p strong, .sb-read .sb-brief-prose ul strong { color: #161412; }
.sb-read .sb-brief-body sup a, .sb-read .sb-brief-cite { color: #C23A06; }
.sb-read .sb-brief-short { border-color: rgba(244,69,8,0.5); background: #FBFAF7; }
.sb-read .sb-brief-short ul { color: #34302B; }
.sb-read .sb-brief-short p { margin: 0; font-size: 17px; line-height: 1.6; color: #45403B; }
.sb-read .sb-brief-short > a { align-self: flex-start; font-size: 16px; font-weight: 700; }
.sb-read .sb-brief-stats { gap: 30px 32px; }
.sb-read .sb-brief-stat { padding: 18px 0 0; border: 0; border-top: 2px solid #161412; border-radius: 0; background: none; }
.sb-read .sb-brief-stat b { color: #161412; }
.sb-read .sb-brief-stat span { color: #45403B; }
.sb-read .sb-brief-stat small { color: #5F5A54; }
.sb-read .sb-brief-figure, .sb-read .sb-est { border-color: transparent; color: #F4F1EC; color-scheme: dark; box-shadow: 0 44px 80px -56px rgba(18,17,16,0.7); }
.sb-read .sb-brief-figure a, .sb-read .sb-brief-figure sup a, .sb-read .sb-est a { color: #FF8A5C; }
.sb-read .sb-brief-receipt { border: 1px solid rgba(18,17,16,0.10); background: #FBFAF7; box-shadow: 0 30px 60px -44px rgba(18,17,16,0.45); }
.sb-read .sb-brief-quote p { color: #161412; }
.sb-read .sb-brief-quote cite { color: #5F5A54; }
.sb-read .sb-brief-compare > div { border-color: rgba(18,17,16,0.16); background: none; }
.sb-read .sb-brief-compare > div:last-child { border-color: rgba(244,69,8,0.55); background: #FBFAF7; }
.sb-read .sb-brief-compare ul { color: #45403B; }
.sb-read .sb-brief-compare > div:last-child ul { color: #161412; }
.sb-read .sb-brief-board { background: #161412; color: #F4F1EC; color-scheme: dark; box-shadow: 0 44px 80px -56px rgba(18,17,16,0.7); }
.sb-read .sb-brief-board h2 { color: #F7F4EF !important; }
.sb-read .sb-brief-board p.sb-brief-board-lead { color: #B5AEA5; }
.sb-read .sb-brief-board li { border-top-color: rgba(255,255,255,0.12); }
.sb-read .sb-brief-board li::before { color: #FF8A5C; }
.sb-read .sb-brief-sources ol { color: #5F5A54; }
.sb-read .sb-brief-sources a { color: #45403B; }
.sb-read .sb-brief-sources li:target { color: #161412; }
.sb-read .sb-brief-film > p { margin: 0 0 6px; font-size: 18px; line-height: 1.6; color: #45403B; }
.sb-read .sb-film video { border-color: rgba(18,17,16,0.14); box-shadow: 0 44px 80px -56px rgba(18,17,16,0.7); }
.sb-read .sb-film figcaption { color: #5F5A54; }
.sb-read .sb-film-text { border-color: rgba(18,17,16,0.16); }
.sb-read .sb-film-text summary { color: #161412; }
.sb-read .sb-film-text ol { color: #45403B; }
.sb-read .sb-film-text ol strong { color: #161412; }
.sb-read .sb-faq-mark { border-color: rgba(18,17,16,0.3); }
.sb-read .sb-faq-mark::before, .sb-read .sb-faq-mark::after { background: #161412; }
.sb-read .sb-film-text[open] .sb-faq-mark { border-color: var(--accent); }
.sb-read .sb-rows-body ul { color: #45403B; }
.sb-read .sb-rows-body a { color: #C23A06; }
.sb-read .sb-rows-body a:hover { color: #161412; }
.sb-read-rule { border-top: 1px solid rgba(18,17,16,0.12); }
@media (max-width: 640px) { .sb-read-plate { max-width: none; border-radius: 18px; } }

@media print {
  @page { margin: 16mm 15mm; }
  :root { color-scheme: light !important; }
  html, body { background: #fff !important; color: #111 !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: none !important; text-shadow: none !important; }
  .sb-reveal, .sb-up, .sb-w, .sb-line, .sb-logline { opacity: 1 !important; transform: none !important; animation: none !important; }
  header, footer, .sb-skip, .sb-brief-progress, .sb-brief-toc, #contact, #faq, .sb-print-btn, [data-motion-toggle], .sb-il-wrap, .sb-brief-gates, .sb-est, .sb-brief-film, section[aria-labelledby="more-title"], .sb-brief-kicker span { display: none !important; }
  section, article, main, div { background: transparent !important; }
  .sb-read .sb-brief-board h2 { color: #111 !important; }
  .sb-read .sb-brief-board li::before { color: #C23A06 !important; }
  .sb-read .sb-brief-stat { border: 0 !important; border-top: 0.3mm solid #111 !important; border-radius: 0 !important; }
  article [data-hero] > div { padding: 0 2mm 8mm !important; }
  article section > div { padding: 0 2mm !important; max-width: none !important; }
  article .sb-crumbs { display: none !important; }
  .sb-brief-layout { display: block !important; }
  .sb-brief-body { max-width: none !important; gap: 7mm !important; }
  article h1 { font-size: 30pt !important; line-height: 1.05 !important; color: #111 !important; }
  article h1 span { color: #111 !important; }
  article [data-hero] p, .sb-brief-prose p, .sb-brief-prose ul, .sb-brief-short li, .sb-brief-figure figcaption, .sb-brief-compare li, .sb-brief-lines p, .sb-brief-stat span { color: #222 !important; font-size: 10.5pt !important; line-height: 1.5 !important; }
  .sb-brief-prose h2, .sb-brief-short h2, .sb-brief-short h3, .sb-brief-sources h2, .sb-brief-compare h3, .sb-brief-figure figcaption strong, .sb-brief-lines strong, .sb-brief-bar span, .sb-brief-bar b, article [data-hero] strong { color: #111 !important; }
  .sb-brief-prose h2 { font-size: 16pt !important; margin-bottom: 3mm !important; break-after: avoid; }
  .sb-brief-body strong, .sb-brief-body h3 { color: #111 !important; }
  .sb-brief-short p, .sb-brief-board p, .sb-brief-board li { color: #222 !important; }
  .sb-brief-short a { color: #C23A06 !important; }
  .sb-brief-figure li > span > span { color: #222 !important; }
  .sb-brief-short, .sb-brief-figure, .sb-brief-stat, .sb-brief-compare > div, .sb-brief-quote { background: #fff !important; border: 0.3mm solid #bbb !important; break-inside: avoid; }
  .sb-brief-stats { grid-template-columns: repeat(4, 1fr) !important; gap: 3mm !important; }
  .sb-brief-stat b { font-size: 22pt !important; color: #111 !important; }
  .sb-brief-stat b em { color: #C23A06 !important; }
  .sb-brief-stat small, .sb-brief-kicker time, .sb-brief-kicker strong, .sb-crumbs { color: #555 !important; }
  .sb-brief-quote p { color: #111 !important; font-size: 16pt !important; }
  .sb-brief-quote cite { color: #555 !important; }
  .sb-brief-bar i { background: #e4e4e4 !important; }
  .sb-brief-bar em { background: #888 !important; }
  .sb-brief-bar.is-hi em { background: #F44508 !important; }
  .sb-brief-board, .sb-brief-receipt { break-inside: avoid; border: 0.3mm solid #999; }
  .sb-brief-lines em { color: #C23A06 !important; border-color: #C23A06 !important; }
  .sb-brief-sources a, .sb-brief-body sup a { color: #111 !important; }
  .sb-brief-sources li a::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; word-break: break-all; }
  .sb-brief-sources li { font-size: 9.5pt !important; color: #222 !important; }
  article::after { content: "Spurbuck Advisory, spurbuck.com/insights. Questions to tom@spurbuck.com"; display: block; margin-top: 8mm; padding-top: 3mm; border-top: 0.3mm solid #999; font-size: 9pt; color: #555; }
}
