/* ==========================================================================
   Suspire website v2 (concept B direction, chosen 2026-10-20; indigo accent)

   Built outside the v2.0 brand rules at the owner's request (decisions.md).
   All values live in :root below. If this direction becomes the official
   brand, these values move into foundation/brand-id.md and tokens.css.
   ========================================================================== */

:root {
  --ink: #0d1233;
  --ink-soft: #464b6b;
  --brand: #3a3497;        /* Indigo, chosen 2026-10-20 (was electric blue #2340e0) */
  --brand-deep: #2a2573;
  --mist: #e7e5f6;
  --chalk: #f4f5f8;
  --paper: #ffffff;
  --coral: #ff5a4e;
  --coral-ink: #c4291e;
  --coral-wash: #fff4f2;
  --line: rgba(13, 18, 51, 0.12);
  --line-light: rgba(255, 255, 255, 0.22);
  --on-dark: rgba(255, 255, 255, 0.85);
  --on-dark-soft: rgba(255, 255, 255, 0.7);

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --header: 72px;

  /* Spacing: one scale for every page */
  --sp-section: clamp(80px, 10vw, 144px);  /* top and bottom of every section */
  --sp-head: clamp(32px, 4vw, 56px);       /* section heading to its content */
  --sp-gap: 16px;                          /* between cards and panels */
}

/* --- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--coral-ink);   /* Coral Ink on light (5.4:1); Coral on dark, below */
  outline-offset: 3px;
  border-radius: 4px;
}

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  z-index: 50;
  left: 16px;
  top: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.micro { margin: 12px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.micro--light { color: var(--on-dark-soft); }

.text-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
/* Long labels wrap on narrow phones rather than running into the side margin. */
@media (max-width: 30rem) { .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; } }

.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: var(--paper); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--light { background: var(--paper); color: var(--brand); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.on-dark .btn--ghost:hover, .proof .btn--ghost:hover, .close .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }

/* --- Header ---------------------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--chalk) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand);
  color: var(--paper);
  font-size: 1rem;
}

.logo__soft { color: var(--ink-soft); font-weight: 500; }

.nav-links {
  display: none;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links a { text-decoration: none; padding: 8px 0; }
.nav-links a:hover { color: var(--brand); }
.nav-links > li > a[aria-current="page"],
.nav-links > .has-sub:has(.sub [aria-current="page"]) > a { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }

/* Dropdowns (Services, Sectors). The parent is a link; the chevron button opens the list.
   Without JavaScript the button stays hidden and the list opens on hover. */
.sub-btn {
  display: none;
  place-items: center;
  width: 28px;
  height: 32px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.js .sub-btn { display: inline-grid; }
.sub-btn:hover { color: var(--brand); background: var(--mist); }
.sub-btn svg { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }
.sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.sub {
  position: absolute;
  top: 100%;
  left: -14px;
  z-index: 40;
  display: none;
  min-width: 232px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -24px rgba(13, 18, 51, 0.35);
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub, .has-sub.is-open .sub { display: block; }
.sub a { display: block; padding: 10px 12px; border-radius: var(--r-sm); white-space: nowrap; }
.sub a:hover { background: var(--chalk); }
.sub a[aria-current="page"] { color: var(--brand); background: var(--mist); }
.sub small { display: block; color: var(--ink-soft); font-size: 0.82rem; font-weight: 400; }

.top__actions { display: flex; align-items: center; gap: 10px; }
.top .btn { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }

.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  /* The header is sticky, so the open menu scrolls on its own when it's taller than the screen. */
  max-height: calc(100vh - var(--header));
  max-height: calc(100dvh - var(--header));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0 24px;
  border-top: 1px solid var(--line);
}

.menu ul { margin: 0; padding: 0; list-style: none; }

.menu ul a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.menu ul a[aria-current="page"] { color: var(--brand); }

/* Services and Sectors fold up like an accordion. Without JavaScript the toggle stays hidden
   and both lists show in full. */
.menu__row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.menu .menu__row a { flex: 1; border-bottom: 0; }
.menu__toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.js .menu__toggle { display: inline-grid; }
.menu__toggle:hover { color: var(--brand); background: var(--mist); }
.menu__toggle svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.js .menu__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.25s var(--ease), visibility 0s 0.25s;
}
.js .menu__group.is-open .menu__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.25s var(--ease);
}
.menu__panel > ul { min-height: 0; overflow: hidden; }
.menu .menu__sub a {
  padding: 10px 0 10px 20px;
  font-family: var(--body);
  font-stretch: 100%;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.menu .btn { margin-top: 20px; width: 100%; }

@media (max-width: 30rem) {
  .logo__soft { display: none; }
  .top .btn--primary { padding: 0 16px; font-size: 0.9rem; }
}

@media (max-width: 24rem) {
  .top .logo__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* --- Page heroes ----------------------------------------------------------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 var(--sp-section); }

.hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 7.4vw, 6.6rem); }
.hero h1 .hero__line { display: block; }
.hero h1 .hero__line + .hero__line { color: var(--brand); }

/* The cycling word in the Home headline: expertise / program / service */
.swap {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.swap.is-out { opacity: 0; transform: translateY(-0.25em); }
.swap.is-in { opacity: 0; transform: translateY(0.25em); transition: none; }

.lead {
  max-width: 48ch;
  margin: 28px 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

.lead strong { color: var(--ink); font-weight: 600; }

.page-hero { padding: clamp(48px, 7vw, 96px) 0 var(--sp-section); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.2rem, 6vw, 5.2rem); }
.page-hero h1 em { font-style: normal; color: var(--brand); }

/* Entrance: lines rise in */
.js .rise { opacity: 0; transform: translateY(28px); }
.js .is-up .rise {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}

/* --- Sections -------------------------------------------------------------- */
.section { padding-block: var(--sp-section); }
.section--flush-top { padding-top: 0; }
.section--paper { background: var(--paper); }

.section__head { display: grid; gap: 20px; margin-bottom: var(--sp-head); }
.section__head h2 { max-width: 18ch; font-size: clamp(2rem, 5vw, 4rem); }
.section__head p { max-width: 56ch; margin: 0; color: var(--ink-soft); font-size: 1.1rem; }
.section__foot { margin: var(--sp-head) 0 0; color: var(--ink-soft); }

.split { display: grid; gap: 32px; }
.split h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.split__body p { max-width: 58ch; color: var(--ink-soft); font-size: 1.1rem; }
.split__body p strong { color: var(--ink); }

/* --- Cards ------------------------------------------------------------------ */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit;
  text-decoration: none;
}

.card > * { margin: 0; }
.card h3 { font-stretch: 112%; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.08; }
.card p { color: var(--ink-soft); }
.card .btn { align-self: flex-start; margin-top: auto; }

.card--link { transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.card--link:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--brand), 0 24px 48px -28px color-mix(in srgb, var(--brand) 50%, transparent); }
.card--link .go { margin-top: auto; padding-top: 8px; color: var(--brand); font-weight: 600; }
.card--link:hover .go .arrow { transform: translateX(4px); }
.go .arrow { display: inline-block; transition: transform 0.2s var(--ease); }

.card__tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--brand-deep);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.grid-3, .grid-2 { display: grid; gap: var(--sp-gap); }

/* --- Calculator -------------------------------------------------------------- */
.calc {
  margin-top: clamp(56px, 7vw, 88px);   /* a clear break between the hero copy and the calculator */
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(13, 18, 51, 0.25);
  overflow: hidden;
}

.calc__q { padding: clamp(24px, 4vw, 48px); }

.calc__label {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.calc__sentence {
  margin: 0;
  font-family: var(--display);
  font-stretch: 100%;
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0 2px;
  padding: 2px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--brand);
  vertical-align: 0.08em;
  line-height: 1;
}

.chip button {
  display: grid;
  place-items: center;
  width: max(1.45em, 34px);
  height: max(1.45em, 34px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand);
  font: 600 0.62em/1 var(--body);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.chip button:hover { background: var(--brand); color: var(--paper); }

.chip input {
  width: 2.4ch;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 800;
  text-align: center;
  -moz-appearance: textfield;
}

.chip input::-webkit-outer-spin-button,
.chip input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.chip input:focus { outline: none; }
.chip:focus-within { outline: 3px solid var(--coral); outline-offset: 2px; }
.chip__pre { padding-left: 0.3em; font-weight: 800; }

.calc__out {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--ink);
  color: var(--paper);
}

.calc__figure {
  margin: 0;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}

.calc__caption { margin: 10px 0 0; font-size: 1.1rem; color: var(--on-dark); }

.calc__workings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--on-dark-soft);
}

.calc__workings b { color: var(--paper); font-weight: 500; }

.calc__next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.calc__next p { max-width: 46ch; margin: 0; color: var(--on-dark); }
.calc__next strong { color: var(--paper); }

/* --- Problem: pains, then the failed fix ----------------------------------- */
.pains { display: grid; gap: 12px; margin: 0 0 var(--sp-gap); padding: 0; list-style: none; }

.pains li {
  position: relative;
  padding: 20px 22px 20px 52px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.45;
}

.pains li strong { display: block; margin-bottom: 4px; font-weight: 700; }
.pains li span { display: block; color: var(--ink-soft); font-weight: 400; font-size: 1rem; }

.pains li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 29px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.agitate {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--paper);
}

.agitate .agitate__big {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.agitate__big span { color: var(--coral); }
.agitate div p, .agitate div li { color: var(--on-dark); font-size: 1.1rem; }
.agitate div p:last-child { margin-bottom: 0; }
.agitate strong { color: var(--paper); }
.agitate ul { margin: 0 0 1em; padding-left: 1.2em; }
.agitate li { margin-bottom: 6px; }
.agitate li::marker { color: var(--coral); }

/* --- Proof band ------------------------------------------------------------ */
.proof {
  padding: var(--sp-section) 0;
  background: var(--brand);
  color: var(--paper);
}

.proof .eyebrow { color: var(--on-dark); }
.proof__h { max-width: 22ch; margin-bottom: var(--sp-head); font-size: clamp(1.8rem, 4vw, 3.2rem); }
.proof__grid { display: grid; gap: 40px; }
.proof__item { border-top: 1px solid var(--line-light); padding-top: 20px; }

.proof__before {
  position: relative;
  display: inline-block;
  font-family: var(--display);
  font-stretch: 100%;
  font-weight: 600;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.62);
}

.proof__before::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
  transform-origin: left;
}

.proof__after {
  display: block;
  margin: 4px 0 10px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.proof__caption { margin: 0; font-size: 0.95rem; color: var(--on-dark); }
.proof__caption a { color: var(--paper); }

.js .proof__before::after { transform: scaleX(0); }
.js .proof__after { opacity: 0; transform: translateY(12px); }
.js .is-up .proof__before::after { transform: scaleX(1); transition: transform 0.6s var(--ease) calc(var(--d, 0) * 400ms); }
.js .is-up .proof__after { opacity: 1; transform: none; transition: opacity 0.7s var(--ease) calc(var(--d, 0) * 400ms + 450ms), transform 0.7s var(--ease) calc(var(--d, 0) * 400ms + 450ms); }

.quote {
  margin: var(--sp-head) 0 0;
  max-width: 32ch;
  font-family: var(--display);
  font-stretch: 100%;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--on-dark-soft);
}

.quote--ink { color: var(--ink); }
.quote--ink cite { color: var(--ink-soft); }

.proof__more { margin-top: var(--sp-head); }

/* --- Logos (Elfsight embed) ------------------------------------------------ */
.logos { padding: calc(var(--sp-section) * 0.75) 0; background: var(--paper); }
.logos .section__head { margin-bottom: 28px; }
.logos__embed { min-height: 120px; }

/* --- Expert map: today vs with SCALE --------------------------------------- */
.map__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.seg button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: 600 0.92rem/1 var(--body);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.switch {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 8px 6px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 600 0.95rem/1 var(--body);
  cursor: pointer;
}

.switch__track {
  position: relative;
  width: 64px;
  height: 36px;
  border-radius: 999px;
  background: var(--coral);
  transition: background-color 0.3s;
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform 0.35s var(--ease);
}

.switch[aria-checked="true"] .switch__track { background: var(--brand); }
.switch[aria-checked="true"] .switch__track::after { transform: translateX(28px); }

.board { display: grid; gap: var(--sp-gap); }

.lane {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.4s;
}

.lane__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lane__head h3 { font-stretch: 112%; font-size: 1.15rem; line-height: 1.1; letter-spacing: -0.01em; }
.lane__count { white-space: nowrap; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-soft); }

.lane ul {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lane__empty { margin: auto 0 0; font-size: 0.92rem; color: var(--ink-soft); }

.task {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--brand-deep);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.25;
}

.lane--expert .task { background: rgba(255, 90, 78, 0.12); color: var(--coral-ink); }
.lane--expert.is-crowded { background: var(--coral-wash); box-shadow: inset 0 0 0 1.5px var(--coral); }

.board__note {
  margin: 20px 0 0;
  min-height: 3.2em;
  font-family: var(--display);
  font-stretch: 100%;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.3;
}

.board__note a { color: var(--brand); }

/* --- SCALE ------------------------------------------------------------------ */
.scale { background: var(--ink); color: var(--paper); }
.scale .section__head p { color: var(--on-dark-soft); }
.scale .eyebrow { color: var(--on-dark); }

.stages { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }

.stage {
  position: relative;
  padding: 28px 24px 28px 92px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
}

.stage::before {
  content: attr(data-letter);
  position: absolute;
  left: 22px;
  top: 18px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--brand);
}

.stage__num { margin: 0 0 6px; font-family: var(--mono); font-size: 0.78rem; color: var(--on-dark-soft); }
.stage h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }

.stage__line {
  font-family: var(--display);
  font-stretch: 100%;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--mist);
}

.stage p { color: var(--on-dark); }

.stage__gate {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
}

.stage__gate b {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  line-height: 1.9;
}

@media (max-width: 30rem) {
  .stage { padding: 24px 20px; }
  .stage::before { position: static; display: block; margin-bottom: 8px; font-size: 2.8rem; }
}

.scale__stage-area, .scale__bar { display: none; }
.scale__head { padding-top: var(--sp-section); }
.scale__end { padding-bottom: var(--sp-section); }
.scale__foot { margin: var(--sp-head) 0 0; }
.scale__foot .btn--ghost { color: var(--paper); }

.scale.is-pinned .scale__sticky {
  position: sticky;
  top: var(--sticky-top, var(--header));
  display: grid;
  gap: var(--sp-head);
}

.scale.is-pinned .stages { display: none; }
.scale.is-pinned .scale__stage-area {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.scale.is-pinned .scale__bar { display: block; }

.big-letter {
  position: relative;
  height: 1em;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: min(34vh, 18vw);
  line-height: 0.8;
  color: var(--brand);
}

.big-letter span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18%);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.big-letter span.is-on { opacity: 1; transform: none; }
.big-letter span.is-past { opacity: 0; transform: translateY(-18%); }

.panel-stack { position: relative; min-height: 300px; }

.panel {
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0s 0.45s;
}

.panel.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.45s var(--ease) 0.1s, transform 0.55s var(--ease) 0.1s, visibility 0s;
}

.panel .stage__num { font-size: 0.85rem; }
.panel h3 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin-bottom: 14px; }
.panel .stage__line { font-size: 1.45rem; margin-bottom: 14px; }
.panel p { color: var(--on-dark); }

.pile { position: relative; height: 388px; margin-top: 34px; }

.pile__label {
  position: absolute;
  top: -34px;
  left: 0;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.doc {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--n) * 62px);
  height: 140px;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  transform: translateY(-60px) rotate(var(--tilt, 0deg));
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.35s;
}

.doc.is-in { opacity: 1; transform: rotate(var(--tilt, 0deg)); }

.doc__kind {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.doc__kind span:last-child { color: var(--brand); }

.doc__title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc__lines span { display: block; height: 6px; margin-bottom: 7px; border-radius: 3px; background: var(--chalk); }
.doc__lines span:nth-child(2) { width: 82%; }
.doc__lines span:nth-child(3) { width: 64%; }

.scale__bar { position: relative; }

.scale__bar ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
}

.scale__bar ol::before,
.scale__progress {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  border-radius: 2px;
}

.scale__bar ol::before { right: 0; background: var(--line-light); }
.scale__progress { width: 0; background: var(--coral); transition: width 0.15s linear; }

.scale__bar button {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font: 500 0.95rem/1.2 var(--body);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.scale__bar button b { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 1.6rem; }
.scale__bar button:hover, .scale__bar button[aria-current="step"] { color: var(--paper); }
.scale__bar button[aria-current="step"] b { color: var(--coral); }

/* --- Offers ------------------------------------------------------------------ */
.offers { display: grid; gap: var(--sp-gap); align-items: end; }

.offer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.offer > * { margin: 0; }
.offer .btn { align-self: flex-start; margin-top: 8px; }

.offer__step {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.offer h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.offer p { color: var(--ink-soft); }

.offer--lead { background: var(--brand); color: var(--paper); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--brand) 70%, transparent); }
.offer--lead .offer__step, .offer--lead p { color: var(--on-dark); }
.offer--lead strong { color: var(--paper); }
.offer--opt { background: var(--mist); box-shadow: none; }

.offer__price {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.offer--lead .offer__price { color: var(--paper); }
.offer__price small { font-size: 0.32em; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.card .offer__price { font-size: clamp(2.4rem, 3.6vw, 3.2rem); white-space: nowrap; }
.agitate .eyebrow { color: var(--on-dark); }

.stack { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stack li { position: relative; padding-left: 30px; }

.stack li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
}

.stack--ink li::before { background: var(--brand); color: var(--paper); }

/* Build payments: a real sequence */
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }

.steps li {
  position: relative;
  padding: 22px 22px 22px 72px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 800;
}

.steps strong { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem; }
.steps span { color: var(--ink-soft); }

/* --- Build lists (what we build) ------------------------------------------- */
.build-col h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 16px; }
.build-col > p { color: var(--ink-soft); margin-bottom: 18px; }

.items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.items li {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-soft);
}

.items li strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 700; }
.items--keep li { background: var(--coral-wash); box-shadow: inset 0 0 0 1px rgba(255, 90, 78, 0.35); }

/* --- Sector router ------------------------------------------------------- */
.router .card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.also { margin: var(--sp-head) 0 0; color: var(--ink-soft); }

/* --- Portrait ------------------------------------------------------------- */
.hero-split { display: grid; gap: 48px; align-items: center; }

.portrait {
  position: relative;
  margin: 0 16px 16px 0;
  max-width: 420px;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border-radius: var(--r-lg);
  background: var(--brand);
}

.portrait img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--mist);
}

.portrait--small { max-width: 220px; }
.portrait--small::before { inset: 10px -10px -10px 10px; background: var(--coral); }

@media (min-width: 48rem) {
  .hero-split { grid-template-columns: 1.35fr 0.65fr; gap: 64px; }
  .hero-split .portrait { justify-self: end; }
}

/* --- Susan ----------------------------------------------------------------- */
.susan { display: grid; gap: 40px; }
.susan__card { display: grid; align-content: start; gap: 24px; }

.monogram {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--paper);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 2.6rem;
  letter-spacing: -0.04em;
}

.susan h2 { font-size: clamp(2rem, 5vw, 4rem); max-width: 12ch; }
.susan__copy p { max-width: 54ch; color: var(--ink-soft); font-size: 1.1rem; }

.facts { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }

.facts li {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}

.facts b {
  display: block;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--brand);
}

/* --- FAQ ----------------------------------------------------------------------- */
.faq-grid { display: grid; gap: 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  list-style: none;
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.25;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}

.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: var(--paper); }
.faq summary:hover::after { background: var(--brand); color: var(--paper); }
.faq details p { max-width: 64ch; margin: 0; padding: 0 0 24px; color: var(--ink-soft); }
.faq details a { color: var(--brand); }

/* --- Case studies: the overview grid (Case studies page) --------------------------
   Each tile sets --tint-wash (a pale wash of the client's own colour) inline, and
   --r, the poster's height-to-width ratio, so hovering scrolls the screen inside it. */
.filters { margin-bottom: clamp(32px, 4vw, 48px); }
@media (max-width: 64rem) { .filters { border-radius: var(--r-md); } }

.work-grid { display: grid; gap: clamp(48px, 6vw, 72px) clamp(24px, 3vw, 40px); }

.work { display: grid; align-content: start; gap: 12px; color: inherit; text-decoration: none; }
.work > * { margin: 0; }

.work__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 9% 9% 0;
  border-radius: var(--r-lg);
  background: var(--tint-wash, var(--mist));
  overflow: hidden;
  margin-bottom: 12px;
}

.work__window {
  width: 100%;
  border-radius: 12px 12px 0 0;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(13, 18, 51, 0.08), 0 24px 50px -24px rgba(13, 18, 51, 0.45);
  transition: transform 0.5s var(--ease);
}

.work__bar { display: flex; gap: 5px; padding: 8px 10px; background: var(--chalk); border-bottom: 1px solid var(--line); }
.work__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(13, 18, 51, 0.16); }

.work__screen { aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; }
.work__screen img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.9s var(--ease);
}

.work h2 { font-stretch: 112%; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; text-wrap: balance; transition: color 0.2s; }
.work__client { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.work__line { max-width: 46ch; color: var(--ink-soft); }

.work:hover h2, .work:focus-visible h2 { color: var(--brand); }
.work:hover .work__window { transform: translateY(-8px); }
.work:hover .work__screen img {
  transform: translateY(calc((0.625 - var(--r, 0.625)) * 100cqw));
  transition: transform 5s cubic-bezier(0.45, 0, 0.2, 1);
}
.work:focus-visible { outline: none; }
.work:focus-visible .work__media { outline: 3px solid var(--brand); outline-offset: 4px; }

/* Printed guides fanned out (the Entrepreneurs' Programme tile and hero) */
.fan { display: flex; justify-content: center; align-items: flex-end; width: 100%; height: 100%; }
.fan img {
  flex: none;
  width: 44%;
  height: auto;
  margin: 0 -12% -8%;   /* five covers, overlapping, fill the width exactly */
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(13, 18, 51, 0.12), 0 18px 36px -18px rgba(13, 18, 51, 0.5);
  transform-origin: 50% 100%;
  transform: rotate(var(--a, 0deg)) translateY(var(--y, 0%));
  transition: transform 0.6s var(--ease);
}
.fan img:nth-child(1) { --a: -16deg; --y: 10%; }
.fan img:nth-child(2) { --a: -8deg; --y: 3%; }
.fan img:nth-child(4) { --a: 8deg; --y: 3%; }
.fan img:nth-child(5) { --a: 16deg; --y: 10%; }
.work:hover .fan img { transform: rotate(calc(var(--a, 0deg) * 1.3)) translateY(calc(var(--y, 0%) - 4%)); }

/* --- Case study pages ------------------------------------------------------------ */
.cs-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.cs-back { display: inline-block; margin-bottom: clamp(28px, 4vw, 48px); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-soft); text-decoration: none; }
.cs-back:hover { color: var(--brand); }
.cs-hero__grid { display: grid; gap: 32px; }
.cs-hero h1 { max-width: 15ch; margin-top: 18px; font-size: clamp(2.4rem, 6.4vw, 5.6rem); }
.cs-hero .lead { max-width: 40ch; }

.stat-big { margin: 0; }
.stat-big b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand);
  text-wrap: balance;
}
.stat-big span { display: block; margin-top: 8px; font-size: 0.95rem; color: var(--ink-soft); }

/* The stage: the project's screens playing in a browser window, on the client's colour */
.cs-stage { padding-bottom: var(--sp-section); }

.cs-facts { display: grid; gap: 24px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.cs-facts > div { display: grid; gap: 6px; align-content: start; }
.cs-facts dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.cs-facts dd { margin: 0; font-weight: 600; }
.cs-facts dd a { color: var(--brand); }

/* Numbered chapters: 01 The situation, 02 What we did, 03 The results */
.chapters { display: grid; gap: clamp(56px, 7vw, 96px); }
.chapter { display: grid; gap: 16px 48px; }
.chapter__num { margin: 0; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.12em; color: var(--coral-ink); }
.chapter h2 { margin-bottom: 22px; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.chapter__body { max-width: 64ch; }
.chapter__body p { color: var(--ink-soft); font-size: 1.1rem; }
.chapter__body p:first-child { color: var(--ink); font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.45; }
.chapter__body a { color: var(--brand); }

.results { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.results li {
  position: relative;
  padding: 18px 20px 18px 58px;
  border-radius: var(--r-md);
  background: var(--chalk);
  font-size: 1.05rem;
}
.results li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
}

/* The headline number, on indigo */
.cs-band { padding: clamp(64px, 8vw, 112px) 0; background: var(--brand); color: var(--paper); }
.cs-band__grid { display: grid; gap: 20px; align-items: end; }
.cs-band b { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(3rem, 9vw, 7.5rem); line-height: 0.95; letter-spacing: -0.03em; }
.cs-band p { max-width: 30ch; margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.35; color: var(--on-dark); }

/* In their words: quote beside the interview */
.cs-proof { display: grid; gap: var(--sp-gap); }
.cs-quote {
  margin: 0;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.3;
}
.cs-quote cite { display: block; margin-top: 18px; font-family: var(--mono); font-size: 0.78rem; font-style: normal; letter-spacing: 0.04em; color: var(--ink-soft); }
.cs-note { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.cs-note p { color: var(--ink-soft); font-size: 1.05rem; }
.cs-note p:first-child { color: var(--ink); }

/* More of the work: print pieces as paper, other images as they are */
.prints { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(28px, 4vw, 48px); align-items: end; }
.paper { margin: 0; display: grid; gap: 14px; justify-items: center; }
.paper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(13, 18, 51, 0.1), 0 28px 50px -26px rgba(13, 18, 51, 0.5);
  transform: rotate(var(--a, 0deg));
  transition: transform 0.4s var(--ease);
}
.paper:nth-child(odd) img { --a: -1.5deg; }
.paper:nth-child(even) img { --a: 1.5deg; }
.paper:hover img { transform: rotate(0deg) translateY(-6px); }
.paper--banner img { width: 62%; }
/* On phones the tilt would push a full-width print's corners into the side margin. */
@media (max-width: 30rem) { .paper:not(.paper--banner) img { width: 90%; } }
.paper figcaption, .shot figcaption { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.shot { margin: 0 0 clamp(28px, 4vw, 48px); display: grid; gap: 14px; }
.shot img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }

.cs-gallery { padding: var(--sp-section) 0; background: var(--tint-wash, var(--mist)); }

/* The work, near the end of the page: the mockups kept small, so they show the shape of
   what we built rather than every word of it. Print pieces sit beside them as one image. */
.cs-work { padding: var(--sp-section) 0; background: var(--tint-wash, var(--mist)); }
.cs-work__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; justify-items: center; }
.cs-work .mock, .cs-print { width: 100%; max-width: 560px; }
.cs-work .mock__stage { padding: 0; background: none; }
.cs-print { margin: 0; }
.cs-print img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }
.cs-work__head { justify-self: stretch; }
/* What we did on this project: the services, each linking to its section on Services */
.cs-services { margin: 20px 0 0; padding: 0; list-style: none; }
.cs-services a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  text-decoration: none;
  transition: color 0.2s;
}
.cs-services li:last-child a { border-bottom: 1px solid var(--line); }
.cs-services a::after { content: "→"; color: var(--brand); font-family: var(--body); font-weight: 600; transition: transform 0.2s var(--ease); }
.cs-services a:hover { color: var(--brand); }
.cs-services a:hover::after { transform: translateX(4px); }

/* Placeholder until the client's screens arrive */
.cs-soon { display: grid; place-items: center; aspect-ratio: 16 / 7; padding: 24px; border-radius: var(--r-lg); background: var(--tint-wash, var(--mist)); text-align: center; color: var(--ink-soft); font-family: var(--mono); font-size: 0.85rem; }

/* Next case study */
.cs-next { display: grid; gap: 10px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: box-shadow 0.25s, transform 0.25s var(--ease); }
.cs-next:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--brand); }
.cs-next > * { margin: 0; }
.cs-next__label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.cs-next b { font-family: var(--display); font-stretch: 112%; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.05; }
.cs-next .go { color: var(--brand); font-weight: 600; }
.cs-next:hover .go .arrow { transform: translateX(4px); }

/* --- Mockup: a browser window that plays a project's screens --------------------
   Each screen scrolls top to bottom like a page (see site.js). */
.mock { margin: 0; }
.mock__stage { padding: clamp(14px, 4.5vw, 64px); border-radius: var(--r-lg); background: var(--tint-wash, var(--mist)); }
.mock__window {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--r-md);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(13, 18, 51, 0.08), 0 30px 70px -24px rgba(13, 18, 51, 0.4);
}
.mock__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--chalk); border-bottom: 1px solid var(--line); }
.mock__dots { display: flex; flex: none; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(13, 18, 51, 0.16); }
.mock__url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock__pause { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); cursor: pointer; }
.mock__pause:hover { background: var(--paper); color: var(--ink); }
.mock__pause:focus-visible, .mock__tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mock__pause svg { width: 14px; height: 14px; }

.mock__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.mock__shot {
  position: absolute;
  inset: 0 0 auto 0;
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform-origin: 50% 0;
  transition: opacity 0.6s var(--ease);
}
.mock__shot.is-on { opacity: 1; }

/* Without JavaScript, or with reduced motion: one screen at a time, scrolled by hand. */
.mock:not(.is-live) .mock__screen, .mock.is-still .mock__screen { overflow-y: auto; }
.mock:not(.is-live) .mock__shot { position: static; opacity: 1; }
.mock:not(.is-live) .mock__shot:not(:first-child) { display: none; }
.mock.is-still .mock__shot:not(.is-on) { display: none; }
.mock.is-still .mock__shot.is-on { position: static; }

.mock__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.mock__tab {
  position: relative;
  overflow: hidden;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-soft);
  font: 500 0.82rem var(--body);
  cursor: pointer;
}
.mock__tab:hover { color: var(--ink); }
.mock__tab[aria-pressed="true"] { color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.mock__tab--bar { width: 32px; height: 6px; padding: 0; background: rgba(13, 18, 51, 0.14); box-shadow: none; }
.mock__tab--bar[aria-pressed="true"] { box-shadow: none; }
.mock__tab--bar .mock__fill { height: 100%; }
.mock__fill { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }

/* The guides fanned out, at hero size */
.mock__stage .fan { aspect-ratio: 16 / 9; max-width: 1040px; margin: 0 auto; align-items: center; padding-top: 4%; }
.mock__stage .fan img { width: 26%; margin: 0 -4.4%; }


.video {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 16 / 9;
  padding: 20px;
  border-radius: var(--r-md);
  background: radial-gradient(120% 90% at 85% 10%, var(--brand) 0%, var(--brand-deep) 45%, var(--ink) 100%);
  color: var(--paper);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.video:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--brand) 60%, transparent); }

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--coral);
  transition: transform 0.25s var(--ease);
}

.video__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--paper);
  transform: translate(-50%, -50%);
}

.video:hover .video__play { transform: scale(1.08); }
.video--link .video__play::after { content: "→"; left: 50%; border: 0; color: var(--paper); font: 700 1.9rem/1 var(--body); transform: translate(-50%, -54%); }

.video__label { position: relative; display: grid; gap: 2px; }
.video__label b { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.video__label span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-soft); }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink);
}

.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 64rem) {
  .cs-proof { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
  .cs-proof .video { aspect-ratio: auto; min-height: 260px; }
}

/* --- Closing band ---------------------------------------------------------- */
.close { padding: var(--sp-section) 0; background: var(--brand); color: var(--paper); }
.close .eyebrow { color: var(--on-dark); }
.close h2 { max-width: 16ch; margin-bottom: clamp(20px, 2.5vw, 28px); font-size: clamp(2.4rem, 6.5vw, 5.4rem); }
.close__grid { display: grid; gap: 48px; }
.close p { max-width: 48ch; font-size: 1.15rem; color: var(--on-dark); }
.close .cta-row { margin-top: 8px; }

.guide { padding: 28px; border-radius: var(--r-lg); background: var(--brand-deep); }
.guide h3 { font-size: 1.5rem; margin-bottom: 10px; }
.guide p { font-size: 1rem; }
.guide form { display: grid; gap: 10px; margin-top: 18px; }

.guide input {
  min-height: 52px;
  padding: 0 20px;
  border: 1.5px solid var(--line-light);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font: 500 1rem var(--body);
}

.guide input::placeholder { color: var(--on-dark-soft); }

/* --- Legal ------------------------------------------------------------------- */
.legal { max-width: 74ch; }
.legal h2 { margin: 48px 0 14px; font-stretch: 112%; font-size: 1.3rem; letter-spacing: -0.01em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 28px 0 14px; font-stretch: 105%; font-size: 1.1rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--brand); }

/* --- Footer ------------------------------------------------------------------ */
.foot { padding: var(--sp-section) 0 28px; background: var(--ink); color: var(--on-dark); }
.foot__grid { display: grid; gap: 36px; }
.foot .logo { color: var(--paper); }
.foot .logo__soft { color: var(--on-dark-soft); }
.foot__tag { max-width: 30ch; margin: 18px 0 0; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--paper); }
.foot h2 { margin-bottom: 14px; font-family: var(--mono); font-stretch: 100%; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); text-decoration: underline; }
.foot__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 0.88rem; color: var(--on-dark-soft); }

/* Focus ring: Coral on dark surfaces (Coral is only 2.8:1 on Chalk). brand-id.md section 8. */
.shift :focus-visible, .scale :focus-visible, .proof :focus-visible, .close :focus-visible, .foot :focus-visible, .agitate :focus-visible, .calc__out :focus-visible, .card--start :focus-visible, .offer--lead :focus-visible { outline-color: var(--coral); }

/* --- Spacing: a section's last block never adds to its bottom padding ----------- */
main section .wrap > :last-child,
main section .wrap > :last-child > :last-child { margin-bottom: 0; }
.shift__foot, .section__foot:has(> .btn:only-child), .scale__foot { display: flex; }
.shift__foot { flex-wrap: wrap; gap: 12px; }

/* --- Results from our work (Home, under the hero) ------------------------------- */
.shift { padding: var(--sp-section) 0; background: var(--ink); color: var(--paper); }
.shift .eyebrow { color: var(--on-dark); }
.shift .section__head p { color: var(--on-dark-soft); }
.shift__cols { display: none; }
.shift__rows { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }

.shift__row {
  display: grid;
  gap: 14px;
  padding: 26px 0;
  border-top: 1px solid var(--line-light);
}
.shift__row:last-child { border-bottom: 1px solid var(--line-light); }

.shift__who { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.15rem; line-height: 1.15; }
.shift__who a { color: var(--paper); text-decoration: none; }
.shift__who a:hover { text-decoration: underline; }
.shift__who span { display: block; margin-top: 6px; font-family: var(--mono); font-stretch: 100%; font-weight: 400; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-soft); }

.shift__cell { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: baseline; }
.shift__cell p { grid-column: 1 / -1; max-width: 40ch; margin: 0; color: var(--on-dark); font-size: 0.98rem; }
.shift__label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }
.shift__cell b { font-family: var(--display); line-height: 1; letter-spacing: -0.02em; }

.shift__now b {
  position: relative;
  justify-self: start;
  font-stretch: 100%;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: rgba(255, 255, 255, 0.6);
}
.shift__now b::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 3px;
  border-radius: 2px;
  background: var(--coral);
  transform-origin: left;
}
.shift__next b { font-stretch: 125%; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--paper); }
.shift__next b em { font-style: normal; color: #b9b5f2; }

.js .shift__now b::after { transform: scaleX(0); }
.js .shift__next { opacity: 0; transform: translateX(-12px); }
.js .is-up .shift__now b::after { transform: scaleX(1); transition: transform 0.5s var(--ease) calc(var(--d, 0) * 160ms + 200ms); }
.js .is-up .shift__next { opacity: 1; transform: none; transition: opacity 0.6s var(--ease) calc(var(--d, 0) * 160ms + 550ms), transform 0.6s var(--ease) calc(var(--d, 0) * 160ms + 550ms); }

.shift__foot { margin: var(--sp-head) 0 0; }
.shift__foot .btn--ghost { color: var(--paper); }
.shift .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* --- Services ---------------------------------------------------------------- */
.causes { display: grid; gap: 10px; margin: 0 0 var(--sp-head); padding: 0; list-style: none; counter-reset: cause; }
.causes li {
  position: relative;
  padding: 16px 18px 16px 56px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-soft);
}
.causes li::before {
  counter-increment: cause;
  content: counter(cause);
  position: absolute;
  left: 16px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--coral-wash);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 78, 0.45);
  color: var(--coral-ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
}
.causes strong { display: block; margin-bottom: 2px; color: var(--ink); }

.svc-grid { display: grid; gap: var(--sp-gap); }
.svc__when, .svc__intro .svc__when { margin: 0; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral-ink); }
.card--start { background: var(--brand); color: var(--paper); box-shadow: none; }
.card--start p { color: var(--on-dark); }
.card--start .card__tag { background: rgba(255, 255, 255, 0.16); color: var(--paper); }
.card--start .offer__price { margin: 4px 0; color: var(--paper); }
.card--start .cta-row { margin-top: auto; padding-top: 8px; gap: 10px; }
.card--start .btn--ghost:hover { background: var(--paper); color: var(--brand); }

/* One service, in full (Services page) */
.svc { display: grid; gap: 24px; padding: var(--sp-section) 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 10px 0 16px; }
.svc__intro p { max-width: 48ch; color: var(--ink-soft); font-size: 1.1rem; }
.svc__proof { margin: 18px 0 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--mist); color: var(--ink); font-size: 0.98rem; }
.svc__proof b { display: block; margin-bottom: 4px; font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-deep); }
.svc__proof a { color: var(--brand); }

/* --- SCALE strip (Home) -------------------------------------------------------- */
.strip { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.strip li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
  align-items: baseline;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.strip b { grid-row: span 2; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--brand); }
.strip strong { font-family: var(--display); font-stretch: 112%; font-size: 1.1rem; }
.strip span { color: var(--ink-soft); font-size: 0.95rem; }

/* --- Wider screens -------------------------------------------------------- */
@media (min-width: 48rem) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .causes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .strip li { grid-template-columns: 1fr; align-content: start; gap: 6px; }
  .strip b { grid-row: auto; }
  .shift__row { grid-template-columns: minmax(9rem, 0.8fr) 1fr 1fr; gap: 28px; align-items: start; }
  .shift__cols {
    display: grid;
    grid-template-columns: minmax(9rem, 0.8fr) 1fr 1fr;
    gap: 28px;
    padding-bottom: 12px;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-dark-soft);
  }
  .shift__cols span:nth-child(3) { color: var(--paper); }
  .shift__cell .shift__label { display: none; }
  .shift__cell { grid-template-columns: 1fr; }
}

@media (min-width: 64rem) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-grid .card--span2 { grid-column: span 2; }
  .causes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svc { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

/* --- Wider screens -------------------------------------------------------- */
@media (min-width: 48rem) {
  .proof__grid, .grid-3, .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lane { min-height: 280px; }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer--lead { grid-column: 1 / -1; }
  .offer--lead { padding-block: 48px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agitate { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; gap: 48px; }
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (min-width: 64rem) {
  .offers { grid-template-columns: 1.25fr 1fr 1fr; }
  .offer--lead { grid-column: auto; }
  .cs-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(12rem, 20rem); align-items: end; gap: 48px; }
  .stat-big { text-align: right; }
  .chapter { grid-template-columns: 10rem minmax(0, 1fr); }
  .cs-work__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter__num { padding-top: 1.1em; }
  .nav-links { display: flex; }
  .menu-btn, .menu { display: none !important; }
  .calc { display: grid; grid-template-columns: 1.35fr 1fr; }
  .calc__out { align-content: space-between; }
  .susan { grid-template-columns: 0.9fr 1.1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rise, .js .proof__after, .js .shift__next { opacity: 1; transform: none; }
  .js .proof__before::after, .js .shift__now b::after { transform: scaleX(1); }
}
