/* ==========================================================
   UNITRICK v2 — fresh B2B identity
   Ink + paper + UniTrick orange. Bricolage Grotesque / Inter.
   Fixed 16px root: no fluid root font-size.
   ========================================================== */

:root {
  --ink: #0b0b0c;
  --ink-2: #151517;
  --ink-3: #26262a;
  --paper: #f6f4ee;
  --paper-2: #edeae1;
  --white: #ffffff;
  --text: #0d1117;
  --muted: #5b6472;
  --muted-dark: #9aa4b2;
  --line: #dedbd0;
  --line-dark: rgba(255, 255, 255, .12);
  --accent: #f08a43;
  --accent-2: #de742c;
  --accent-ink: #1f0e02;

  --f-head: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --max: 1180px;
  --gut: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -.02em; line-height: 1.2; }
h1 em, h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
h1 em { color: var(--accent); }
h2 em { color: #b4551a; }
.section-dark h2 em, .final h2 em, .proof h2 em { color: var(--accent); }
.proof-alt h2 em { color: #b4551a; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1rem;
}
.eyebrow-dark { color: var(--accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(240, 138, 67, .22); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted-dark); max-width: 42rem; }
.sub { font-size: 1.0625rem; color: var(--muted); max-width: 40rem; margin: 1rem auto 0; }
.sub.left { margin-left: 0; margin-bottom: 1.5rem; }
.fine { font-size: .8125rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.4rem;
  font-family: var(--f-head); font-weight: 600; font-size: .975rem; letter-spacing: -.01em;
  border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 54px; padding: .85rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line-dark); color: #fff; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); background: rgba(11, 11, 12, .04); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); }
.nav-row { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: .6rem; color: #fff; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.brand-word { font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a { padding: .75rem 0; color: #c9d1dc; font-size: .925rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { min-height: 42px; padding: .5rem 1.15rem; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; gap: .25rem; padding: .5rem var(--gut) 1.25rem; background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.mobile-nav a:not(.btn) { color: #e5eaf1; padding: .85rem .25rem; font-weight: 500; border-bottom: 1px solid var(--line-dark); }
.mobile-nav .btn { margin-top: .9rem; }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero-glow { position: absolute; z-index: -1; top: -220px; left: 70%; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(240, 138, 67, .22), transparent); pointer-events: none; }
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); margin-bottom: 1.4rem; }
.hero .lede { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-cta.center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1.75rem; color: var(--muted-dark); font-size: .9rem; }
.hero-proof b { color: #fff; font-weight: 600; }

/* ---------- Video component ---------- */
.video { position: relative; width: 100%; }
.vsl { max-width: 640px; justify-self: end; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 120% at 20% 0%, #2e2a28 0%, var(--ink-2) 55%, #050506 100%);
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .03);
}
.video-frame-sm { aspect-ratio: 4 / 3; border-radius: var(--r-md); box-shadow: none; }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-frame[data-poster-img] { background-size: cover; background-position: center; }
.video-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .35rem; padding: 1.25rem; color: var(--muted-dark); font-size: .875rem; }
.video-ph-tag { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .65rem; border: 1px solid var(--line-dark); border-radius: 999px; }
.video-ph-text { font-family: var(--f-head); font-weight: 600; color: #fff; font-size: 1rem; }
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(240, 138, 67, .18), 0 20px 40px rgba(0, 0, 0, .4);
  transition: transform .2s, box-shadow .2s;
}
.play svg { width: 34px; height: 34px; margin-left: 4px; }
.play:hover { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 0 0 16px rgba(240, 138, 67, .16), 0 20px 40px rgba(0, 0, 0, .4); }
.play-sm { width: 60px; height: 60px; }
.play-sm svg { width: 24px; height: 24px; margin-left: 3px; }
.video figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted-dark); text-align: center; }
.video.is-live .video-ph, .video.is-live .play, .video.is-live figcaption { display: none; }

/* ---------- Proof (right under the hero) ---------- */
.proof { background: var(--ink); color: #fff; padding: 0 0 clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line-dark); }
.proof .wrap { padding-top: clamp(2.5rem, 5vw, 4rem); }
.proof-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.proof-head h2 { max-width: 22ch; }
.proof-head .sub { margin-top: .75rem; }
.rail-ctl { display: flex; gap: .5rem; flex: none; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); color: #fff; font-size: 1.15rem; display: grid; place-items: center; transition: background .2s, border-color .2s, opacity .2s; }
.rail-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.rail-btn:disabled { opacity: .3; pointer-events: none; }
.rail-btn-light { border-color: var(--line); color: var(--ink); }

.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: .25rem max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 1rem;
  scroll-padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }

.vcard { width: 250px; }
.vwrap { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: radial-gradient(120% 120% at 20% 0%, #2e2a28, #151517 70%); border: 1px solid var(--line-dark); }
.vwrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.vplay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(240, 138, 67, .2), 0 14px 30px rgba(0, 0, 0, .45); transition: transform .2s; }
.vplay svg { width: 26px; height: 26px; margin-left: 3px; }
.vplay:hover { transform: translate(-50%, -50%) scale(1.08); }
.vtime { position: absolute; left: 10px; bottom: 10px; padding: .2rem .55rem; border-radius: 999px; background: rgba(0, 0, 0, .65); font-size: .75rem; font-weight: 600; }
.vcard.is-playing .vplay, .vcard.is-playing .vtime { display: none; }
.vmeta { display: flex; flex-direction: column; padding: .75rem .25rem 0; }
.vmeta b { font-family: var(--f-head); font-weight: 600; font-size: 1rem; }
.vmeta span { color: var(--muted-dark); font-size: .85rem; }

.proof-alt { background: var(--paper); color: var(--text); border-top: 0; padding-bottom: clamp(3rem, 6vw, 5rem); }
.proof-alt .proof-head h2 { color: var(--ink); }
.shot { width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; align-self: flex-start; box-shadow: 0 18px 40px -24px rgba(11, 11, 12, .3); }
.shot img { width: 100%; height: auto; display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }
.head { text-align: center; max-width: 52rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.head-left { text-align: left; margin-left: 0; }
.head-dark .sub { color: var(--muted-dark); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pain .num { font-family: var(--f-head); font-weight: 700; font-size: .95rem; color: var(--muted); display: block; margin-bottom: 2.5rem; }
.pain h3 { margin-bottom: .6rem; }
.pain p { color: var(--muted); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.tile { grid-column: span 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: .75rem; }
.tile p { color: var(--muted); }
.tile-tag { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.tile-lg { grid-column: span 4; }
.tile-chat { grid-column: span 2; grid-row: span 2; }
.tile-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile-dark p { color: var(--muted-dark); }
.tile-dark .tile-tag { color: var(--accent); }
.tile-dark h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); max-width: 22ch; }
.tile-accent { background: var(--accent); border-color: var(--accent); grid-column: 1 / -1; }
.tile-accent p, .tile-accent .tile-tag { color: #5a2a08; }
.tile-accent h3 { color: var(--accent-ink); font-size: clamp(1.4rem, 2.6vw, 2rem); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.chips li { padding: .4rem .9rem; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .85rem; color: #dbe2ec; }
.chips-light { padding-top: 1.5rem; }
.chips-light li { border-color: var(--line); color: var(--ink); background: var(--paper); }
.chat { display: flex; flex-direction: column; gap: .6rem; margin-top: .5rem; flex: 1; justify-content: center; }
.bubble { max-width: 88%; padding: .7rem .95rem; border-radius: 16px; font-size: .9rem; line-height: 1.45; }
.bubble.in { background: var(--paper); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.ok { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; padding: clamp(2.5rem, 5vw, 3.75rem) 0; border-top: 1px solid var(--line-dark); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stats-row div { display: flex; flex-direction: column; gap: .3rem; padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.stats-row b { font-family: var(--f-head); font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.stats-row span { color: var(--muted-dark); font-size: .925rem; }

.stats-note { margin-top: 1.5rem; font-size: .9rem; }
.stats-note a { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.stats-note a:hover { text-decoration: underline; }

/* ---------- Steps ---------- */
.bento + .steps { margin-top: 1.25rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { position: relative; padding: 1.5rem 1.4rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 2.6rem; right: -1.25rem; width: 1.25rem; border-top: 2px dashed #b9b5a6; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: var(--f-head); font-weight: 700; margin-bottom: 1.25rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Client results (compact numbers) ---------- */
.results { background: var(--ink); color: #fff; padding: clamp(2.75rem, 5vw, 4rem) 0; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.results-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.results-all { color: var(--accent); font-weight: 600; font-size: .95rem; padding: .6rem 0; min-height: 44px; display: inline-flex; align-items: center; }
.results-all:hover { text-decoration: underline; }
.results-title em { color: var(--accent); }
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.case { display: flex; }
.case-open { flex: 1; display: flex; flex-direction: column; gap: .35rem; text-align: left; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 1.35rem 1.35rem 1.1rem; color: inherit; transition: transform .25s, border-color .25s, background .25s; }
.case-open:hover { transform: translateY(-4px); border-color: rgba(240, 138, 67, .6); background: #1b1b1e; }
.case-metric { font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.7rem); letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.case-what { color: #f1f1f1; font-size: .95rem; margin-bottom: .6rem; }
.case-who { margin-top: auto; color: var(--muted-dark); font-size: .85rem; border-top: 1px solid var(--line-dark); padding-top: .75rem; }
.case-who b { color: #fff; font-weight: 600; }
.case-more { color: var(--accent); font-size: .875rem; font-weight: 600; padding-top: .35rem; }
.case-more i { display: inline-block; font-style: normal; transition: transform .2s; }
.case-open:hover .case-more i { transform: translateX(4px); }

/* ---------- Case story dialog ---------- */
.story { margin: auto; width: min(560px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; background: var(--ink-2); color: #fff; border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.story::backdrop { background: rgba(5, 5, 6, .72); backdrop-filter: blur(4px); }
.story[open] { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.story-close { position: absolute; top: .9rem; right: .9rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); font-size: 1.5rem; line-height: 1; color: #fff; }
.story-close:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.story-industry { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); padding-right: 3rem; }
.story-metric { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.6rem, 8vw, 3.75rem); letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.story-metric small { display: block; margin-top: .4rem; font-family: var(--f-body); font-weight: 500; font-size: 1rem; letter-spacing: 0; color: #dcdcde; }
.story h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.story-body { color: #c4c4c8; font-size: 1.05rem; }
.story-client { font-size: .9rem; color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding-top: 1rem; width: 100%; }
.story .btn { margin-top: .5rem; }
.story-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.story-actions .btn { margin-top: 0; }

/* ---------- Fit ---------- */
.fit-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; }
.fit-yes { background: var(--white); }
.fit-no { background: transparent; border-style: dashed; border-color: #b9b5a6; }
.fit-grid h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.ticks li, .crosses li { position: relative; padding: .55rem 0 .55rem 2rem; }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: .6rem; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.ticks li::before { content: '✓'; background: var(--accent); color: var(--accent-ink); }
.crosses li::before { content: '×'; background: var(--paper-2); color: var(--muted); font-size: 1rem; }
.crosses li { color: var(--muted); }
.fit-no .fine { margin-top: 1.25rem; }

/* ---------- Strategy call ---------- */
.call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.call-grid h2 { margin-bottom: 1rem; }
.note { margin-top: 1.75rem; padding: 1rem 1.25rem; border-left: 3px solid var(--ink); background: rgba(11, 11, 12, .05); font-size: .925rem; color: var(--muted); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.note b { color: var(--ink); }
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 11, 12, .25); }
.cal iframe { display: block; width: 100%; height: 700px; border: 0; }
.cal-mobile { display: none; margin: 1.5rem; width: calc(100% - 3rem); }
.cal-fallback { display: block; text-align: center; padding: .9rem; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }
.cal-fallback:hover { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-wrap .head { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 1.3rem; line-height: 1; transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { background: var(--ink); color: #fff; padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ''; position: absolute; z-index: -1; bottom: -260px; left: 50%; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(240, 138, 67, .2), transparent); }
.final-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.final h2 { max-width: 18ch; font-size: clamp(2.2rem, 5.5vw, 4.25rem); }
.final .lede { margin-bottom: .75rem; }

/* ---------- Footer ---------- */
.footer { background: #060607; color: var(--muted-dark); padding: 4rem 0 1.5rem; }
.footer-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-size: .925rem; }
.social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; color: #d4d4d8; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.footer-col h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a { display: block; padding: .65rem 0; min-height: 44px; font-size: .925rem; transition: color .2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .85rem; }


/* ---------- Case study pages ---------- */
.cs-hero { background: var(--ink); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; isolation: isolate; }
.cs-hero::before { content: ''; position: absolute; z-index: -1; top: -240px; left: 60%; width: 800px; height: 480px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(240, 138, 67, .2), transparent); }
.cs-hero h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); max-width: 22ch; margin-bottom: 1.25rem; }
.cs-hero .lede { margin-bottom: 2.25rem; }
.cs-back { display: flex; width: fit-content; align-items: center; min-height: 44px; margin-bottom: .75rem; font-size: .9rem; color: var(--muted-dark); transition: color .2s; }
.cs-back:hover { color: var(--accent); }
.cs-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 860px; }
.cs-hero-stats div { display: flex; flex-direction: column; gap: .3rem; padding-left: 1.1rem; border-left: 2px solid var(--accent); }
.cs-hero-stats b { font-family: var(--f-head); font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; }
.cs-hero-stats span { color: var(--muted-dark); font-size: .875rem; }

.cs-body { max-width: 820px; padding-block: clamp(2rem, 5vw, 4rem); }
.cs-sec { padding-block: clamp(1.75rem, 4vw, 3rem); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.1rem; }
.cs-sec:first-child { border-top: 0; }
.cs-sec h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cs-sec > p { font-size: 1.075rem; color: #2f343b; max-width: 68ch; }
.cs-label { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #b4551a; }
.cs-list-title { font-size: 1.1rem; margin-top: .5rem; }
.cs-list { display: flex; flex-direction: column; gap: .5rem; max-width: 68ch; }
.cs-list li { position: relative; padding-left: 1.5rem; color: #2f343b; }
.cs-list li::before { content: ''; position: absolute; left: .15rem; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.cs-quote { margin-block: .5rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--accent); background: var(--paper-2); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--f-head); font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.cs-steps { display: flex; flex-direction: column; gap: 1rem; margin-block: .5rem; }
.cs-steps li { display: flex; gap: 1.1rem; padding: 1.35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.cs-steps .step-n { flex: none; margin: 0; }
.cs-steps h3 { margin-bottom: .4rem; }
.cs-steps p { color: var(--muted); font-size: .975rem; }
.cs-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.cs-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .925rem; font-variant-numeric: tabular-nums; }
.cs-table th, .cs-table td { padding: .8rem 1rem; text-align: right; border-bottom: 1px solid var(--line); }
.cs-table thead th { background: var(--ink); color: #fff; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.cs-table th:first-child { text-align: left; font-weight: 500; }
.cs-table tbody tr:last-child > * { border-bottom: 0; }
.cs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-block: .5rem; }
.cs-stats div { padding: 1.35rem 1.5rem; background: var(--ink); color: #fff; border-radius: var(--r-md); display: flex; flex-direction: column; gap: .4rem; }
.cs-stats dt { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.cs-stats dd { color: #d6d6d9; font-size: .95rem; }
.cs-fig { margin-block: .5rem; }
.cs-fig a { display: block; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: 0 18px 40px -26px rgba(11, 11, 12, .35); }
.cs-fig img { width: 100%; height: auto; display: block; }
.cs-fig figcaption { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.cs-familiar { gap: 1.25rem; }
.cs-familiar .ticks { max-width: 68ch; }
.cs-familiar .hero-cta { margin-top: .5rem; }
.cs-more { background: var(--paper-2); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.cs-more h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
.cs-more h2 em { color: #b4551a; }
.cs-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cs-more-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.35rem; background: var(--ink); color: #fff; border-radius: var(--r-md); transition: transform .25s; }
.cs-more-card:hover { transform: translateY(-4px); }
.cs-more-card .case-what { margin-bottom: .6rem; }
@media (max-width: 860px) {
  .cs-hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .cs-more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cs-stats { grid-template-columns: 1fr; }
  .cs-steps li { flex-direction: column; gap: .75rem; }
}


/* ---------- Founder ---------- */
.founder { background: var(--paper); padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--line); }
.founder-grid { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: 920px; }
.founder-photo { width: 200px; height: 200px; border-radius: var(--r-lg); object-fit: cover; box-shadow: 0 24px 50px -28px rgba(11, 11, 12, .45); border: 1px solid var(--line); }
.founder h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .9rem; }
.founder-text { color: #2f343b; font-size: 1.075rem; max-width: 56ch; }
.founder-links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 1.4rem; }
.founder-links .btn svg { width: 19px; height: 19px; flex: none; }
.founder-more { font-weight: 600; font-size: .95rem; padding: .7rem .25rem; min-height: 44px; display: inline-flex; align-items: center; }
.founder-more:hover { color: #b4551a; }
@media (max-width: 700px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { width: 140px; height: 140px; }
}

/* ---------- Results hub ---------- */
.rh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; padding-block: 1rem; }
.rh-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem; background: var(--ink); color: #fff; border-radius: var(--r-lg); transition: transform .25s, box-shadow .25s; }
.rh-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11, 11, 12, .6); }
.rh-card .case-metric { font-size: clamp(2.2rem, 4vw, 3rem); }
.rh-card .case-what { margin-bottom: .25rem; }
.rh-card p { color: var(--muted-dark); font-size: .95rem; }
.rh-card .case-who { margin-top: auto; }
.rh-card .case-more { margin-top: .5rem; }
@media (max-width: 700px) { .rh-grid { grid-template-columns: 1fr; } }

/* ---------- Plan / Execute / Scale ---------- */
.pes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pes-card { display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.5rem, 2.4vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pes-card:nth-child(2) { background: var(--ink); color: #fff; border-color: var(--ink); }
.pes-card:nth-child(2) p, .pes-card:nth-child(2) .pes-list li { color: var(--muted-dark); }
.pes-step { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #b4551a; }
.pes-card:nth-child(2) .pes-step { color: var(--accent); }
.pes-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.pes-card p.pes-lead { font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); line-height: 1.3; }
.pes-card:nth-child(2) p.pes-lead { color: #fff; }
.pes-card p { color: var(--muted); font-size: .975rem; }
.pes-list { display: flex; flex-direction: column; gap: .4rem; margin-top: .25rem; }
.pes-list li { position: relative; padding-left: 1.4rem; font-size: .925rem; color: #2f343b; }
.pes-list li::before { content: ''; position: absolute; left: .1rem; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pes-card p.pes-out { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .925rem; color: var(--ink); }
.pes-card:nth-child(2) p.pes-out { border-top-color: var(--line-dark); color: #fff; }
.pes-out b { color: #b4551a; }
.pes-card:nth-child(2) .pes-out b { color: var(--accent); }
@media (max-width: 860px) { .pes { grid-template-columns: 1fr; } }

/* ---------- Case study: what we planned ---------- */
.cs-plan { max-width: 820px; padding-top: clamp(2rem, 4vw, 3rem); }
.cs-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .9rem; }
.cs-plan-grid div { padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: .4rem; }
.cs-plan-grid dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #b4551a; }
.cs-plan-grid dd { font-size: .95rem; color: #2f343b; line-height: 1.5; }
@media (max-width: 860px) { .cs-plan-grid { grid-template-columns: 1fr; } }


/* ---------- Dropdown menu ---------- */
.nav-links { align-items: center; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .75rem 0; color: #c9d1dc; font-size: .925rem; font-weight: 500; transition: color .2s; }
.dd-btn svg { transition: transform .2s; }
.dd:hover .dd-btn, .dd.open .dd-btn, .dd:focus-within .dd-btn { color: #fff; }
.dd.open .dd-btn svg, .dd:hover .dd-btn svg { transform: rotate(180deg); }
.dd-menu { display: none; position: absolute; top: 100%; left: -1rem; min-width: 360px; padding: .6rem; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); z-index: 200; }
.dd:hover .dd-menu, .dd.open .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd-menu a { display: flex; flex-direction: column; gap: .15rem; padding: .75rem .9rem; border-radius: var(--r-sm); color: #fff; font-size: .95rem; transition: background .15s; }
.dd-menu a:hover, .dd-menu a:focus-visible { background: rgba(255, 255, 255, .07); }
.dd-menu a b { font-family: var(--f-head); font-weight: 600; letter-spacing: -.01em; }
.dd-menu a span { font-size: .8rem; color: var(--muted-dark); font-weight: 400; }
.m-group { border-bottom: 1px solid var(--line-dark); }
.m-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: .85rem .25rem; font-weight: 500; color: #e5eaf1; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: '+'; font-size: 1.25rem; line-height: 1; color: var(--muted-dark); }
.m-group[open] summary::after { content: '\2212'; }
.m-group a:not(.btn) { display: block; padding: .7rem 1rem; border-bottom: 0; color: var(--muted-dark); font-weight: 400; }
.m-group a:not(.btn):hover { color: #fff; }
.cs-link { color: #b4551a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cs-link:hover { color: var(--ink); }

/* ---------- Footer: five columns ---------- */
.footer-row-5 { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1024px) { .footer-row-5 { grid-template-columns: 1fr 1fr 1fr; } .footer-row-5 .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-row-5 { grid-template-columns: 1fr 1fr; } }

/* ---------- Case study hub ---------- */
.rh-sec { padding: clamp(2rem, 4.5vw, 3.5rem) 0 0; }
.rh-all { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.rh-h { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 1.25rem; }
.rh-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: 1.25rem; }
.rh-head .rh-h { margin-bottom: 0; }
.rh-grid-2 { grid-template-columns: repeat(2, 1fr); }
.rh-feature { padding: clamp(1.75rem, 3vw, 2.5rem); }
.rh-feature .case-metric { font-size: clamp(2.8rem, 5vw, 4rem); }
.rh-feature p { font-size: 1.025rem; max-width: 46ch; }
.rh-tag { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.rh-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.rh-filter[hidden] { display: none; }
.rh-chip { min-height: 40px; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; font-weight: 600; background: var(--white); transition: background .2s, border-color .2s, color .2s; }
.rh-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.rh-card[hidden] { display: none; }
.rh-call { background: var(--paper-2); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.rh-call-grid { display: grid; grid-template-columns: 120px 1fr auto; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.rh-call-photo { width: 120px; height: 120px; border-radius: var(--r-md); object-fit: cover; border: 1px solid var(--line); }
.rh-call h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.rh-call p { color: var(--muted); max-width: 56ch; }
@media (max-width: 860px) { .rh-grid-2 { grid-template-columns: 1fr; } .rh-call-grid { grid-template-columns: 1fr; } .rh-call-photo { width: 96px; height: 96px; } .rh-call .btn { width: 100%; } }

/* ---------- Six-stage overview strip (also the tabs) ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; margin-bottom: 1.25rem; }
.flow li { position: relative; display: flex; }
.flow li:not(:last-child)::after { content: ''; position: absolute; top: 2.2rem; right: -.75rem; width: .75rem; border-top: 2px dashed #b9b5a6; pointer-events: none; }
.flow-btn { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; padding: 1.1rem 1rem; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.flow-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.flow-btn[aria-selected="true"] { border-color: var(--ink); box-shadow: 0 16px 36px -26px rgba(11, 11, 12, .5); background: var(--ink); color: #fff; }
.flow-btn[aria-selected="true"] .flow-n { background: var(--accent); color: var(--accent-ink); }
.flow-btn[aria-selected="true"] .flow-sub { color: var(--muted-dark); }
.flow-btn b { font-family: var(--f-head); font-size: 1.05rem; letter-spacing: -.02em; }
.flow-sub { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.flow-n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: var(--f-head); font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
@media (max-width: 1024px) { .flow { grid-template-columns: repeat(3, 1fr); } .flow li::after { display: none; } }
@media (max-width: 600px) { .flow { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Stage panels ---------- */
.stages { display: flex; flex-direction: column; gap: 1rem; }
.stage-panel { background: var(--white); border: 1px solid var(--ink); border-radius: var(--r-lg); box-shadow: 0 18px 40px -28px rgba(11, 11, 12, .35); overflow: hidden; }
.stage-head { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.6rem 1rem; }
.stage-head .flow-n { margin: 0; }
.stage-head h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -.025em; }
.stage-sub { font-size: .9rem; color: var(--muted); margin-top: .15rem; }
.stage-body { padding: .25rem 1.6rem 1.8rem 5.1rem; display: flex; flex-direction: column; gap: 1rem; }
.stage-body > p { color: #2f343b; max-width: 70ch; }
.stage-h { font-size: 1.05rem; margin-top: .25rem; }
.fine { font-size: .875rem; color: var(--muted); max-width: 70ch; }
.stages.js-tabs .stage-panel { display: none; }
.stages.js-tabs .stage-panel.active { display: block; }
@media (max-width: 700px) { .stage-body { padding-left: 1.4rem; } .stage-head { padding: 1.1rem 1.2rem .6rem; } }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.tbl { width: 100%; border-collapse: collapse; font-size: .925rem; }
.tbl th, .tbl td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl thead th { background: var(--ink); color: #fff; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.tbl tbody th { font-weight: 600; width: 28%; background: var(--paper); }
.tbl td { color: #2f343b; }
@media (max-width: 600px) { .tbl { min-width: 480px; } }

/* ---------- Gates (Fit / Sellable / Ready, call steps) ---------- */
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gate { padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: .6rem; }
.gate h3 { font-size: 1.15rem; }
.gate p, .gate .cs-list li { font-size: .925rem; color: #2f343b; }
.gate .cs-list { gap: .4rem; }
@media (max-width: 860px) { .gates { grid-template-columns: 1fr; } }

/* ---------- Sample brief ---------- */
.brief-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(11, 11, 12, .35); }
.brief-col { padding: clamp(1.5rem, 3vw, 2.25rem); }
.brief-col-2 { background: var(--ink); color: #fff; }
.brief-col h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.brief-col-2 h3 { color: var(--accent); }
.brief-col dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .925rem; }
.brief-col-2 dl > div { border-bottom-color: var(--line-dark); }
.brief-col dl > div:last-child { border-bottom: 0; }
.brief-col dt { color: var(--muted); }
.brief-col-2 dt { color: var(--muted-dark); }
.brief-col dd { font-weight: 600; text-align: right; }
@media (max-width: 860px) { .brief-card { grid-template-columns: 1fr; } }

/* ---------- Four terms ---------- */
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.term { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.term span { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.term p { color: var(--muted); font-size: .95rem; }
.term-hl { background: var(--ink); border-color: var(--ink); }
.term-hl span { color: var(--accent); }
.term-hl p { color: var(--muted-dark); }
@media (max-width: 860px) { .terms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .terms { grid-template-columns: 1fr; } }

/* ---------- Pain cards on this page ---------- */
.broker .pain .num { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.broker .pain p b { color: var(--ink); }
.broker #commitments .pain h3 { margin-bottom: .5rem; }


.stats-cap { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1.5rem; }


/* ---------- Home improvement landing ---------- */
.grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.crit { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.crit-item { padding: 1.4rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: .5rem; }
.crit-item b { font-family: var(--f-head); font-size: 1.15rem; letter-spacing: -.02em; }
.crit-item p { font-size: .9rem; color: var(--muted); line-height: 1.45; }
.crit-item:nth-child(odd) { border-top: 3px solid var(--accent); }
.terms-3 { grid-template-columns: repeat(3, 1fr); }
.results-more { margin-top: 1.5rem; text-align: center; }
@media (max-width: 1024px) { .crit { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid-2x2, .terms-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .crit { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cases { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile-lg, .tile-accent { grid-column: span 1; }
  .tile-lg, .tile-accent { grid-column: span 2; }
  .tile-chat { grid-row: auto; }
  .footer-row { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .cal iframe { display: none; }
  .cal-mobile { display: inline-flex; }
  .cal-fallback { display: none; }
  .cal { box-shadow: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .vsl { justify-self: stretch; max-width: none; }
  .rail-ctl { display: none; }
  .vcard { width: 220px; }
  .shot { width: 420px; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .grid-3, .fit-grid, .call-grid, .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .head { position: static; }
  .pain .num { margin-bottom: 1.25rem; }
}

@media (max-width: 600px) {
  :root { --gut: 18px; }
  .hero-cta .btn { width: 100%; }
  .hero-proof { flex-direction: column; gap: .35rem; }
  .vcard { width: 62vw; }
  .shot { width: 82vw; }

  .video-frame { border-radius: var(--r-md); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
  .play { width: 68px; height: 68px; }
  .bento, .cases, .steps { grid-template-columns: 1fr; }
  .tile-lg, .tile-accent { grid-column: span 1; }
  .stats-row { gap: 1.5rem 1rem; }
  .stats-row div { padding-left: 1rem; }
  .faq details p { padding-right: 0; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .case, .play, .vplay { transition: none; }
}

/* ---------- Mobile safeguards: the page itself can never pan sideways ---------- */
html { overscroll-behavior-x: none; }
main, .footer { overflow-x: clip; }
img, video, iframe, svg { max-width: 100%; }
.rail { overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
@media (max-width: 600px) { .eyebrow { flex-wrap: wrap; } .hero h1, .cs-hero h1 { overflow-wrap: break-word; } }
@media (max-width: 600px) { .crit-item:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ==========================================================
   Blog
   ========================================================== */
.post-meta { margin-top: 1.25rem; font-size: .9rem; color: var(--muted-dark); }
.post-meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.post-meta a:hover { color: var(--accent); }
.post { display: flex; flex-direction: column; gap: 1rem; padding-block: clamp(.5rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem); }
.post h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-top: 1.5rem; }
.post h2:first-child { margin-top: 0; }
.post p, .post li { font-size: 1.075rem; color: #2f343b; max-width: 68ch; line-height: 1.7; }
.post ul, .post ol { display: flex; flex-direction: column; gap: .6rem; padding-left: 1.4rem; max-width: 68ch; }
.post ul { list-style: disc; }
.post ol { list-style: decimal; }
.post li::marker { color: var(--accent); }
.post a { color: #b4551a; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.post a:hover { color: var(--ink); }
.post-table { width: 100%; border-collapse: collapse; font-size: .95rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); display: block; overflow-x: auto; }
.post-table th, .post-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 150px; }
.post-table thead th { background: var(--ink); color: #fff; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.post-table tbody th { font-weight: 600; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.blog-grid-index .post-card-big { grid-column: 1 / -1; }
.post-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.post-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(11,11,12,.08); }
.post-card h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card-big { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--ink); border-color: var(--ink); color: #fff; }
.post-card-big h3 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); max-width: 28ch; }
.post-card-big p { color: var(--muted-dark); max-width: 60ch; font-size: 1.05rem; }
.post-cat { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #b4551a; }
.post-card-big .post-cat { color: var(--accent); }
.post-more { margin-top: auto; font-size: .85rem; color: var(--muted); }
.post-card-big .post-more { color: var(--muted-dark); }
.post-related { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Home hero without a video: centred single column */
.hero-solo .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero-solo .hero-copy { max-width: 820px; }
.hero-solo .hero-cta, .hero-solo .hero-proof { justify-content: center; }
.hero-solo h1 { margin-inline: auto; }
.hero-solo .lede { margin-inline: auto; }

/* Home hero steps (replaces the old proof list) */
.hero-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.75rem auto 0; max-width: 900px; padding: 0; text-align: left; }
.hero-steps li { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.35rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); background: rgba(255,255,255,.04); }
.hero-steps .hs-n { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
.hero-steps b { font-family: var(--f-head); font-size: 1.2rem; color: #fff; letter-spacing: -.02em; }
.hero-steps li > span:last-child { color: var(--muted-dark); font-size: .925rem; line-height: 1.5; }
@media (max-width: 760px) {
  .hero-steps { grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.5rem; }
  .hero-steps li { padding: .8rem .75rem; gap: .15rem; }
  .hero-steps li > span:last-child { display: none; }
  .hero-steps b { font-size: 1rem; }
}

/* Endless rails (JS adds copies; free scroll instead of snap so the loop never fights the snap) */
.rail[data-loop] { scroll-snap-type: none; }
.rail-row2 { margin-top: 0; padding-top: 0; }
@media (max-width: 600px) {
  .rail[data-loop] { padding-bottom: .9rem; gap: .7rem; }
  .rail[data-loop] .vcard { width: 34vw; }
  .rail[data-loop] .vmeta { padding-top: .5rem; }
  .rail[data-loop] .vmeta b { font-size: .78rem; line-height: 1.25; }
  .rail[data-loop] .vmeta span { font-size: .72rem; }
  .rail[data-loop] .vtime { font-size: .65rem; }
  .rail[data-loop] .vplay { width: 46px; height: 46px; }
  .rail[data-loop] .vplay svg { width: 20px; height: 20px; margin-left: 2px; }
  .rail[data-loop] .shot { width: 62vw; }
}

/* ---- Home hero: wide, no side visual ---- */
.hero-solo .hero-copy { max-width: 1080px; }
.hero-solo h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); line-height: 1.02; max-width: none; margin-bottom: 1.6rem; }
.hero-solo .lede { max-width: 820px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hero-solo { padding-bottom: clamp(3rem, 6vw, 5rem); }


/* ---- About: founder block ---- */
.about-founder { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-photo { width: 100%; max-width: 300px; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 50px -28px rgba(11,11,12,.45); }
.about-founder-text { display: flex; flex-direction: column; gap: .9rem; }
.about-founder-text h2 { margin: 0; }
.about-role { color: var(--muted); font-weight: 500; margin-top: -.5rem; }
.about-founder-text p { font-size: 1.05rem; color: #2f343b; max-width: 60ch; }
.about-founder .founder-links { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: .5rem; }
.about-founder .btn svg { width: 18px; height: 18px; }
.about-founder .founder-more { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .about-founder { grid-template-columns: 1fr; } .about-photo { max-width: 220px; } }

/* About: numbers strip */
.about-nums-wrap { padding-block: clamp(1.25rem, 3vw, 2rem); }
.about-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-nums div { display: flex; flex-direction: column; gap: .3rem; padding-left: 1.1rem; border-left: 3px solid var(--accent); }
.about-nums b { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.about-nums span { color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .about-nums { grid-template-columns: 1fr; } }


/* ---- Home: contact strip ---- */
.contact-strip { background: var(--paper); }
.contact-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; margin-top: .5rem; }
.contact-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .2s, border-color .2s, box-shadow .2s; min-width: 0; }
.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(11, 11, 12, .08); }
.contact-card .cc-k { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #b4551a; }
.contact-card b { font-family: var(--f-head); font-size: 1.15rem; letter-spacing: -.015em; color: var(--ink); overflow-wrap: anywhere; }
.contact-card .cc-s { color: var(--muted); font-size: .9rem; }

/* ===== About page (company-focused) ===== */
.cs-wide { max-width: var(--max); }
.cs-wide .cs-sec > p { max-width: 74ch; }
.about-hero-stats { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-top: 2.25rem; }
@media (max-width: 560px) { .about-hero-stats { grid-template-columns: 1fr; } }
.about-grid, .role-grid, .journey { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: 1rem; }
.about-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.about-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.about-card .ac-n { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: #b4551a; }
.about-card b { font-family: var(--f-head); font-size: 1.2rem; letter-spacing: -.02em; }
.about-card span:last-child { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.journey { grid-template-columns: repeat(3, 1fr); counter-reset: j; }
.jstep { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.5rem 1.4rem 1.4rem; background: var(--ink); color: #fff; border-radius: var(--r-md); }
.jstep .jn { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-family: var(--f-head); }
.jstep b { font-family: var(--f-head); font-size: 1.15rem; letter-spacing: -.02em; margin-top: .35rem; }
.jstep span:last-child { color: var(--muted-dark); font-size: .925rem; line-height: 1.55; }
@media (max-width: 900px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }
.about-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-result { display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem; background: var(--ink); color: #fff; border: 1px solid var(--line-dark); border-radius: var(--r-md); transition: transform .2s, border-color .2s; }
.about-result:hover { transform: translateY(-3px); border-color: rgba(240,138,67,.6); }
.about-result b { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.about-result span { font-size: 1.05rem; }
.about-result em { font-style: normal; color: var(--muted-dark); font-size: .9rem; margin-top: .5rem; }
.about-result i { font-style: normal; color: var(--accent); font-weight: 600; font-size: .9rem; margin-top: auto; padding-top: .75rem; }
@media (max-width: 760px) { .about-results { grid-template-columns: 1fr; } }
.role-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.role { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.role-av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #2a2623, #121214); color: var(--accent); margin-bottom: .5rem; border: 1px solid rgba(240,138,67,.35); }
.role-av svg { width: 26px; height: 26px; }
.role b { font-family: var(--f-head); font-size: 1.02rem; letter-spacing: -.015em; }
.role span:last-child { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.about-mini { display: grid; grid-template-columns: 96px 1fr; gap: 1.5rem; align-items: center; padding: 1.5rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.about-mini-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.about-mini h3 { font-size: 1.25rem; margin: .1rem 0 .35rem; }
.about-mini p { font-size: .975rem; color: #2f343b; max-width: 62ch; }
.about-mini .founder-links { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .85rem; }
.about-mini .btn { padding: .55rem 1rem; font-size: .9rem; }
.about-mini .btn svg { width: 16px; height: 16px; }
.about-mini .founder-more { font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .about-mini { grid-template-columns: 1fr; } }
.about-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .about-grid { grid-template-columns: repeat(2, 1fr); } .about-grid .about-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .about-grid { grid-template-columns: 1fr; } }

/* ---- Stats: light cards that straddle the dark section above (breaks up the black stack) ---- */
.stats { --band: 64px; display: flex; flex-direction: column; border-top: 0; color: var(--text);
  background: linear-gradient(to bottom, var(--ink) 0, var(--ink) var(--band), var(--paper) var(--band), var(--paper) 100%);
  padding: 0 0 clamp(2.25rem, 5vw, 3.25rem); }
.stats-row { order: 1; gap: 1rem; }
.stats-row div { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem 1.5rem 1.35rem; box-shadow: 0 26px 50px -28px rgba(11, 11, 12, .5); }
.stats-row div::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--accent); }
.stats-row b { color: var(--ink); }
.stats-row span { color: var(--muted); }
.stats-cap { order: 2; text-align: center; color: var(--muted); margin: 1.5rem 0 0; }
.stats-note { order: 3; text-align: center; margin-top: .15rem; }
.stats-note a { color: #b4551a; }
@media (max-width: 600px) { .stats { --band: 44px; } .stats-row div { padding: 1.1rem 1rem; } }

/* ---- Video section: soft glow so it is not a flat black block ---- */
.proof { background: radial-gradient(900px 320px at 88% 0, rgba(240, 138, 67, .12), transparent 70%), var(--ink); }

/* ---- Home hero: client names ---- */
.hero-clients { margin: 2.25rem auto 0; max-width: 920px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem .9rem; color: rgba(255, 255, 255, .6); font-size: .9rem; }
.hero-clients span { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; color: var(--accent); margin-right: .35rem; }
.hero-clients i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); flex: none; }
@media (max-width: 600px) { .hero-clients { font-size: .82rem; margin-top: 1.75rem; gap: .35rem .75rem; } .hero-clients i { display: none; } }



/* ===== Result cards (no images) ===== */
.rh-card { padding: clamp(1.5rem, 3vw, 2.25rem); gap: .6rem; border: 1px solid transparent; }
.rh-card:hover { border-color: rgba(240,138,67,.55); }
.rh-card .case-metric { font-size: clamp(2.8rem, 5.2vw, 4.2rem); margin-top: .35rem; }
.rh-card .case-what { font-size: 1.15rem; margin-bottom: .5rem; }
.rh-card .case-more { align-self: flex-start; padding: .6rem 1.15rem; border: 1px solid rgba(240,138,67,.55); border-radius: 999px; margin-top: .75rem; transition: background .2s, color .2s; }
.rh-card:hover .case-more { background: var(--accent); color: var(--accent-ink); }
.results .rh-card { background: var(--ink-2); border-color: var(--line-dark); }
.results .rh-card:hover { border-color: rgba(240,138,67,.6); }
.rh-grid-home { padding-block: 0; }

/* ===== Case study page (segmented) ===== */
.csx-profile { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(1.75rem, 4vw, 2.75rem) 0; align-items: start; }
.csx-about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem 1.5rem; }
.csx-about .csx-about-main { grid-column: 1 / -1; }
.csx-about dt, .csx-key-label { font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #b4551a; margin-bottom: .25rem; }
.csx-about dd { font-size: 1rem; color: #2f343b; line-height: 1.5; }
.csx-chips { list-style: none; padding: 0; margin: .55rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.csx-chips li { padding: .4rem .85rem; border-radius: 999px; background: #f9e1cf; color: #7a3a10; font-size: .85rem; font-weight: 500; }
.csx-key { padding-block: clamp(1.5rem, 3vw, 2.25rem) 0; }
.csx-key-box { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.csx-key-label { color: var(--accent); }
.csx-big { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: .75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-dark); }
.csx-bigstat { display: flex; flex-direction: column; gap: .4rem; }
.csx-bigstat b { font-family: var(--f-head); font-weight: 800; font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: -.04em; line-height: .95; color: var(--accent); }
.csx-bigstat span { font-size: 1.1rem; color: #f1f1f1; }
.csx-small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; padding-top: 1.5rem; }
.csx-small div { display: flex; flex-direction: column; gap: .25rem; }
.csx-small b { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.csx-small span { color: var(--muted-dark); font-size: .875rem; }
.csx-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.csx-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: .2rem; border-left: 2px solid var(--line); }
.csx-toc p { font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 0 0 .5rem 1rem; }
.csx-toc a { padding: .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: .95rem; transition: color .2s, border-color .2s; }
.csx-toc a:hover, .csx-toc a.active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
.csx-main { max-width: 800px; }
.csx-sec { padding-block: 0 clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; scroll-margin-top: 100px; }
.csx-sec h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.csx-sec > p { font-size: 1.075rem; color: #2f343b; max-width: 66ch; }
.csx-figs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.csx-figs:empty { display: none; }
.csx-figs .cs-fig { margin: 0; }
.csx-figs .cs-fig:only-child, .csx-figs .cs-fig:nth-child(3):last-child { grid-column: 1 / -1; }
.csx-results { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.csx-results li { position: relative; padding: 1rem 1.1rem 1rem 2.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); color: #2f343b; line-height: 1.5; }
.csx-results li::before { content: ''; position: absolute; left: 1.05rem; top: 1.25rem; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.csx-cta { padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: .9rem; }
.csx-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
@media (max-width: 900px) {
  .csx-profile { grid-template-columns: 1fr; }
  .csx-layout { grid-template-columns: 1fr; }
  .csx-toc { position: static; flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); gap: 0; scrollbar-width: none; }
  .csx-toc::-webkit-scrollbar { display: none; }
  .csx-toc p { display: none; }
  .csx-toc a { flex: none; margin-left: 0; border-left: 0; border-bottom: 2px solid transparent; padding: .7rem 1rem; }
  .csx-toc a:hover, .csx-toc a.active { border-bottom-color: var(--accent); }
}
@media (max-width: 640px) {
  .csx-about { grid-template-columns: 1fr 1fr; }
  .csx-big { grid-template-columns: 1fr; gap: 1.25rem; }
  .csx-small { grid-template-columns: repeat(2, 1fr); }
  .csx-figs, .csx-results { grid-template-columns: 1fr; }
}

/* ---- Section separation pass ---- */
/* the glow rule above must not repaint the light screenshots section */
.proof.proof-alt { background: var(--paper); }
/* founder: warm band + white card, clearly a different block from its neighbours */
.founder { background: #f9ecdf; border-top: 4px solid var(--accent); border-bottom: 1px solid rgba(240, 138, 67, .3); }
.founder-grid { background: var(--white); border: 1px solid rgba(11, 11, 12, .08); border-radius: var(--r-lg); padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: 0 36px 70px -40px rgba(11, 11, 12, .4); max-width: 980px; }
/* "fit" sits between paper sections: give it white */
#fit { background: var(--white); }

/* ---- Alternating bands on the industry pages ---- */
/* light video block: readable meta text on paper */
.proof-alt .vmeta b { color: var(--ink); }
.proof-alt .vmeta span { color: var(--muted); }
/* dark stats variant (used after a light section) */
.stats.stats-dark { display: block; background: var(--ink); color: #fff; padding: clamp(2.5rem, 5vw, 3.75rem) 0; border-top: 1px solid var(--line-dark); }
.stats.stats-dark .stats-row div { background: none; border: 0; border-left: 1px solid var(--line-dark); border-radius: 0; box-shadow: none; padding: 0 0 0 1.5rem; overflow: visible; }
.stats.stats-dark .stats-row div::before { display: none; }
.stats.stats-dark .stats-row b { color: var(--accent); }
.stats.stats-dark .stats-row span { color: var(--muted-dark); }
.stats.stats-dark .stats-cap { text-align: left; color: var(--muted-dark); margin: 0 0 1.5rem; }
/* white bands where two cream sections would otherwise touch */
#why, #all { background: var(--white); }

/* Result card: big number, one "from -> to" line */
.rh-arc { color: #d6d6d9; font-size: 1.05rem; line-height: 1.5; max-width: 38ch; margin: .1rem 0 1rem; }

/* ---- Founder: one trust line instead of stat chips ---- */
.founder-trust { margin-top: 1.1rem; font-size: .95rem; color: var(--muted); }
.founder-trust span { display: inline-block; width: 8px; height: 8px; margin-right: .7rem; vertical-align: middle; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(240, 138, 67, .2); }
.founder-trust b { color: var(--ink); font-family: var(--f-head); }

/* ===== Industry pages hero: text left, large video right (one consolidated block) ===== */
.hero-stack .hero-grid {
  max-width: 1360px;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  grid-template-areas: "copy video" "actions video";
  column-gap: clamp(2rem, 4vw, 4rem); row-gap: 0;
  align-items: center; align-content: center; justify-items: stretch; text-align: left;
}
.hero-stack .hero-copy { grid-area: copy; max-width: none; align-self: end; padding-bottom: 1.75rem; }
.hero-stack .hero-actions { grid-area: actions; align-self: start; display: flex; flex-direction: column; gap: 1.25rem; }
.hero-stack .vsl { grid-area: video; width: 100%; max-width: none; justify-self: stretch; }
.hero-stack .video-frame { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.hero-stack h1 { font-size: clamp(1.9rem, 3.1vw, 2.9rem); line-height: 1.07; max-width: none; margin: 0 0 1.1rem; }
.hero-stack .lede { font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 46ch; margin: 0; }
.hero-stack .eyebrow { justify-content: flex-start; }
.hero-stack .hero-cta, .hero-stack .hero-proof { justify-content: flex-start; }
.hero-stack .hero-proof { margin-top: 0; flex-direction: column; gap: .35rem; }
@media (max-width: 1024px) {
  .hero-stack .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "video" "actions"; row-gap: 0; text-align: center; max-width: var(--max); }
  .hero-stack .hero-copy { padding-bottom: 1.75rem; }
  .hero-stack .lede { margin-inline: auto; max-width: 62ch; }
  .hero-stack .eyebrow, .hero-stack .hero-cta { justify-content: center; }
  .hero-stack .hero-actions { align-items: center; padding-top: 1.75rem; }
  .hero-stack .hero-proof { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; }
}
@media (max-width: 600px) { .hero-stack .hero-proof { flex-direction: column; gap: .35rem; } }


/* ===== Audit fixes (mobile) ===== */
/* case study text was wider than the screen: grid column must be allowed to shrink */
.csx-layout { grid-template-columns: 200px minmax(0, 1fr); }
@media (max-width: 900px) { .csx-layout { grid-template-columns: minmax(0, 1fr); } }
.csx-main, .csx-sec { min-width: 0; }

/* video labels: readable on phones */
@media (max-width: 600px) {
  .rail[data-loop] .vmeta b { font-size: .85rem; }
  .rail[data-loop] .vmeta span { font-size: .78rem; }
  .rail[data-loop] .vtime { font-size: .72rem; }
  .eyebrow, .post-cat, .rh-tag, .cs-label, .csx-about dt, .csx-key-label { font-size: .78rem; }
}
/* overview video: no text label on top of the still frame */
.video-ph-text { display: none; }

/* screenshots on phones: one row, large enough to read, tap to zoom */
@media (max-width: 600px) { .rail[data-loop] .shot { width: 88vw; cursor: zoom-in; } }
.shot img { cursor: zoom-in; }

/* tables without a header row stack on phones instead of scrolling sideways */
@media (max-width: 600px) {
  .tbl { min-width: 0; }
  .tbl:not(:has(thead)), .tbl:not(:has(thead)) tbody, .tbl:not(:has(thead)) tr, .tbl:not(:has(thead)) th, .tbl:not(:has(thead)) td { display: block; width: 100%; }
  .tbl:not(:has(thead)) tbody th { width: 100%; padding-bottom: .15rem; border-bottom: 0; background: transparent; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: #b4551a; }
  .tbl:not(:has(thead)) td { padding-top: 0; }
  .tbl:not(:has(thead)) tr { border-bottom: 1px solid var(--line); }
  .tbl:not(:has(thead)) tbody tr:last-child { border-bottom: 0; }
}

/* lightbox */
body.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 8, 9, .94); display: flex; flex-direction: column; }
.lb-x { position: absolute; top: max(.5rem, env(safe-area-inset-top)); right: .75rem; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.9rem; line-height: 1; }
.lb-scroll { flex: 1; overflow: auto; display: flex; align-items: flex-start; justify-content: flex-start; padding: 4rem 0 1rem; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; }
.lb-scroll img { flex: none; width: 190vw; max-width: none; height: auto; margin: auto; background: #fff; border-radius: 6px; }
.lb-hint { text-align: center; color: rgba(255,255,255,.65); font-size: .8rem; padding: .5rem 1rem 1rem; }
@media (min-width: 861px) { .lb-scroll { align-items: center; justify-content: center; padding: 3.5rem 2rem 1rem; } .lb-scroll img { width: auto; max-width: min(94vw, 1400px); max-height: 84vh; } }

/* ===== Mobile scheduling card ===== */
.cal-mobile-card { display: none; }
@media (max-width: 860px) {
  .cal-mobile-card { display: block; padding: 1.5rem 1.25rem 1.4rem; }
  .cm-eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #b4551a; }
  .cm-title { font-family: var(--f-head); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; margin: .3rem 0 1rem; line-height: 1.2; }
  .cm-month { font-weight: 600; color: var(--muted); font-size: .9rem; margin-bottom: .6rem; }
  .cm-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.1rem; min-height: 72px; }
  .cm-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 72px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: background .15s, border-color .15s; }
  .cm-day span { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .cm-day b { font-family: var(--f-head); font-size: 1.6rem; line-height: 1; }
  .cm-day:active, .cm-day:hover { background: #fdeee0; border-color: var(--accent); }
  .cm-steps { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; counter-reset: cm; }
  .cm-steps li { counter-increment: cm; font-size: .8rem; color: var(--muted); line-height: 1.35; text-align: center; }
  .cm-steps li::before { content: counter(cm); display: block; width: 24px; height: 24px; margin: 0 auto .35rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; line-height: 24px; }
  .cal-mobile-card .btn { width: 100%; justify-content: center; }
}
.shot img { height: auto; }
.tap-hint { display: none; }
@media (max-width: 600px) { .tap-hint { display: inline; font-weight: 600; color: #b4551a; } }

/* case study data table: one card per row on phones (no sideways scrolling) */
@media (max-width: 640px) {
  .cs-table-wrap { overflow: visible; border: 0; background: transparent; }
  .cs-table { min-width: 0; display: block; }
  .cs-table thead { display: none; }
  .cs-table tbody { display: grid; gap: .75rem; }
  .cs-table tr { display: block; padding: .9rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
  .cs-table tbody th { display: block; text-align: left; padding: 0 0 .5rem; border: 0; font-weight: 600; font-size: .95rem; }
  .cs-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border: 0; text-align: right; font-size: .9rem; }
  .cs-table td::before { content: attr(data-label); color: var(--muted); text-align: left; }
}
.cal-wrap .cal-mobile-card { padding-inline: 0; }
@media (max-width: 860px) { .cal-wrap + .contact-cards .contact-card[href*="calendly"] { display: none; } }
