/* ============================================================
   Carousel Creative — Design B
   Boutique private-capital / advisory posture:
   oversized editorial type, hairline rules, vast negative space,
   flat warm surfaces, restrained motion.
   ============================================================ */

:root {
  /* Warm clay accents (shared with Design A) */
  --clay-1:    #7E403B;
  --clay-2:    #A6534E;
  --clay-3:    #B66A4C;
  --clay-4:    #C6834A;
  --accent:    #A6534E;   /* single restrained accent */
  --pop:       #f79631;   /* bright orange — used sparingly for tiny accents */

  /* Warm neutrals */
  --paper:     #FBF7F4;   /* warm off-white base */
  --paper-2:   #FFFFFF;
  --shell:     #F1EAEB;
  --ink:       #3A2521;   /* deep espresso brown */
  --ink-soft:  #6A4942;
  --ink-faint: #9A807A;
  --line:      rgba(58, 37, 33, 0.16);
  --line-soft: rgba(58, 37, 33, 0.09);

  /* Type — prefer genuine Cambria/Calibri, fall back to open twins */
  --serif: "Cambria", "Caladea", Georgia, "Times New Roman", serif;
  --sans:  "Calibri", "Carlito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut:  clamp(24px, 6vw, 88px);
  --sect: clamp(96px, 16vh, 200px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--pop); color: var(--paper-2); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper-2);
  padding: 0.8em 1.2em;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section { padding-block: var(--sect); }

/* ---------- shared type primitives ---------- */
.label {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pop);
}

/* ---------- editorial CTA link ----------
   Text-only call to action: no fill, no box, no heavy border. A thin
   underline draws in left-to-right on hover, the optional arrow nudges
   right, and the label warms to orange. Espresso on light surfaces,
   cream (.cta--light) on dark. */
.cta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  font-family: var(--sans);
  font-size: 0.8125rem;             /* 13px */
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);                /* espresso on light backgrounds */
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color .4s var(--ease);
}
.cta__label { position: relative; padding-bottom: 4px; }
.cta__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.cta__arrow { transition: transform .45s var(--ease); }
.cta:hover, .cta:focus-visible { color: var(--pop); }
.cta:hover .cta__label::after,
.cta:focus-visible .cta__label::after { transform: scaleX(1); }
.cta:hover .cta__arrow,
.cta:focus-visible .cta__arrow { transform: translateX(4px); }

/* cream variant for dark backgrounds */
.cta--light { color: #FBF7F4; }
.cta--light:hover, .cta--light:focus-visible { color: var(--pop); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(130%) blur(12px);
  transition: border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); }
.nav__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: 0.005em;
}
.nav__logo {
  display: block;
  height: 1.7em;
  width: auto;
  flex: none;
}
.nav__brand-text { font-family: var(--sans); font-weight: 700; }
.nav__right { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); }
.nav__link {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.3em;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;            /* confine blob multiply-blending to the hero */
  min-height: calc(100svh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(40px, 8vh, 90px);
}
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero__label { margin-bottom: clamp(28px, 5vh, 48px); }
.hero__label-br { display: none; }   /* single line on desktop; breaks after the "x" on mobile */
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 12vw, 9.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__title .line { display: block; }
.hero__title .line:last-child { color: var(--ink-soft); }
.hero__actions { margin-top: clamp(26px, 4.4vh, 48px); }

/* ---- temporary hero logo strip ----
   SVGs are inlined with fill:currentColor (color set below); PNGs are
   recolored toward espresso (#3A231E) with a filter. Heights are tuned
   per logo for equal optical weight, not equal pixels. Spans the full
   page width with the logos distributed edge to edge. */
.hero__logos {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
  margin-top: clamp(8px, 1.5vh, 20px);
  padding: 0 var(--gut) clamp(28px, 5vh, 56px);
}
.logos__item {
  color: #3A231E;                 /* espresso — drives currentColor on inline SVGs */
  opacity: 0.6;
  transition: opacity .25s var(--ease);
}
.logos__item:hover { opacity: 0.95; }
span.logos__item { display: inline-flex; align-items: center; }
img.logos__item { display: block; width: auto; }
.logos__svg { display: block; width: auto; }
.logos__png {
  /* black-normalize any dark/transparent source, then warm toward #3A231E */
  filter: brightness(0) saturate(100%) invert(12%) sepia(31%) saturate(900%) hue-rotate(335deg) brightness(94%) contrast(92%);
}
/* optical normalization */
.logos__item--cerebras .logos__svg { height: 46px; }
.logos__item--fifty    .logos__svg { height: 44px; }
.logos__item--zlumber  .logos__svg { height: 22px; }
.logos__item--cuddle   .logos__svg { height: 15px; }
.logos__item--article { height: 20px; }
.logos__item--snug    { height: 30px; }
.logos__item--dove    { height: 26px; }

/* ---- hero research field: rings + dots + blobs + veil ---- */
.hero__field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__rings,
.hero__dots,
.hero__blobs,
.hero__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__rings { display: block; }
.hero__dots  { display: block; }

/* translucent audience regions — flat fills, no blur/glow.
   Overlaps darken naturally through transparency. Shapes are generated
   in JS, anchored to the concentric field, and only "breathe" 1–2%. */
.hero__blobs { overflow: visible; }
.hero__blobs path {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}
.blobShape--1 { fill: #B66A4C; fill-opacity: 0.35; animation: breatheA 26s ease-in-out infinite; }   /* warm orange */
.blobShape--2 { fill: #C6834A; fill-opacity: 0.40; animation: breatheB 30s ease-in-out infinite; }   /* caramel brown */
.blobShape--3 { fill: #A6534E; fill-opacity: 0.33; animation: breatheC 23s ease-in-out infinite; }   /* clay / muted rust */

/* entrance: dots & rings softly fade in; regions grow into existence
   (simultaneous, slightly different timing — not a plain fade) */
.hero__rings { animation: fieldFade 2.2s ease both; }
.hero__dots  { animation: fieldFade 2.6s ease both; }
.blobReveal {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 1;
  will-change: transform, opacity;
}
.blobReveal--1 { animation: regionReveal 3.0s cubic-bezier(0.2, 0.7, 0.25, 1) both; }
.blobReveal--2 { animation: regionReveal 3.5s cubic-bezier(0.2, 0.7, 0.25, 1) 0.18s both; }
.blobReveal--3 { animation: regionReveal 3.2s cubic-bezier(0.2, 0.7, 0.25, 1) 0.08s both; }
@keyframes fieldFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes regionReveal {
  0%   { opacity: 0; transform: scale(0.55); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

/* barely-perceptible breathing — expand/contract ~1–2%, anchored in place */
@keyframes breatheA {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.018) rotate(0.5deg); }
}
@keyframes breatheB {
  0%, 100% { transform: scale(1.01) rotate(0deg); }
  50%      { transform: scale(0.99) rotate(-0.4deg); }
}
@keyframes breatheC {
  0%, 100% { transform: scale(1) rotate(-0.3deg); }
  50%      { transform: scale(1.015) rotate(0.4deg); }
}

/* readability veil — keeps the left-aligned hero text crisp */
.hero__veil {
  background:
    linear-gradient(96deg,
      var(--paper) 3%,
      rgba(251, 247, 244, 0.86) 24%,
      rgba(251, 247, 244, 0.42) 44%,
      rgba(251, 247, 244, 0) 64%),
    linear-gradient(to top, rgba(251, 247, 244, 0.6), rgba(251, 247, 244, 0) 16%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__blobs path,
  .blobReveal,
  .hero__rings,
  .hero__dots { animation: none !important; opacity: 1 !important; transform: none !important; }
  .closing__blobs path { animation: none !important; }
}

@media (max-width: 760px) {
  .hero__veil {
    background: linear-gradient(to bottom,
      rgba(251, 247, 244, 0) 22%,
      rgba(251, 247, 244, 0.78) 48%,
      var(--paper) 68%);
  }
}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { border-top: 1px solid var(--line-soft); }
.statement__inner { display: grid; gap: clamp(28px, 4vw, 48px); }
.statement__lead {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  max-width: 20ch;
}
.statement__body {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-left: auto;          /* asymmetric: body sits right */
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { border-top: 1px solid var(--line-soft); }
.process__head { margin-bottom: clamp(56px, 9vh, 120px); }
.process__lead {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin-top: 1.4rem;
}
.process__lead span { color: var(--ink-faint); }

.steps { position: relative; }
.steps__rail {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.steps__fill {
  position: absolute;
  left: 0; top: 0;
  width: 1px;
  height: 0%;
  background: var(--accent);
  will-change: height;
}
.step {
  display: grid;
  grid-template-columns: clamp(64px, 12vw, 150px) 1fr;
  align-items: baseline;
  gap: clamp(16px, 4vw, 56px);
  padding: clamp(30px, 5vh, 52px) 0 clamp(30px, 5vh, 52px) clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line-soft);
}
.step:first-of-type { border-top: 0; }
.step__num {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  transition: color .5s var(--ease);
}
.step.is-active .step__num { color: var(--pop); }
.step__main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 40px);
}
.step__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.step__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: right;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.process__close {
  margin-top: clamp(56px, 9vh, 120px);
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--clay-1);
}

/* ============================================================
   CASE STUDIES — ledger
   ============================================================ */
.work { border-top: 1px solid var(--line-soft); }
.work__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pop);
  margin: 0 0 1.1rem;
}
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  max-width: 18ch;
  margin-bottom: 1.6rem;
}
.lede {
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.work__intro { max-width: 38ch; }
.work__list { border-top: 1px solid var(--line); }
.study {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding-block: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.study__index {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--clay-3);
}
.study__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.study__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--pop); }
.study__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  max-width: 20ch;
  margin-bottom: 1rem;
  transition: color .4s var(--ease);
}
.study__excerpt {
  max-width: 60ch;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}
.study__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent);
  transition: color .4s var(--ease);
}
/* when the link is a real anchor, stretch it so the whole row is clickable */
a.study__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.study__arrow { transition: transform .4s var(--ease); }
/* underline animation on the link text only (matches the .cta__label treatment) */
.study__link-label { position: relative; padding-bottom: 2px; }
.study__link-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
/* arrow bounce: a gentle forward nudge that repeats while the row is hovered */
@keyframes study-arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}
/* Calm layout: rows never indent/translate on hover. Hover only warms the
   link, bounces its arrow, and drives the media preview (see below). */
.study:hover .study__link,
.study:focus-within .study__link { color: var(--pop); }
.study:hover .study__arrow,
.study:focus-within .study__arrow { animation: study-arrow-bounce 1.1s var(--ease) infinite; }
/* underline reveals when the link itself is hovered/focused */
.study__link:hover .study__link-label::after,
.study__link:focus-visible .study__link-label::after { transform: scaleX(1); }

/* ---------- case-study media preview (9:16 poster → video crossfade) ---------- */
.study__media {
  margin: 0;
  width: clamp(140px, 12vw, 168px);
  justify-self: end;
}
.study__media-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: var(--shell);
  transition: transform .5s var(--ease);
}
.study__poster,
.study__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.study__video { opacity: 0; transition: opacity .55s var(--ease); }
.study__poster { transition: opacity .55s var(--ease); }
.study.is-previewing .study__poster { opacity: 0; }
.study.is-previewing .study__video { opacity: 1; }
.study.is-previewing .study__media-frame { transform: scale(1.015); }
.study__media-label {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.study__media-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 0 3.5px 6px;
  border-color: transparent transparent transparent currentColor;
}

.work__cta { margin-top: clamp(40px, 6vh, 64px); }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder { border-top: 1px solid var(--line-soft); }
.founder__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.founder__aside { position: sticky; top: 120px; }
.founder__aside .label { display: block; margin-bottom: 1.6rem; }
.founder__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 320px;
  background: linear-gradient(155deg, var(--clay-3), var(--clay-1));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.founder__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder__portrait span {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 7rem);
  color: rgba(251, 247, 244, 0.92);
}
.founder__lead {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.founder__copy { display: grid; gap: 1.5rem; max-width: 52ch; }
.founder__copy p {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tstm { border-top: 1px solid var(--line-soft); background: var(--shell); }

/* header: kicker + slider controls (controls appear only once enhanced) */
.tstm__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem 2rem;
  margin-bottom: clamp(48px, 7vh, 92px);
}
.tstm__controls { display: none; align-items: center; gap: clamp(12px, 1.6vw, 20px); }
.tstm--enhanced .tstm__controls { display: flex; }
.tstm__nav {
  width: clamp(40px, 5vw, 46px);
  height: clamp(40px, 5vw, 46px);
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), opacity .3s var(--ease);
}
.tstm__nav span { display: block; line-height: 1; transition: transform .3s var(--ease); }
.tstm__nav:hover:not(:disabled), .tstm__nav:focus-visible:not(:disabled) {
  border-color: var(--ink); background: var(--paper-2);
}
.tstm__nav--prev:hover:not(:disabled) span,
.tstm__nav--prev:focus-visible:not(:disabled) span { transform: translateX(-2px); }
.tstm__nav--next:hover:not(:disabled) span,
.tstm__nav--next:focus-visible:not(:disabled) span { transform: translateX(2px); }
.tstm__nav:disabled { opacity: .28; cursor: default; }
.tstm__progress {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  min-width: 6ch;
  text-align: center;
}

/* layout: stacked list by default; JS upgrades to a 2-up editorial pair */
.tstm__viewport { position: relative; }
.tstm--enhanced .tstm__viewport { overflow: hidden; }
.tstm__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 80px);
}
.tstm--enhanced .tstm__list {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  min-height: clamp(220px, 28vh, 320px);
}

.tstm__item { margin: 0; }
.tstm--enhanced .tstm__item {
  flex: 1 1 0;
  min-width: 0;
  display: none;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.tstm--enhanced .tstm__item.is-shown { display: block; }
.tstm--enhanced .tstm__item.is-in { opacity: 1; transform: none; }
.tstm--no-anim .tstm__item { transition: none !important; }

/* a single hairline divides the two columns on desktop */
@media (min-width: 900px) {
  .tstm--enhanced .tstm__item.is-shown + .tstm__item.is-shown {
    border-left: 1px solid var(--line);
    margin-left: clamp(48px, 7vw, 104px);
    padding-left: clamp(48px, 7vw, 104px);
  }
}

.tstm__pull {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.45rem);
  line-height: 1.24;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
.tstm__pull::before { content: "\201C"; }
.tstm__pull::after { content: "\201D"; }

.tstm__by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: clamp(22px, 3vw, 34px) 0 0;
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tstm__name { color: var(--ink); font-weight: 600; }
.tstm__sep, .tstm__co { color: var(--ink-faint); }

.tstm__more {
  display: none;
  margin-top: clamp(18px, 2.4vw, 28px);
  align-items: center;
  gap: .5em;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  color: var(--accent);
  transition: color .3s var(--ease);
}
.tstm--enhanced .tstm__more { display: inline-flex; }
.tstm__more-label {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: background-size .4s var(--ease);
}
.tstm__more:hover, .tstm__more:focus-visible { color: var(--pop); }
.tstm__more:hover .tstm__more-label,
.tstm__more:focus-visible .tstm__more-label { background-size: 100% 1px; }
.tstm__more-arrow { transition: transform .4s var(--ease); }
.tstm__more:hover .tstm__more-arrow,
.tstm__more:focus-visible .tstm__more-arrow { transform: translateX(4px); }

/* ---------- testimonial modal ---------- */
.tstm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 56px);
}
.tstm-modal[hidden] { display: none; }
.tstm-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 37, 33, 0.55);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.tstm-modal.is-open .tstm-modal__overlay { opacity: 1; }
.tstm-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  max-height: min(86vh, 760px);
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  padding: clamp(36px, 6vw, 68px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tstm-modal.is-open .tstm-modal__dialog { opacity: 1; transform: none; }
.tstm-modal__close {
  position: absolute;
  top: clamp(16px, 2.4vw, 26px);
  right: clamp(16px, 2.4vw, 26px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color .3s var(--ease), border-color .3s var(--ease),
              background .3s var(--ease), transform .4s var(--ease);
}
.tstm-modal__close:hover, .tstm-modal__close:focus-visible {
  color: var(--ink); border-color: var(--ink); transform: rotate(90deg);
}
.tstm-modal__mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: .7;
  color: var(--pop);
  margin-bottom: .1em;
}
.tstm-modal__body p {
  margin: 0 0 1.1em;
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .4vw, 1.12rem);
  line-height: 1.75;
  color: var(--ink-soft);
}
.tstm-modal__body p:first-child { color: var(--ink); }
.tstm-modal__body p:last-child { margin-bottom: 0; }
.tstm-modal__by {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
}
.tstm-modal__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + .7vw, 1.4rem);
  color: var(--ink);
}
.tstm-modal__title {
  margin: .45rem 0 0;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tstm-modal__company {
  margin: .3rem 0 0;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pop);
}
body.tstm-modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .tstm--enhanced .tstm__item,
  .tstm-modal__overlay,
  .tstm-modal__dialog { transition: none !important; }
  /* keep the static poster only — no crossfade or scale */
  .study__media-frame, .study__poster, .study__video { transition: none !important; }
  .study.is-previewing .study__media-frame { transform: none; }
  /* no looping arrow bounce — fall back to a single static nudge */
  .study:hover .study__arrow,
  .study:focus-within .study__arrow { animation: none; transform: translateX(6px); }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.closing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;                  /* one immersive dark environment to the page's edge */
  background: #2A1B18;                 /* deep warm espresso */
}
.closing__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 12vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: clamp(36px, 6vh, 60px);
  color: #FBF7F4;                      /* cream */
}
.closing__inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(120px, 22vh, 260px);
  padding-bottom: clamp(52px, 8vh, 116px); /* footer pulled in, with a touch of breathing room */
}
/* very subtle dark gradient pooling at the base so the footer text stays legible */
.closing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(180px, 28vh, 320px);
  background: linear-gradient(to bottom, rgba(42, 27, 24, 0) 0%, rgba(42, 27, 24, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ---- coverage field: cream dots + frosted warm regions + cursor blob ---- */
.closing__field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.closing__rings,
.closing__dots,
.closing__blobs,
.closing__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing__rings { display: block; }
.closing__dots { display: block; }

/* flat translucent "opportunity" regions — no blur, clustered near the field centre */
.closing__blobs path { transform-box: fill-box; transform-origin: center; will-change: transform; }
.fBlob--d0 { animation: fdriftA 26s ease-in-out infinite; }
.fBlob--d1 { animation: fdriftB 33s ease-in-out infinite; }
.fBlob--d2 { animation: fdriftC 29s ease-in-out infinite; }
.fBlob--d3 { animation: fdriftD 37s ease-in-out infinite; }
@keyframes fdriftA { 0%,100% { transform: translate(0,0) scale(1) rotate(0deg); }   50% { transform: translate(2%,-2%) scale(1.04) rotate(3deg); } }
@keyframes fdriftB { 0%,100% { transform: translate(0,0) scale(1.02) rotate(0deg); } 50% { transform: translate(-2%,2%) scale(0.98) rotate(-3deg); } }
@keyframes fdriftC { 0%,100% { transform: translate(0,0) scale(1) rotate(-2deg); }  50% { transform: translate(2%,2%) scale(1.05) rotate(2deg); } }
@keyframes fdriftD { 0%,100% { transform: translate(0,0) scale(1.01) rotate(0deg); } 50% { transform: translate(-2%,-2%) scale(0.97) rotate(3deg); } }

/* soft veil keeps the headline crisp over the regions */
.closing__veil {
  background: radial-gradient(62% 56% at 50% 46%, rgba(42,27,24,0.62), rgba(42,27,24,0) 72%);
  pointer-events: none;
}

/* pause region motion when the section is scrolled away */
.closing.is-paused .closing__blobs path { animation-play-state: paused; }

/* ============================================================
   FOOTER  (a quiet final note inside the closing environment)
   ============================================================ */
.footer {
  position: relative;
  z-index: 2;                          /* above the field + base gradient */
  padding-top: clamp(22px, 4vh, 42px); /* ~20% tighter gap to the section above */
  padding-bottom: clamp(28px, 5vh, 52px);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 2rem;
}
.footer__copy {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(251, 247, 244, 0.58);   /* understated warm cream */
}
.footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
/* social links mirror the CTA/link treatment: underline wipe + arrow nudge */
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  font-size: 0.82rem;
  color: rgba(251, 247, 244, 0.7);
  transition: color .4s var(--ease);
}
.footer__link-label { position: relative; padding-bottom: 2px; }
.footer__link-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.footer__link:hover,
.footer__link:focus-visible { color: #FBF7F4; }
.footer__link:hover .footer__link-label::after,
.footer__link:focus-visible .footer__link-label::after { transform: scaleX(1); }

@media (max-width: 600px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }
}

/* ============================================================
   COMPARISON SWITCHER (dev aid)
   ============================================================ */
.switch {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 0.6em 0.95em;
  opacity: 0.55;
  transition: opacity .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.switch::before { content: "\2190  "; }
.switch:hover { opacity: 1; color: var(--accent); border-color: var(--accent); }

/* ============================================================
   MOTION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .steps__fill { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .founder__inner { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 56px); }
  .founder__aside { position: static; }
  .founder__portrait { max-width: 240px; }
  .statement__body { margin-left: 0; }
}

@media (max-width: 680px) {
  .nav__link { display: none; }
  .step { grid-template-columns: 1fr; gap: 0.9rem; padding-left: clamp(20px, 6vw, 36px); }
  .step__main { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .step__list { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
  .work__head { grid-template-columns: 1fr; }
  .study { grid-template-columns: 1fr; gap: 0.5rem; }
  /* preview stacks below the text on small screens */
  .study__media { justify-self: start; margin-top: 0.9rem; }
  .hero__label-br { display: inline; }   /* break eyebrow after the "x" on mobile */
}

@media (max-width: 440px) {
  body { font-size: 17px; }
}

/* ============================================================
   CASE STUDY (detail page)
   ============================================================ */
.cs-hero {
  padding-top: clamp(40px, 8vh, 96px);
  padding-bottom: 0;
}
/* two-column header: intro + metrics on the left, preview video on the right.
   The full-width rule below sits after the metrics; the video rests above it. */
.cs-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 84px);
  align-items: end;
  padding-bottom: clamp(32px, 5vh, 56px);
  border-bottom: 1px solid var(--line);
}
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(28px, 6vh, 56px);
  transition: color .3s var(--ease);
}
.cs-back__arrow { transition: transform .4s var(--ease); }
.cs-back:hover,
.cs-back:focus-visible { color: var(--pop); }
.cs-back:hover .cs-back__arrow,
.cs-back:focus-visible .cs-back__arrow { transform: translateX(-4px); }

.cs-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  max-width: 15ch;
  margin-bottom: clamp(20px, 3.5vh, 34px);
}
.cs-hero__lede {
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* stats band — the rule before the metrics spans only the left text column */
.cs-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 80px);
  margin: clamp(28px, 4.5vh, 44px) 0 0;
  padding-top: clamp(26px, 4vh, 40px);
  border-top: 1px solid var(--line);
}
.cs-stat { margin: 0; }
.cs-stat__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--clay-3);
}
.cs-stat__label {
  margin: 0.7rem 0 0;
  max-width: 18ch;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* hero media — preview video in the right column, aligned above the lower rule */
.cs-media__frame {
  margin: 0;
  width: clamp(208px, 26vw, 300px);
  border-radius: 16px;
  overflow: hidden;
  background: var(--shell);
  box-shadow: 0 36px 80px -46px rgba(58, 37, 33, 0.55);
}
.cs-media__frame video,
.cs-media__frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* body copy — left-aligned reading column */
.cs-content { padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(80px, 14vh, 160px); }
.cs-body { max-width: 64ch; margin-inline: 0; }
.cs-section + .cs-section { margin-top: clamp(52px, 9vh, 96px); }
.cs-section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin-bottom: clamp(18px, 3vh, 28px);
}
.cs-section p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}
.cs-section p + p { margin-top: 1.15em; }

/* simple in-body list */
.cs-list {
  margin: 1.2em 0 0;
  display: grid;
  gap: 0.6em;
}
.cs-list li {
  position: relative;
  padding-left: 1.4em;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.5;
}
.cs-list li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay-3);
}

.cs-callout {
  margin: clamp(28px, 4.5vh, 44px) 0 0;
  padding: clamp(22px, 3.5vw, 34px) clamp(24px, 4vw, 38px);
  background: var(--shell);
  border-left: 2px solid var(--clay-3);
  border-radius: 10px;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.38;
  color: var(--ink);
}

/* messaging-angle list */
.cs-angles {
  margin-top: clamp(26px, 4.5vh, 40px);
  border-top: 1px solid var(--line-soft);
}
.cs-angle {
  padding-block: clamp(24px, 4vh, 34px);
  border-bottom: 1px solid var(--line-soft);
}
.cs-angle__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  letter-spacing: -0.008em;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.cs-angle p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.62;
}
.cs-angle p + p { margin-top: 0.85em; }

/* ---- two-column body: reading column + sticky creative-examples rail ---- */
.cs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 36%, 420px);
  gap: clamp(40px, 5vw, 84px);
  align-items: start;
}

.cs-portfolio {
  position: sticky;
  top: calc(82px + 28px);          /* fixed nav height + breathing room */
  align-self: start;
}
.cs-portfolio__title {
  margin: 0 0 clamp(16px, 2.4vh, 22px);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.cs-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.9vh, 24px) clamp(10px, 0.9vw, 14px);
}

/* video card — understated, editorial */
.cs-vid {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.cs-vid__caption {
  display: block;
  margin-bottom: 0.45rem;
  min-height: 2.6em;               /* reserve two lines so frames align across a row */
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-3);            /* burnt-orange accent */
  transition: color .3s var(--ease);
}
.cs-vid__frame {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: var(--shell);
  box-shadow: 0 18px 42px -28px rgba(58, 37, 33, 0.5);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cs-vid__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cs-vid__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(251, 247, 244, 0.88);
  box-shadow: 0 8px 20px -10px rgba(58, 37, 33, 0.6);
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.cs-vid__play::before {
  content: "";
  position: absolute;
  left: 53%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent var(--ink);
}
.cs-vid:hover .cs-vid__frame,
.cs-vid:focus-visible .cs-vid__frame {
  transform: translateY(-3px);
  box-shadow: 0 28px 54px -28px rgba(58, 37, 33, 0.55);
}
.cs-vid:hover .cs-vid__caption,
.cs-vid:focus-visible .cs-vid__caption { color: var(--pop); }
.cs-vid:hover .cs-vid__play { transform: translate(-50%, -50%) scale(1.07); background: #FBF7F4; }

/* lightbox modal */
.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 56px);
}
.cs-modal[hidden] { display: none; }
.cs-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 18, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cs-modal__dialog { position: relative; z-index: 1; }
.cs-modal__stage { display: block; }
.cs-modal__stage video {
  display: block;
  max-width: min(92vw, 440px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7);
}
.cs-modal__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #FBF7F4;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
  transition: transform .3s var(--ease);
}
.cs-modal__close:hover { transform: scale(1.08); }
body.cs-modal-open { overflow: hidden; }

/* ---- 404 ---- */
.notfound { min-height: 72vh; display: flex; align-items: center; text-align: center; }
.notfound__inner { max-width: 52ch; margin-inline: auto; }
.notfound__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0;
}
.notfound__lede { margin: 1.2rem auto 2.2rem; color: var(--ink-soft); }
.notfound__actions { display: flex; gap: clamp(1.4rem, 4vw, 2.6rem); justify-content: center; flex-wrap: wrap; }

/* ---- prev / next case-study pager ---- */
.cs-pager { border-top: 1px solid var(--line); }
.cs-pager__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(20px, 5vw, 56px);
  padding-block: clamp(40px, 7vh, 84px);
}
.cs-pager__spacer { display: block; }
.cs-pager__link {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 40ch;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.cs-pager__link--next { margin-left: auto; text-align: right; align-items: flex-end; }

/* tier 1 — direction eyebrow + arrow */
.cs-pager__dir {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.cs-pager__arrow {
  color: var(--clay-3);
  transition: transform .4s var(--ease), color .3s var(--ease);
}

/* tier 2 — number + client */
.cs-pager__meta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cs-pager__num { font-family: var(--serif); font-size: 1.1em; letter-spacing: 0; color: var(--clay-3); }
.cs-pager__sep { color: var(--line); font-weight: 400; }

/* tier 3 — headline */
.cs-pager__headline {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color .3s var(--ease);
}

.cs-pager__link:hover,
.cs-pager__link:focus-visible { color: var(--pop); }
.cs-pager__link:hover .cs-pager__headline,
.cs-pager__link:focus-visible .cs-pager__headline { color: var(--pop); }
.cs-pager__link--prev:hover .cs-pager__arrow,
.cs-pager__link--prev:focus-visible .cs-pager__arrow { transform: translateX(-4px); }
.cs-pager__link--next:hover .cs-pager__arrow,
.cs-pager__link--next:focus-visible .cs-pager__arrow { transform: translateX(4px); }

@media (max-width: 600px) {
  .cs-pager__inner {
    flex-direction: column;
    gap: clamp(28px, 5vh, 40px);
    padding-block: clamp(36px, 6vh, 56px);
  }
  .cs-pager__link { max-width: none; }
  .cs-pager__link--next { margin-left: 0; text-align: left; align-items: flex-start; }
  .cs-pager__spacer { display: none; }
}

@media (max-width: 980px) {
  /* stack the rail below the case-study text; no longer sticky */
  .cs-layout { grid-template-columns: 1fr; gap: clamp(44px, 7vh, 72px); }
  .cs-portfolio { position: static; }
  .cs-portfolio__grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: clamp(24px, 3vw, 34px) clamp(16px, 2vw, 24px);
  }
}
@media (max-width: 760px) {
  .cs-top {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vh, 44px);
    align-items: start;
  }
  .cs-media__frame { width: min(320px, 78vw); }
}
@media (max-width: 680px) {
  .cs-stats { gap: 1.8rem 2.4rem; }
  .cs-modal__close { top: -8px; right: 0; }
}

/* ============================================================
   LEAD MAGNET / LANDING (customer-research-canvas.html)
   ============================================================ */

/* keep the nav CTA on a single line at narrow widths */
.nav__cta { flex: none; }
.nav__cta .cta__label { white-space: nowrap; }
/* on the landing page, drop the wordmark on small screens so the logo
   mark + CTA share the header comfortably */
@media (max-width: 560px) {
  .lm-page .nav__brand-text { display: none; }
}

/* ---- hero: offer copy + form card over the research field ---- */
.lm-hero {
  min-height: auto;
  justify-content: flex-start;
  padding-top: clamp(48px, 9vh, 104px);
  padding-bottom: clamp(56px, 9vh, 120px);
}
.lm-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
  width: 100%;
}
.lm-hero__copy { max-width: 48ch; }
.lm-hero .label { display: block; margin-bottom: clamp(20px, 3vh, 30px); }
.lm-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: clamp(20px, 3vh, 30px);
}
.lm-hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.58;
  color: var(--ink-soft);
  margin-bottom: clamp(24px, 3.5vh, 36px);
}
.lm-checklist { display: grid; gap: 0.85rem; margin-bottom: clamp(26px, 4vh, 38px); }
.lm-checklist li {
  position: relative;
  padding-left: 1.9em;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.45;
  color: var(--ink);
}
.lm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: var(--pop);
  /* a cream checkmark, drawn with a mask so it inherits no extra assets */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 0.78em no-repeat,
          linear-gradient(#000, #000);
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 0.78em no-repeat;
  /* knock the check out of the dot */
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.lm-hero__by {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---- form card ---- */
.lm-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 40px 90px -54px rgba(58, 37, 33, 0.5);
  scroll-margin-top: 100px;
}
.lm-card__head {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 22px);
  padding-bottom: clamp(20px, 2.6vw, 28px);
  margin-bottom: clamp(22px, 2.8vw, 30px);
  border-bottom: 1px solid var(--line-soft);
}
/* mockup image of the printed canvas (has its own shadow + transparent bg) */
.lm-card__cover {
  flex: none;
  width: 92px;
  line-height: 0;
}
.lm-card__cover img { display: block; width: 100%; height: auto; }
.lm-card__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pop);
  margin-bottom: 0.6rem;
}
.lm-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
}
.lm-card__sub { font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); }

/* ---- fields ---- */
.lm-form { display: grid; gap: clamp(14px, 1.8vw, 18px); }
.lm-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.6vw, 16px);
}
.lm-field { display: grid; gap: 0.5rem; }
.lm-field label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lm-field input {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.82em 0.95em;
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.lm-field input::placeholder { color: var(--ink-faint); }
.lm-field input:hover { border-color: var(--ink-faint); }
.lm-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper-2);
  box-shadow: 0 0 0 3px rgba(166, 83, 78, 0.14);
}
.lm-field input:user-invalid { border-color: var(--clay-2); }

/* ---- submit / download button (solid, espresso → warm on hover) ---- */
.lm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  margin-top: 0.4rem;
  width: 100%;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 10px;
  padding: 1.05em 1.4em;
  cursor: pointer;
  transition: background .35s var(--ease), transform .2s var(--ease), opacity .25s var(--ease);
}
.lm-submit:hover, .lm-submit:focus-visible { background: var(--clay-1); }
.lm-submit:active { transform: translateY(1px); }
.lm-submit[disabled], .lm-submit.is-loading { opacity: 0.65; cursor: default; }
.lm-submit__arrow { transition: transform .35s var(--ease); }
.lm-submit:hover .lm-submit__arrow, .lm-submit:focus-visible .lm-submit__arrow { transform: translateX(3px); }
.lm-submit--download:hover .lm-submit__arrow,
.lm-submit--download:focus-visible .lm-submit__arrow { transform: translateY(3px); }

.lm-form__note {
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-align: center;
}
.lm-form__error {
  font-size: 0.85rem;
  color: var(--clay-2);
  text-align: center;
}

/* ---- success state ---- */
/* once submitted, the card collapses to the confirmation only */
.lm-card.is-sent .lm-card__head,
.lm-card.is-sent .lm-form { display: none; }
.lm-success { text-align: center; padding: clamp(6px, 1vw, 12px) 0; }
.lm-success__mark {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pop);
  color: var(--paper-2);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 1.1rem;
}
.lm-success__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}
.lm-success__text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 auto 1.6rem;
}

/* ---- "what's inside" ledger ---- */
.lm-inside { border-top: 1px solid var(--line-soft); }
.lm-inside__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.lm-inside__aside { position: sticky; top: 120px; }
.lm-inside__aside .label { display: block; margin-bottom: 1.4rem; }
.lm-inside__lead {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin-bottom: clamp(20px, 3vh, 30px);
}
.lm-inside__body {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 42ch;
}
.lm-sections { border-top: 1px solid var(--line); }
.lm-sec {
  display: grid;
  grid-template-columns: clamp(48px, 7vw, 84px) 1fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: baseline;
  padding-block: clamp(28px, 4.5vh, 44px);
  border-bottom: 1px solid var(--line);
}
.lm-sec__num {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--clay-3);
  letter-spacing: 0.04em;
}
.lm-sec__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}
.lm-sec__text {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ---- CTA band: desk photo under a soft cream veil — jumps back to the form ---- */
.lm-cta {
  border-top: 1px solid var(--line-soft);
  text-align: center;
  padding-block: clamp(72px, 12vh, 130px);
  background:
    linear-gradient(rgba(251, 247, 244, 0.45), rgba(251, 247, 244, 0.45)),
    url("../customer-research-canvas-desk.png") center / cover no-repeat;
}
.lm-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vh, 38px);
}
.lm-cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: none;
  text-wrap: balance;
}
.lm-cta__btn { width: auto; min-width: 260px; margin-top: 0; }
.lm-cta__btn:hover .lm-submit__arrow,
.lm-cta__btn:focus-visible .lm-submit__arrow { transform: translateY(-3px); }

/* ---- footer on its own dark-espresso band ---- */
.lm-footer {
  background: #2A1B18;
  padding-block: clamp(30px, 5vh, 54px);
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .lm-hero__inner { grid-template-columns: 1fr; gap: clamp(36px, 7vw, 56px); }
  .lm-hero__copy { max-width: none; }
  .lm-inside__grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
  .lm-inside__aside { position: static; }
}
@media (max-width: 480px) {
  .lm-card__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lm-card__cover { width: 64px; }
  .lm-field-row { grid-template-columns: 1fr; }
  .lm-sec { grid-template-columns: 1fr; gap: 0.5rem; }
}
