/* offhand: offhandagency.com
   Palette: paper / ink / one accent (signal orange). The accent is for large
   type, marks, borders, focus rings and the review button (ink text on it,
   4.8:1). It is never the colour of small text (3.5:1 on paper).
   One typeface: Bricolage Grotesque (variable: weight 400–800, optical size 12–96).
   Platform logos are monochrome ink, never recoloured.
   Motion: transform and opacity only. Everything is visible without JavaScript,
   and nothing moves under prefers-reduced-motion. */

:root {
  /* Colour */
  --paper: #F3F1EC;
  --paper-2: #EAE7E0;
  --surface: #FBFAF7;      /* raised paper: example documents and form fields */
  --paper-veil: rgba(243, 241, 236, 0.94);
  --ink: #121211;
  --ink-2: #2A2926;
  --muted: #5E5B55;        /* 6.0:1 on paper */
  --muted-dark: #A6A29A;   /* 7.4:1 on ink */
  --rule: #D9D5CC;
  --rule-dark: #34322E;
  --accent: #E8471E;       /* 3.5:1 on paper, 4.8:1 on ink */
  --accent-bright: #FF5A2B;/* 6.0:1 on ink */
  --accent-wash: rgba(232, 71, 30, 0.28); /* the highlighter behind key phrases */
  --grey-mark: #8A867E;    /* de-emphasis chart marks, 3.2:1 on paper: never text */

  /* Type: one family. Sizes used by more than one component live here;
     display sizes that belong to a single component stay with it. */
  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.875rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-lede: clamp(1.0625rem, .4vw + .95rem, 1.25rem);
  --text-label: clamp(1.125rem, .5vw + 1rem, 1.375rem);
  --text-subtitle: clamp(1.375rem, 1.1vw + 1rem, 1.875rem);
  --text-title: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  --text-headline: clamp(1.75rem, 2.6vw + 0.75rem, 3rem);

  /* Space */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --top-h: 76px;
  --space: clamp(72px, 8.5vw, 128px);     /* under every section */
  --space-top: clamp(48px, 7vw, 112px);   /* above a page title */
  --space-2xl: clamp(56px, 7vw, 96px);
  --space-xl: clamp(44px, 5vw, 72px);
  --space-lg: clamp(40px, 4.5vw, 56px);
  --space-md: clamp(36px, 4vw, 56px);
  --space-sm: clamp(28px, 3.5vw, 44px);
  --rule-gap: 36px;                       /* from a section rule to its heading */
  --gap-cols: 28px 48px;                  /* heading column and body column */

  /* Radius */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);

  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(--top-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: clamp(17px, 1.05vw + 12px, 19px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: var(--gutter); top: -100px;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; text-decoration: none; z-index: 60;
}
.skip:focus { top: 12px; }

/* Signs inside big numbers: a touch of air at tight tracking */
.sgn { margin-right: 0.06em; }
.nw { white-space: nowrap; }

/* Figures: proportional in display numbers, tabular where digits line up in a
   column or change in place (chart labels, the chart tooltip, money columns). */
.chart text,
.chart__tip,
.tbl .num { font-variant-numeric: tabular-nums; }

/* ---------- Wordmark ---------- */

.wordmark {
  display: inline-block;
  font-weight: 800;
  font-size: 1.75rem;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  padding-bottom: 2px;
  transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.dot { color: var(--accent); }

/* ---------- Header ----------
   With JS the header is fixed and condenses once the page scrolls. The spacer
   (body padding) never changes, so nothing shifts. Without JS it is static. */

.top {
  position: relative;
  z-index: 30;
  height: var(--top-h);
}
.js .top { position: fixed; top: 0; left: 0; right: 0; pointer-events: none; }
.js .top a { pointer-events: auto; }
.js body { padding-top: var(--top-h); }

.top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transform-origin: 50% 0;
  transition: opacity .3s ease, transform .35s var(--ease);
}
.top__in {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform .35s var(--ease);
}
.top.is-condensed::before { opacity: 1; transform: scaleY(.79); }
.top.is-condensed .top__in { transform: translateY(-8px); }
.top.is-condensed .wordmark { transform: scale(.88); }

.top__nav { display: flex; align-items: center; gap: 28px; }
.top__link {
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  padding: 10px 0;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 6px);
  background-size: 0 2px;
  transition: background-size .25s var(--ease);
}
.top__link:hover,
.top__link[aria-current="page"] { background-size: 100% 2px; }

/* ---------- Buttons & links ----------
   The orange button is the free review (asking for it, and sending it), and
   nothing else. Other actions are ink (.btn--ink) or outlined (.btn--ghost).
   On the dark panels the review button is .btn--light, in the brighter orange. */

.btn {
  --mx: 0px;
  --my: 0px;
  --lift: 0px;
  --press: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 22px 0 24px;
  background: var(--accent);
  color: var(--ink);
  border: 1.5px solid var(--accent);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transform: translate3d(var(--mx), calc(var(--my) + var(--lift)), 0) scale(var(--press));
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .3s var(--ease);
}
.btn:hover { --lift: -2px; background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* Pressed: the button gives a little, quickly */
.btn:active { --lift: 0px; --press: .97; transition-duration: .2s, .2s, .2s, .1s; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow,
.more:hover .arrow { transform: translateX(4px); }

.btn--small { min-height: 40px; padding: 0 16px; font-size: var(--text-sm); }

.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.btn--light { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* A form on its way: the button says so and can't be pressed twice (site.js) */
.btn.is-sending { pointer-events: none; }
.btn.is-sending .btn__label { animation: sending 1.2s ease-in-out infinite; }

.link {
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  text-decoration-color: var(--muted);
  transition: text-decoration-color .2s ease;
  padding: 12px 0;
}
.link:hover { text-decoration-color: var(--accent); }
.link--light { color: var(--paper); text-decoration-color: var(--muted-dark); }
.link--light:hover { text-decoration-color: var(--accent-bright); }

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: var(--text-md);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding: 6px 0 4px;
  transition: border-color .2s ease;
}
.more:hover { border-color: var(--accent); }

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(40px, 7vw, 112px);
  padding-bottom: clamp(64px, 7.5vw, 112px);
}

.hero__title {
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  font-size: clamp(5.25rem, 14.2vw, 13rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  margin-left: -0.045em;
}
.hw { display: inline-block; }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 64px;
  margin-top: clamp(36px, 4.5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}
.hero__lede {
  font-weight: 600;
  font-variation-settings: "opsz" 48;
  font-size: clamp(1.5rem, 1.6vw + 0.9rem, 2.375rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 22ch;
  text-wrap: balance;
}

/* Platforms strip under the hero: monochrome marks, all one size */
.strip {
  display: flex;
  align-items: center;
  gap: 18px 56px;
  margin-top: var(--space-xl);
}
.strip__label {
  flex: none;
  max-width: 13ch;
  color: var(--muted);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.strip__logos {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  color: var(--ink-2);
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  font-size: 1.1875rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.logo__icon {
  flex: none;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* Page intro (case studies) */
.intro {
  padding-top: var(--space-top);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.intro__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px 56px;
}
.facts--intro { flex: 0 1 520px; padding-bottom: 6px; }
.facts--intro .fact__num { font-size: clamp(2.25rem, 2.9vw, 3rem); }
.intro__title {
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-left: -0.03em;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3.5vw, 48px);
}
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 42px;
  padding: 0 16px 0 18px;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.jump a:hover { border-color: var(--ink); background: var(--paper-2); }
.jump a:hover .arrow { transform: translateY(3px); }

/* ---------- Sections ---------- */

.block {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--gap-cols);
  padding-top: var(--rule-gap);
  padding-bottom: var(--space);
  position: relative;
}
.block::before,
.pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--rule);
}

.heading {
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  font-size: clamp(1.875rem, 2.2vw + 1rem, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.block__body { min-width: 0; }

/* Big statement lines */
.statement {
  font-weight: 600;
  font-variation-settings: "opsz" 72;
  font-size: clamp(1.75rem, 3vw + 0.6rem, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 22ch;
  text-wrap: pretty;
}
mark {
  background: none;
  color: inherit;
  background-image: linear-gradient(transparent 62%, var(--accent-wash) 62%, var(--accent-wash) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Results */
.results__headline {
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  font-size: var(--text-headline);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 20ch;
  text-wrap: balance;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: var(--space-md);
}
.stat {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.stats .stat:first-child { border-top-color: var(--accent); }
.stat__num {
  display: block;
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  font-size: clamp(3rem, 4.6vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.stat__text {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 24ch;
}
.results__chart {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px 32px;
  align-items: end;
  margin-top: var(--space-xl);
}
.results__chart .chart { margin-top: 0; max-width: 480px; }
.results__cta { margin-top: var(--space-lg); }

/* How we work */
.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: clamp(40px, 4.5vw, 64px);
}
.points li {
  border-top: 1px solid var(--rule);
  padding: 22px 0 32px;
}
.points .points__lead {
  grid-column: 1 / -1;
  border-top: 2px solid var(--accent);
}
.points h3 {
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  font-size: var(--text-subtitle);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.points .points__lead h3 {
  font-size: clamp(1.75rem, 2.4vw + 1rem, 3rem);
  letter-spacing: -0.04em;
  max-width: 18ch;
}
.points p { margin-top: 10px; color: var(--ink-2); max-width: 36ch; }

/* Services */
.services > li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.services > li:first-child { padding-top: 4px; }
.services > li:last-child { border-bottom: 0; padding-bottom: 0; }
.services h3,
.steps h3 {
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.125rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.services p { color: var(--ink-2); max-width: 40ch; padding-top: 0.25em; }

/* Platform marks inside case-study meta lines */
.pf {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.pf__icon {
  flex: none;
  width: 0.9em;
  height: 0.9em;
  fill: currentColor;
}

/* Track record: scale facts, then sectors */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fact {
  padding: 2px 24px 4px;
  border-left: 1px solid var(--rule);
}
.fact:first-child { padding-left: 0; border-left: 0; }
.fact__num {
  display: block;
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.5rem, 3.6vw, 3.75rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.fact__text {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.sectors { margin-top: var(--space-xl); }
.sectors__title {
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--muted);
  margin-bottom: 14px;
}
.sectors__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 0 24px;
}
.sectors__list li {
  padding: 14px 0 15px;
  border-top: 1px solid var(--rule);
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  font-size: 1.3125rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.steps li {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.steps li:first-child { border-top-color: var(--accent); }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--ink-2); max-width: 34ch; }
.steps__cta { margin-top: var(--space-lg); }

/* ---------- Pricing ---------- */

.pricing {
  position: relative;
  padding-top: var(--rule-gap);
  padding-bottom: var(--space);
}
.pricing__head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--gap-cols);
  margin-bottom: clamp(32px, 4vw, 56px);
}

.founding {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.6vw, 48px);
}
.founding :focus-visible { outline-color: var(--accent-bright); }
.founding__title {
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  font-size: var(--text-title);
  line-height: 1;
  letter-spacing: -0.04em;
}
.founding__text {
  margin-top: 14px;
  color: var(--muted-dark);
  max-width: 34ch;
}
.founding__price { text-align: right; }
.founding__anchor { margin-top: 10px; color: var(--muted-dark); }

.price__num {
  display: block;
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.75rem, 3.8vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.price__per {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 2.4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  transition: translate .35s var(--ease), border-color .25s ease;
}
.tier:hover { translate: 0 -5px; border-color: var(--ink); }
.tier--rec { border: 2px solid var(--ink); }
.tier--rec:hover { border-color: var(--accent); }
.tier__badge {
  position: absolute;
  top: -14px;
  left: clamp(22px, 2.3vw, 32px);
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--text-xs);
  line-height: 1.5;
}
.tier__name {
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  font-size: clamp(1.25rem, .7vw + 1rem, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  min-height: 2.3em;
}
.tier .price__num { font-size: clamp(2.5rem, 3.2vw, 3.5rem); }
.tier .price__per { color: var(--ink-2); }
.tier__list { border-top: 1px solid var(--rule); }
.tier__list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  line-height: 1.35;
}
.tier .btn { margin-top: auto; align-self: flex-start; }

.pricing__terms {
  margin-top: clamp(28px, 3vw, 40px);
  font-size: var(--text-lede);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 60ch;
}

/* ---------- Questions ---------- */

.faq__item {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.faq__item:first-child { padding-top: 4px; }
.faq__item:last-child { border-bottom: 0; }
.faq__item h3 {
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  font-size: var(--text-label);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.faq__item p { color: var(--ink-2); max-width: 44ch; }

/* ---------- Case studies ---------- */

.cases { padding-bottom: clamp(24px, 4vw, 48px); }

.case {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--gap-cols);
  padding-top: var(--rule-gap);
  padding-bottom: clamp(64px, 8vw, 112px);
  position: relative;
}
.case::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--rule);
}
.case__title {
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  font-size: var(--text-title);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.case__meta {
  margin-top: 14px;
  color: var(--muted);
  max-width: 34ch;
}
.case__meta .pf { color: var(--ink); font-weight: 600; }
.pf--sm { display: inline; }
.pf--sm .pf__icon { display: inline-block; vertical-align: -0.1em; margin-right: 0.3em; }
.case__body { min-width: 0; }
.case__headline {
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  font-size: var(--text-headline);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: var(--space-sm);
}
.case__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
}
.case__stats li {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.case__stats li:first-child { border-top-color: var(--accent); }
.case__num {
  display: block;
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.75rem, 4.2vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.case__label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 22ch;
}

/* More accounts: sector + region, platforms and years, one line each */
.accounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}
.acct {
  border-top: 1px solid var(--rule);
  padding: 22px 0 32px;
}
.accounts .acct:nth-child(-n+2) { border-top: 2px solid var(--ink); }
.accounts .acct:first-child { border-top-color: var(--accent); }
.acct__title {
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  font-size: var(--text-subtitle);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.acct__meta {
  margin-top: 10px;
  color: var(--muted);
}
.acct__meta .pf { color: var(--ink); font-weight: 600; }
.acct__fact {
  margin-top: 14px;
  color: var(--ink-2);
  max-width: 32ch;
}

/* ---------- Charts ---------- */

.chart {
  position: relative;
  margin-top: clamp(32px, 4vw, 48px);
  max-width: 440px;
}
.chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart svg:focus { outline: none; }
.chart svg:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 4px; }
.chart text {
  font-family: var(--sans);
  font-size: 12px;
  fill: var(--muted);
}
.chart .chart__end {
  font-size: 13px;
  font-weight: 700;
  fill: var(--ink);
}
.chart__grid { stroke: var(--rule); stroke-width: 1; }
.chart__ref { stroke: var(--ink-2); stroke-opacity: 0.5; stroke-width: 1; }
.chart__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart__line--est { stroke-dasharray: 5 6; }
.chart__area { fill: var(--accent); fill-opacity: 0.1; }
.chart__range { fill: var(--accent); fill-opacity: 0.25; }
.chart__dot { fill: var(--accent); stroke: var(--paper); stroke-width: 2; }
.chart__bar--base { fill: var(--grey-mark); }
.chart__bar--key { fill: var(--accent); }
.chart__cross { stroke: var(--ink); stroke-opacity: 0.35; stroke-width: 1; visibility: hidden; }
.chart__hot { fill: var(--accent); stroke: var(--paper); stroke-width: 2; visibility: hidden; }
.chart__tip {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  transform: translate(-50%, -100%);
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 6px 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  font-size: var(--text-xs);
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}
.chart__tip[hidden] { display: none; }
.chart__tip strong { font-weight: 700; }
.chart__tip span { color: var(--muted-dark); }

/* ---------- Closing CTA ---------- */

.close {
  background: var(--ink);
  color: var(--paper);
}
.close__inner {
  padding-top: var(--space);
  padding-bottom: var(--space);
}
.close__title {
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 15ch;
  text-wrap: balance;
}
.close__text {
  color: var(--muted-dark);
  font-size: clamp(1.125rem, 0.8vw + 0.9rem, 1.375rem);
  line-height: 1.4;
  max-width: 40ch;
  margin: 28px 0 40px;
}
.close :focus-visible { outline-color: var(--accent-bright); }

/* ---------- Footer ---------- */

.foot {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--rule-dark);
  padding-top: 32px;
  padding-bottom: 32px;
  overflow: hidden;
}
.foot :focus-visible { outline-color: var(--accent-bright); }
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: var(--text-sm);
}
.foot__links a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--rule-dark);
  text-underline-offset: 5px;
  display: inline-block;
  padding: 6px 0;
  transition: text-decoration-color .2s ease;
}
.foot__links a:hover { text-decoration-color: var(--accent-bright); }

.foot__mark {
  font-weight: 800;
  font-variation-settings: "opsz" 40;
  font-size: clamp(4.5rem, 22.5vw, 19.5rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  font-feature-settings: "liga" 0;
  margin: clamp(48px, 8vw, 120px) 0 clamp(28px, 3vw, 40px) -0.04em;
  white-space: nowrap;
  user-select: none;
}
.foot__mark .dot { color: var(--accent-bright); }

.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  color: var(--muted-dark);
  font-size: var(--text-xs);
}

/* ---------- Sticky review bar (phones, after the hero) ---------- */

.sticky { display: none; }

/* ---------- 404 ---------- */

.lost {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 96px;
}
.lost__title {
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

/* ---------- Motion ----------
   Everything is visible by default. The .js class (set inline in <head>)
   enables the reveal states; site.js adds .is-in as things scroll into view.
   ?static or prefers-reduced-motion shows the finished state with no motion. */

@keyframes rise {
  from { opacity: 0; transform: translateY(0.35em); }
  to { opacity: 1; transform: none; }
}
@keyframes word {
  from { opacity: 0; transform: translateY(0.28em); }
  to { opacity: 1; transform: none; }
}
@keyframes drop {
  0% { opacity: 0; transform: translateY(-0.9em); }
  60% { opacity: 1; transform: translateY(0.05em); }
  80% { transform: translateY(-0.03em); }
  100% { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lift {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes sending {
  50% { opacity: .6; }
}

/* Hero: the words land one by one, the orange full stop last */
.hero .hw { animation: word .9s var(--ease) both; }
.hero .hw:nth-child(1) { animation-delay: .08s; }
.hero .nw .hw:first-child { animation-delay: .26s; }
.hero .hw--dot { color: var(--accent); animation: drop .8s var(--ease) .74s both; }
.hero__foot { animation: lift .9s var(--ease) .38s both; }
.intro__title { animation: rise .9s var(--ease) .05s both; }
.jump { animation: lift .9s var(--ease) .3s both; }

/* Platforms strip: the label, then each mark in turn, once the hero has landed */
.strip__label { animation: fade .8s ease .6s both; }
.logo { animation: lift .8s var(--ease) both; animation-delay: calc(.7s + var(--d, 0) * 70ms); }

.js [data-reveal] {
  transition: opacity .7s ease, transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }
.js .sectors__list [data-reveal] { transition-delay: calc(var(--d, 0) * 60ms); }

/* Pricing cards: the reveal uses transform, the hover lift uses translate */
.js .tier[data-reveal] {
  transition: opacity .7s ease, transform .8s var(--ease), translate .35s var(--ease), border-color .25s ease;
  transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s;
}

.js .foot__mark { transition: opacity 1s ease, transform 1.2s var(--ease); }
.js .foot__mark:not(.is-in) { opacity: 0; transform: translateY(28%); }

.js .chart .chart__line:not(.chart__line--est) {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.5s var(--ease) .2s;
}
.js .chart:not(.is-in) .chart__line:not(.chart__line--est) { stroke-dashoffset: 1; }
.js .chart .chart__area,
.js .chart .chart__dot,
.js .chart .chart__end,
.js .chart .chart__range,
.js .chart .chart__line--est { transition: opacity .6s ease 1.1s; }
.js .chart:not(.is-in) .chart__area,
.js .chart:not(.is-in) .chart__dot,
.js .chart:not(.is-in) .chart__end,
.js .chart:not(.is-in) .chart__range,
.js .chart:not(.is-in) .chart__line--est { opacity: 0; }
.js .chart .chart__bar {
  transform-box: fill-box;
  transform-origin: left center;
  transition: transform 1s var(--ease) .2s;
}
.js .chart .chart__bar--key { transition-delay: .35s; }
.js .chart:not(.is-in) .chart__bar { transform: scaleX(0); }

/* No motion: the finished state, straight away */
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }
.js.reveal-off [data-reveal],
.js.reveal-off .foot__mark { opacity: 1; transform: none; }
.js.reveal-off .chart .chart__line { stroke-dashoffset: 0; }
.js.reveal-off .chart .chart__area,
.js.reveal-off .chart .chart__dot,
.js.reveal-off .chart .chart__end,
.js.reveal-off .chart .chart__range,
.js.reveal-off .chart .chart__line--est { opacity: 1; }
.js.reveal-off .chart .chart__bar { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal],
  .js .foot__mark { opacity: 1 !important; transform: none !important; }
  .js .chart .chart__line { stroke-dashoffset: 0 !important; }
  .js .chart .chart__area,
  .js .chart .chart__dot,
  .js .chart .chart__end,
  .js .chart .chart__range,
  .js .chart .chart__line--est { opacity: 1 !important; }
  .js .chart .chart__bar { transform: none !important; }
  .btn, .btn:hover { transform: none !important; }
  .tier:hover,
  .tier--rec,
  .tier--rec:hover { translate: none !important; }
  .top.is-condensed::before,
  .top.is-condensed .top__in,
  .top.is-condensed .wordmark { transform: none !important; }
}

/* ---------- Responsive ---------- */

@media (min-width: 1081px) {
  .tier--rec { translate: 0 -10px; }
  .tier--rec:hover { translate: 0 -15px; }
}

@media (max-width: 1080px) {
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 620px; gap: 28px; }
  .tier__name { min-height: 0; }
  .strip { flex-direction: column; align-items: flex-start; }
  .strip__label { max-width: none; }
  .strip__logos { justify-content: flex-start; gap: 16px 32px; }
}

@media (max-width: 900px) {
  .block,
  .case,
  .pricing__head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero__foot { grid-template-columns: minmax(0, 1fr); }
  .results__chart { grid-template-columns: minmax(0, 1fr); }
  .founding { grid-template-columns: minmax(0, 1fr); }
  .founding__price { text-align: left; }
  .top__link--call { display: none; }
}

@media (max-width: 600px) {
  :root { --top-h: 64px; }
  .js .top { position: absolute; }
  .top .btn--small { display: none; }
  .wordmark { font-size: 1.5rem; }
  .top__nav { gap: 22px; }
  .hero__title { line-height: 0.84; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .strip { gap: 16px; }
  .strip__logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
    width: 100%;
  }
  .logo { font-size: var(--text-base); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact,
  .fact:first-child { padding: 16px 0 18px; border-left: 0; border-top: 1px solid var(--rule); }
  .fact:first-child { padding-top: 4px; border-top: 0; }
  .sectors__list { gap: 0 16px; }
  .facts--intro { flex-basis: 100%; grid-template-columns: repeat(3, auto); justify-content: start; }
  .facts--intro .fact,
  .facts--intro .fact:first-child { padding: 2px 12px 4px 13px; border-top: 0; border-left: 1px solid var(--rule); }
  .facts--intro .fact:first-child { padding-left: 0; border-left: 0; }
  .facts--intro .fact__num { font-size: 1.625rem; }
  .facts--intro .fact__text { margin-top: 8px; font-size: var(--text-xs); }
  .accounts { grid-template-columns: minmax(0, 1fr); }
  .accounts .acct:nth-child(2) { border-top: 1px solid var(--rule); }
  .points { grid-template-columns: minmax(0, 1fr); }
  .services > li,
  .faq__item { grid-template-columns: minmax(0, 1fr); }
  .services p { padding-top: 0; }
  .case__stats { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta .btn,
  .tier .btn { width: 100%; align-self: stretch; }
  .foot__links { flex-direction: column; gap: 0; }
  .jump { gap: 8px; }
  .jump a { min-height: 40px; padding: 0 12px 0 14px; font-size: var(--text-xs); }
  .chart,
  .results__chart .chart { max-width: none; }

  .js .sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper-veil);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--rule);
    transform: translateY(110%);
    transition: transform .4s var(--ease);
  }
  .js .sticky.is-on { transform: none; }
  .sticky .btn { width: 100%; }
}

@media (max-width: 360px) {
  .top__nav { gap: 16px; }
  .strip__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Platforms strip as a slow scrolling banner (Alex, 1 Nov) */
.marquee {
  position: relative; /* keeps the visually hidden "Apple" label inside the clip when motion is off */
  flex: 1;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .strip__logos {
  flex: none;
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0 56px;
  padding-right: 56px;
  width: auto !important;
}
.marquee .logo { white-space: nowrap; animation: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .marquee .strip__logos { gap: 0 36px; padding-right: 36px; }
  .marquee__track { animation-duration: 24s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; width: auto; }
  .marquee .strip__logos[aria-hidden="true"] { display: none !important; }
  .marquee .strip__logos { flex-wrap: wrap; gap: 14px 32px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
.strip { min-width: 0; max-width: 100%; overflow: hidden; }
.strip > * { min-width: 0; }
.marquee { max-width: 100%; }

/* ---------- Added 12 Nov: consulting, review form, example review, Meta ads ---------- */

h4 { margin: 0; }
.tbl-wrap + .body-lg { margin-top: 24px; }

.intro__lede {
  margin-top: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  font-variation-settings: "opsz" 48;
  font-size: clamp(1.375rem, 1.3vw + 0.9rem, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 30ch;
  text-wrap: balance;
}
.intro__title--long { max-width: 12ch; }
.intro__cta { margin-top: var(--space-sm); }
.lost--msg { gap: 24px; }
.lost--msg .intro__lede { margin-top: 0; }

.body-lg {
  font-size: clamp(1.125rem, 0.6vw + 1rem, 1.375rem);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 44ch;
}
.statement + .body-lg { margin-top: 20px; }
.more-wrap { margin-top: 28px; }
.statement--after { margin-top: var(--space-lg); }
.services--spaced { margin-top: var(--space-md); }
.block__note { margin-top: 14px; color: var(--muted); max-width: 26ch; }

a.inline {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: var(--muted);
}
a.inline:hover { text-decoration-color: var(--accent); }

/* A value still to be set: visible on purpose until it is replaced */
.placeholder { background: var(--paper-2); outline: 1px dashed var(--muted); border-radius: 4px; padding: 0 4px; }

/* Home: consulting, the pilot weeks, the in-house line */
.weeks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
}
.weeks__title {
  margin-top: var(--space-lg);
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--muted);
  margin-bottom: 14px;
}
.weeks li { border-top: 1px solid var(--rule); padding: 14px 0 18px; }
.weeks h4 { font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.02em; line-height: 1.2; }
.weeks p { margin-top: 6px; font-size: var(--text-base); color: var(--ink-2); }
.inhouse { margin-top: clamp(28px, 3vw, 36px); font-weight: 600; font-size: var(--text-lede); max-width: 48ch; }
.inhouse a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--muted); }
.inhouse a:hover { text-decoration-color: var(--accent); }

/* Reading list (Meta ads page) */
.reading { border-top: 1px solid var(--rule); }
.reading li { border-bottom: 1px solid var(--rule); }
.reading a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  font-size: var(--text-label);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.reading a:hover .arrow { transform: translateX(4px); }
.reading a:hover { color: var(--ink-2); }

/* Review form */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px 56px;
  align-items: start;
}
.form { display: grid; gap: 22px; max-width: 560px; }
.field label { display: block; font-weight: 600; font-size: var(--text-base); margin-bottom: 8px; }
.field input,
.field select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-md);
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23121211' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible,
.field select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; padding: 4px 0; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button.btn { font-family: inherit; cursor: pointer; }
.form__send { margin-top: 6px; }
.form__alt { color: var(--muted); }
.form__alt a { color: var(--ink); font-weight: 600; text-decoration-color: var(--muted); text-underline-offset: 4px; }
.alert { border: 1.5px solid var(--accent); border-radius: var(--r-md); padding: 14px 18px; font-weight: 600; }
.alert[hidden] { display: none; }
.next { border-top: 2px solid var(--accent); padding-top: 20px; }
.next__title { font-weight: 700; font-variation-settings: "opsz" 48; font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); letter-spacing: -0.03em; line-height: 1.1; }
.next__list { counter-reset: n; margin: 18px 0 24px; }
.next__list li { counter-increment: n; display: grid; grid-template-columns: 1.6em minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.next__list li::before { content: counter(n); font-weight: 700; color: var(--ink); }

/* Example documents */
.doc {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3.2vw, 44px);
}
.doc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.doc__title {
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  font-size: clamp(1.375rem, 1.3vw + 1rem, 2.125rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.tag {
  flex: none;
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 3px 12px;
  font-weight: 600;
  font-size: var(--text-xs);
  line-height: 1.5;
}
.doc__meta { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 16px 0 0; }
.doc__meta dt { color: var(--muted); font-size: var(--text-sm); }
.doc__meta dd { margin: 0; font-weight: 600; }
.doc h3 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  font-size: clamp(1.1875rem, .5vw + 1rem, 1.4375rem);
  letter-spacing: -0.025em;
}
.doc__lead { margin-top: 18px; font-size: var(--text-lede); line-height: 1.45; max-width: 52ch; }
.doc h3 + .doc__lead { margin-top: 0; }
.kct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin-top: 24px; }
.kct--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kct > div { border-top: 2px solid var(--ink); padding-top: 12px; }
.kct > div:first-child { border-top-color: var(--accent); }
.kct h4 { font-weight: 700; font-size: var(--text-md); letter-spacing: -0.015em; }
.kct p { margin-top: 6px; color: var(--ink-2); font-size: var(--text-base); }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.tbl th,
.tbl td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); line-height: 1.4; }
.tbl thead th { font-weight: 600; font-size: var(--text-sm); color: var(--muted); border-bottom-color: var(--ink); padding-top: 0; text-wrap: balance; }
.tbl tbody th { font-weight: 700; }
.tbl td { color: var(--ink-2); }
.tbl tr > :last-child { padding-right: 0; }
.tbl--wide { min-width: 640px; }
.tbl--pilot { min-width: 520px; }
.tbl--pilot tbody th { width: 4.5em; }
.rate { display: inline-block; white-space: nowrap; font-weight: 700; color: var(--ink); }
.rate--work { box-shadow: inset 0 -2px 0 var(--grey-mark); }
.rate--fix { box-shadow: inset 0 -3px 0 var(--accent); }
.doc__list { margin-top: 4px; }
.doc__list li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-2); }
.doc__list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.doc__rows { margin-top: 20px; border-top: 1px solid var(--rule); }
.doc__rows > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4px 20px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.doc__rows dt { font-weight: 700; }
.doc__rows dd { margin: 0; color: var(--ink-2); }
.doc__hooks { counter-reset: h; }
.doc__hooks li { counter-increment: h; display: grid; grid-template-columns: 1.6em minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
.doc__hooks li::before { content: counter(h); font-weight: 700; }
.doc__hooks em { font-style: normal; color: var(--muted); font-weight: 600; }
.doc__hooks + .doc__rows { margin-top: 34px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin-top: 24px; }
.tiles li { border-top: 2px solid var(--ink); padding-top: 12px; }
.tiles li:nth-child(3) { border-top-color: var(--accent); }
.tiles__label { display: block; color: var(--muted); font-size: var(--text-sm); }
.tiles__num { display: block; margin-top: 6px; font-weight: 700; font-variation-settings: "opsz" 96; font-size: clamp(1.75rem, 1.6vw + 1rem, 2.5rem); line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }
.tiles__delta { display: block; margin-top: 8px; font-size: var(--text-sm); color: var(--ink-2); }
.doc__needs { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); }
.doc--excerpt { margin-top: var(--space-lg); }
.doc--excerpt + .steps__cta { margin-top: 28px; }

/* Insights by email */
.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px 48px;
  align-items: end;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}
.subscribe__title { font-weight: 700; font-variation-settings: "opsz" 72; font-size: clamp(1.625rem, 1.6vw + 1rem, 2.5rem); line-height: 1.05; letter-spacing: -0.04em; }
.subscribe__text { margin-top: 10px; color: var(--muted); }
.subscribe__row { display: flex; gap: 12px; }
.subscribe__row .field { flex: 1; }
.subscribe__row .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.subscribe__msg { grid-column: 2; font-weight: 600; }
.subscribe__msg[hidden] { display: none; }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subscribe { grid-template-columns: minmax(0, 1fr); }
  .subscribe__msg { grid-column: 1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .kct,
  .kct--two { grid-template-columns: minmax(0, 1fr); }
  .doc__rows > div { grid-template-columns: minmax(0, 1fr); }
  .doc__head { flex-direction: column-reverse; }
  .subscribe__row { flex-direction: column; }
  .subscribe__row .btn { width: 100%; }
  .form .btn { width: 100%; }
}
@media (max-width: 600px) {
  .tbl--stack { min-width: 0; }
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl--stack tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .tbl--stack tr:first-child { border-top: 1px solid var(--ink); }
  .tbl--stack th,
  .tbl--stack td { display: block; padding: 0; border: 0; }
  .tbl--stack td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: var(--text-xs); }
  .tbl--score tr { grid-template-columns: minmax(0, 1fr) auto; }
  .tbl--score .tbl__full { grid-column: 1 / -1; }
}

/* ==========================================================================
   offhand studio + offhand build (sub-sites). Appended to the main site's
   styles.css by build.py, so the header, buttons, sections, closing panel and
   footer are the same system. Everything below is only what the sub-sites add.
   ========================================================================== */

/* Wordmark: "offhand" as on the main site, the sub-brand lighter, full stop last */
.wordmark--sub { white-space: nowrap; }
.wordmark__sub { font-weight: 500; letter-spacing: -0.035em; }
.top__sep { width: 1px; height: 18px; background: var(--rule); }
.top__link--fam { color: var(--muted); }
.top__link--fam:hover { color: var(--ink); }

/* ---------- Hero: title and button on the left, the 3D scene on the right ---------- */
.hero--sub {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "title scene" "foot scene";
  grid-template-rows: 1fr auto;
  column-gap: 16px;
  padding-top: clamp(8px, 2vw, 32px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
.hero--sub .hero__title {
  grid-area: title;
  align-self: end;
  font-size: clamp(4.25rem, 9.2vw, 9.75rem);
  position: relative;
  z-index: 1;
}
.hero--sub .hero__foot {
  grid-area: foot;
  grid-template-columns: minmax(0, 1fr);
  align-self: start;
  gap: 24px;
  margin-top: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(8px, 4vw, 72px);
  max-width: 30rem;
}
.hero--sub .hero__lede { max-width: 17ch; }
.hero3d {
  grid-area: scene;
  position: relative;
  align-self: center;
  aspect-ratio: 1.1;
  margin-right: calc(var(--gutter) * -0.5);
  min-width: 0;
}
.hero3d canvas,
.hero3d img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero3d canvas { opacity: 0; transition: opacity .6s ease; touch-action: pan-y; }
/* Shadows run off the edge of the scene, so the edges fade out */
.hero3d canvas,
.hero3d img {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 88%, transparent), linear-gradient(#000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 88%, transparent), linear-gradient(#000 86%, transparent);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.hero3d canvas.is-live { opacity: 1; }
.hero3d img { object-fit: contain; }
.no-3d .hero3d canvas { display: none; }

/* ---------- Full-width bands (work reel, examples) ---------- */
.band {
  position: relative;
  padding-top: var(--rule-gap);
  padding-bottom: var(--space);
}
.band::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--rule);
}
.band__head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--gap-cols);
  margin-bottom: clamp(32px, 4vw, 56px);
}

/* The reel: our own pieces, playing muted while they're on screen */
.reel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.clip { min-width: 0; }
.clip__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  transition: translate .35s var(--ease), border-color .25s ease;
}
.clip:hover .clip__frame { translate: 0 -4px; border-color: var(--ink); }
.clip__frame video,
.clip__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.clip__frame video { cursor: pointer; }
.clip__sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px 0 11px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  font-size: var(--text-xs);
  line-height: 1;
  cursor: pointer;
}
.clip__sound svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.clip__sound .on { display: none; }
.clip__sound[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.clip__sound[aria-pressed="true"] .on { display: inline; }
.clip__sound[aria-pressed="true"] .off { display: none; }
.clip__title {
  margin-top: 14px;
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  font-size: var(--text-lg);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.clip__kind { color: var(--muted); font-size: var(--text-sm); }

/* ---------- Offers: the pricing cards from the main site, without prices ---------- */
.offers { margin-top: 0; }
.offers--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offers .tier__name { min-height: 0; font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem); letter-spacing: -0.035em; line-height: 1.05; }
.tier__lead { color: var(--ink-2); font-size: var(--text-lede); line-height: 1.35; max-width: 30ch; margin-top: -8px; }
.offers__cta { margin-top: var(--space-lg); }

/* ---------- Before and after examples ---------- */
.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(20px, 3vw, 48px);
}
.cmp { min-width: 0; }
.cmp__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 390 / 780;
  width: 100%;
  max-width: 330px;
  border: 7px solid var(--ink);
  border-radius: 34px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 30px 60px -30px rgba(18, 18, 17, .35);
}
.cmp__frame img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--ink);
  pointer-events: none;
}
.cmp__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cpath d='M18 15l-6 7 6 7M26 15l6 7-6 7' fill='none' stroke='%23121211' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 44px no-repeat;
  border: 2.5px solid var(--ink);
}
.cmp__lab {
  position: absolute;
  top: 14px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.4;
  pointer-events: none;
  transition: opacity .2s ease;
}
.cmp__lab--b { left: 12px; }
.cmp__lab--a { right: 12px; background: var(--accent); color: var(--ink); }
.cmp__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.cmp__frame:has(.cmp__range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }
.cmp__cap { margin-top: 22px; max-width: 330px; }
.cmp__head { display: flex; align-items: center; gap: 12px; }
.cmp__title {
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  font-size: var(--text-subtitle);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.cmp__list { margin-top: 12px; }
.cmp__list li { padding: 10px 0; border-top: 1px solid var(--rule); color: var(--ink-2); line-height: 1.35; }

/* ---------- The rest of offhand ---------- */
.family { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.family li { border-top: 2px solid var(--ink); padding: 22px 0 8px; }
.family li:first-child { border-top-color: var(--accent); }
.family h3 { font-weight: 700; font-variation-settings: "opsz" 48; font-size: var(--text-subtitle); line-height: 1.08; letter-spacing: -0.03em; }
.family p { margin: 10px 0 18px; color: var(--ink-2); max-width: 30ch; }

/* ---------- Templates ---------- */
.subscribe--flat { margin-top: 0; margin-bottom: 0; }
.tpl { border-top: 1px solid var(--rule); }
.tpl li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.tpl h3 { font-weight: 700; font-variation-settings: "opsz" 48; font-size: clamp(1.5rem, 1.6vw + 1rem, 2.125rem); line-height: 1.05; letter-spacing: -0.035em; }
.tpl p { color: var(--ink-2); max-width: 40ch; padding-top: 0.25em; }
.soon { margin-left: 10px; vertical-align: 0.35em; }

@media (max-width: 1080px) {
  .reel {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(200px, 58vw, 260px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 4px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .reel::-webkit-scrollbar { display: none; }
  .clip { scroll-snap-align: start; }
  .offers--two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .top__sep, .top__link--fam { display: none; }
  .hero--sub {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "scene" "foot";
    grid-template-rows: auto;
    padding-top: clamp(20px, 5vw, 40px);
  }
  .hero--sub .hero__title { font-size: clamp(4.5rem, 21vw, 8rem); }
  .hero3d { aspect-ratio: 1.08; margin: 4px calc(var(--gutter) * -1) 0; }
  .hero--sub .hero__foot { margin-top: 8px; margin-bottom: 0; padding-top: 24px; }
  .band__head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .examples { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .cmp { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 32px; align-items: center; }
  .cmp__cap { margin-top: 0; }
}
@media (max-width: 600px) {
  .wordmark--sub { font-size: 1.375rem; }
  .top__link--wide { display: none; }
  .cmp { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .cmp__frame { max-width: 290px; }
  .cmp__cap { width: 100%; max-width: none; }
  .family { grid-template-columns: minmax(0, 1fr); }
  .tpl li { grid-template-columns: minmax(0, 1fr); }
  .tpl p { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .clip:hover .clip__frame { translate: none; }
  .hero3d canvas { transition: none; }
}
