/*
  Acelo site styles — single source (home + Astro pages).

  Layout: .wrap, .wrap--r, .wrap--l, .section-inner, .section--muted, .section-cta
  Type: .eyebrow, .title-page (+ .title-page--lower), .text-dot,
        editorial straps: --type-strap (default), --type-strap-hero (hero col), --type-strap-tight (~90%),
        .lede, .heading-section, .heading-sub
  Links: .link-cta, .cta-headline (+ .cta-headline--compact), .cta-links
  Lists: .list-stack, .belief-list, .list-ordered, .list-cards, .numbered-list
  Content: .prose, .meta-line, .team-grid / .team-card__*
  Home-only blocks: .hero, .problem-editorial, .principles-*, .process-*, .lens-card, .who-work, .reveal, …
*/

@font-face {
  font-family: 'Gellix';
  src: url('/fonts/Gellix-Thin.woff2') format('woff2'), url('/fonts/Gellix-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gellix';
  src: url('/fonts/Gellix-Regular.woff2') format('woff2'), url('/fonts/Gellix-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gellix';
  src: url('/fonts/Gellix-Medium.woff2') format('woff2'), url('/fonts/Gellix-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gellix';
  src: url('/fonts/Gellix-Medium.woff2') format('woff2'), url('/fonts/Gellix-Medium.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Gellix';
  src: url('/fonts/Gellix-SemiBold.woff2') format('woff2'), url('/fonts/Gellix-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gellix';
  src: url('/fonts/Gellix-Bold.woff2') format('woff2'), url('/fonts/Gellix-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ──────────────────────────────────────────────────────
   * COLOR
   * ─────────────────────────────────────────────────── */
  /* Neutrals shifted from pure black → sophisticated dark grey (paired with brand orange) */
  --fg: #3D3C3C;
  --fg-2: #4a4d56;
  --fg-3: #71747e;
  --uppercase-body: #6a6e78;
  --bg: #ffffff;
  --bg-alt: #ffffff;
  --bg-muted: #f5f6f7;
  --bg-soft: #f5f5f3; /* off-white — same tone as the home lenses section background */
  --dark-bg: #0225AC;
  --dark-fg: #ffffff;
  --dark-fg-2: rgba(255, 255, 255, 0.7);
  --lens-card-bg: #fafafb;
  --white: #ffffff;
  --brand-orange: #ff5a2e;
  --brand-blue: #00135D;
  --brand-blue-soft: rgba(0, 19, 93, 0.32);
  --cta-button: var(--brand-orange);

  /* ──────────────────────────────────────────────────────
   * FONT FAMILIES
   * ─────────────────────────────────────────────────── */
  --font: 'Gellix', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-editorial-lede: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono-stack: ui-monospace, 'SF Mono', 'Segoe UI Mono', Menlo, Consolas, monospace;

  /* ──────────────────────────────────────────────────────
   * TYPE SCALE — one token per role.
   * Use: `font-size: var(--fs-headline)` etc. Mobile→desktop via clamp().
   * ─────────────────────────────────────────────────── */
  --fs-display:    clamp(4rem, 11vw, 13rem);          /* homepage hero (.hero__title) */
  --fs-feature:    clamp(2.5rem, 6.5vw, 7rem);        /* feature display (.principles-display, .lenses-scroll__headline) */
  --fs-feature-lg: clamp(3.6rem, 9.36vw, 10.08rem);   /* deliberate mobile bump for principles/beliefs */
  --fs-page-title: clamp(2.75rem, 8vw, 5.5rem);       /* inner-page H1 (.title-page) */
  --fs-statement:  clamp(2.25rem, 5.5vw, 5rem);       /* dramatic section H2 (beliefs, manifesto, services-modularity, tech-layout, legal) */
  --fs-headline:   clamp(1.75rem, 3.5vw, 2.75rem);    /* default section H2 (.heading-section: contact, about-team, case study) */
  --fs-subhead:    clamp(1.5rem, 3vw, 2.25rem);       /* H3 / lens-detail title */
  --fs-card-title: clamp(1.1rem, 2.2vw, 1.75rem);     /* H4 / list-item & lens-card titles */
  --fs-lede:       clamp(1.1rem, 1.8vw, 1.5rem);      /* intro paragraphs (.lede) */
  --fs-body:       1rem;                               /* default body */
  --fs-body-sm:    0.875rem;                           /* secondary copy */
  --fs-strap:      var(--type-strap);                  /* uppercase paragraph strap (.lede, .about-manifesto__statement) */
  --fs-eyebrow:    0.825rem;                           /* uppercase tracked label (.eyebrow, .heading-sub, footer labels) */
  --fs-caption:    0.75rem;                            /* tiny meta */
  --fs-label-sm:   0.625rem;                           /* tiny labels (overlay foot) */

  /* ──────────────────────────────────────────────────────
   * FONT WEIGHTS — culled from 7 to 3.
   * ─────────────────────────────────────────────────── */
  --fw-regular: 400;   /* body, lede */
  --fw-semi:    600;   /* eyebrows, labels, list numbers */
  --fw-bold:    700;   /* headlines, sub-headlines, list titles */

  /* ──────────────────────────────────────────────────────
   * LINE HEIGHTS — collapsed from 19 to 4.
   * ─────────────────────────────────────────────────── */
  --lh-display: 0.95;   /* display & headlines (tight) */
  --lh-tight:   1.15;   /* sub-headlines */
  --lh-body:    1.55;   /* body, lede */
  --lh-label:   1.42;   /* eyebrows, captions */

  /* ──────────────────────────────────────────────────────
   * LETTER SPACING — collapsed from 21 to 4.
   * Existing --tracking / --tracking-tight kept and aliased here
   * so older rules continue to work.
   * ─────────────────────────────────────────────────── */
  --tracking:        -0.03em;
  --tracking-tight:  -0.045em;
  --ls-display:      var(--tracking-tight);  /* display & big headlines */
  --ls-tight:        var(--tracking);        /* default body & sub-headlines */
  --ls-body:         0;                       /* long-form (legal pages) */
  --ls-eyebrow:      0.08em;                  /* uppercase labels (dominant) */

  /* Editorial strap (existing eyebrow scale; kept verbatim for back-compat) */
  --type-strap: clamp(0.6875rem, 3vw, 0.8125rem);
  --type-strap-lh: 1.42;
  --type-strap-tracking: 0.02em;
  --type-strap-hero: clamp(0.8125rem, 3.45vw, 0.9375rem);
  --type-strap-hero-lh: 1.38;
  --type-strap-tight: clamp(0.61875rem, 2.7vw, 0.73125rem);

  /* ──────────────────────────────────────────────────────
   * SPACING SCALE — 8-step, 4/8px grid. Use everywhere
   * margin/padding currently has bespoke values.
   * ─────────────────────────────────────────────────── */
  --space-2xs: 0.25rem;   /*  4px */
  --space-xs:  0.5rem;    /*  8px */
  --space-sm:  1rem;      /* 16px */
  --space-md:  1.5rem;    /* 24px */
  --space-lg:  2.5rem;    /* 40px */
  --space-xl:  4rem;      /* 64px */
  --space-2xl: 6rem;      /* 96px */
  --space-3xl: clamp(4rem, 8vw, 7rem);  /* fluid section rhythm — same as --space */

  /* ──────────────────────────────────────────────────────
   * LAYOUT
   * --space (existing alias of --space-3xl) kept for back-compat.
   * ─────────────────────────────────────────────────── */
  --gutter: clamp(1.5rem, 4vw, 3.5rem);
  --space:  var(--space-3xl);
  --editorial-measure: min(36rem, 100%);
}

@media (min-width: 64rem) {
  :root {
    --type-strap: 0.8125rem;
    --type-strap-lh: 1.45;
    --type-strap-hero: 0.9375rem;
    --type-strap-hero-lh: 1.42;
    --type-strap-tight: 0.73125rem;
  }
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  letter-spacing: var(--tracking);
  overflow-x: clip;
}

.wrap {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 75rem) {
  .wrap--l {
    max-width: none;
    margin-left: 20%;
    margin-right: var(--gutter);
    padding-left: 0;
  }

  .wrap--r {
    max-width: none;
    margin-left: var(--gutter);
    margin-right: 20%;
    padding-right: 0;
  }
}

@media (min-width: 64rem) {
  .section-inner {
    max-width: min(56rem, 100%);
    width: 100%;
    box-sizing: border-box;
  }

  .footer__inner.section-inner {
    margin-inline: auto;
  }
}

.site-main section {
  padding: var(--space) 0;
}

.site-main > section:first-of-type,
.site-main > article:first-of-type > section:first-of-type {
  padding-top: clamp(7rem, 15vw, 11rem);
}

@media (max-width: 64rem) {
  .site-main > section:first-of-type,
  .site-main > article:first-of-type > section:first-of-type {
    /* Mobile: tighter overall hero top padding (reduced by ~1/3) */
    padding-top: clamp(5.85rem, 13.35vw, 8rem);
  }

  /* But give the eyebrow ~2x its current breathing space above it */
  .site-main > section:first-of-type .eyebrow,
  .site-main > article:first-of-type > section:first-of-type .eyebrow {
    margin-top: clamp(3rem, 6vw, 5rem);
  }
}

.text-wrap-pretty {
  text-wrap: pretty;
}

/* ---- Shared typography & layout tokens (inner pages + home CTA) ---- */

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.title-page {
  font-size: var(--fs-page-title);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  color: var(--fg);
}

.title-page--lower {
  text-transform: lowercase;
}

.text-dot {
  color: var(--brand-orange);
}

.lede {
  font-weight: var(--fw-regular);
  font-size: var(--type-strap);
  line-height: var(--type-strap-lh);
  letter-spacing: var(--type-strap-tracking);
  color: var(--fg);
  max-width: 41ch;
  text-rendering: geometricPrecision;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  padding-top: clamp(0.25rem, 1vw, 0.75rem);
}

.heading-section {
  font-size: var(--fs-headline);
  font-weight: var(--fw-bold);
  letter-spacing: -0.035em;
  line-height: var(--lh-tight);
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
}

.heading-sub {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin: 2rem 0 1rem;
  color: var(--fg);
}

.section--muted {
  background: var(--bg-alt);
}

.link-cta {
  font-size: var(--fs-body);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking);
  color: var(--fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1.5px solid var(--fg);
  padding-bottom: 0.2rem;
  transition: opacity 0.15s;
}

.link-cta:hover {
  opacity: 0.5;
}

.cta-headline {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  max-width: 22ch;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
}

.cta-headline--compact {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.cta-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.section-cta {
  text-align: center;
}

.list-stack,
.belief-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-stack li,
.belief-list li {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.list-stack li:first-child,
.belief-list li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.list-stack strong,
.belief-list strong {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: var(--fw-semi);
  margin-bottom: 0.5rem;
  letter-spacing: var(--tracking);
  color: var(--fg);
}

.list-stack p,
.belief-list p {
  margin: 0;
  color: var(--fg-2);
  max-width: 40rem;
  line-height: 1.65;
}

/* ---- NUMBERED LIST (shared: process steps, beliefs, etc.) ---- */

.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.numbered-list__item {
  display: flex;
  align-items: baseline;
  gap: clamp(0.5rem, 1vw, 0.875rem);
  padding: clamp(0.75rem, 1.5vw, 1rem) 0;
}

.numbered-list__idx {
  display: block;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semi);
  color: var(--brand-orange);
  font-variant-numeric: tabular-nums;
  min-width: 1.5rem;
  flex-shrink: 0;
}

.numbered-list__content {
  flex: 1;
  min-width: 0;
}

.numbered-list__title {
  font-size: var(--fs-card-title);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: var(--lh-tight);
  color: var(--fg);
}

.numbered-list__title .text-dot {
  color: var(--brand-orange);
}

.numbered-list__body {
  margin: 0.5rem 0 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
  max-width: 40rem;
}

.numbered-list__body--solo {
  margin-top: 0;
}

.about-team-intro {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: min(48ch, 100%);
}

/* ---- BELIEFS (about page) ---- */

.beliefs-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding: 0 var(--gutter);
}

.beliefs-headline {
  font-size: var(--fs-statement);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: 0.95;
  margin: 0;
  text-transform: lowercase;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

/* About: section H2s share the statement scale (matches beliefs, services-modularity).
   Keeps "Why we built this.", "What we believe.", "Our core team.", "Why now matters.",
   "Work with us." at one consistent editorial size. */
.about-team .heading-section,
.about-purpose .heading-section,
.about-closing .heading-section {
  font-size: var(--fs-statement);
  letter-spacing: var(--ls-display);
  line-height: 0.95;
  text-wrap: balance;
  max-width: min(22ch, 100%);
}

/* About-team: let the inner container fill the .wrap (90rem) so the team section
   matches the beliefs section width on larger viewports. Mirror the inner gutter
   that .beliefs-split applies so the two sections' content starts at the same
   x position — otherwise the team H2 hugs the left edge while beliefs sits inset. */
@media (min-width: 64rem) {
  .about-team__inner {
    max-width: none;
    padding-inline: var(--gutter);
  }
}

.beliefs-split__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.belief-item {
  padding: clamp(0.75rem, 1.5vw, 1rem) 0;
}

.belief-item__heading {
  margin: 0;
  font-size: clamp(0.8125rem, 1.2vw, 1rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  line-height: var(--lh-label);
  color: var(--fg);
}

.belief-item__num {
  color: var(--brand-orange);
  font-weight: var(--fw-semi);
  margin-right: 0;
}

.belief-item__body {
  margin: 0.5rem 0 0;
  color: var(--fg-2);
  line-height: var(--lh-body);
  font-size: var(--fs-body-sm);
  max-width: 42ch;
}

@media (min-width: 64rem) {
  .beliefs-split {
    grid-template-columns: 2fr 3fr;
    gap: clamp(4rem, 8vw, 8rem);
    align-items: start;
  }

  .beliefs-split__right {
    padding-top: 0.35em;
  }
}

/* ---- ABOUT: MANIFESTO HERO (shared with services hero) ---- */

.about-manifesto {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4rem);
}

@media (max-width: 64rem) {
  .about-manifesto {
    padding-top: clamp(2.75rem, 7vw, 4rem);
  }
}

.about-manifesto__text {
  max-width: min(52rem, 100%);
}

@media (min-width: 64rem) {
  /* Eyebrow in column 1; title + strap stacked in column 2 — only when an eyebrow is present */
  .about-manifesto__text:has(> .eyebrow) {
    display: grid;
    grid-template-columns: minmax(7.5rem, 11rem) minmax(0, min(52rem, 1fr));
    column-gap: clamp(2rem, 5vw, 5rem);
    row-gap: clamp(1.5rem, 3vw, 2.25rem);
    max-width: none;
    align-items: start;
  }

  /* No eyebrow → 2-column: large headline on the left, lede paragraph on the right */
  .about-manifesto__text:not(:has(> .eyebrow)) {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
    max-width: none;
  }
  .about-manifesto__text:not(:has(> .eyebrow)) > .about-manifesto__title {
    grid-column: 1;
    margin: 0;
  }
  .about-manifesto__text:not(:has(> .eyebrow)) > .about-manifesto__second {
    grid-column: 2;
    margin-top: 0;
    max-width: 38ch;
  }
  /* Bump the lede a notch using the existing strap-hero token — no new sizes introduced */
  .about-manifesto__text:not(:has(> .eyebrow)) .about-manifesto__statement {
    font-size: var(--type-strap-hero);
    line-height: var(--type-strap-hero-lh);
    max-width: none;
  }

  .about-manifesto__text > .eyebrow {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1;
    padding-top: clamp(0.38rem, 1vw, 0.68rem); /* cap-align with manifesto title */
  }

  /* Larger services headline — slightly more offset so caps still meet */
  .about-manifesto__text:has(.about-manifesto__title--services) > .eyebrow {
    padding-top: clamp(0.48rem, 1.12vw, 0.82rem);
  }

  .about-manifesto__text > .about-manifesto__title {
    grid-column: 2;
    grid-row: 1;
  }

  .about-manifesto__text > .about-manifesto__second {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }
}

/* If older markup still wraps manifesto in __grid + __image (cached builds), keep one column */
.about-manifesto__grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(2rem, 4vw, 3rem);
}

.about-manifesto__grid > .about-manifesto__text {
  max-width: min(52rem, 100%);
}

@media (min-width: 64rem) {
  .about-manifesto__grid > .about-manifesto__text {
    max-width: none;
  }
}

.about-manifesto__image {
  display: none !important;
}

.about-manifesto__title {
  font-size: clamp(3rem, 8.5vw, 6.75rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: 0.88;
  margin: 0;
}

.about-manifesto__title::first-letter {
  text-transform: uppercase;
}

/* Services hero: same manifesto layout as About, slightly larger display title */
.about-manifesto__title--services {
  font-size: clamp(3.2rem, 9vw, 7.35rem);
}

.about-manifesto__line {
  display: block;
}

.about-manifesto__second {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 36ch;
}

.about-manifesto__statement {
  font-weight: var(--fw-regular);
  font-size: var(--type-strap);
  line-height: var(--type-strap-lh);
  letter-spacing: var(--type-strap-tracking);
  color: var(--fg);
  margin: 0;
  max-width: 41ch;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

/* ---- ABOUT: PURPOSE BAND ---- */

.about-purpose {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

/* Editorial split: H2 + lede sit left, body paragraphs (and signoff/CTA) flow right.
   Mirrors the .beliefs-split rhythm so every about-purpose section reads as a
   two-column editorial unit on wider viewports. */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: clear vertical separation between the stacked lead and body so the
     two beats read as distinct, not as run-on copy. */
  gap: clamp(2.25rem, 6vw, 3.5rem);
}

.about-split__lead,
.about-split__body {
  min-width: 0;
}

.about-split__body > p + p {
  margin-top: 1em;
}

@media (min-width: 64rem) {
  /* Let the split breathe past the global .section-inner cap so the two columns
     have real room to compose. */
  .about-split.section-inner {
    max-width: none;
  }

  .about-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: clamp(3rem, 6vw, 5.5rem);
    row-gap: 0;
    align-items: start;
  }

  .about-split__lead {
    max-width: 36rem;
  }

  /* Inside the split, allow the H2 to use full column width — the column is the
     constraint, no need for the global 22ch cap. */
  .about-split__lead .heading-section {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    max-width: none;
  }

  .about-split__lead .lede {
    margin-bottom: 0;
    max-width: 41ch;
  }

  .about-split__body {
    padding-top: clamp(0.5rem, 1.2vw, 0.9rem);
    max-width: 34rem;
  }

  .about-split__body > p:first-child {
    margin-top: 0;
  }

  /* Closing CTA: anchor the orange button to the bottom-right of its column so
     the section closes with a deliberate end-of-page beat instead of trailing
     copy. align-items: stretch lets the body column match the lead height. */
  .about-closing .about-split {
    align-items: stretch;
  }

  .about-closing .about-split__body {
    display: flex;
    flex-direction: column;
  }

  .about-closing .about-split__body > p + p {
    margin-top: 1em;
  }

  .about-closing .about-split__body .cta-split {
    margin-top: auto;
    align-self: flex-end;
    /* Reset the inline override that pushed the CTA down when it sat inline. */
    margin-block-start: clamp(2rem, 4vw, 3rem);
  }
}

/* Mobile: closing CTA keeps the inline placement but with extra top spacing so
   it reads as a final action, not a continuation of the body. */
@media (max-width: 63.99rem) {
  .about-closing .about-split__body .cta-split {
    margin-top: clamp(1.5rem, 4vw, 2.25rem);
  }
}

.about-purpose__text {
  font-family: var(--font);
  font-weight: var(--fw-bold);
  font-size: var(--fs-headline);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0;
  max-width: 28ch;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.about-purpose__text .accent {
  color: var(--brand-orange);
}

/* ---- ABOUT: BELIEFS SECTION SPACING ---- */

.beliefs-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-muted);
  color: var(--fg);
}

.beliefs-section .numbered-list__item {
  align-items: flex-start;
  padding: clamp(1rem, 2.2vw, 1.85rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.beliefs-section .numbered-list__item:last-child {
  border-bottom: none;
}

/* Bold mono / terminal-inspired list (beliefs only): caps, tracked, high contrast */

.beliefs-section .numbered-list__idx {
  font-family: var(--font-mono-stack);
  font-size: clamp(0.8125rem, 1.35vw, 1rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  line-height: 1.35;
  min-width: clamp(2.5rem, 5vw, 3.35rem);
  text-align: right;
  padding-top: 0.22em;
  color: var(--fg-3);
  -webkit-font-smoothing: antialiased;
}

.beliefs-section .numbered-list__item:first-child .numbered-list__idx {
  color: var(--brand-orange);
}

.beliefs-section .numbered-list__title {
  font-family: var(--font-mono-stack);
  color: var(--fg);
  font-size: clamp(0.8125rem, 1.45vw, 1.0625rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.11em;
  line-height: 1.35;
  max-width: min(58ch, 100%);
  -webkit-font-smoothing: antialiased;
}

.beliefs-section .numbered-list__body {
  font-family: var(--font-mono-stack);
  font-weight: var(--fw-bold);
  font-size: clamp(0.6875rem, 1.2vw, 0.9375rem);
  line-height: 1.68;
  letter-spacing: 0.085em;
  color: var(--fg-2);
  max-width: min(58ch, 100%);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.beliefs-section .numbered-list__item:first-child .numbered-list__body {
  color: var(--brand-orange);
}

/* When a belief has a heading + paragraph, keep the body readable (sentence case, sans) */
.beliefs-section .numbered-list__title ~ .numbered-list__body {
  text-transform: none;
  font-family: var(--font);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body-sm);
  letter-spacing: var(--ls-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
  max-width: min(62ch, 100%);
}

/* Mobile: scale up the beliefs headline to match the homepage principles
   display, and unify the list rhythm with the other numbered lists. */
@media (max-width: 48rem) {
  .beliefs-headline {
    font-size: var(--fs-feature-lg);
    line-height: 0.9;
    letter-spacing: -0.05em;
  }

  .about-team .heading-section,
  .about-purpose .heading-section,
  .about-closing .heading-section {
    font-size: var(--fs-feature-lg);
    line-height: 0.9;
    letter-spacing: -0.05em;
  }

  .beliefs-section .numbered-list__item {
    padding: clamp(1.1rem, 3vw, 1.5rem) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .beliefs-section .numbered-list__item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .beliefs-section .numbered-list__item:last-child {
    border-bottom: none;
  }

  .beliefs-section .numbered-list__idx {
    min-width: 2.25rem;
  }
}

/* ---- SERVICES: LENSES 3-COL ---- */

.lenses-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 4rem);
}

@media (min-width: 64rem) {
  .lenses-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 3vw, 3rem);
    align-items: start;
  }
}

.lens-col {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--brand-blue-soft);
}

.lens-col__title {
  font-size: var(--fs-subhead);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking);
  line-height: var(--lh-tight);
  margin: 0 0 0.75rem;
  color: var(--brand-orange);
}

.lens-col__desc {
  color: var(--fg-2);
  line-height: var(--lh-body);
  margin: 0 0 0.75rem;
}

.lens-col__change {
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.lens-col__sub {
  font-family: var(--font);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 1.5rem 0 0.75rem;
}

.lens-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lens-col__list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lens-col__list li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.lens-col__list strong {
  display: block;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semi);
  margin-bottom: 0.25rem;
}

.lens-col__list p {
  margin: 0;
  color: var(--fg-2);
  line-height: var(--lh-body);
  font-size: var(--fs-body-sm);
}

.lens-col__list--compact li {
  padding: 0.5rem 0;
}

.lens-col__list--compact p {
  font-size: var(--fs-caption);
}

/* ---- SERVICES: LENS DETAIL SECTIONS ---- */

.lens-detail {
  padding: 0;
  border-top: none;
  display: flex;
  align-items: center;
}

.lens-detail + .lens-detail {
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

.lens-detail > .wrap {
  width: 100%;
}

/* Larger viewports inherit the single-column mid-size layout — no min-height bump
@media (min-width: 64rem) {
  .lens-detail {
    min-height: 60vh;
  }
}
*/

[data-lens="grow"].lens-detail {
  background: transparent;
}

[data-lens="retain"].lens-detail {
  background: transparent;
}

[data-lens="momentum"].lens-detail {
  background: transparent;
}

/* Top: ring | headline | detail */

.lens-detail__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.125rem, 4.25vw, 2.975rem);
}

@media (max-width: 63.99rem) {
  .lens-detail__top {
    gap: clamp(3.5rem, 10vw, 5.5rem);
    justify-items: stretch;
  }

  /*
   * Stacked lens sections (tablet + phone): keep the copy centred under the disc.
   * The outcomes list is centred as a block, but its rows align internally.
   */
  .lens-detail__headline,
  .lens-detail__detail-col {
    max-width: min(38rem, 94vw);
    margin-inline: auto;
    padding-inline: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .lens-detail__detail-col {
    align-items: center;
  }

  .lens-detail__detail-col > .lens-detail__sub {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }

  /* Narrow measure under title: without auto margins the block hugs the start edge
     once the headline column widens past ~46ch (tablet), while mobile reads centred. */
  .lens-detail__headline .lens-detail__desc {
    margin-inline: auto;
    text-align: center;
  }

  .lens-detail__outcomes {
    width: min(32rem, 100%);
    margin-inline: auto;
    align-self: center;
    text-align: left;
  }

  .lens-detail__outcomes li {
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }

  /* Stable column for 01_ … so wrapped titles stay aligned */
  .lens-detail__outcome-idx {
    flex: 0 0 2.625rem;
    text-align: right;
    padding-right: 0.25rem;
    box-sizing: border-box;
  }

  .lens-detail__enablers,
  .lens-detail__enablers-list {
    margin-inline: auto;
    text-align: center;
  }
}

/* Tablet stacked: headline column is wider than mobile; flex keeps title on a full
   measure while narrower blocks (desc, tech focus) stay centred — avoids edge-hugging
   when max-width children sit in a wide centred container. Desktop (≥64rem) unchanged. */
@media (min-width: 48.0625rem) and (max-width: 63.99rem) {
  .lens-detail__headline {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lens-detail__headline .lens-detail__title {
    align-self: stretch;
    text-align: center;
  }
}

/* RHYTHM (2026-04-29): keep the prior 3-col layout (lens|headline|outcomes)
   so the disc keeps its off-screen bleed and overhang. Use grid-template-areas
   so .lens-detail--flip can mirror visually (outcomes|headline|lens) without
   reordering DOM, giving an L-R-L rhythm across Grow / Retain / Evolve.
   To revert: replace this block with `grid-template-columns: auto 1fr 0.55fr;`
   and delete the flip rules below. */
@media (min-width: 64rem) {
  .lens-detail__top {
    grid-template-columns: auto minmax(0, 1fr) 0.55fr;
    grid-template-areas: "ring head detail";
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .lens-detail--flip .lens-detail__top {
    grid-template-columns: 0.55fr minmax(0, 1fr) auto;
    grid-template-areas: "detail head ring";
  }

  .lens-detail__ring-col   { grid-area: ring; }
  .lens-detail__headline   { grid-area: head; }
  .lens-detail__detail-col { grid-area: detail; }

  /* Headline column: slight inset away from disc + larger title on wide layouts */
  .lens-detail .lens-detail__title {
    font-size: calc(var(--fs-subhead) * 1.1);
  }

  .lens-detail:not(.lens-detail--flip) .lens-detail__headline {
    padding-inline-start: clamp(0.65rem, 1.5vw, 1.35rem);
  }

  .lens-detail.lens-detail--flip .lens-detail__headline {
    padding-inline-end: clamp(0.65rem, 1.5vw, 1.35rem);
  }

  /* Flip: mirror the leftward disc bleed so it bleeds off the right edge instead. */
  .lens-detail.lens-detail--flip .lens-hybrid__dom-layer,
  .lens-detail.lens-detail--flip .lens-hybrid__canvas,
  .lens-detail.lens-detail--flip .lens-hybrid__rim,
  .lens-detail.lens-detail--flip .lens-hybrid__color-rim,
  .lens-detail.lens-detail--flip .lens-hybrid__lens-fx {
    transform: translate(calc(-50% + 4vw), -50%);
  }
}

@media (min-width: 75rem) {
  .lens-detail.lens-detail--flip .lens-hybrid__dom-layer,
  .lens-detail.lens-detail--flip .lens-hybrid__canvas,
  .lens-detail.lens-detail--flip .lens-hybrid__rim,
  .lens-detail.lens-detail--flip .lens-hybrid__color-rim,
  .lens-detail.lens-detail--flip .lens-hybrid__lens-fx {
    transform: translate(calc(-50% + 6vw), -50%);
  }
}

@media (min-width: 90rem) {
  .lens-detail__top {
    gap: clamp(4rem, 7vw, 8rem);
  }
}

/* Outcomes column */

.lens-detail__detail-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Outcomes list (numbered, matches enablers style) */

.lens-detail__outcomes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lens-detail__outcomes li {
  display: flex;
  align-items: baseline;
  gap: clamp(0.35rem, 0.6vw, 0.5rem);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-bold);
  padding: clamp(0.5rem, 1vw, 0.625rem) 0;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.lens-detail__outcome-idx {
  font-weight: var(--fw-semi);
  font-size: var(--fs-eyebrow);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

[data-lens="grow"] .lens-detail__outcome-idx { color: var(--dark-bg); }
[data-lens="retain"] .lens-detail__outcome-idx { color: var(--brand-orange); }
[data-lens="momentum"] .lens-detail__outcome-idx { color: #D6037A; }

@media (max-width: 48rem) {
  .lens-detail__top {
    gap: clamp(4.25rem, 13vw, 7rem);
  }

  .lens-detail__headline .lens-detail__title {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    margin-top: clamp(0.75rem, 3vw, 1.35rem);
    margin-bottom: clamp(1.35rem, 4.5vw, 2.25rem);
  }

  .lens-detail__outcomes li {
    padding: clamp(0.85rem, 2.4vw, 1.15rem) 0;
  }
}

/* Technology focus pills (sits under desc in headline col) */

.lens-detail__enablers-pills,
.lens-detail__enablers {
  padding-top: clamp(2.25rem, 3vw, 3rem);
  max-width: 44ch;
}

.lens-detail__enablers-list {
  font-size: clamp(0.65rem, 0.8vw, 0.75rem);
  line-height: 1.7;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lens-detail__enablers-sep {
  margin: 0 0.4em;
  font-weight: var(--fw-semi);
}

[data-lens="grow"] .lens-detail__enablers-sep { color: var(--dark-bg); }
[data-lens="retain"] .lens-detail__enablers-sep { color: var(--brand-orange); }
[data-lens="momentum"] .lens-detail__enablers-sep { color: #D6037A; }

/* Stacked variant — bulleted with outline dot (lens-coloured), replaces the inline slash list */
.lens-detail__enablers-list--stacked {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(0.72rem, 0.95vw, 0.85rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: clamp(0.2rem, 0.35vw, 0.35rem);
}
.lens-detail__enablers-list--stacked li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lens-detail__enablers-dot {
  flex-shrink: 0;
  display: inline-block;
  width: clamp(0.55rem, 0.85vw, 0.7rem);
  height: clamp(0.55rem, 0.85vw, 0.7rem);
  border: 2px solid var(--brand-orange);
  border-radius: 50%;
  background: transparent;
}

/* Each lens tints its tech-focus dots to match the lens accent — same colours used by
   .lens-detail__outcome-idx / .lens-detail__enablers-sep across the rest of the lens UI. */
[data-lens="grow"] .lens-detail__enablers-dot { border-color: var(--dark-bg); }
[data-lens="retain"] .lens-detail__enablers-dot { border-color: var(--brand-orange); }
[data-lens="momentum"] .lens-detail__enablers-dot { border-color: #D6037A; }

/* Lens column — same disc scale as homepage .lens-circle at each breakpoint.
   Centered by default; the 12-col grid block at >=64rem reassigns it to the
   `lens` grid area and stretches it across 5 cols. */
.lens-detail__ring-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  width: clamp(12rem, 20vw, 20rem);
  max-width: 20rem;
}

.lens-detail__ring-col .lens-circle {
  width: 100%;
}

/* Headline column */

.lens-detail__eyebrow {
  color: var(--fg-3);
}

[data-lens="grow"] .lens-detail__eyebrow { color: var(--dark-bg); }
[data-lens="retain"] .lens-detail__eyebrow { color: var(--brand-orange); }
[data-lens="momentum"] .lens-detail__eyebrow { color: #D6037A; }

.lens-detail__title {
  font-size: var(--fs-subhead);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-display);
  margin: 0 0 1rem;
  color: var(--fg);
  max-width: none;
}

[data-lens="grow"] .lens-detail__title .text-dot { color: var(--dark-bg); }
[data-lens="retain"] .lens-detail__title .text-dot { color: var(--brand-orange); }
[data-lens="momentum"] .lens-detail__title .text-dot { color: #D6037A; }

.lens-detail__desc {
  color: var(--fg-2);
  line-height: var(--lh-body);
  margin: 0;
  font-size: var(--fs-body-sm);
  max-width: 46ch;
}

.lens-detail__link {
  display: inline-block;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  text-decoration: none;
}

.lens-detail__link:hover {
  text-decoration: underline;
}

[data-lens="grow"] .lens-detail__link { color: var(--dark-bg); }
[data-lens="retain"] .lens-detail__link { color: var(--brand-orange); }
[data-lens="momentum"] .lens-detail__link { color: #D6037A; }

/* Outcomes column */

.lens-detail__sub {
  font-family: var(--font);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

[data-lens="grow"] .lens-detail__sub { color: var(--dark-bg); }
[data-lens="retain"] .lens-detail__sub { color: var(--brand-orange); }
[data-lens="momentum"] .lens-detail__sub { color: #D6037A; }

.lens-detail__enablers {
  list-style: none;
  margin: 0;
}

.lens-detail__enablers li {
  display: flex;
  align-items: baseline;
  gap: clamp(0.35rem, 0.6vw, 0.5rem);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-bold);
  padding: clamp(0.5rem, 1vw, 0.625rem) 0;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.lens-detail__enabler-idx {
  font-weight: var(--fw-semi);
  font-size: var(--fs-eyebrow);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

[data-lens="grow"] .lens-detail__enabler-idx { color: var(--dark-bg); }
[data-lens="retain"] .lens-detail__enabler-idx { color: var(--brand-orange); }
[data-lens="momentum"] .lens-detail__enabler-idx { color: #D6037A; }

/* Legacy accordion (kept for reference) */

.outcome-item__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  padding: clamp(0.625rem, 1vw, 0.75rem) 0;
  font-family: var(--font);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--fg);
  -webkit-user-select: none;
  user-select: none;
}

.outcome-item__title::-webkit-details-marker {
  display: none;
}

.outcome-item__title .text-dot {
  color: var(--dark-bg);
}

[data-lens="retain"] .outcome-item__title .text-dot { color: var(--brand-orange); }
[data-lens="momentum"] .outcome-item__title .text-dot { color: #D6037A; }

.outcome-item__chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--fg-3);
  transition: transform 0.25s ease;
}

.outcome-item[open] .outcome-item__chevron {
  transform: rotate(180deg);
}

.outcome-item__body {
  padding: 0 0 clamp(0.625rem, 1vw, 0.75rem);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--fg-2);
  max-width: 36rem;
}

/* Smaller title variant */
.numbered-list__title--sm {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  text-transform: none;
  display: block;
}

/* ---- SERVICES: MODULARITY ---- */

.services-modularity {
  background: var(--bg-muted);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6rem, 12vw, 10rem) 0;
}

@media (min-width: 64rem) {
  .services-modularity {
    min-height: 100vh;
  }
}

.services-modularity .heading-section,
.tech-layout .heading-section {
  /* These sections use the larger "statement" tier — same scale as beliefs / manifesto */
  font-size: var(--fs-statement);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.services-modularity .heading-section {
  color: var(--fg);
  line-height: 1.05;
}

.services-modularity .lede {
  color: var(--fg-2);
  max-width: 42ch;
  font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
  line-height: 1.6;
  letter-spacing: -0.005em;
  text-transform: none;
}

@media (max-width: 48rem) {
  .services-modularity .lede {
    letter-spacing: -0.018em;
  }
}

/* Layout: stacks below 64rem with the heading + lede first and the list
   underneath; switches to 2-col (list LEFT, copy RIGHT) on desktop+. The
   markup keeps the list before the copy so the desktop 2-col reads in DOM
   order; on mobile/tablet we use `order` to flip the visual sequence. */
.services-modularity__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.services-modularity__copy { order: 1; display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.5rem); }
.services-modularity__copy > .eyebrow { margin: 0; color: var(--brand-orange); }
.services-modularity__copy > .heading-section { margin: 0; }
.services-modularity__copy > .lede { margin: 0; }
.services-modularity__optionality {
  margin: clamp(0.85rem, 1.4vw, 1.2rem) 0 0;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.55;
  color: var(--fg-2);
  padding-left: clamp(0.85rem, 1.4vw, 1.2rem);
  border-left: 3px solid var(--brand-orange);
  max-width: 52ch;
}
.services-modularity__viz  { order: 2; }
@media (min-width: 64rem) {
  .services-modularity__inner.section-inner {
    max-width: min(82rem, 100%);
    margin-inline: auto;
  }
  .services-modularity__inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
    gap: clamp(4rem, 9vw, 7rem);
  }
  .services-modularity__copy { order: 0; }
  .services-modularity__viz  { order: 0; }

  /* Headline sits on top, body (lede + optionality) flows below — full width of the copy column */
  .services-modularity__copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    row-gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: start;
  }
  .services-modularity__copy > .eyebrow {
    grid-column: 1 / -1;
  }
  .services-modularity__copy > .heading-section {
    grid-column: 1 / -1;
    margin: 0;
  }
  .services-modularity__copy > .lede {
    grid-column: 1;
  }
  .services-modularity__copy > .services-modularity__optionality {
    grid-column: 2;
    margin-top: 0;
  }
}

/* Modular list — 8 outcomes that auto-cycle "selected" states.
   Inactive: dim text + outlined dot · Active: full text + filled brand orange.
   Smooth 0.45s CSS transitions on the toggle. */
.modular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.modular-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.55rem, 1.05vw, 0.8rem);
  padding: clamp(0.5rem, 0.95vw, 0.7rem) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}
.modular-list__item:first-child {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.modular-list__dot {
  width: clamp(0.5rem, 0.85vw, 0.65rem);
  height: clamp(0.5rem, 0.85vw, 0.65rem);
  border-radius: 50%;
  border: 1.5px solid var(--fg-3);
  background: transparent;
  transition: background 0.45s ease, border-color 0.45s ease;
}
.modular-list__name {
  font-family: var(--font);
  font-size: clamp(0.78rem, 1.35vw, 0.96rem);
  font-weight: var(--fw-semi);
  letter-spacing: -0.018em;
  color: var(--fg-3);
  transition: color 0.45s ease, font-weight 0.45s ease;
}
.modular-list__lens {
  font-size: calc(var(--fs-eyebrow) * 0.85);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-3);
  opacity: 0.7;
  transition: color 0.45s ease, opacity 0.45s ease;
}
.modular-list__item.is-active .modular-list__dot {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
}
.modular-list__item.is-active .modular-list__name {
  color: var(--fg);
  font-weight: var(--fw-bold);
}
.modular-list__item.is-active .modular-list__lens {
  color: var(--brand-orange);
  opacity: 1;
}

/* ---- SERVICES: TECH SIDEBAR LAYOUT ---- */

.tech-layout__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-layout__list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: clamp(1rem, 2vw, 1.25rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tech-layout__list li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tech-layout__num {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--brand-orange);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.tech-layout__list p {
  margin: 0;
  color: var(--fg-2);
  line-height: var(--lh-body);
}

.tech-layout__coda {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.tech-layout__agnostic {
  margin-top: clamp(4rem, 8vw, 6rem);
}

/* Technology & AI: uppercase ledes (tight variant); stack gap before list */
.tech-layout .tech-layout__left .lede {
  font-size: var(--type-strap-tight);
  line-height: var(--type-strap-lh);
}

/* Prose variant — used for the ROS section. Long-form lede needs editorial
   readability, not the tight strap scale the Tech & AI strap lines use. */
.tech-layout--prose .tech-layout__left .lede {
  font-size: var(--fs-lede);
  line-height: var(--lh-body);
  letter-spacing: 0;
  text-transform: none;
  max-width: 44ch;
}

/* Tech & AI + How we work (Services): monospace lists — aligned scale, lighter than global numbered-list */
.tech-layout .numbered-list__idx,
.tech-layout .numbered-list__title,
.tech-layout .numbered-list__title--sm,
.process .numbered-list__idx,
.process .numbered-list__title,
.process .numbered-list__body {
  font-family: var(--font-mono-stack);
  -webkit-font-smoothing: antialiased;
}

.tech-layout .numbered-list__idx,
.process .numbered-list__idx {
  letter-spacing: 0.1em;
  font-size: clamp(0.6875rem, 0.95vw, 0.8125rem);
  font-weight: var(--fw-regular);
}

.tech-layout .numbered-list__title,
.process .numbered-list__title {
  letter-spacing: 0.06em;
  font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  font-weight: var(--fw-semi);
  line-height: 1.38;
}

.tech-layout .numbered-list__title--sm {
  font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  font-weight: var(--fw-semi);
  line-height: 1.38;
}

.process .numbered-list__body {
  letter-spacing: 0.02em;
  font-size: clamp(0.8125rem, 1vw, 0.875rem);
  font-weight: var(--fw-regular);
  line-height: 1.55;
}

@media (min-width: 48rem) {
  .tech-layout .numbered-list__idx,
  .process .numbered-list__idx {
    min-width: 3.35rem;
  }
}

@media (max-width: 48rem) {
  /* Tech & AI list: match other lists' row rhythm on mobile */
  .tech-layout .numbered-list__item {
    padding: clamp(1.1rem, 3vw, 1.5rem) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .tech-layout .numbered-list__item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .tech-layout .numbered-list__idx {
    min-width: 2.25rem;
  }

  .tech-layout .numbered-list__title--sm {
    font-size: clamp(0.72rem, 3.5vw, 0.875rem);
    line-height: 1.38;
    font-weight: var(--fw-semi);
  }

  .process .numbered-list__title {
    font-size: clamp(0.72rem, 3.5vw, 0.875rem);
    font-weight: var(--fw-semi);
  }

  .process .numbered-list__body {
    font-size: clamp(0.74rem, 3.1vw, 0.8125rem);
  }

  .tech-layout .numbered-list__idx,
  .process .numbered-list__idx {
    font-size: clamp(0.625rem, 2.9vw, 0.75rem);
  }
}

@media (max-width: 47.99rem) {
  .tech-layout__right {
    margin-top: clamp(3rem, 8vw, 5rem);
  }
}

@media (min-width: 48rem) {
  .tech-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-areas:
      "heading heading"
      "left right";
    column-gap: clamp(3rem, 6vw, 6rem);
    row-gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
  }

  .tech-layout__heading { grid-area: heading; }
  .tech-layout__left { grid-area: left; }
  .tech-layout__right { grid-area: right; }

  .tech-layout .heading-section {
    margin-bottom: 0;
  }

  .tech-layout__right {
    margin-top: 0;
  }

  /* Match How we work: same centred band + max width as .process__split */
  .tech-layout.section-inner {
    margin-inline: auto;
    max-width: min(72rem, 100%);
    width: 100%;
    box-sizing: border-box;
  }
}

@media (min-width: 64rem) {
  .tech-layout {
    column-gap: clamp(4rem, 8vw, 8rem);
  }
}

.list-ordered {
  margin: 0;
  padding-left: 1.35rem;
  list-style: decimal;
}

.list-ordered li {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.list-ordered li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.list-ordered strong {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: var(--fw-semi);
  margin-bottom: 0.5rem;
  letter-spacing: var(--tracking);
  color: var(--fg);
}

.list-ordered p {
  margin: 0;
  color: var(--fg-2);
  line-height: 1.65;
}

.team-grid {
  display: grid;
  gap: clamp(4.5rem, 10vw, 7rem);
}

@media (min-width: 48rem) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(7rem, 14vw, 12rem);
  }
}

@media (min-width: 75rem) {
  .team-grid {
    column-gap: clamp(10rem, 16vw, 15rem);
  }
}

.team-card__name {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking);
  margin: 0 0 0.9rem;
}

.team-card__role {
  font-size: var(--fs-caption);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--brand-orange);
  margin: 0 0 1.5rem;
}

.team-card p {
  margin: 0;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 36rem;
}

.team-card p.team-card__role {
  color: var(--brand-orange);
}

/* Markdown / CMS article body */
.prose {
  max-width: 42rem;
}

.prose > * + * {
  margin-top: 1.25em;
}

.prose h2 {
  font-size: var(--fs-card-title);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  margin-top: 2rem;
}

.prose h3 {
  font-size: var(--fs-body);
  font-weight: var(--fw-semi);
  margin-top: 1.5rem;
}

.prose p,
.prose li {
  color: var(--fg-2);
  line-height: 1.65;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.prose a:hover {
  opacity: 0.65;
}

.prose blockquote {
  border-left: 3px solid var(--brand-orange);
  padding-left: 1rem;
  font-style: italic;
  color: var(--fg);
}

.meta-line {
  font-size: var(--fs-caption);
  font-weight: var(--fw-semi);
  color: rgba(255, 90, 46, 0.82);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin-top: 0.6rem;
}

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

.list-cards li {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.list-cards li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.list-cards a {
  color: var(--fg);
  text-decoration: none;
}

.list-cards a:hover {
  opacity: 0.55;
}

.list-cards strong {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  font-weight: var(--fw-semi);
}

.list-cards p {
  margin: 0.35rem 0 0;
  color: var(--fg-2);
  font-size: var(--fs-body-sm);
}

/* ---- NAV ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 3rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
}

.nav::after {
  display: none;
}

.nav {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0));
  transition: background 0.4s ease;
}

.nav.nav--over-dark {
  background: linear-gradient(to bottom, rgba(2, 37, 172, 0.7), rgba(2, 37, 172, 0));
}

.nav.nav--over-pink {
  background: linear-gradient(to bottom, rgba(214, 3, 122, 0.7), rgba(214, 3, 122, 0));
}

.nav.nav--over-dark .nav__links a {
  color: var(--white);
}

.nav.nav--over-dark .nav__links a[aria-current='page'] {
  color: rgba(255,255,255,0.6);
}

.nav.nav--over-dark .nav__links a:hover {
  opacity: 0.7;
}

.nav .nav__logo svg path {
  transition: fill 0.35s ease;
}

.nav.nav--over-dark .nav__logo svg path {
  fill: #ffffff;
}

.nav.nav--over-dark .nav__logo svg #ident-dot {
  fill: #FF5A2E;
}

.nav.nav--over-dark .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav.nav--over-dark .nav__toggle span {
  background: var(--white);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav__logo svg,
.nav__logo img {
  display: block;
  height: 30px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-weight: var(--fw-bold);
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-decoration: none;
  transition: opacity 0.15s, color 0.35s ease;
}

.nav__links a:hover {
  opacity: 0.55;
}

.nav__links a[aria-current='page'] {
  color: var(--brand-orange);
  opacity: 1;
}

@media (min-width: 64rem) {
  .nav {
    padding: 2rem var(--gutter);
  }

  .nav__links {
    gap: clamp(1rem, 2vw, 2rem);
  }

  .nav__links a {
    font-size: 1rem;
  }

  .nav__logo img,
  .nav__logo svg {
    height: 32px;
  }
}

.nav__toggle {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  grid-template-columns: repeat(3, 6px);
  grid-template-rows: repeat(3, 6px);
  gap: 3px;
  padding: 0;
  position: relative;
  z-index: 200;
}

.nav__toggle span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
}

body.menu-open .nav__toggle {
  opacity: 0;
  pointer-events: none;
}

body.menu-open .nav__toggle span {
  background: var(--white);
}

@media (max-width: 48rem) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: grid;
  }

  .nav__logo {
    transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  .nav.nav--logo-dim .nav__logo {
    opacity: 0;
  }
}

body.menu-open .nav__toggle span:nth-child(1) {
  transform: translate(9px, 9px) rotate(45deg);
}
body.menu-open .nav__toggle span:nth-child(2) {
  opacity: 0;
  transform: translateY(-4px);
}
body.menu-open .nav__toggle span:nth-child(3) {
  transform: translate(-9px, 9px) rotate(-45deg);
}
body.menu-open .nav__toggle span:nth-child(4) {
  opacity: 0;
  transform: translateX(-4px);
}
body.menu-open .nav__toggle span:nth-child(5) {
  transform: scale(1.8);
}
body.menu-open .nav__toggle span:nth-child(6) {
  opacity: 0;
  transform: translateX(4px);
}
body.menu-open .nav__toggle span:nth-child(7) {
  transform: translate(9px, -9px) rotate(-45deg);
}
body.menu-open .nav__toggle span:nth-child(8) {
  opacity: 0;
  transform: translateY(4px);
}
body.menu-open .nav__toggle span:nth-child(9) {
  transform: translate(-9px, -9px) rotate(45deg);
}

/* ---- OVERLAY MENU (mobile) — smooth scale + fade; backdrop blur ( offmenu.design–style polish ) ---- */

@keyframes overlay-panel-in {
  from {
    opacity: 0;
    transform: scale(0.94) translate3d(0, -0.45rem, 0);
  }
  to {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

@keyframes overlay-panel-out {
  from {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: scale(0.96) translate3d(0, -0.35rem, 0);
  }
}

.overlay {
  --overlay-panel-bg: #0a0a0b;
  --overlay-panel-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.625rem;
  padding-top: max(0.625rem, env(safe-area-inset-top));
  background: rgba(10, 10, 12, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.42s var(--overlay-panel-ease),
    visibility 0.42s,
    backdrop-filter 0.42s ease,
    -webkit-backdrop-filter 0.42s ease,
    background-color 0.42s ease;
}

body.menu-open .overlay,
body.menu-closing .overlay {
  background: rgba(10, 10, 12, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay__panel {
  position: relative;
  width: min(100%, 26rem);
  margin-left: auto;
  margin-right: 0;
  flex-shrink: 0;
  transform: translateZ(0);
  transform-origin: top right;
  border-radius: 1rem;
  background: var(--overlay-panel-bg);
  box-shadow:
    0 1.5rem 4rem rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 3.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  max-height: min(calc(100vh - 1.25rem), 100%);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

body.menu-open:not(.menu-closing) .overlay__panel {
  animation: overlay-panel-in 0.44s var(--overlay-panel-ease) forwards;
}

body.menu-open.menu-closing .overlay__panel {
  animation: overlay-panel-out 0.34s var(--overlay-panel-ease) forwards;
}

@media (prefers-reduced-motion: reduce) {
  body.menu-open .overlay,
  body.menu-closing .overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition-duration: 0.22s;
  }

  body.menu-open:not(.menu-closing) .overlay__panel,
  body.menu-open.menu-closing .overlay__panel {
    animation: none;
  }

  body.menu-open:not(.menu-closing) .overlay__panel {
    transform: scale(1);
    opacity: 1;
  }

  body.menu-open.menu-closing .overlay__panel {
    transform: scale(0.96);
    opacity: 0;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
}

.overlay__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  z-index: 5;
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.15s;
}

.overlay__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.menu-open:not(.menu-closing) .overlay__close {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.18s;
}

body.menu-closing .overlay__close {
  opacity: 0;
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
}

.overlay__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.overlay__link {
  display: block;
  text-decoration: none;
  color: var(--white);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: var(--fw-semi);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  padding: 0.95em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.15s;
}

body.menu-open:not(.menu-closing) .overlay__link {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open:not(.menu-closing) .overlay__nav li:nth-child(1) .overlay__link {
  transition-delay: 0.12s;
}

body.menu-open:not(.menu-closing) .overlay__nav li:nth-child(2) .overlay__link {
  transition-delay: 0.16s;
}

body.menu-open:not(.menu-closing) .overlay__nav li:nth-child(3) .overlay__link {
  transition-delay: 0.2s;
}

body.menu-open:not(.menu-closing) .overlay__nav li:nth-child(4) .overlay__link {
  transition-delay: 0.24s;
}

body.menu-open:not(.menu-closing) .overlay__nav li:nth-child(5) .overlay__link {
  transition-delay: 0.28s;
}

body.menu-closing .overlay__link {
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease;
}

.overlay__link:hover {
  color: rgba(255, 255, 255, 0.55);
}


.overlay__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.34s ease,
    transform 0.34s ease;
}

body.menu-open:not(.menu-closing) .overlay__foot {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.32s;
}

body.menu-closing .overlay__foot {
  opacity: 0;
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
}

.overlay__foot-label {
  margin: 0;
  font-size: var(--fs-label-sm);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.overlay__foot-mail {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: var(--tracking);
}

.overlay__foot-mail:hover {
  color: rgba(255, 255, 255, 0.7);
}

.overlay__cta {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking);
  color: var(--fg);
  background: var(--white);
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: 0.4rem;
  transition:
    opacity 0.15s,
    transform 0.15s;
}

.overlay__cta:hover {
  opacity: 0.9;
}

body.menu-open {
  overflow: hidden;
}

/* ---- FOOTER ---- */

/* ---- Site footer ---- */

.site-footer {
  margin-top: clamp(4rem, 10vw, 8rem);
  background: var(--brand-orange);
  color: #fff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 3rem);
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter) 0;
}

.site-footer__cta {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.site-footer__heading {
  font-family: var(--font);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-regular);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  margin: 0;
  color: #fff;
}

.site-footer__body {
  font-weight: var(--fw-semi);
  font-size: clamp(0.6rem, 0.9vw, 0.75rem);
  line-height: var(--lh-label);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  max-width: 28rem;
  margin: 0;
  opacity: 0.85;
}

.site-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: #fff;
  color: var(--fg);
  font-weight: var(--fw-bold);
  font-size: clamp(0.625rem, 1.15vw, 0.6875rem);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  align-self: flex-start;
}

.site-footer__btn:hover {
  background: #f0f0f0;
  transform: scale(1.02);
}

.site-footer__btn span:last-child {
  display: inline-block;
  transition: transform 0.2s ease;
}

.site-footer__btn:hover span:last-child {
  transform: translateX(3px);
}

/* Footer links columns */
.site-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.site-footer__col-label {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1rem;
}

.site-footer__col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__col-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: var(--fs-body-sm);
  transition: color 0.15s;
}

.site-footer__col-links a:hover {
  color: #fff;
}

/* Footer bottom bar */
.site-footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2rem) var(--gutter);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.site-footer__copy {
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  letter-spacing: 0.02em;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
}

.site-footer__bar-logo {
  filter: brightness(0) invert(1);
  height: 20px;
  width: auto;
}

.site-footer__bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__social-link {
  transition: opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  color: #1a1a1a;
  border-radius: 50%;
}

.site-footer__social-link:hover {
  opacity: 0.7;
}

@media (min-width: 48rem) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}

@media (min-width: 64rem) {
  .site-footer__inner {
    grid-template-columns: 3fr 2fr;
  }
}


@media (max-width: 47.99rem) {
  .site-footer__bar {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .site-footer__bar-right {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ---- Home page (sections + marketing blocks; body.page-home) ---- */

body.page-home section {
  padding: var(--space) 0;
}

body.page-home section.hero {
  padding-top: 0;
  padding-bottom: 0;
}

/* ---- HERO ---- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--white);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(120,119,198,0.3), rgba(255,255,255,0));
}


.hero__upper {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  /* Clear fixed nav so strapline isn’t tight to the top */
  padding-top: clamp(7.75rem, 14vw, 9rem);
  /* Match nav visual spacing from bottom of viewport */
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

@media (min-width: 64rem) {
  .hero__upper {
    padding-top: var(--hero-pad-top, 3.75rem);
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
  }
}

.hero__divide {
  display: none; /* Hidden at all breakpoints for now */
}

.hero__divide-wrap {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__divide-img {
  display: block;
  width: 100%;
  max-width: min(72rem, 100%);
  margin: 0 auto;
  height: auto;
}

.hero__wrap {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

/* ---- HERO test thumbnails (8-col grid placement at desktop) ---- */

.hero__thumb {
  display: none; /* hidden below 64rem (mobile / tablet) */
}

/* Large circle hero asset — hide on mobile/tablet (layout B default); shown only in desktop layout rules */
.hero__circle-lg {
  display: none;
}

@media (min-width: 64rem) {
  /* Convert hero__wrap into a shared 8-column grid so text + images align */
  .hero__wrap {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: 1fr auto 1fr auto;
    column-gap: clamp(1rem, 1.8vw, 2rem);
    row-gap: var(--hero-row-gap, 0.25rem);
    align-items: start;
  }

  /* Dissolve inner wrappers so their children participate in the 8-col grid */
  .hero__wrap > .hero__grid,
  .hero__wrap > .hero__bottom {
    display: contents;
  }

  /* Row 1: thumbnails hidden by default, shown with [F] key */
  .hero__thumb {
    display: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin: 0;
    transition: aspect-ratio 0.4s ease, border-radius 0.4s ease, max-width 0.4s ease;
  }

  /* Rectangular variant — toggled with [T] key */
  .hero-thumbs-rect .hero__thumb {
    aspect-ratio: 16 / 10;
    border-radius: 4px;
  }
  .hero-thumbs-rect .hero__thumb--1 { max-width: 10rem; }
  .hero-thumbs-rect .hero__thumb--2 { max-width: 11rem; }
  .hero-thumbs-rect .hero__thumb--3 { max-width: 10rem; }

  /* ---- Layout A: typography-only, no thumbs ---- */
  .hero-layout-a .hero__thumb {
    display: none !important;
  }
  .hero-layout-a .hero__title {
    grid-column: 1 / span 8;
  }
  .hero-layout-a .hero__col {
    grid-column: 5 / span 4;
    grid-row: 3;
  }
  .hero-layout-a .hero__features {
    grid-column: 1 / span 5;
    grid-row: 4;
  }
  .hero-layout-a .hero__cta-col {
    grid-column: 6 / span 3;
    grid-row: 4;
  }

  /* ---- Layout C: single large circle ---- */
  .hero__circle-lg {
    display: none;
  }
  .hero-layout-c .hero__thumb {
    display: none !important;
  }
  .hero-layout-c .hero__circle-lg {
    display: block;
    grid-column: 6 / span 3;
    grid-row: 1 / span 3;
    width: 100%;
    max-width: 22rem;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    justify-self: end;
    align-self: center;
  }
  .hero-layout-c .hero__title {
    grid-column: 1 / span 5;
  }
  .hero-layout-c .hero__col {
    grid-column: 1 / span 4;
    grid-row: 3;
  }
  .hero-layout-c .hero__col .lined-lede {
    font-size: calc(18pt * 0.82 * 5 / 6);
    max-width: 22ch;
  }
  .hero-layout-c .hero__cta-col {
    grid-column: 1 / span 4;
    grid-row: 4;
    justify-self: start;
    align-self: start;
  }
  .hero-layout-c .hero__features {
    grid-column: 5 / span 4;
    grid-row: 4;
    align-self: end;
  }

  /* ---- Layout D: no image, strapline right, CTA under it, features bottom-left ---- */
  .hero-layout-d .hero__thumb,
  .hero-layout-d .hero__circle-lg {
    display: none !important;
  }
  .hero-layout-d .hero__title {
    grid-column: 1 / span 5;
    grid-row: 2;
  }
  .hero-layout-d .hero__col {
    grid-column: 5 / span 4;
    grid-row: 2;
    justify-self: end;
  }
  .hero-layout-d .hero__col .lined-lede {
    font-size: calc(18pt * 0.82 * 5 / 6);
    max-width: 24ch;
  }
  .hero-layout-d .hero__cta-col {
    grid-column: 5 / span 4;
    grid-row: 4;
    justify-self: end;
    align-self: end;
  }
  .hero-layout-d .hero__features {
    grid-column: 1 / span 4;
    grid-row: 4;
    align-self: end;
  }

  /* ---- Layout E: like D but strapline bottom-left, features top-right ---- */
  .hero-layout-e .hero__thumb,
  .hero-layout-e .hero__circle-lg {
    display: none !important;
  }
  .hero-layout-e .hero__title {
    grid-column: 1 / span 5;
    grid-row: 2;
  }
  .hero-layout-e .hero__features {
    grid-column: 5 / span 4;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    align-items: flex-end;
  }
  .hero-layout-e .hero__col {
    grid-column: 1 / span 4;
    grid-row: 4;
    align-self: end;
  }
  .hero-layout-e .hero__col .lined-lede {
    font-size: calc(15pt * 5 / 6);
    max-width: 24ch;
    text-align: left;
  }
  .hero-layout-e .hero__cta-col {
    grid-column: 5 / span 4;
    grid-row: 4;
    justify-self: end;
    align-self: end;
  }

  /* ---- Layout F: full-width title, features mid-right, subtitle + CTA bottom ---- */
  .hero-layout-f .hero__thumb,
  .hero-layout-f .hero__circle-lg {
    display: none !important;
  }
  .hero-layout-f .hero__wrap {
    --hero-row-gap: clamp(2rem, 4vw, 3.5rem);
  }
  .hero-layout-f .hero__title {
    grid-column: 1 / span 6;
    grid-row: 2;
  }
  .hero-layout-f .hero__features {
    grid-column: 6 / span 3;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    align-items: flex-start;
    padding-bottom: 1rem;
  }
  .hero-layout-f .hero__col {
    grid-column: 1 / span 3;
    grid-row: 4;
    align-self: end;
  }
  .hero-layout-f .hero__col .lined-lede {
    font-size: calc(15pt * 5 / 6);
    max-width: 24ch;
    text-align: left;
  }
  .hero-layout-f .hero__cta-col {
    grid-column: 4 / span 3;
    grid-row: 4;
    justify-self: start;
    align-self: end;
  }

  .hero__thumb--1 {
    grid-column: 2 / span 2;
    grid-row: 1;
    max-width: 8rem;
    justify-self: start;
  }

  .hero__thumb--2 {
    grid-column: 7 / span 2;
    grid-row: 1;
    max-width: 8.5rem;
    justify-self: end;
  }

  /* Row 2: title takes cols 1-6, lede takes 7-8 */
  .hero__title {
    grid-column: 1 / span 6;
    grid-row: 2;
  }

  .hero__col {
    grid-column: 7 / span 2;
    grid-row: 2;
    gap: clamp(1.5rem, 3vw, 2rem);
  }

  /* Row 3: mid thumbnail between title and CTA row */
  .hero__thumb--3 {
    grid-column: 4 / span 2;
    grid-row: 3;
    max-width: 8.5rem;
    justify-self: center;
    margin-bottom: -1.5rem;
  }

  /* Row 4: features left, CTA right — both pinned to bottom */
  .hero__features {
    grid-column: 1 / span 4;
    grid-row: 4;
    align-self: end;
  }

  .hero__cta-col {
    grid-column: 6 / span 3;
    grid-row: 4;
    justify-self: end;
    align-self: end;
  }

  .hero__col {
    align-self: start;
  }
}

.hero__col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(2rem, 4vw, 3rem);
}

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 20rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  width: 100%;
}

.hero__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  max-width: min(38rem, 100%);
}

.hero__feature {
  margin: 0;
  font-weight: var(--fw-regular);
  font-size: calc(18pt * 0.72);
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  text-rendering: geometricPrecision;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
}

.hero__cta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  justify-self: end;
  min-width: 0;
}

.hero__secondary-cta {
  font-weight: var(--fw-bold);
  font-size: clamp(0.625rem, 1.15vw, 0.6875rem);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.15s;
}

.hero__secondary-cta:hover {
  opacity: 0.55;
}

.hero__secondary-cta span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero__secondary-cta:hover span {
  transform: translateX(3px);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  letter-spacing: -0.055em; /* tightest tracking — homepage hero only */
  line-height: 0.78;        /* ultra-tight — homepage hero only */
  text-transform: lowercase;
  margin: 0;
  color: var(--fg);
}

/* Spaces between words on desktop / tablet (single-line title) */
.hero__title-line:not(:last-child)::after {
  content: ' ';
}

.hero__title .text-dot,
.hero__title .hero__dot {
  color: #ff5a2e;
}

/* Shared editorial body strap (regular weight; lined-lede, problem + lenses copy, etc.) */
.lined-lede,
.problem-editorial__graph,
.lenses__body {
  margin: 0;
  font-weight: var(--fw-regular);
  line-height: var(--type-strap-lh);
  letter-spacing: var(--type-strap-tracking);
  color: var(--fg);
  text-rendering: geometricPrecision;
  font-feature-settings: 'kern' 1, 'liga' 1;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.problem-editorial__graph {
  letter-spacing: 0.018em;
}

/* Problem body — bumped +0.3rem over the previous ⅚-of-1rem scale */
@media (min-width: 48rem) {
  .problem-editorial .problem-editorial__graph {
    font-size: calc(1rem * 5 / 6 + 0.3rem);
  }
}

/* Reusable: optional <span class="lined-lede__mark-line"></span> flush to first letter (no space after </span>) */
.lined-lede {
  padding-top: clamp(0.75rem, 2.2vw, 3.1rem);
}

/* Inline dot at the start of the first line — sits flush with the first word
   regardless of paragraph alignment (left, right, balanced, etc.). */
.lined-lede__mark-line {
  display: inline-block;
  width: clamp(0.55rem, 0.85vw, 0.72rem);
  height: clamp(0.55rem, 0.85vw, 0.72rem);
  margin-right: 0.5em;
  background: transparent;
  border: 2px solid var(--brand-blue);
  border-radius: 50%;
  vertical-align: 0.12em; /* nudge to optical cap-height of the first line */
}

/* Match strap rhythm from tablet up — previously only ≥64rem used compact caps */
@media (min-width: 48rem) {
  .hero__feature {
    font-size: var(--fs-eyebrow);
    line-height: 1.5;
  }
}

/* Hero / reusable: rounded coral CTA, label + arrow */
.cta-split {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  align-self: flex-start;
  text-decoration: none;
  color: var(--white);
  background: var(--cta-button);
  border-radius: clamp(8px, 1.8vw, 12px);
  padding: 1.8em;
  font-weight: var(--fw-bold);
  font-size: clamp(0.625rem, 1.15vw, 0.6875rem);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  flex-shrink: 0;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cta-split:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.cta-split__label {
  display: inline;
}

.cta-split__arrow {
  display: inline-block;
  font-weight: var(--fw-regular);
  font-size: 1.15em;
  line-height: 1;
  transform: translate(0, -0.04em);
  transition: transform 0.2s ease;
}

.cta-split:hover .cta-split__arrow {
  transform: translate(3px, -0.04em);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* hero CTA column (replaces inline hero__actions in hero__col) */
.hero__cta-col .cta-split {
  align-self: flex-end;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: var(--fs-body-sm);
  color: var(--fg);
  text-decoration: none;
  transition: opacity 0.15s;
}

.hero__link:hover {
  opacity: 0.6;
}

.hero__link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero__link:hover span {
  transform: translateX(4px);
}

/* Hero strapline: between full 1rem and the old ⅔ step — 5/6 feels about right on tablet + desktop */
@media (min-width: 48rem) and (max-width: 63.999rem) {
  .hero__col .lined-lede {
    font-size: calc(1rem * 5 / 6);
  }
}

@media (min-width: 64rem) {
  .hero__col .lined-lede {
    text-align: right;
    font-size: calc(1rem * 5 / 6);
    /* Shared .lined-lede padding-top pushes strap below title cap line on desktop */
    padding-top: 0;
  }
}

@media (max-width: 64rem) {
  .page-home .hero__upper {
    padding-top: clamp(8.5rem, 17vw, 10.5rem);
  }
}

@media (max-width: 48rem) {
  .hero__upper {
    padding-bottom: clamp(3rem, 12vw, 5rem);
  }

  .hero__wrap {
    gap: clamp(3rem, 10vw, 4.5rem);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: clamp(2.75rem, 9vw, 3.75rem);
  }

  .hero__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 0.78;
    gap: 0.01em;
  }

  .hero__title-line {
    display: block;
  }

  .hero__title-line::after {
    content: none !important;
  }

  .hero__bottom {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: clamp(3rem, 10vw, 4.25rem);
  }

  .hero__cta-col {
    align-items: flex-start;
    width: 100%;
    justify-self: stretch;
    gap: clamp(1.35rem, 4.5vw, 2rem);
  }

  .hero__features {
    display: none;
  }

  .hero__cta-col .cta-split {
    align-self: flex-start;
    justify-content: center;
    width: auto;
    max-width: min(16.5rem, 88vw);
    box-sizing: border-box;
    padding-inline: 1.5em 1.65em;
  }

  .hero__secondary-cta {
    justify-content: flex-start;
    align-self: flex-start;
  }

  .hero__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .hero__actions .cta-split {
    align-self: flex-start;
  }

  .hero__link {
    justify-content: space-between;
  }
}

/* ---- MID-PAGE CTA ---- */

.mid-cta {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.mid-cta .cta-split {
  align-self: flex-start;
}

/* ---- TAGLINE ---- */

.hero-tagline {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: var(--tracking);
  color: var(--fg);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.hero-tagline span {
  display: block;
  padding: 0.6em 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.hero-tagline span:last-child {
  border-bottom: none;
}

/* ---- TEXT LINKS ---- */

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: var(--fg);
  transition: opacity 0.15s;
}

.link-row:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.link-row:hover {
  opacity: 0.5;
}

.link-row__text {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: var(--tracking);
}

.link-row__arrow {
  font-size: 1.25rem;
  transition: transform 0.15s;
}

.link-row:hover .link-row__arrow {
  transform: translateX(4px);
}

/* ---- PROBLEM ---- */

.problem-editorial {
  padding: var(--space) 0;
  background: var(--bg);
}

body.page-home .problem-editorial {
  background: var(--white);
}

.problem-editorial__headline {
  font-size: var(--fs-feature-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  color: var(--fg);
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  max-width: none;
}

.accent {
  color: var(--brand-orange);
}

.problem-editorial__body {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35em, 3vw, 2em);
}

.problem-editorial__col {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35em, 3vw, 2em);
  min-width: 0;
  max-width: 38ch;
}

@media (min-width: 64rem) {
  /* Slightly narrower measure than global .section-inner + wide column gap */
  .problem-editorial .section-inner {
    max-width: min(64rem, 100%);
  }

  /* Two independent stacks so row heights don’t align across columns (fixes huge gap
     on the right between “The result is familiar:” and the closing paragraph). */
  .problem-editorial__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(3rem, 9vw, 6.5rem);
    align-items: start;
  }
}

.problem-editorial__end-dot {
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  margin-left: 0.08em;
  background: var(--brand-orange);
  vertical-align: baseline;
  border-radius: 1px;
  position: relative;
  top: -0.04em;
}

/* ---- BIG TEXT SECTION ---- */

.bigtext {
  padding: var(--space) 0;
}

.bigtext__label {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.bigtext__statement {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  max-width: 22ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---- PRINCIPLES (Revenue Partner) ---- */

.principles-section {
  min-height: auto;
  background: var(--bg);
  color: var(--fg);
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: flex;
  flex-direction: column;
}

.principles-section > .wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.principles-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(3rem, 6vw, 5rem);
}

.principles-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.principles-row-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

@media (min-width: 75rem) {
  .principles-cols {
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.principles-display {
  margin: 0;
  font-size: var(--fs-feature);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.principles-display__line {
  display: block;
}

.principles-display__line--more {
  color: var(--fg);
}

.principles-display__line--consultants {
  color: var(--fg);
  text-transform: lowercase;
}

.principles-display__line--partners {
  color: var(--brand-orange);
}

.principles-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: clamp(3.5rem, 7vw, 6rem);
  align-items: start;
}

.principles-col {
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.principles-col__icon {
  display: none;
}

.principles-col__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 0.9;
}

.principles-col__h {
  display: block;
  font-family: var(--font);
  font-size: var(--fs-subhead);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-display);
  text-transform: none;
  color: var(--fg);
  margin: 0 0 clamp(0.65rem, 1.5vw, 1rem);
}

.principles-col__body {
  font-family: var(--font);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-regular);
  letter-spacing: 0.02em;
  line-height: 1.65;
  text-transform: none;
  color: var(--fg-2);
  max-width: 36ch;
}

@media (min-width: 40rem) {
  .principles-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
    row-gap: clamp(3.5rem, 7vw, 6rem);
  }

}

@media (max-width: 39.99rem) {
  .principles-section .principles-top .eyebrow {
    display: none;
  }

  .principles-row-top {
    justify-content: center;
  }

  .principles-display {
    font-size: var(--fs-feature-lg);
    line-height: 0.9;
    letter-spacing: -0.05em;
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }

  .principles-cols {
    grid-template-columns: 1fr;
    gap: clamp(2.25rem, 6vw, 3rem);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .principles-col {
    border-top: none;
    border-bottom: 1px solid var(--brand-blue-soft);
    padding-top: 0;
    padding-bottom: clamp(1.85rem, 5vw, 2.65rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .principles-col__icon {
    margin-bottom: clamp(0.85rem, 2.5vw, 1.25rem);
  }

  .principles-col__icon svg {
    width: 30px;
    height: 30px;
  }

  .principles-col__body {
    font-family: var(--font);
    font-size: clamp(0.8rem, 3.2vw, 0.9rem);
    font-weight: var(--fw-regular);
    letter-spacing: 0.01em;
    line-height: var(--lh-body);
    color: var(--fg-2);
    max-width: min(36ch, 100%);
    width: 100%;
    margin-inline: auto;
  }
}

/* ---- HOW WE WORK (unified editorial layout) ---- */

/* ---- Process: manifesto list ---- */
.process {
  background: var(--bg);
  color: var(--fg);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.process__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

@media (max-width: 63.99rem) {
  .process__left {
    padding-bottom: clamp(1.35rem, 4vw, 1.85rem);
    margin-bottom: clamp(0.15rem, 0.5vw, 0.35rem);
  }
}

.process-mega {
  font-size: var(--fs-statement);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: 1;
  text-transform: lowercase;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 0.9vw, 0.7rem);
}

.process-mega__muted {
  color: var(--fg);
}

.process-mega__accent {
  color: var(--brand-orange);
}

/* ROS acronym treatment — acronym dominant, full name as a sub-eyebrow underneath */
.process-mega__acronym {
  display: block;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: -0.045em;
  font-size: var(--fs-feature);
}
.process-mega__acronym .text-dot {
  color: var(--brand-orange);
}
.process-mega__expand {
  display: block;
  font: 700 clamp(0.78rem, 1vw, 0.92rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: clamp(0.75rem, 1.5vw, 1rem) 0;
}

.process-step__idx {
  display: block;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semi);
  color: var(--brand-orange);
  font-variant-numeric: tabular-nums;
  min-width: 1.5rem;
  flex-shrink: 0;
}

.process-step__text {
  flex: 1;
  min-width: 0;
}

.process-step__title {
  font-size: var(--fs-card-title);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  line-height: var(--lh-tight);
  color: var(--fg);
}

.process-step__title .text-dot {
  color: var(--brand-orange);
}

.process-step__body {
  margin: 0.5rem 0 0;
  font-size: var(--fs-body-sm);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 40rem;
}

@media (min-width: 48rem) {
  .process__split {
    grid-template-columns: 2fr 3fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}

@media (min-width: 64rem) {
  .process__split {
    gap: clamp(4rem, 8vw, 8rem);
  }
}

/* ---- LENSES ---- */

.lenses__intro {
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.lenses__headline {
  font-size: var(--fs-feature);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
}

@media (min-width: 64rem) {
  .problem-editorial__headline,
  .process-mega,
  .lenses__headline {
    line-height: 0.95;
  }
}

.lenses__body {
  max-width: min(60ch, 100%);
}

.lenses__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}

.lens-card {
  --lens-corner-len: clamp(12px, 2.5vw, 16px);
  --lens-corner-stroke: 1px;
  --lens-corner-inset: 10px;
  padding: clamp(2rem, 3vw, 3rem);
  background: var(--lens-card-bg);
  border-radius: 0;
  position: relative;
  text-decoration: none;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  transition: background 0.2s, color 0.2s;
}

/* Viewfinder-style corner brackets (stable, no masked overlay) */
.lens-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(currentColor, currentColor) var(--lens-corner-inset) var(--lens-corner-inset) / var(--lens-corner-len) var(--lens-corner-stroke) no-repeat,
    linear-gradient(currentColor, currentColor) var(--lens-corner-inset) var(--lens-corner-inset) / var(--lens-corner-stroke) var(--lens-corner-len) no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - var(--lens-corner-inset)) var(--lens-corner-inset) / var(--lens-corner-len) var(--lens-corner-stroke) no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - var(--lens-corner-inset)) var(--lens-corner-inset) / var(--lens-corner-stroke) var(--lens-corner-len) no-repeat,
    linear-gradient(currentColor, currentColor) var(--lens-corner-inset) calc(100% - var(--lens-corner-inset)) / var(--lens-corner-len) var(--lens-corner-stroke) no-repeat,
    linear-gradient(currentColor, currentColor) var(--lens-corner-inset) calc(100% - var(--lens-corner-inset)) / var(--lens-corner-stroke) var(--lens-corner-len) no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - var(--lens-corner-inset)) calc(100% - var(--lens-corner-inset)) / var(--lens-corner-len) var(--lens-corner-stroke) no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - var(--lens-corner-inset)) calc(100% - var(--lens-corner-inset)) / var(--lens-corner-stroke) var(--lens-corner-len) no-repeat;
}

.lens-card:hover {
  background: var(--fg);
  color: var(--white);
}

.lens-card:nth-child(2) {
  border: none;
}

.lens-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  flex-shrink: 0;
  transition: background 0.2s;
}

.lens-card:hover .lens-card__icon {
  background: var(--white);
}

.lens-card__icon svg {
  width: 18px;
  height: 18px;
  color: var(--white);
  transition: color 0.2s;
}

.lens-card:hover .lens-card__icon svg {
  color: var(--fg);
}

.lens-card__name {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.lens-card__tag {
  font-family: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, Consolas, monospace;
  font-size: var(--fs-caption);
  font-weight: var(--fw-regular);
  letter-spacing: 0.03em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--uppercase-body);
}

/* ---- LENSES SECTION (Grow / Retain / Evolve) ---- */

.lenses-section {
  padding: clamp(5rem, 11vw, 9rem) 0;
  background: var(--bg-soft);
  color: var(--fg);
}

.lenses-section .eyebrow {
  color: var(--brand-orange);
}

.lenses-section .accent {
  color: var(--brand-orange);
}

.lenses-section .lined-lede__mark-line {
  opacity: 1;
}

.lenses-section__intro {
  margin-bottom: clamp(5rem, 11vw, 9rem);
}

/* Match Problem section: headline → uppercase strap gap */
.lenses-section__intro .lenses-scroll__headline {
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
}

.lenses-section__stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  justify-items: stretch;
  align-items: stretch;
  padding: clamp(1.25rem, 5vw, 3.5rem) clamp(2.25rem, 7vw, 9rem);
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 48.0625rem) {
  .lenses-section__stage {
    gap: clamp(4rem, 9vw, 7rem);
    max-width: min(42rem, 100%);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
}

/* Large: stacked rows (lens|text → text|lens → lens|text), wide band */
@media (min-width: 64rem) {
  .lenses-section__stage {
    gap: clamp(5rem, 11vw, 9rem);
    max-width: min(76rem, 100%);
    padding: clamp(2rem, 5vw, 4rem) clamp(2.25rem, 7vw, 9rem);
  }
}

@media (min-width: 90rem) {
  .lenses-section__stage {
    gap: clamp(6rem, 9vw, 10rem);
    max-width: min(84rem, 100%);
  }
}

/* Homepage lenses: mirror Services rhythm — lens | headline; middle lens flipped */
.lenses-section__stage .lenses-home__cell {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    'lens'
    'headline'
    'cta';
  justify-items: center;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
  min-width: 0;
  max-width: min(42rem, 100%);
}
.lenses-section__stage .lenses-home__cell .learn-more-link--lens {
  grid-area: cta;
  justify-self: center;
}

.lenses-section__stage .lenses-home__cell .lens-hybrid__item {
  grid-area: lens;
  box-sizing: border-box;
  width: min(100%, clamp(232px, 78vw, 440px));
  max-width: 100%;
  aspect-ratio: 1;
  justify-self: center;
}

.lenses-section__stage .lenses-home__cell .lenses-home__headline-link {
  grid-area: headline;
}

.lenses-section .lenses-home__headline-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-top: 0;
  max-width: min(38ch, 100%);
}

.lenses-section .lenses-home__headline-link:hover .lenses-home__headline {
  opacity: 0.88;
}

.lenses-section .lenses-home__headline-link:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 4px;
  border-radius: 2px;
}

.lenses-section .lenses-home__headline {
  margin: 0;
  max-width: none;
  text-align: center;
  transition: opacity 0.2s ease;
}

.lenses-home__cell[data-lens='grow'] .lenses-home__headline .text-dot {
  color: var(--dark-bg);
}

.lenses-home__cell[data-lens='retain'] .lenses-home__headline .text-dot {
  color: var(--brand-orange);
}

.lenses-home__cell[data-lens='momentum'] .lenses-home__headline .text-dot {
  color: #d6037a;
}

/* Hybrid chrome sized from the square anchor (avoid % width on grid `auto` — collapses to 0). */
.lenses-section__stage .lenses-home__cell .lens-hybrid__dom-layer,
.lenses-section__stage .lenses-home__cell .lens-hybrid__canvas,
.lenses-section__stage .lenses-home__cell .lens-hybrid__rim,
.lenses-section__stage .lenses-home__cell .lens-hybrid__color-rim,
.lenses-section__stage .lenses-home__cell .lens-hybrid__lens-fx {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

@media (min-width: 48.0625rem) {
  .lenses-section__stage .lenses-home__cell {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      'lens headline'
      'lens cta';
    justify-items: stretch;
    align-items: start;
    gap: clamp(0.5rem, 1.2vw, 1rem) clamp(1rem, 2.8vw, 2.75rem);
    max-width: none;
  }

  /* Lens spans both rows so the headline + CTA stack neatly beside it */
  .lenses-section__stage .lenses-home__cell .lens-hybrid__item {
    align-self: center;
  }

  .lenses-section__stage .lenses-home__cell[data-lens='retain'] {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas:
      'headline lens'
      'cta      lens';
  }

  /* CTA aligns under the headline column — left for Grow/Momentum, right for Retain */
  .lenses-section__stage .lenses-home__cell .learn-more-link--lens {
    align-self: start;
    justify-self: start;
    margin-top: clamp(0.5rem, 1vw, 0.9rem);
  }
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .learn-more-link--lens {
    justify-self: end;
  }

  .lenses-section .lenses-home__headline-link {
    max-width: none;
    align-self: center;
  }

  .lenses-section .lenses-home__cell:not([data-lens='retain']) .lenses-home__headline {
    text-align: left;
  }

  .lenses-section .lenses-home__cell[data-lens='retain'] .lenses-home__headline {
    text-align: right;
  }

  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__item {
    justify-self: start;
    width: clamp(220px, 18vw, 360px);
  }

  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__item {
    justify-self: end;
    width: clamp(220px, 18vw, 360px);
  }

  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__dom-layer,
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__canvas,
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__rim,
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__color-rim,
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__lens-fx {
    transform: translate(calc(-50% - 2vw), -50%);
  }

  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__dom-layer,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__canvas,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__rim,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__color-rim,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__lens-fx {
    transform: translate(calc(-50% + 2vw), -50%);
  }
}

/* Larger discs when rows span full width */
@media (min-width: 64rem) {
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__item,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__item {
    width: clamp(280px, 28vw, 460px);
  }

  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__dom-layer,
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__canvas,
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__rim,
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__color-rim,
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__lens-fx {
    transform: translate(calc(-50% - 2.5vw), -50%);
  }

  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__dom-layer,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__canvas,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__rim,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__color-rim,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__lens-fx {
    transform: translate(calc(-50% + 2.5vw), -50%);
  }
}

@media (min-width: 90rem) {
  .lenses-section__stage .lenses-home__cell:not([data-lens='retain']) .lens-hybrid__item,
  .lenses-section__stage .lenses-home__cell[data-lens='retain'] .lens-hybrid__item {
    width: clamp(320px, 30vw, 520px);
  }
}

@media (max-width: 60rem) and (min-width: 48.0625rem) {
  .lens-circle {
    width: clamp(10rem, 18vw, 14rem);
  }

  /* Services lens column — same disc scale as homepage .lens-circle */
  .lens-detail__ring-col {
    width: clamp(10rem, 18vw, 14rem);
  }
}

@media (max-width: 48rem) {
  .lenses-section__stage {
    grid-template-columns: 1fr;
    gap: clamp(5.75rem, 12vw, 8rem);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 var(--gutter);
    justify-items: center;
  }

  /* Stacked layout: extra space between disc and headline */
  .lenses-section__stage .lenses-home__cell {
    gap: calc(clamp(1.25rem, 3vw, 2rem) + 3.35rem);
  }

  /* ~1.2× subhead scale for readability on small screens */
  .lenses-section .lenses-home__headline {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  }

  .lenses-section .lenses-home__headline-link {
    margin-block: clamp(0.65rem, 2.5vw, 1.15rem);
  }

  /* Another ~10% smaller discs (on top of prior mobile shrink) */
  .lenses-section__stage .lenses-home__cell .lens-hybrid__item {
    width: min(100%, clamp(188px, 63.18vw, 356px));
  }

  .lenses-section__stage .lenses-home__cell .lens-hybrid__dom-layer,
  .lenses-section__stage .lenses-home__cell .lens-hybrid__canvas,
  .lenses-section__stage .lenses-home__cell .lens-hybrid__rim,
  .lenses-section__stage .lenses-home__cell .lens-hybrid__color-rim,
  .lenses-section__stage .lenses-home__cell .lens-hybrid__lens-fx {
    transform: translate(-50%, -50%);
  }

  /* Default: fill parent (e.g. services ring column) */
  .lens-circle {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  /* Width + inner chrome: shared with .lens-detail in max-width:48rem block above */

  .lenses-section .lenses-scroll__headline {
    font-size: clamp(3rem, 7.8vw, 8.4rem);
  }
}

.lenses-scroll__headline {
  font-size: var(--fs-feature);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
  padding-top: 0.08em;
  margin: 0.5rem 0 clamp(0.75rem, 1.5vw, 1.25rem);
}

.lenses-scroll__body {
  position: relative;
  max-width: min(56ch, 100%);
  font-weight: var(--fw-regular);
  font-size: var(--type-strap);
  line-height: var(--type-strap-lh);
  letter-spacing: var(--type-strap-tracking);
  color: var(--fg);
  text-rendering: geometricPrecision;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

.lenses-scroll__stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  justify-items: center;
  min-height: 0;
}

/* ---- Lens circles ---- */
.lens-circle {
  width: clamp(12rem, 20vw, 20rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

/* Shadow wrapper — sits outside overflow:hidden so shadow isn't clipped */
.lens-circle__shadow {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 10px 50px rgba(0, 0, 0, 0.08),
    0 4px 24px rgba(0, 0, 0, 0.07);
}

/* Frosted glass disc */
.lens-circle__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(222, 222, 218, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 16px rgba(255, 255, 255, 0.22),
    inset 0 -18px 36px rgba(0, 0, 0, 0.035);
  -webkit-backdrop-filter: blur(7px) saturate(1.05);
  backdrop-filter: blur(7px) saturate(1.05);
}

/* Content layer — sits underneath the glass */
.lens-circle__content {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 1;
  will-change: filter, transform;
}

/* Glass overlay — drops in on scroll to "focus" the content */
.lens-circle__glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.018) 42%,
    rgba(0, 0, 0, 0.018) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 10px rgba(255, 255, 255, 0.14),
    inset 0 -2px 10px rgba(0, 0, 0, 0.03);
  z-index: 2;
  will-change: transform, opacity;
  pointer-events: none;
}


/* Coloured icon pip */
.lens-circle__pip {
  width: clamp(3rem, 5vw, 4.5rem);
  height: clamp(3rem, 5vw, 4.5rem);
  border-radius: 50%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 16px rgba(2, 37, 172, 0.25);
}

[data-lens="retain"] .lens-circle__pip {
  background: var(--brand-orange);
  box-shadow: 0 4px 16px rgba(255, 90, 46, 0.25);
}

[data-lens="momentum"] .lens-circle__pip {
  background: #D6037A;
  box-shadow: 0 4px 16px rgba(214, 3, 122, 0.25);
}

.lens-circle__icon {
  width: clamp(1.25rem, 2vw, 1.75rem);
  height: clamp(1.25rem, 2vw, 1.75rem);
  display: block;
  flex-shrink: 0;
  overflow: visible;
  color: #fff;
}

.lens-circle__num {
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-eyebrow);
  color: var(--dark-bg);
}

[data-lens="retain"] .lens-circle__num { color: var(--brand-orange); }
[data-lens="momentum"] .lens-circle__num { color: #D6037A; }

.lens-circle__title {
  font-size: var(--fs-card-title);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}

.lens-circle__sub {
  font-size: clamp(0.55rem, 0.7vw, 0.65rem);
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--fg-muted, rgba(0, 0, 0, 0.45));
}

/* Mobile lens circles: homepage + Services share the same final component rules. */
@media (max-width: 48rem) {
  .lens-detail__ring-col {
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }

  .lenses-section .lens-circle,
  .lens-detail__ring-col .lens-circle {
    width: min(31.68rem, 70vw);
    max-width: min(31.68rem, 70vw);
    min-width: 0;
    margin-inline: auto;
    justify-self: center;
  }

  .lenses-section .lens-circle__content,
  .lens-detail__ring-col .lens-circle__content {
    gap: clamp(0.25rem, 1.5vw, 0.45rem);
    padding: 6% 8% 7%;
    box-sizing: border-box;
    justify-content: center;
  }

  .lenses-section .lens-circle__pip,
  .lens-detail__ring-col .lens-circle__pip {
    width: clamp(4.25rem, 11vw, 6.25rem);
    height: clamp(4.25rem, 11vw, 6.25rem);
    margin-bottom: 0.2rem;
    flex-shrink: 0;
  }

  .lenses-section .lens-circle__icon,
  .lens-detail__ring-col .lens-circle__icon {
    width: clamp(1.65rem, 4.8vw, 2.35rem);
    height: clamp(1.65rem, 4.8vw, 2.35rem);
  }

  .lenses-section .lens-circle__num,
  .lens-detail__ring-col .lens-circle__num {
    font-size: clamp(0.95rem, 2.9vw, 1.2rem);
    line-height: 1;
  }

  .lenses-section .lens-circle__title,
  .lens-detail__ring-col .lens-circle__title {
    font-size: clamp(1.45rem, 5.25vw, 2.1rem);
    line-height: 1.05;
  }

  .lenses-section .lens-circle__sub,
  .lens-detail__ring-col .lens-circle__sub {
    font-size: clamp(0.65rem, 2.25vw, 0.78rem);
    line-height: 1.2;
    max-width: min(18ch, 90%);
    margin-inline: auto;
  }
}

/* Progress ticks */
.lenses-scroll__progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.lenses-scroll__dot {
  width: 32px;
  height: 2px;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.lenses-scroll__dot.is-active {
  background: var(--fg);
}

/* ---- Lens hybrid prototype (DOM vs WebGL) ---- */
.lens-hybrid {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #f5f5f3;
}

.lens-hybrid .accent {
  color: var(--brand-orange);
}

.lens-hybrid__intro {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lens-hybrid__stage {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(3rem, 6vw, 7rem);
  justify-content: center;
  justify-items: center;
  align-items: start;
  padding: 0 clamp(2rem, 5vw, 6rem);
}

.lens-hybrid__item {
  position: relative;
  width: clamp(12rem, 22vw, 30rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: inherit;
}

.lens-hybrid__dom-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  z-index: 1;
}

.lens-hybrid__shadow {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.18), 0 4px 24px rgba(0, 0, 0, 0.00);
}

.lens-hybrid__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(222, 222, 218, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 16px rgba(255, 255, 255, 0.22), inset 0 -18px 36px rgba(0, 0, 0, 0.035);
  -webkit-backdrop-filter: blur(7px) saturate(1.05);
  backdrop-filter: blur(7px) saturate(1.05);
}

.lens-hybrid__content {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.lens-hybrid__pip {
  width: clamp(3rem, 5vw, 4.5rem);
  height: clamp(3rem, 5vw, 4.5rem);
  border-radius: 50%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(2, 37, 172, 0.25);
  margin-bottom: 0.5rem;
}

.lens-hybrid__item[data-lens='retain'] .lens-hybrid__pip {
  background: var(--brand-orange);
  box-shadow: 0 4px 16px rgba(255, 90, 46, 0.25);
}

.lens-hybrid__item[data-lens='momentum'] .lens-hybrid__pip {
  background: #D6037A;
  box-shadow: 0 4px 16px rgba(214, 3, 122, 0.25);
}

.lens-hybrid__icon {
  width: clamp(1.25rem, 2vw, 1.75rem);
  height: clamp(1.25rem, 2vw, 1.75rem);
  color: #fff;
}

.lens-hybrid__num {
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-eyebrow);
  color: var(--dark-bg);
}

.lens-hybrid__item[data-lens='retain'] .lens-hybrid__num { color: var(--brand-orange); }
.lens-hybrid__item[data-lens='momentum'] .lens-hybrid__num { color: #D6037A; }

.lens-hybrid__title {
  font-size: var(--fs-card-title);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}

.lens-hybrid__sub {
  font-size: clamp(0.55rem, 0.7vw, 0.65rem);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted, rgba(0, 0, 0, 0.45));
}

.lens-hybrid__glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.018) 42%, rgba(0, 0, 0, 0.018) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.14), inset 0 -2px 10px rgba(0, 0, 0, 0.03);
}

.lens-hybrid__canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.18), 0 4px 24px rgba(0, 0, 0, 0.00);
}

.lens-hybrid__rim {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 16px rgba(255, 255, 255, 0.22),
    inset 0 -18px 36px rgba(0, 0, 0, 0.035);
  overflow: hidden;
}

/* Soft glass highlight in upper-left quadrant */
.lens-hybrid__rim::before {
  content: '';
  position: absolute;
  top: 6%;
  left: 10%;
  width: 46%;
  height: 32%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.22) 32%,
    rgba(255, 255, 255, 0) 72%);
  filter: blur(4px);
  transform: rotate(-22deg);
  pointer-events: none;
}

/* Thin specular glint along the upper edge */
.lens-hybrid__rim::after {
  content: '';
  position: absolute;
  top: 3%;
  left: 22%;
  width: 56%;
  height: 7%;
  border-radius: 50%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%);
  filter: blur(2px);
  pointer-events: none;
}

.lens-hybrid__item.is-webgl .lens-hybrid__dom-layer {
  opacity: 0;
  visibility: hidden;
}

/* ---- COLOURED LENS RIM ----
   Donut overlay rendered on top of the canvas: thin coloured ring with
   conic-gradient ridges, coloured halo shadow, and "acelo." brand wordmark.
   Each lens picks up its own ring colour via the [data-lens] selectors below. */
.lens-hybrid__color-rim {
  --ring-color: #0225AC;
  --shadow-color: rgba(2, 37, 172, 0.18);
  --ring-thickness: 1.95%;
  --ridge-opacity: 0.055;
  --ridge-light: 0.18;
  --ridge-count: 600;
  --shadow-strength: 1.5;
  --brand-size: 0.4rem;
  --brand-tracking: -0.045em;
  --brand-top: 0.25%;
  --brand-mix-target: #ffffff;
  --brand-mix: 100%;
  --brand-opacity: 0.82;
  --brand-blur: 0px;
  --brand-brightness: 1;

  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  /* Shadow sits on the parent (full circular bounding box) so the coloured halo
     emanates from the disc edge — matching /lens-demo's solid-disc behaviour.
     Putting it on the masked ::before would only shadow the thin ring silhouette. */
  box-shadow:
    0 calc(18px * var(--shadow-strength)) calc(40px * var(--shadow-strength)) var(--shadow-color),
    0 calc(6px * var(--shadow-strength)) calc(14px * var(--shadow-strength)) rgba(0, 0, 0, 0.08);
}

.lens-hybrid__color-rim::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(0, 0, 0, var(--ridge-opacity)) 0deg,
      rgba(0, 0, 0, 0) calc(360deg / var(--ridge-count) * 0.5),
      rgba(255, 255, 255, var(--ridge-light)) calc(360deg / var(--ridge-count) * 0.5),
      rgba(255, 255, 255, 0) calc(360deg / var(--ridge-count))
    ),
    var(--ring-color);
  /* closest-side keeps `100%` aligned with the visible circle edge (W/2),
     so `--ring-thickness: T%` produces a ring that is T% of the disc width. */
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - var(--ring-thickness) * 2), #000 0);
          mask: radial-gradient(circle closest-side, transparent calc(100% - var(--ring-thickness) * 2), #000 0);
}

.lens-hybrid__color-rim-brand {
  position: absolute;
  top: var(--brand-top);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--brand-size);
  font-weight: 700;
  letter-spacing: var(--brand-tracking);
  color: color-mix(in srgb, var(--ring-color), var(--brand-mix-target) var(--brand-mix));
  opacity: var(--brand-opacity);
  filter: blur(var(--brand-blur)) brightness(var(--brand-brightness));
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.lens-hybrid__color-rim-dot {
  color: #D6037A;
}

/* Home discs are smaller than services, so the wordmark sits closer to the
   inner edge of the rim. Nudge it up a touch so descenders don't graze. */
.lenses-section__stage .lens-hybrid__color-rim-brand {
  transform: translate(-50%, -1.5px);
}

/* Per-lens brand colours — ring + matching halo shadow. */
.lens-hybrid__item[data-lens='grow'] .lens-hybrid__color-rim {
  --ring-color: #0225AC;
  --shadow-color: rgba(2, 37, 172, 0.22);
}
.lens-hybrid__item[data-lens='retain'] .lens-hybrid__color-rim {
  --ring-color: #FF5A2E;
  --shadow-color: rgba(255, 90, 46, 0.22);
}
.lens-hybrid__item[data-lens='momentum'] .lens-hybrid__color-rim {
  --ring-color: #D6037A;
  --shadow-color: rgba(214, 3, 122, 0.22);
}

/* Hide the white-glass rim wherever the coloured rim is present (services + home).
   Other surfaces (e.g. /lens-demo) keep their original rim. */
.lens-hybrid__item:has(.lens-hybrid__color-rim) .lens-hybrid__rim {
  display: none;
}

/* ---- LENS FX OVERLAY (test on Growth lens / services only) ----
   Decorative overlay sitting on top of the existing WebGL canvas:
   • inner vignette gives depth (concave lens feel)
   • specular highlight gives polished-glass reflection; angle drifts with scroll
   • a CSS `filter: blur()` on the canvas adds an out-of-focus haze on top of
     the WebGL distortion as the lens leaves the viewport centre
   The original canvas-based lens look is preserved underneath. */
/* Lens FX defaults — apply to every lens (services + home). */
.lens-hybrid__item {
  --vignette-strength: 0.17;     /* slider */
  --vignette-spread: 90%;        /* slider */
  --specular-strength: 0.33;     /* slider — wide ambient streak */
  --specular-angle: -34deg;      /* slider — base angle */
  --specular-drift: 18deg;       /* slider — scroll drifts ±this from base */
  --specular-angle-live: var(--specular-angle);  /* JS sets each frame */
  --specular-glisten: 0.21;      /* slider — narrow bright stripe that catches light */
  --specular-sweep: 4%;          /* slider — how far the glisten stripe travels across */
  --specular-sweep-pos: 50%;     /* JS sets each frame */
  --specular-fade: 1;            /* slider — fade specular/glisten at peak focus (0=no fade, 1=full fade) */
  --specular-strength-live: var(--specular-strength);  /* JS sets each frame */
  --specular-glisten-live: var(--specular-glisten);    /* JS sets each frame */
  --lens-blur-max: 0px;          /* slider — peak haze at full distortion (off by default) */
  --lens-blur: 0px;              /* JS sets each frame */
}

/* Per-lens vignette colour — inner shadow takes the lens's brand colour so
   it reads as the rim's hue reflecting inward. RGB components only so we
   can compose with --vignette-strength via rgba(). */
.lens-hybrid__item[data-lens='grow']     { --vignette-color-rgb: 2, 37, 172; }
.lens-hybrid__item[data-lens='retain']   { --vignette-color-rgb: 255, 90, 46; }
.lens-hybrid__item[data-lens='momentum'] { --vignette-color-rgb: 214, 3, 122; }

/* Add scroll-driven haze on top of the WebGL distortion (services + home). */
.lens-hybrid__item:has(.lens-hybrid__lens-fx) .lens-hybrid__canvas {
  filter: blur(var(--lens-blur));
  will-change: filter;
}

.lens-hybrid__lens-fx {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

/* Inner vignette — brand-coloured halo reflected inward at the inner rim.
   Falls back to black if no per-lens RGB var is set. */
.lens-hybrid__lens-fx::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle closest-side,
    transparent var(--vignette-spread, 60%),
    rgba(var(--vignette-color-rgb, 0, 0, 0), var(--vignette-strength, 0.35)) 100%
  );
}

/* Specular highlights — two stacked layers:
   1. The sweeping "glisten" — narrow bright stripe whose position tracks scroll.
   2. The ambient streak — wider, gentler reflection whose angle drifts with scroll.
   Both share --specular-angle-live so they rotate together; mix-blend-mode: screen
   keeps the highlights additive over the canvas. */
.lens-hybrid__lens-fx::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(
      var(--specular-angle-live, -22deg),
      transparent calc(var(--specular-sweep-pos, 50%) - 4%),
      rgba(255, 255, 255, var(--specular-glisten-live, 0.21)) var(--specular-sweep-pos, 50%),
      transparent calc(var(--specular-sweep-pos, 50%) + 4%)
    ),
    linear-gradient(
      var(--specular-angle-live, -22deg),
      transparent 38%,
      rgba(255, 255, 255, var(--specular-strength-live, 0.33)) 50%,
      transparent 62%
    );
  mix-blend-mode: screen;
}

/* ---- SERVICES PAGE: enlarged + offset lenses ----
   The disc is sized larger than the ring column and shifted toward the outer
   edge so part of it bleeds off-screen, while the centred inner content stays
   comfortably inside the viewport. */
.lens-detail .lens-hybrid__item {
  width: 100%;
  height: clamp(20rem, 32vw, 30rem);
  aspect-ratio: auto;
  position: relative;
  overflow: visible;
}

.lens-detail,
.lens-detail > .wrap,
.lens-detail__top,
.lens-detail__ring-col {
  overflow: visible;
}

/* Allow the ring column's reserved width to grow a bit so visible content
   sits a touch further from the disc bleed edge. */
@media (min-width: 64rem) {
  .lens-detail .lens-detail__ring-col {
    width: clamp(14rem, 22vw, 22rem);
    max-width: 22rem;
  }
}

.lens-detail .lens-hybrid__dom-layer,
.lens-detail .lens-hybrid__canvas,
.lens-detail .lens-hybrid__rim,
.lens-detail .lens-hybrid__color-rim,
.lens-detail .lens-hybrid__lens-fx {
  width: clamp(22rem, 38vw, 34rem);
  height: clamp(22rem, 38vw, 34rem);
  /* Shift the whole disc out toward the page's left edge so it bleeds off-screen */
  transform: translate(calc(-50% - 7vw), -50%);
}

/* Larger viewports: subtle leftward bleed; sized to keep inner content in view. */
@media (min-width: 75rem) {
  .lens-detail .lens-hybrid__dom-layer,
  .lens-detail .lens-hybrid__canvas,
  .lens-detail .lens-hybrid__rim,
  .lens-detail .lens-hybrid__color-rim,
  .lens-detail .lens-hybrid__lens-fx {
    width: clamp(22rem, 38vw, 34rem);
    height: clamp(22rem, 38vw, 34rem);
    transform: translate(calc(-50% - 5vw), -50%);
  }
}

/* Tablet (48–64rem): stack disc above headline, centered, no leftward bleed —
   prevents the headline collision that occurs when the disc floats off-grid. */
@media (min-width: 48.0625rem) and (max-width: 63.9375rem) {
  .lens-detail .lens-detail__ring-col {
    justify-self: center;
    align-items: center;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .lens-detail .lens-hybrid__item {
    width: 100%;
    max-width: 22rem;
    height: clamp(18rem, 38vw, 24rem);
    margin-inline: auto;
  }

  .lens-detail .lens-hybrid__dom-layer,
  .lens-detail .lens-hybrid__canvas,
  .lens-detail .lens-hybrid__rim,
  .lens-detail .lens-hybrid__color-rim,
  .lens-detail .lens-hybrid__lens-fx {
    width: min(20rem, 60vw);
    height: min(20rem, 60vw);
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 48rem) {
  /* Match homepage stacked lens discs (.lenses-section mobile) */
  .lens-detail .lens-detail__ring-col {
    width: 100%;
    max-width: none;
  }

  .lens-detail .lens-hybrid__item {
    width: min(100%, clamp(188px, 63.18vw, 356px));
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-inline: auto;
  }

  .lens-detail .lens-hybrid__dom-layer,
  .lens-detail .lens-hybrid__canvas,
  .lens-detail .lens-hybrid__rim,
  .lens-detail .lens-hybrid__color-rim,
  .lens-detail .lens-hybrid__lens-fx {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
  }
}

/* Mobile / narrow: no pinning, stack vertically, all three visible */
@media (max-width: 48rem) {
  .lenses-scroll {
    height: auto;
  }
  .lenses-scroll__inner {
    position: static;
    height: auto;
    overflow: visible;
  }
  .lenses-scroll__content {
    grid-template-rows: none;
    padding: clamp(3rem, 6vw, 4rem) 0;
  }
  .lenses-scroll__stage {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .lens-oval {
    height: 20rem;
    max-height: none;
    max-width: 18rem;
  }
  .lens-oval__shape ellipse {
    fill: var(--fg);
  }
  .lens-oval__icon {
    color: var(--white);
  }
  .lenses-scroll__captions {
    display: none;
  }
  .lenses-scroll__progress {
    display: none;
  }

  .lens-hybrid__stage {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 7vw, 4rem);
    padding: 0 var(--gutter);
  }

  .lens-hybrid__item {
    width: min(31.68rem, 70vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lenses-scroll {
    height: auto;
  }
  .lenses-scroll__inner {
    position: static;
    height: auto;
    overflow: visible;
  }
  .lenses-scroll__content {
    grid-template-rows: none;
  }
  .lens-oval__shape ellipse {
    fill: var(--fg);
  }
  .lens-oval__icon {
    color: var(--white);
    transform: none;
  }
  .lens-caption {
    position: static;
    opacity: 1;
    transform: none;
  }
  .lenses-scroll__captions {
    display: none;
  }
  .lenses-scroll__progress {
    display: none;
  }
}

/* ---- WHO WE WORK WITH (same structure + rhythm as Revenue Partner) ---- */

/* ---- WHO WE WORK WITH (card grid) ---- */

.who-work {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.who-work__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.who-work__title {
  font-size: var(--fs-statement);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: 1;
  margin: 0;
}

.who-work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 48rem) {
  .who-work__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.who-work__card {
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: clamp(0.35rem, 1.2vw, 0.65rem);
}

@media (min-width: 48rem) {
  .who-work__card {
    border-top: none;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
  }

  .who-work__card:first-child {
    padding-left: 0;
    border-left: none;
  }
}

/* Editorial stack: orange idx + segment, strap headline, smaller body */
.who-work__kicker {
  margin: 0;
  font-weight: var(--fw-bold);
  font-size: clamp(0.8125rem, 2.4vw, 1rem);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--brand-orange);
  line-height: var(--lh-tight);
}

.who-work__idx {
  display: inline-block;
  margin-right: 0.55em;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.who-work__segment {
  font-weight: var(--fw-bold);
}

.who-work__strap {
  margin: 0;
  font-size: var(--fs-subhead);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-display);
  color: var(--fg);
  max-width: none;
  text-wrap: pretty;
}

.who-work__body {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--fg-3);
  margin: clamp(0.25rem, 1vw, 0.5rem) 0 0;
  max-width: min(38ch, 100%);
}

@media (max-width: 64rem) {
  .principles-section {
    min-height: auto;
  }
}

/* ---- CTA BAND ---- */

.cta-band {
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
}
/* ---- ASYMMETRIC GRID (large viewports) ---- */

/* ---- ASYMMETRIC SIDEBAR LAYOUT (large viewports) ---- */

@media (min-width: 75rem) {
  /* Full-width 3x2 grid with breathing room on large viewports */
  .principles-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .principles-section .principles-inner.section-inner {
    max-width: min(82rem, 100%);
  }

  .principles-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(3.5rem, 6vw, 6rem);
    row-gap: clamp(4rem, 7vw, 6rem);
  }

  .principles-col {
    border-top: 1px solid var(--brand-blue-soft);
  }
}

/* ---- RESPONSIVE ---- */

@media (max-width: 64rem) {
  .hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero__col {
    align-items: flex-start;
  }

  .hero .lined-lede {
    max-width: min(36rem, 100%);
  }

  .hero__bottom {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hero__cta-col {
    align-items: flex-start;
  }

  .hero__cta-col .cta-split {
    align-self: flex-start;
  }

  .hero__actions {
    max-width: min(36rem, 100%);
    width: 100%;
  }

  .lenses__cards {
    grid-template-columns: 1fr;
  }

  .lens-card:nth-child(2) {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--bg);
    border-bottom: 1px solid var(--bg);
  }
}

/* Hero stack: looser gap on tablet widths; phones use tighter rules in max-width:48rem */
@media (max-width: 64rem) and (min-width: 48.0625rem) {
  .hero__bottom {
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }
}

@media (max-width: 48rem) {
  .hero__title {
    font-size: clamp(4.8rem, 13.2vw, 15.6rem);
  }

  .title-page {
    font-size: clamp(3.3rem, 9.6vw, 6.6rem);
  }

  .about-manifesto__title {
    font-size: clamp(2.7rem, 6.6vw, 6rem);
  }

  .about-manifesto__title--services {
    font-size: clamp(2.95rem, 7.1vw, 6.45rem);
  }

  .hero .lined-lede {
    max-width: var(--editorial-measure);
    box-sizing: border-box;
  }

  .problem-editorial__body,
  .lenses-section .lenses-scroll__body,
  .hero__actions {
    max-width: var(--editorial-measure);
    box-sizing: border-box;
  }

  .cta-links {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
}

/* ---- REVEAL ---- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ---- CINEMATIC REVEAL ----
   Gated to ≥48rem + motion-allowed so phones / reduced-motion / no-JS render
   normally. Any element with [data-cine="..."] is hidden until JS animates it
   in (see SiteLayout's cinematic init + per-page scripts). */
@media (min-width: 48rem) and (prefers-reduced-motion: no-preference) {
  [data-cine] {
    opacity: 0;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
  }
  [data-cine-perspective] {
    perspective: 1400px;
    perspective-origin: 50% 30%;
  }
}

/* ---- PAGE TRANSITION: crossfade + scale ---- */

.site-main {
  transform-origin: center top;
}

/* Disable Astro's default fade — GSAP handles it */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/* ---- LEGAL PAGES (privacy, terms) ---- */

.legal-page {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(6rem, 10vw, 10rem);
}

.legal-page__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Match the breathing space the .eyebrow gets on first-of-type sections on mobile,
   so legal-page titles aren't tight to the fixed nav. */
@media (max-width: 64rem) {
  .legal-page__header {
    margin-top: clamp(3rem, 6vw, 5rem);
  }
}

.legal-page__title {
  font-size: var(--fs-statement);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  margin: 0 0 0.75rem;
}

.legal-page__sub {
  font-size: var(--fs-caption);
  color: var(--fg-3);
  margin: 0;
}

.legal-page__body {
  max-width: 52rem;
}

.legal-page__body h2 {
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--fg);
  margin: clamp(3rem, 5vw, 4rem) 0 1.25rem;
}

.legal-page__body h3 {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-bold);
  color: var(--fg);
  margin: 1.75rem 0 0.75rem;
}

.legal-page__body p {
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0 0 1rem;
}

.legal-page__body ul,
.legal-page__body ol {
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0 0 1.25rem;
  padding-left: 1.5em;
}

.legal-page__body li {
  margin-bottom: 0.5rem;
}

.legal-page__body a {
  color: var(--dark-bg);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-page__body a:hover {
  color: var(--brand-orange);
}

.legal-page__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body-sm);
  margin: 1.5rem 0;
}

.legal-page__body th,
.legal-page__body td {
  text-align: left;
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--fg-2);
}

.legal-page__body th {
  font-weight: var(--fw-bold);
  color: var(--fg);
}

.legal-page__body strong {
  font-weight: var(--fw-bold);
  color: var(--fg);
}

/* === Revenue Agents — shared between home and inner pages === */
.agents {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--bg);
  color: var(--fg);
}
.agents__header {
  margin: 0 0 clamp(2.25rem, 4.5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.agents__head-left {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.3vw, 1rem);
}
.agents__title {
  font-size: var(--fs-statement);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  margin: 0;
  text-wrap: balance;
}
.agents__lede {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
  margin: 0;
  max-width: 42ch;
}
@media (min-width: 64rem) {
  .agents__header {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: clamp(3rem, 7vw, 6rem);
    align-items: end;
  }
  .agents__lede {
    margin-bottom: 0.35em;
  }
}
.agents__grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
  row-gap: clamp(1.75rem, 3vw, 2.25rem);
}
@media (min-width: 48rem) {
  .agents__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.agents__card {
  padding-top: clamp(0.9rem, 1.4vw, 1.2rem);
  border-top: 1px solid var(--principles-rule-peach);
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 0.8vw, 0.6rem);
}
.agents__icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--brand-blue);
  line-height: 0;
  margin-bottom: clamp(0.65rem, 1.25vw, 1.1rem);
}
.agents__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 0.9;
}
.agents__idx {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(0.75rem, 0.95vw, 0.875rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: clamp(0.15rem, 0.5vw, 0.35rem);
}
.agents__name {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  color: var(--fg);
}
.agents__body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--fg-3);
  max-width: min(38ch, 100%);
}
/* Two-pillar variant (home agents) — execute vs monitor side-by-side */
.agents__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 64rem) {
  .agents__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 6vw, 5rem);
  }
  /* Inside a pillar, the card grid runs single-column so each card has room */
  .agents__grid--pillar { grid-template-columns: 1fr !important; }
}
.agents__footnote {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  font-family: var(--font);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--fg-2);
  font-style: italic;
  max-width: 64ch;
  text-align: center;
}

/* Two-cluster extension (services page only currently) */
.agents__cluster + .agents__cluster {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
.agents__cluster-head {
  margin: 0 0 clamp(0.6rem, 1.4vw, 1rem);
  font-family: var(--font);
  font-size: var(--fs-subhead);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-display);
  color: var(--fg);
  text-wrap: balance;
}
.agents__cluster-sub {
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
  max-width: 62ch;
}

/* === Section background utility — warm off-white for alternating page rhythm === */
.section--soft {
  background: var(--bg-soft);
}

/* === Learn-more link — small text+arrow CTA used inline on home (lenses, ROS) === */
.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(0.85rem, 1.4vw, 1.2rem);
  font-family: var(--font);
  font-weight: var(--fw-bold);
  font-size: clamp(0.75rem, 0.95vw, 0.82rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange);
  text-decoration: none;
  transition: gap 0.18s ease, color 0.18s ease;
}
.learn-more-link__arrow {
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.18s ease;
  display: inline-block;
}
.learn-more-link:hover { gap: 0.75rem; }
.learn-more-link:hover .learn-more-link__arrow { transform: translateX(2px); }

/* Lens-scoped variant: takes the lens accent colour so each card's link tints
   to match its lens. Default = Grow (dark blue); overridden per data-lens. */
.learn-more-link--lens { color: var(--dark-bg); }
.learn-more-link--lens[data-lens="retain"] { color: var(--brand-orange); }
.learn-more-link--lens[data-lens="momentum"] { color: #D6037A; }

/* === Prefooter CTA — shared between home and inner pages === */
.prefooter-cta {
  background: var(--bg);
  color: var(--fg);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}
.prefooter-cta__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding-top: clamp(2.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.prefooter-cta__copy { display: flex; flex-direction: column; gap: clamp(0.85rem, 1.5vw, 1.25rem); }
.prefooter-cta__eyebrow {
  font: 700 0.84rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin: 0;
}
.prefooter-cta__heading {
  font-family: var(--font);
  font-size: var(--fs-statement);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: var(--ls-display);
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
.prefooter-cta__heading-em { color: var(--brand-orange); font-weight: var(--fw-bold, 700); }
.prefooter-cta__body {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  max-width: 38rem;
  margin: 0;
  color: var(--fg-2);
}
.prefooter-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem 2.25rem;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.7rem, 0.95vw, 0.78rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  justify-self: end;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(255, 90, 46, 0.22);
}
.prefooter-cta__btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 12px 24px rgba(255, 90, 46, 0.30); }
.prefooter-cta__btn-arrow { font-size: 1.15em; line-height: 1; }
@media (max-width: 64rem) {
  .prefooter-cta__inner { grid-template-columns: 1fr; align-items: start; }
  .prefooter-cta__btn { justify-self: start; }
}
