/* Gochi Hand, latin */
@font-face { font-family: 'Gochi Hand'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/gochi-hand-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Mona Sans, latin-ext */
@font-face { font-family: 'Mona Sans'; font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; src: url(fonts/mona-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Mona Sans, latin */
@font-face { font-family: 'Mona Sans'; font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; src: url(fonts/mona-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/*
  Marla Marketing design system
  Layout: bold colour fields, oversized condensed headlines, outlined "artefacts" with hard shadows,
  and hand-drawn annotations. Tangerine belongs to launch, cobalt to growth, ink to the agency itself.
  A deliberate single look: every colour is set explicitly.
*/
:root {
  /* Colour */
  --ink: #0E0E12;
  --ink-soft: #33333D;
  --mute: #5C5C68;
  --bone: #F3F2EE;
  --paper: #FFFFFF;
  --cobalt: #2B2EFF;
  --cobalt-deep: #1D1FC4;
  --tangerine: #FF6A1F;
  --tangerine-deep: #D9500C;
  --tangerine-ink: #B4440A;   /* tangerine for text on light backgrounds (AA contrast) */
  --ice: #E6E7FF;
  --peach: #FFE2D2;
  --hl-warm: #FFC7A6;
  --ok: #0B7A40;
  --warn: #B86E00;
  --bad: #D3261E;
  --error: #C4161C;
  --line: rgba(14, 14, 18, 0.14);
  --line-strong: rgba(14, 14, 18, 0.3);
  --scrim: rgba(14, 14, 18, 0.55);

  /* Type */
  --f: "Mona Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hand: "Gochi Hand", "Marker Felt", "Comic Sans MS", cursive;

  /* Context (light surfaces by default) */
  --fg: var(--ink);
  --muted: var(--mute);
  --rule: var(--line);
  --rule-strong: var(--line-strong);
  --hl: var(--hl-warm);
  --accent: var(--cobalt);
  --focus: var(--cobalt);

  /* Page mood (each page overrides) */
  --mood: var(--ink);
  --on-mood: var(--paper);
  --mood-muted: #B9B9C6;

  /* Layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --hdr: 68px;
  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 9px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 20px); background: var(--bone); }
html.tk-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f);
  font-size: 1.0625rem;
  font-weight: 430;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -120px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--tangerine); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }
.i { width: 1.1em; height: 1.1em; flex: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Surfaces ---------- */
.bg-bone { background-color: var(--bone); }
.bg-paper { background-color: var(--paper); }
.bg-bone, .bg-paper { --fg: var(--ink); --muted: var(--mute); --rule: var(--line); --rule-strong: var(--line-strong); --hl: var(--hl-warm); --accent: var(--cobalt); --focus: var(--cobalt); color: var(--fg); }
.bg-cobalt { background-color: var(--cobalt); --fg: var(--paper); --muted: rgba(255, 255, 255, 0.82); --rule: rgba(255, 255, 255, 0.24); --rule-strong: rgba(255, 255, 255, 0.5); --hl: var(--tangerine); --accent: #FFD3BA; --focus: var(--paper); color: var(--fg); }
.bg-tang { background-color: var(--tangerine); --fg: var(--ink); --muted: rgba(14, 14, 18, 0.8); --rule: rgba(14, 14, 18, 0.22); --rule-strong: rgba(14, 14, 18, 0.45); --hl: var(--paper); --accent: var(--ink); --focus: var(--ink); color: var(--fg); }
.bg-ink { background-color: var(--ink); --fg: var(--paper); --muted: #B9B9C6; --rule: rgba(255, 255, 255, 0.16); --rule-strong: rgba(255, 255, 255, 0.36); --hl: var(--tangerine); --accent: var(--tangerine); --focus: var(--tangerine); color: var(--fg); }
.bg-mood { background-color: var(--mood); --fg: var(--on-mood); --muted: var(--mood-muted); color: var(--fg); }

/* ---------- Type ---------- */
.d-hero, .d-1, .d-2, .d-3 { font-family: var(--f); font-weight: 860; font-stretch: 78%; letter-spacing: -0.022em; }
.d-hero { font-size: clamp(3.3rem, 1.25rem + 8.1vw, 9rem); line-height: 0.86; }
.d-1 { font-size: clamp(2.7rem, 1.2rem + 5.6vw, 6.6rem); line-height: 0.88; }
.d-2 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); line-height: 0.92; }
.d-3 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem); line-height: 0.98; font-stretch: 82%; letter-spacing: -0.015em; }
.t-h { font-weight: 750; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem); line-height: 1.15; letter-spacing: -0.012em; }
.lede { font-size: clamp(1.12rem, 1rem + 0.45vw, 1.36rem); line-height: 1.5; font-weight: 450; color: var(--muted); max-width: 36em; }
.label { font-stretch: 118%; font-weight: 680; font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.3; }
.hand { font-family: var(--hand); font-weight: 400; letter-spacing: 0.005em; line-height: 1.1; }
.muted { color: var(--muted); }

/* Marker highlight for running text */
.mk { background: linear-gradient(100deg, transparent 0.6%, var(--hl) 2%, var(--hl) 97.5%, transparent 99%) 0 62% / 100% 58% no-repeat; padding-inline: 0.12em; margin-inline: -0.06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.bg-cobalt .mk, .bg-ink .mk { color: var(--ink); background-size: 100% 92%; background-position: 0 50%; border-radius: 0.15em; }

/* Hand-drawn underline that sits under a headline word */
.u-hand { position: relative; display: inline-block; white-space: nowrap; }
.u-hand > svg { position: absolute; left: -2%; right: -2%; width: 104%; max-width: none; bottom: -0.16em; height: 0.24em; overflow: visible; color: var(--u-color, var(--tangerine)); stroke-width: clamp(5px, 0.75vw, 10px); pointer-events: none; }
.ring-hand { position: relative; display: inline-block; white-space: nowrap; }
.ring-hand > svg { position: absolute; left: -9%; top: -16%; width: 118%; height: 132%; max-width: none; overflow: visible; color: var(--u-color, var(--tangerine)); stroke-width: 3px; pointer-events: none; }

/* Stickers and annotations */
.sticker { display: inline-block; font-family: var(--hand); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); line-height: 1.15; transform: rotate(-2.5deg); transform-origin: left center; }
.sticker svg { display: inline-block; vertical-align: middle; margin-left: 0.2em; }
.pill-sticker { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.4em 1.05em 0.34em; border: 2px solid currentColor; border-radius: 999px; font-family: var(--hand); font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.45rem); line-height: 1.1; transform: rotate(-3deg); background: var(--paper); color: var(--ink); }
.note { position: absolute; z-index: 2; display: flex; align-items: flex-start; gap: 6px; font-family: var(--hand); font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.3rem); line-height: 1.1; color: var(--note, currentColor); pointer-events: none; }
.note svg { flex: none; overflow: visible; }

/* ---------- Buttons and links ---------- */
.btn {
  --bg: var(--tangerine); --fg-b: var(--ink); --bd: var(--ink); --sh: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 56px; padding: 0 1.55em; border: 2px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg-b); box-shadow: 4px 4px 0 var(--sh);
  font-family: var(--f); font-weight: 720; font-stretch: 106%; font-size: 1rem; line-height: 1.1; letter-spacing: 0.003em;
  text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sh); }
/* On the narrowest phones a long label wraps onto two lines instead of running off the screen */
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sh); }
.btn .i { width: 1.15em; height: 1.15em; transition: transform 0.16s ease; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-ink { --bg: var(--ink); --fg-b: var(--paper); --bd: var(--ink); --sh: var(--paper); }
.btn-cobalt { --bg: var(--cobalt); --fg-b: var(--paper); --bd: var(--ink); --sh: var(--ink); }
.btn-paper { --bg: var(--paper); --fg-b: var(--ink); --bd: var(--ink); --sh: var(--ink); }
.bg-ink .btn:not(.btn-ink):not(.btn-ghost) { --bd: var(--tangerine); --sh: var(--tangerine-deep); }
.btn-ghost { --bg: transparent; --fg-b: currentColor; --bd: currentColor; box-shadow: none; }
.btn-ghost:hover, .btn-ghost:active { box-shadow: none; transform: none; background: rgba(127, 127, 127, 0.12); }
.btn-sm { min-height: 44px; padding: 0 1.15em; font-size: 0.92rem; box-shadow: 3px 3px 0 var(--sh); }
.btn-sm:hover { box-shadow: 4px 4px 0 var(--sh); }
.btn-lg { min-height: 62px; padding: 0 1.85em; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn[disabled] { cursor: not-allowed; opacity: 0.45; transform: none; box-shadow: none; }
.btn.is-busy { cursor: progress; opacity: 1; }
.btn.is-busy .i { display: none; }
.btn.is-busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
.label-short { display: none; }

.tlink { appearance: none; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 680; color: var(--fg); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--rule-strong); }
.tlink:hover { text-decoration-color: currentColor; }
.tlink .i { width: 1em; height: 1em; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.micro { font-size: 0.93rem; line-height: 1.45; color: var(--muted); max-width: 30em; }
.next-slot { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.55em; font-size: 0.93rem; font-weight: 600; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--rule-strong); }
.next-slot:hover { text-decoration-color: currentColor; }
.next-slot[hidden] { display: none; }
.live-dot { position: relative; width: 9px; height: 9px; flex: none; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 2px var(--paper); }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #22C55E; animation: ping 2.2s ease-out infinite; }

/* ---------- Announcement bar ---------- */
.ann { position: relative; z-index: 41; background: var(--ink); color: var(--paper); font-size: 0.88rem; }
.ann-inner { display: flex; align-items: center; justify-content: center; gap: 10px 16px; min-height: 42px; padding-block: 8px; text-align: center; flex-wrap: wrap; }
.ann .ann-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tangerine); flex: none; }
.ann button { appearance: none; border: 0; background: none; padding: 0; color: var(--tangerine); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--hdr-bg, var(--mood)); color: var(--hdr-fg, var(--on-mood)); transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.hdr.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 18px 30px -28px rgba(14, 14, 18, 0.45); }
.hdr-inner { display: flex; align-items: center; gap: 28px; min-height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word { font-weight: 880; font-stretch: 84%; font-size: 1.85rem; line-height: 1; letter-spacing: -0.03em; }
.hdr-nav { display: flex; gap: 26px; margin-left: auto; }
.hdr-nav a { text-decoration: none; font-weight: 600; font-size: 0.97rem; opacity: 0.85; white-space: nowrap; }
.hdr-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hdr .hdr-cta { margin-left: auto; }
.hdr-nav + .hdr-cta { margin-left: 0; }
.hdr.on-tang .hdr-cta { --bg: var(--ink); --fg-b: var(--paper); --bd: var(--ink); --sh: var(--paper); }
.hdr.is-solid .hdr-cta { --bg: var(--tangerine); --fg-b: var(--ink); --bd: var(--ink); --sh: var(--ink); }

/* ---------- Generic sections ---------- */
.sec { position: relative; padding-block: clamp(80px, 9.5vw, 150px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head .lede { justify-self: start; }
.stack { display: flex; flex-direction: column; gap: 18px; }

/* Outlined artefacts */
.art { position: relative; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--ink); --fg: var(--ink); --muted: var(--mute); --rule: var(--line); --rule-strong: var(--line-strong); --focus: var(--cobalt); }
.art-flat { box-shadow: none; }
.bg-ink .art { box-shadow: 8px 8px 0 var(--tangerine); }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 0.45em; min-height: 40px; padding: 0 1em; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 650; font-size: 0.95rem; cursor: pointer; transition: background-color 0.12s ease, color 0.12s ease, transform 0.12s ease; }
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"], .chip[aria-checked="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* Tags */
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 0.8em; border-radius: 999px; border: 1.5px solid var(--rule-strong); font-size: 0.86rem; font-weight: 600; }

/* ---------- Process track (a real sequence) ---------- */
.track { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--fg); }
.track > li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 34px 26px 6px 0; }
.track > li + li { padding-left: 26px; border-left: 1.5px solid var(--rule); }
.track > li::before { content: ""; position: absolute; top: -11px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--bone); border: 3px solid var(--fg); }
.track > li + li::before { left: 26px; }
.track > li:first-child::before { background: var(--tangerine); }
.track .when { color: var(--accent); }
.track p { color: var(--muted); }
.bg-paper .track > li::before { background: var(--paper); }
.bg-paper .track > li:first-child::before, .bg-bone .track > li:first-child::before { background: var(--tangerine); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 6vw, 100px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--hdr) + 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.faq-list details { border-top: 2px solid var(--fg); }
.faq-list details:last-child { border-bottom: 2px solid var(--fg); }
.faq-list summary { position: relative; display: block; padding: 22px 52px 22px 0; cursor: pointer; list-style: none; font-weight: 720; font-size: clamp(1.08rem, 1rem + 0.3vw, 1.25rem); line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 0; top: 50%; margin-top: -15px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; transition: transform 0.2s ease, background-color 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .a { max-width: 42em; padding: 0 0 26px; color: var(--muted); }
.faq-list .a p + p { margin-top: 10px; }

/* ---------- Hiring calculator (shared) ---------- */
.hire { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.roles { display: grid; gap: 12px; }
.role { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; transition: background-color 0.12s ease, transform 0.12s ease; }
.role:hover { transform: translateY(-1px); }
.role .box { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); }
.role .box svg { width: 18px; height: 18px; opacity: 0; transition: opacity 0.12s ease; }
.role[aria-pressed="true"] { background: var(--peach); }
.role[aria-pressed="true"] .box { background: var(--ink); color: var(--paper); }
.role[aria-pressed="true"] .box svg { opacity: 1; }
.role-name { display: block; font-weight: 720; font-size: 1.04rem; line-height: 1.25; }
.role-does { display: block; font-size: 0.9rem; color: var(--mute); line-height: 1.35; margin-top: 2px; }
.role-pay { font-weight: 720; }
.hire-out { padding: clamp(22px, 3vw, 32px); }
.hire-total { display: block; margin: 8px 0 4px; font-weight: 880; font-stretch: 78%; font-size: clamp(3.2rem, 2rem + 4vw, 5.2rem); line-height: 0.9; letter-spacing: -0.025em; }
.hire-month { font-weight: 650; font-size: 1.12rem; }
.hire-break { display: grid; gap: 8px; margin: 20px 0 22px; padding-top: 16px; border-top: 1.5px dashed var(--line-strong); font-size: 0.95rem; }
.hire-break div { display: flex; justify-content: space-between; gap: 12px; }
.hire-break dd { font-weight: 680; margin: 0; }
.hire-break dt { color: var(--mute); }
.hire-or { padding-top: 20px; border-top: 2px solid var(--ink); }
.hire-or .d-3 { margin-bottom: 10px; }
.footnote { margin-top: 18px; font-size: 0.8rem; line-height: 1.45; color: var(--muted); max-width: 52em; }

/* ---------- Final call to action with the sentence form ---------- */
.final { position: relative; padding-block: clamp(80px, 9vw, 140px); }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.final-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; }
.slot-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.slot-strip .label { margin-right: 6px; color: var(--muted); }
.slot-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 112px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--paper); color: var(--ink); cursor: pointer; text-align: left; box-shadow: 3px 3px 0 var(--ink); transition: transform 0.12s ease, box-shadow 0.12s ease; }
.slot-chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.slot-chip .sc-day { font-size: 0.78rem; font-weight: 650; color: var(--mute); }
.slot-chip .sc-time { font-weight: 860; font-stretch: 80%; font-size: 1.45rem; line-height: 1; }
.slot-chip.is-skel { width: 112px; height: 62px; border-color: transparent; box-shadow: none; background: linear-gradient(90deg, rgba(255,255,255,.5), rgba(255,255,255,.85), rgba(255,255,255,.5)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; cursor: default; }

/* Sentence ("mad libs") form */
.ml { position: relative; font-weight: 700; font-stretch: 92%; font-size: clamp(1.45rem, 1rem + 1.9vw, 2.6rem); line-height: 1.75; letter-spacing: -0.012em; }
.ml p { text-wrap: wrap; }
.ml .slot { position: relative; display: inline-block; vertical-align: baseline; max-width: 100%; }
.tk .ml { font-size: clamp(1.2rem, 0.95rem + 0.85vw, 1.7rem); line-height: 1.85; }
.ml input, .ml select, .ml textarea {
  appearance: none; -webkit-appearance: none; min-width: 5ch; max-width: 100%;
  padding: 0 0.12em 0.02em; margin: 0 0.05em; border: 0; border-bottom: 0.09em solid currentColor; border-radius: 0;
  background: transparent; color: inherit; font: inherit; line-height: 1.25; letter-spacing: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.ml input::placeholder, .ml textarea::placeholder { color: currentColor; opacity: 0.42; }
.ml input:focus, .ml select:focus, .ml textarea:focus { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 0.1em; background: rgba(127, 127, 127, 0.16); border-bottom-color: var(--ml-focus, currentColor); }
.ml select { padding-right: 1.05em; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-size: 0.28em 0.28em, 0.28em 0.28em; background-position: calc(100% - 0.42em) 58%, calc(100% - 0.14em) 58%; background-repeat: no-repeat; }
.ml select option { color: var(--ink); background: var(--paper); font-size: 1rem; font-weight: 500; }
.ml [aria-invalid="true"] { border-bottom-color: var(--error); border-bottom-style: dashed; }
.ml .opt { font-family: var(--hand); font-weight: 400; font-size: 0.6em; letter-spacing: 0; opacity: 0.8; margin-left: 0.2em; }
.ml-mission { width: 100%; }
.ml-errors { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ml-errors li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--paper); color: var(--error); border: 1.5px solid var(--error); font-size: 0.9rem; font-weight: 650; line-height: 1.2; }
.ml-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.ml-privacy { font-size: 0.86rem; color: var(--muted); max-width: 30em; }
.ml-privacy a { white-space: nowrap; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.ftr { padding-block: clamp(64px, 7vw, 100px) calc(40px + env(safe-area-inset-bottom, 0px)); }
.ftr-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; align-items: start; }
.ftr-top > :first-child { grid-column: 1 / -1; margin-bottom: clamp(8px, 2vw, 28px); }
.ftr .big { font-weight: 880; font-stretch: 78%; font-size: clamp(3rem, 1.6rem + 5vw, 6.5rem); line-height: 0.86; letter-spacing: -0.03em; }
.ftr-links { display: grid; gap: 10px; }
.ftr-links a { color: var(--muted); text-decoration: none; font-weight: 550; overflow-wrap: anywhere; }
.ftr-links a:hover { color: var(--fg); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.86rem; color: var(--muted); }
.ftr-bottom a { color: var(--muted); }

/* ---------- Mobile booking bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--paper); border-top: 2px solid var(--ink); transform: translateY(110%); visibility: hidden; transition: transform 0.28s ease, visibility 0s linear 0.28s; }
.mbar.is-on { transform: none; visibility: visible; transition: transform 0.28s ease, visibility 0s; }
.mbar p { flex: 1; min-width: 0; font-size: 0.82rem; line-height: 1.3; color: #C9C9D4; }
.mbar p strong { display: block; color: var(--paper); font-weight: 700; }
.mbar .btn { --bd: var(--tangerine); --sh: var(--tangerine-deep); }

/* ---------- Booking takeover ---------- */
.tk { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--mood); color: var(--on-mood); --fg: var(--on-mood); --muted: var(--mood-muted); }
.tk::backdrop { background: var(--scrim); }
.tk[open] { display: flex; flex-direction: column; animation: tk-in 0.38s cubic-bezier(0.2, 0.75, 0.2, 1); }
.tk-top { display: flex; align-items: center; gap: 18px; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px; }
.tk-top .logo-word { font-size: 1.6rem; }
.tk-prog { list-style: none; display: flex; gap: 6px; margin-left: auto; }
.tk-prog li { width: 34px; height: 6px; border-radius: 999px; background: currentColor; opacity: 0.25; transition: opacity 0.2s ease, width 0.2s ease; }
.tk-prog li.is-done { opacity: 0.7; }
.tk-prog li.is-now { opacity: 1; width: 52px; }
.tk-close { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 2px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.tk-close:hover { background: rgba(127, 127, 127, 0.15); }
.tk-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.tk-step { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(18px, 4vh, 56px) var(--gutter) calc(48px + env(safe-area-inset-bottom, 0px)); }
.tk-lead { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.tk-lead .d-2:focus { outline: none; }
.tk-lead .lede { color: var(--muted); }
.tk-facts { list-style: none; display: grid; gap: 10px; font-weight: 600; }
.tk-facts li { display: flex; align-items: center; gap: 10px; }
.tk-facts .i { width: 20px; height: 20px; }
.tk-back { align-self: flex-start; }
.tk-panel { padding: clamp(20px, 3vw, 36px); }
.tk-chosen { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 2px solid currentColor; border-radius: var(--r-md); }
.tk-chosen .label { opacity: 0.8; }
.tk-chosen strong { font-weight: 860; font-stretch: 82%; font-size: 1.5rem; line-height: 1.1; }
.tk-context { padding: 12px 16px; border: 2px dashed currentColor; border-radius: var(--r-md); font-weight: 600; line-height: 1.4; max-width: 30em; }
.tk-preview-note { font-family: var(--hand); font-size: 1.15rem; line-height: 1.2; opacity: 0.9; transform: rotate(-1.5deg); }

/* Qualifier options */
.q-opts { display: grid; gap: 12px; }
.q-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease; }
.q-opt:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--peach); }
.q-opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.q-opt strong { display: block; font-weight: 760; font-size: 1.12rem; line-height: 1.25; }
.q-opt > span { display: block; }
.q-opt > span > span { display: block; font-size: 0.92rem; color: inherit; opacity: 0.8; margin-top: 2px; }
.q-opt .i { width: 22px; height: 22px; }

/* Calendar and times inside the panel */
.tz-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 18px; font-size: 0.92rem; color: var(--mute); }
.tz-row select { appearance: none; -webkit-appearance: none; max-width: 100%; padding: 9px 34px 9px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper) linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 17px) 52% / 6px 6px no-repeat, var(--paper) linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 11px) 52% / 6px 6px no-repeat; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.clock { display: inline-flex; margin-left: auto; padding: 3px; border: 2px solid var(--ink); border-radius: 999px; }
.clock button { appearance: none; padding: 6px 11px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-weight: 700; font-size: 0.8rem; cursor: pointer; }
.clock button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.picker { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cal-month { font-weight: 760; }
.cal-nav { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow span { padding-block: 8px; text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.cal-day { display: grid; place-items: center; width: 100%; max-width: 48px; aspect-ratio: 1; margin-inline: auto; border: 0; border-radius: 12px; background: transparent; color: rgba(14, 14, 18, 0.3); font-weight: 600; font-size: 0.95rem; }
.cal-day.has { background: var(--ice); color: var(--ink); font-weight: 780; cursor: pointer; }
.cal-day.has:hover { background: #CFD0FF; }
.cal-day.is-sel { background: var(--cobalt); color: var(--paper); }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--ink); }
.slots-day { font-weight: 760; }
.slots-count { margin: 2px 0 12px; font-size: 0.86rem; color: var(--mute); }
.slot-periods { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.slot-period { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: background-color 0.12s ease, color 0.12s ease; }
.slot-period small { font-size: 0.76rem; font-weight: 700; opacity: 0.6; }
.slot-period:hover { background: var(--peach); }
.slot-period[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.slot-period[aria-pressed="true"] small { opacity: 0.8; }
.slot-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 330px; overflow-y: auto; padding: 3px 5px 3px 2px; }
.slot-btn { min-height: 48px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 720; font-size: 1rem; cursor: pointer; transition: background-color 0.12s ease, color 0.12s ease; }
.slot-btn:hover { background: var(--peach); }
.slot-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pk-state { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; border: 2px dashed var(--line-strong); border-radius: var(--r-md); color: var(--mute); }
.pk-state strong { color: var(--ink); }
.pk-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pk-state a:not(.btn) { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.skel-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
.skel-row span { height: 44px; border-radius: 12px; background: linear-gradient(90deg, #ECECF2, #F7F7FA, #ECECF2); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.pk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 22px; padding-top: 18px; border-top: 2px solid var(--ink); }
.alert { padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: var(--error); font-weight: 600; font-size: 0.94rem; margin-top: 16px; }
.callback { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; padding: 18px; border-radius: var(--r-md); background: var(--peach); }
.callback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* Done */
.done-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.done-mark svg { width: 36px; height: 36px; }
.done-card { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border: 2px solid var(--ink); border-radius: var(--r-md); margin: 0; }
.done-card > div { padding: 14px 16px; min-width: 0; }
.done-card > div + div { border-left: 2px solid var(--ink); }
.done-card dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute); }
.done-card dd { margin: 6px 0 0; font-weight: 720; line-height: 1.3; }
.done-card dd small { display: block; margin-top: 3px; font-weight: 500; font-size: 0.86rem; color: var(--mute); }
.done-card a { color: var(--cobalt); }
.done-next { margin-top: 22px; }
.done-next ul { list-style: none; display: grid; gap: 10px; margin-top: 10px; }
.done-next li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink-soft); }
.done-next li svg { width: 22px; height: 22px; color: var(--tangerine-deep); }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.preview-note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 2px dashed var(--line-strong); font-size: 0.88rem; color: var(--mute); }

/* ---------- Review bar (preview only) ---------- */
.rv { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: calc(100% - 32px); font-family: var(--f); font-size: 13px; line-height: 1.3; color: #F1F1F6; }
.rv-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 999px; background: #1B1B22; color: #F1F1F6; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.rv-toggle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.rv-panel { display: grid; gap: 10px; width: 300px; max-width: 100%; margin-bottom: 8px; padding: 14px; border-radius: 14px; background: #1B1B22; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.55); }
.rv-panel p { color: #B9B9C6; }
.rv-row { display: grid; gap: 5px; }
.rv-row > span { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9A9AA8; }
.rv-pages { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-pages a { padding: 6px 10px; border-radius: 999px; background: #2A2A33; color: #F1F1F6; text-decoration: none; font-weight: 600; }
.rv-pages a[aria-current="page"] { background: #F1F1F6; color: #1B1B22; }
.rv select { width: 100%; padding: 7px 9px; border: 1px solid #3A3A44; border-radius: 8px; background: #2A2A33; color: #F1F1F6; font-size: 13px; }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; }
.rv-head button { appearance: none; border: 0; background: none; color: #B9B9C6; cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 6px; }

/* ---------- Case studies ---------- */
:root { --good: #0B7A40; --chart-accent: #2B2EFF; --chart-muted: #8E8E9B; --chart-base: #C3C3CC; }
.st-num { display: block; font-weight: 880; font-stretch: 78%; letter-spacing: -0.025em; line-height: 0.9; }
.st-lab { display: block; font-weight: 680; line-height: 1.3; }
.st-was { display: block; color: var(--muted); line-height: 1.4; }
.st-per { display: block; color: var(--muted); font-stretch: 118%; font-weight: 680; font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.3; }
.bg-ink .st-num { color: var(--tangerine); }

/* Case study hero */
.cs-hero { padding-block: clamp(22px, 3vw, 40px) clamp(56px, 7vw, 104px); }
.cs-back { margin-bottom: clamp(30px, 4.5vw, 60px); font-size: 0.95rem; color: var(--fg); }
.cs-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cs-hero-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; }
.cs-title { max-width: 13ch; }
.cs-title .u-hand { --u-color: var(--tangerine); }
.bg-tang .cs-title .u-hand { --u-color: var(--paper); }
.cs-stand { max-width: 30em; padding-bottom: 0.3em; }
.cs-stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(44px, 6vw, 80px); border-top: 3px solid currentColor; }
.cs-stats li { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 4px 0; }
.cs-stats li + li { padding-left: 28px; border-left: 1.5px solid var(--rule-strong); }
.cs-stats .st-num { font-size: clamp(3.4rem, 1.5rem + 5.2vw, 6.8rem); }
.cs-stats .st-lab { font-size: 1.05rem; max-width: 22em; }
.cs-stats .st-was { font-size: 0.97rem; }

/* At a glance and the challenge */
.cs-intro-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.glance { padding: clamp(22px, 2.6vw, 30px); }
.glance h2 { margin-bottom: 8px; color: var(--mute); }
.glance dl { margin: 0; }
.glance dl > div { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 4px 16px; padding: 13px 0; border-top: 1.5px dashed var(--line-strong); }
.glance dt { font-weight: 720; font-size: 0.93rem; line-height: 1.45; }
.glance dd { margin: 0; font-size: 0.97rem; line-height: 1.45; color: var(--ink-soft); }
.glance dd::first-letter { text-transform: uppercase; }
.cs-challenge { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.cs-challenge .d-2 { margin-bottom: 4px; }
.cs-challenge .lede { color: var(--ink); max-width: 34em; }
.cs-challenge p:not(.lede) { font-size: 1.12rem; color: var(--ink-soft); max-width: 38em; }

/* What we did: a real sequence, so the steps are numbered */
.cs-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border-top: 3px solid var(--ink); }
.cs-steps li { counter-increment: step; display: flex; flex-direction: column; gap: 14px; padding: 28px 30px 6px 0; }
.cs-steps li + li { padding-left: 30px; border-left: 1.5px solid var(--line); }
.cs-steps li::before { content: counter(step); content: counter(step) / ""; font-weight: 880; font-stretch: 78%; font-size: clamp(3.6rem, 2.4rem + 3vw, 5.4rem); line-height: 0.8; letter-spacing: -0.03em; color: var(--case-accent, var(--cobalt)); }
.cs-steps p { color: var(--ink-soft); }

/* Results tables */
.cs-results .d-1 { margin-bottom: clamp(36px, 5vw, 64px); }
.cs-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 470px), 1fr)); gap: clamp(36px, 4vw, 52px) clamp(28px, 4vw, 64px); align-items: start; }
.rt { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.rt caption { caption-side: top; padding-bottom: 14px; text-align: left; font-weight: 720; font-size: 1.04rem; line-height: 1.35; }
/* Mona Sans only draws tabular figures with a slashed zero, so the tables keep its standard figures, right-aligned. */
.rt th, .rt td { padding: 12px 0 12px 16px; border-top: 1.5px solid var(--line); text-align: right; white-space: nowrap; }
.rt th:first-child { padding-left: 0; text-align: left; white-space: normal; }
.rt thead th { padding-top: 0; padding-bottom: 10px; border-top: 0; border-bottom: 2.5px solid var(--ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute); }
.rt tbody tr:first-child th, .rt tbody tr:first-child td { border-top: 0; }
.rt tbody th { font-weight: 650; }
.rt .chg { font-weight: 720; }
.rt .chg-in { display: inline-flex; align-items: center; gap: 4px; }
.rt .chg .i { width: 0.95em; height: 0.95em; }
.rt .chg.is-good { color: var(--good); }

/* Charts */
.cs-chart-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 4vw, 52px); margin-top: clamp(56px, 7vw, 96px); align-items: stretch; }
.cs-chart-row + .cs-chart-row { margin-top: clamp(32px, 4vw, 52px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-chart-row.is-pull { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; }
.chart-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(20px, 2.4vw, 30px); }
.chart-cap .t-h { margin-bottom: 6px; }
.chart-sub { max-width: 38em; font-size: 0.98rem; line-height: 1.45; color: var(--mute); }
.chart-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.88rem; font-weight: 620; color: var(--ink-soft); }
.chart-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; flex: none; border-radius: 3px; }
.sw-after, .sw-brand { background: var(--chart-accent); }
.sw-before, .sw-benchmark { background: var(--chart-muted); }
.chart-box { position: relative; min-height: 96px; }
.chart-svg svg { display: block; max-width: none; overflow: visible; }
.chart-svg text { font-family: var(--f); }
.cb-val { font-size: 14px; font-weight: 750; fill: var(--ink); }
.cb-small { font-size: 13px; font-weight: 650; }
.cb-cat { font-size: 13px; font-weight: 700; fill: var(--ink); }
.cb-head { font-size: 14px; }
.cb-ser { font-size: 12.5px; font-weight: 600; fill: var(--mute); }
.cb-in { font-size: 13px; font-weight: 720; }
.cb-base { stroke: var(--chart-base); stroke-width: 1; shape-rendering: crispEdges; }
.cb-bar { transform-box: fill-box; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--i, 0) * 90ms), opacity 0.15s ease; }
.cb-bar.v { transform-origin: 50% 100%; }
.cb-bar.h { transform-origin: 0% 50%; }
.cb-bar:hover { opacity: 0.82; }
.cb-lab { transition: opacity 0.35s ease calc(var(--i, 0) * 90ms + 420ms); }
.chart-box:not(.is-in) .cb-bar.v { transform: scaleY(0); }
.chart-box:not(.is-in) .cb-bar.h { transform: scaleX(0); }
.chart-box:not(.is-in) .cb-lab { opacity: 0; }
.chart-tip { position: absolute; z-index: 3; display: grid; gap: 1px; padding: 8px 11px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 0.82rem; line-height: 1.3; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); box-shadow: 0 10px 24px -10px rgba(14, 14, 18, 0.5); }
.chart-tip strong { font-size: 1rem; font-weight: 760; }
.chart-tip span { color: #C9C9D4; }
.nums { margin-top: auto; padding-top: 12px; border-top: 1.5px dashed var(--line-strong); }
.nums summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 680; font-size: 0.93rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.nums summary::-webkit-details-marker { display: none; }
.nums summary::before { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s ease; }
.nums[open] summary::before { transform: translateY(2px) rotate(225deg); }
.nums summary:hover { text-decoration-color: currentColor; }
.nums-wrap { margin-top: 12px; overflow-x: auto; }
.nums table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.nums th, .nums td { padding: 8px 0 8px 14px; border-top: 1px solid var(--line); text-align: right; vertical-align: top; }
.nums th:first-child { padding-left: 0; text-align: left; font-weight: 650; }
.nums thead th { border-top: 0; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute); }
.nums td small { display: block; font-size: 0.78rem; line-height: 1.35; color: var(--mute); }
.pullout { padding: clamp(8px, 2vw, 24px) 0; }
.pullout .label { margin-bottom: 14px; color: var(--cobalt); }
.pullout-text { font-weight: 800; font-stretch: 86%; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.015em; }
.pullout-text .mk { --hl: var(--hl-warm); }

/* In context */
.cs-context-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.cs-context-copy { display: flex; flex-direction: column; gap: 24px; }
.cs-meaning { margin-top: 10px; padding-top: 24px; border-top: 2px solid var(--rule-strong); }
.cs-meaning .label { margin-bottom: 12px; color: var(--tangerine); }
.cs-meaning p { font-weight: 720; font-stretch: 94%; font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.85rem); line-height: 1.32; letter-spacing: -0.008em; color: var(--paper); }

/* The proof */
.cs-proof .d-1 { margin-bottom: clamp(36px, 5vw, 64px); }
.proofs { display: grid; gap: clamp(24px, 3vw, 40px); align-items: start; }
.proof { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.proof-frame { position: relative; display: block; padding: clamp(8px, 1vw, 12px) clamp(8px, 1vw, 12px) 40px; border: 1px solid rgba(14, 14, 18, 0.2); border-radius: 14px; background: #FFFFFF; cursor: zoom-in; transition: box-shadow 0.16s ease, transform 0.16s ease; }
.proof-frame:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(14, 14, 18, 0.35); }
.proof-frame img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; }
.proof-zoom { position: absolute; right: 8px; bottom: 6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.proof-zoom svg { width: 15px; height: 15px; }
.proof figcaption { max-width: 46em; font-size: 0.88rem; line-height: 1.5; color: var(--mute); }

/* What it means for you, and how we measure */
.cs-cta { position: relative; padding-block: clamp(72px, 8.5vw, 132px); }
.cs-cta .label { margin-bottom: 20px; color: var(--muted); }
.cs-cta-line { max-width: 24ch; margin-bottom: clamp(30px, 4vw, 44px); font-weight: 860; font-stretch: 80%; font-size: clamp(2.1rem, 1.25rem + 3.1vw, 4.2rem); line-height: 0.98; letter-spacing: -0.02em; }
.cs-foot { padding-block: clamp(30px, 4vw, 52px); }
.cs-footnote { max-width: 64em; font-size: 0.86rem; line-height: 1.6; color: var(--mute); }
.cs-footnote .src a { color: var(--ink); font-weight: 650; text-underline-offset: 3px; }

/* Case studies page */
.cs-hub-hero { padding-top: clamp(30px, 4.5vw, 64px); padding-bottom: clamp(52px, 6vw, 92px); }
.hub-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.hub-top .lede { padding-bottom: 14px; color: var(--ink-soft); }
.range { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(44px, 6vw, 80px); border-top: 3px solid var(--ink); }
.range li { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 4px 0; }
.range li + li { padding-left: 26px; border-left: 1.5px solid var(--line-strong); }
.rg-big { font-weight: 880; font-stretch: 78%; font-size: clamp(2.3rem, 1.5rem + 2.2vw, 3.6rem); line-height: 0.92; letter-spacing: -0.022em; }
.rg-lab { font-size: 0.97rem; line-height: 1.45; color: var(--ink-soft); }
.hub-note { margin-top: 26px; max-width: 46em; }
/* Case studies: two crossing tapes that drift in opposite directions and pick up speed as you scroll */
.tapes { position: relative; display: flex; flex-direction: column; gap: clamp(22px, 4vw, 58px); margin-top: clamp(30px, 4vw, 60px); padding: clamp(28px, 3.6vw, 52px) 0; overflow: hidden; overflow: clip; }
.tape { position: relative; width: 112%; margin-left: -6%; overflow: hidden; border-block: 2.5px solid var(--ink); }
.tape-a { z-index: 2; background: var(--cobalt); color: var(--paper); transform: rotate(-2deg); box-shadow: 0 6px 0 var(--ink); }
.tape-b { background: var(--tangerine); color: var(--ink); transform: rotate(1.4deg); box-shadow: 0 5px 0 var(--ink); }
.tape-track { display: flex; width: max-content; will-change: transform; }
.tape-group { display: flex; flex: none; align-items: center; }
.tape-item { white-space: nowrap; }
.tape-a .tape-item { padding: 0.2em 0.38em 0.24em; font-weight: 880; font-stretch: 78%; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.8rem); line-height: 1; letter-spacing: -0.022em; }
.tape-b .tape-item { padding: 0.34em 0.55em 0.4em; font-family: var(--hand); font-size: clamp(1.35rem, 1rem + 1.3vw, 2.2rem); line-height: 1; }
.tape-star { flex: none; width: 0.5em; height: 0.5em; fill: currentColor; }
.tape-a .tape-star { width: clamp(1.1rem, 0.7rem + 1.4vw, 2rem); height: clamp(1.1rem, 0.7rem + 1.4vw, 2rem); fill: var(--tangerine); }
.tape-b .tape-star { width: clamp(0.8rem, 0.6rem + 0.6vw, 1.1rem); height: clamp(0.8rem, 0.6rem + 0.6vw, 1.1rem); fill: var(--ink); }
.cs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cs-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px 26px 24px; border: 2px solid var(--ink); border-radius: var(--r-xl); box-shadow: 6px 6px 0 var(--ink); transition: transform 0.16s ease, box-shadow 0.16s ease; }
.cs-card.bg-ink { box-shadow: 6px 6px 0 var(--tangerine); }
.cs-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.cs-card.bg-ink:hover { box-shadow: 9px 9px 0 var(--tangerine); }
.cs-card-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.cs-card-tags .tag { min-height: 27px; font-size: 0.8rem; }
.cs-card-title { font-weight: 860; font-stretch: 78%; font-size: clamp(2.1rem, 1.5rem + 1.6vw, 3.1rem); line-height: 0.92; letter-spacing: -0.02em; }
.cs-card-line { font-size: 1.02rem; line-height: 1.5; }
.cs-card-stats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding-top: 18px; border-top: 2px solid var(--rule-strong); }
.cs-card-stats li { display: flex; flex-direction: column; gap: 8px; }
.cs-card-stats .st-num { font-size: clamp(2.3rem, 1.7rem + 1.4vw, 3.2rem); }
.cs-card-stats .st-lab { font-size: 0.9rem; font-weight: 620; }
.cs-card-go { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 750; text-decoration: none; }
.cs-card-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cs-card-go .circle { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid currentColor; border-radius: 50%; transition: transform 0.16s ease; }
.cs-card-go .circle svg { width: 20px; height: 20px; }
.cs-card:hover .circle { transform: translateX(4px); }
.hub-wider { margin-top: clamp(44px, 5vw, 72px); max-width: 38em; color: var(--ink-soft); }

/* Homepage results strip */
.proof-strip .d-1 { margin-bottom: clamp(36px, 5vw, 64px); }
.pts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pt { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 34px 22px 22px; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); text-decoration: none; box-shadow: 6px 6px 0 var(--ink); transition: transform 0.16s ease, box-shadow 0.16s ease; }
.pt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--pt, var(--ink)); border-bottom: 2px solid var(--ink); }
.pt-ink { --pt: var(--ink); }
.pt-cobalt { --pt: var(--cobalt); }
.pt-tangerine { --pt: var(--tangerine); }
.pt:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.pt-num { font-weight: 880; font-stretch: 78%; font-size: clamp(3.1rem, 2.2rem + 2.4vw, 4.8rem); line-height: 0.88; letter-spacing: -0.028em; }
.pt-line { font-weight: 620; line-height: 1.42; }
.pt-per { margin-top: auto; padding-top: 6px; font-stretch: 118%; font-weight: 680; font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.3; color: var(--mute); }
.pts-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 34px; font-weight: 560; color: var(--ink-soft); }

/* Case study blocks on the audience pages */
.cs-block { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 30px clamp(32px, 5vw, 72px); align-items: end; padding: clamp(24px, 3.6vw, 48px); border: 2px solid var(--ink); border-radius: var(--r-xl); box-shadow: 8px 8px 0 var(--ink); }
.cs-block.bg-ink { box-shadow: 8px 8px 0 var(--tangerine); }
.cs-block-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cs-block-copy .label { color: var(--muted); }
.cs-block-copy p:not(.label) { max-width: 34em; font-size: 1.08rem; line-height: 1.5; }
.cs-block-copy .tlink { margin-top: 4px; }
.cs-block-stats { list-style: none; display: grid; gap: 22px; }
.cs-block-stats li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 2px solid var(--rule-strong); }
.cs-block-stats .st-num { font-size: clamp(3.2rem, 2rem + 3.4vw, 5.6rem); }
.cs-block-stats .st-lab { font-size: 1.02rem; }
.cs-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: clamp(44px, 5vw, 72px); }
.cs-blocks .cs-block { grid-template-columns: minmax(0, 1fr); align-items: start; }
.cs-blocks .cs-block-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cs-blocks .cs-block-stats .st-num { font-size: clamp(2.6rem, 1.8rem + 2vw, 3.8rem); }
.cs-second { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; max-width: 52em; margin-top: 32px; font-size: 1.04rem; color: var(--ink-soft); }

/* Screenshot viewer */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: rgba(14, 14, 18, 0.97); color: var(--paper); }
.lb::backdrop { background: rgba(14, 14, 18, 0.6); }
.lb[open] { display: flex; flex-direction: column; animation: tk-in 0.25s cubic-bezier(0.2, 0.75, 0.2, 1); }
.lb-top { display: flex; align-items: center; gap: 18px; padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 12px; }
.lb-cap { flex: 1; min-width: 0; max-width: 60em; font-size: 0.9rem; line-height: 1.45; color: #C9C9D4; }
.lb-close { margin-left: auto; color: var(--paper); }
.lb-stage { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); overflow: auto; overscroll-behavior: contain; padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); touch-action: pan-x pan-y pinch-zoom; }
.lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; margin: auto; border-radius: 6px; background: #FFFFFF; }
.lb.can-zoom .lb-img { cursor: zoom-in; }
.lb.is-zoom .lb-img { max-width: none; max-height: none; cursor: zoom-out; }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes tk-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--d, 0s); }
  .draw-in path { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); animation: draw var(--dur, 1.1s) cubic-bezier(0.6, 0.1, 0.3, 1) forwards; animation-delay: var(--d, 0.4s); }
  .pill-sticker:hover { animation: wobble 0.6s ease-in-out; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hdr-nav { gap: 18px; }
  .hdr-nav .hdr-anchor { display: none; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; border-top: 0; }
  .track > li { border-top: 3px solid var(--fg); }
  .track > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .track > li:nth-child(3)::before { left: 0; }
}
@media (max-width: 920px) {
  .hdr-nav { display: none; }
  .hdr-nav + .hdr-cta { margin-left: auto; }
  .sec-head, .final-top, .faq-grid, .hire { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .tk-step { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 760px) {
  .mbar { display: flex; }
  .ftr { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .picker { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .slot-list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; overflow: visible; }
  .done-card { grid-template-columns: minmax(0, 1fr); }
  .done-card > div + div { border-left: 0; border-top: 2px solid var(--ink); }
  .rv { bottom: 92px; }
}
@media (max-width: 600px) {
  :root { --hdr: 62px; }
  .label-long { display: none; }
  .label-short { display: inline; }
  .track { grid-template-columns: minmax(0, 1fr); }
  .track > li, .track > li + li { padding: 30px 0 4px; border-left: 0; }
  .track > li + li::before, .track > li:nth-child(3)::before { left: 0; }
  .cta-row .btn-lg { width: 100%; }
  .ml { line-height: 1.55; }
  .ml .slot { display: block; margin: 2px 0 8px; }
  .ml .pn { display: none; }
  .ml input, .ml select { width: 100% !important; margin: 0; }
  .tk-prog li { width: 22px; }
  .tk-prog li.is-now { width: 34px; }
  .ftr-top { grid-template-columns: minmax(0, 1fr); }
  .role { grid-template-columns: auto minmax(0, 1fr); }
  .role-pay { grid-column: 2; }
}
@media (max-width: 380px) {
  .slot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Case studies: smaller screens ---------- */
@media (max-width: 1080px) {
  .cs-cards { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .pts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; row-gap: 26px; }
  .range li, .range li + li { padding: 22px 24px 4px 0; border-left: 0; border-top: 3px solid var(--ink); }
  .range li:nth-child(even) { padding-left: 24px; border-left: 1.5px solid var(--line-strong); }
  .cs-blocks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 920px) {
  .cs-intro-grid, .cs-context-grid, .cs-chart-row, .cs-chart-row + .cs-chart-row, .cs-chart-row.is-pull, .hub-top, .cs-block, .cs-hero-top { grid-template-columns: minmax(0, 1fr); }
  .cs-steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .cs-steps li, .cs-steps li + li { padding: 24px 0 10px; border-left: 0; border-top: 3px solid var(--ink); }
  .proofs { grid-template-columns: minmax(0, 1fr) !important; }
  .cs-block { align-items: start; }
  .cs-block-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-feature .cs-block-stats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .cs-stats { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .cs-stats li, .cs-stats li + li { padding: 20px 0 8px; border-left: 0; border-top: 3px solid currentColor; }
  .range { grid-template-columns: minmax(0, 1fr); }
  .range li:nth-child(even) { padding-left: 0; border-left: 0; }
  .pts { grid-template-columns: minmax(0, 1fr); }
  .glance dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cs-block-stats { grid-template-columns: minmax(0, 1fr); }
  .cs-blocks .cs-block-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .rt-3 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rt-3 tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; padding: 14px 0; border-top: 1.5px solid var(--line); }
  .rt-3 tbody tr:first-child { border-top: 2.5px solid var(--ink); }
  .rt-3 tbody th, .rt-3 tbody td { padding: 0; border: 0; }
  .rt-3 tbody th { grid-column: 1; grid-row: 1; }
  .rt-3 .chg { grid-column: 2; grid-row: 1; }
  .rt-3 td[data-col]:not(.chg) { display: flex; flex-direction: column; gap: 1px; text-align: left; }
  .rt-3 td[data-col]:not(.chg)::before { content: attr(data-col); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute); }
  .proof-frame { padding-bottom: 38px; }
}
