/* ---------------------------------------------------------------------
   Self-hosted faces, inlined deliberately.

   These used to live in fonts.css behind an @import at the top of this
   file. That cost a round trip: the browser could not discover the font
   declarations until styles.css had downloaded AND parsed, which delayed
   every non-preloaded face by ~700ms and produced a visible swap.
   Do not move them back out into an @import.
   --------------------------------------------------------------------- */
@font-face{font-family:'Satoshi';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/satoshi-500-normal.woff2') format('woff2')}
@font-face{font-family:'Satoshi';font-style:italic;font-weight:500;font-display:swap;src:url('../fonts/satoshi-500-italic.woff2') format('woff2')}
@font-face{font-family:'Satoshi';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/satoshi-700-normal.woff2') format('woff2')}
@font-face{font-family:'Satoshi';font-style:italic;font-weight:700;font-display:swap;src:url('../fonts/satoshi-700-italic.woff2') format('woff2')}
@font-face{font-family:'Satoshi';font-style:normal;font-weight:900;font-display:swap;src:url('../fonts/satoshi-900-normal.woff2') format('woff2')}
@font-face{font-family:'Satoshi';font-style:italic;font-weight:900;font-display:swap;src:url('../fonts/satoshi-900-italic.woff2') format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-mono-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-mono-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/inter-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/inter-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/playfair-display-normal-sub.woff2') format('woff2')}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:500;font-display:swap;src:url('../fonts/playfair-display-italic-sub.woff2') format('woff2')}


/* ==========================================================================
   Further PR — one-pager
   Tokens mirror the handoff spec exactly. No border-radius and no shadows
   anywhere except the 2px scroll-progress bar, which the spec calls for.
   ========================================================================== */

:root {
  /* Surfaces */
  --ink-900: #070c17;
  --ink-800: #0c1425;
  --ink-700: #111c33;

  /* Accent */
  --blue-500: #5b8cf0;
  --blue-600: #3f6fd8;
  --blue-400: #7fa6f5;
  --blue-300: #6f9aee;

  /* Text */
  --white: #ffffff;
  --text-100: #eef2fa;
  --text-200: #f2f6ff;
  --text-300: #c3d1e8;
  --text-400: #b6c4dd;
  --text-500: #a7b7d2;
  --text-600: #9fb0cd;

  /* Hairlines and washes — alpha values used verbatim from the spec */
  --line-10: rgba(91, 140, 240, 0.1);
  --line-12: rgba(91, 140, 240, 0.12);
  --line-14: rgba(91, 140, 240, 0.14);
  --line-16: rgba(91, 140, 240, 0.16);
  --line-22: rgba(91, 140, 240, 0.22);
  --line-32: rgba(91, 140, 240, 0.32);
  --line-50: rgba(91, 140, 240, 0.5);
  --line-55: rgba(91, 140, 240, 0.55);
  --row-line: rgba(255, 255, 255, 0.08);
  --ghost-underline: rgba(182, 196, 221, 0.35);
  --glass: rgba(7, 12, 23, 0.78);

  /* Type */
  --font-sans: Inter, Helvetica, Arial, sans-serif;
  --font-display: Satoshi, Helvetica, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(76px, 9vh, 112px);
  --rhythm: 72px; /* the in-section rhythm unit */
  --nav-h: 78px; /* measured height of the fixed bar; anchors clear it */
}

/* Tablet and below: the desktop spacing (92px a side on tablet, 79px on a
   phone) reads as far too airy once the content column narrows.
   --rhythm scales with it on purpose — it drives the in-section gaps (H2 to
   content, intro to divider). Left at 72px it would be nearly double the
   40px section padding, making the gaps INSIDE a section larger than the ones
   between sections, which inverts the hierarchy. At 40/40 the boundary
   between two sections is 80px against 40px internally: still a clear 2:1. */
@media (max-width: 1024px) {
  :root {
    --section-y: 40px;
    --rhythm: 40px;
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text-100);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-400);
  text-decoration: none;
}

a:hover {
  color: #a9c4fa;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--white);
}

/* Accent words are coloured AND italic. The design reference loads Satoshi's
   italic axis (Fontshare 501/701/901) and never resets <em>, so the blue words
   in every headline render in true Satoshi italic — the italic faces are
   self-hosted below, so this is never a synthesised oblique. */
h1 em,
h2 em,
h3 em,
h4 em {
  font-style: italic;
  color: var(--blue-500);
}

p {
  text-wrap: pretty;
}

/* Accessibility: the prototype shipped no focus styles at all. */
:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(-120%);
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

/* Anchor targets must clear the fixed nav. */
[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* --------------------------------------------------------------------------
   Shared primitives
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.section {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--line-14);
}

/* Hairline grids: a 1px gap over a tinted container *is* the rule, so borders
   never double up where cells meet. */
.hairline-grid {
  display: grid;
  gap: 1px;
  background: var(--line-16);
}

/* Client-requested 10px radius on every button: this class (both "Start a
   Conversation" CTAs and the 404 button), plus .nav__cta and .nav__burger.
   A deliberate departure from the handoff spec ("No border radius and no
   shadows anywhere. Sharp rectangles are the aesthetic") — not an oversight.
   Cards, tiles and the hairline grids stay square. If you change this radius,
   change it in all three places so the buttons stay consistent. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 28px;
  border-radius: 10px;
  background: var(--blue-600);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background: var(--blue-500);
  color: var(--white);
}

.btn__arrow {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 4px;
  color: var(--text-300);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ghost-underline);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.btn-ghost:hover {
  color: var(--white);
  border-bottom-color: var(--blue-500);
}

/* --------------------------------------------------------------------------
   Wordmark — the one place a serif appears. The italic on "pr" is the brand
   mark; the italic axis is self-hosted so it never renders faux-italic.
   -------------------------------------------------------------------------- */

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 11px;
  font-family: var(--font-serif);
}

.wordmark__further {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.085em;
  color: var(--text-200);
}

.wordmark__pr {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0;
  color: var(--blue-300);
}

.wordmark--footer {
  gap: 10px;
}

.wordmark--footer .wordmark__further {
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--white);
}

.wordmark--footer .wordmark__pr {
  font-size: 19px;
  color: var(--blue-500);
}

/* --------------------------------------------------------------------------
   1. Fixed nav + scroll-progress bar
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  padding: 18px var(--gutter);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-14);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin-inline: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-600);
  transition: color 0.15s ease;
}

.nav__link:hover {
  color: var(--white);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-50);
  background: var(--line-10);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav__cta:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.nav__cta-arrow {
  font-family: Helvetica, Arial, sans-serif;
}

/* Burger — hidden until the links collapse */
.nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line-50);
  background: var(--line-10);
  color: var(--white);
  cursor: pointer;
}

.nav__burger-box {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav__burger-box span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__burger-box span:nth-child(1) { top: 0; }
.nav__burger-box span:nth-child(2) { top: 5.25px; }
.nav__burger-box span:nth-child(3) { top: 10.5px; }

.nav__burger[aria-expanded="true"] .nav__burger-box span:nth-child(1) {
  transform: translateY(5.25px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] .nav__burger-box span:nth-child(2) {
  opacity: 0;
}

.nav__burger[aria-expanded="true"] .nav__burger-box span:nth-child(3) {
  transform: translateY(-5.25px) rotate(-45deg);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 51;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  border-radius: 0 2px 2px 0;
}

/* Mobile nav drawer */
@media (max-width: 860px) {
  /* The closed drawer is display:none, not a faded-out panel, and the
     transition lives ONLY on the open state. Both matter: with the transition
     on the base rule, crossing this breakpoint fires it — the drawer inherits
     the desktop row's visible/opacity-1 values and fades out over 180ms,
     flashing a full-width vertical menu while the window is resized past
     860px. display:none means the breakpoint flip can never paint it, and
     keeping the transition off the base rule means closing is instant too. */
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--ink-900);
    border-bottom: 1px solid var(--line-14);
    opacity: 0;
    transform: translateY(-8px);
  }

  .nav__links[data-open="true"] {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  /* Fades the drawer in on open where supported; elsewhere it just appears. */
  @starting-style {
    .nav__links[data-open="true"] {
      opacity: 0;
      transform: translateY(-8px);
    }
  }

  .nav__link {
    padding: 18px 0;
    border-bottom: 1px solid var(--row-line);
  }

  .nav__cta {
    justify-content: center;
    margin-top: 20px;
    padding: 15px 18px;
  }

  .nav__burger {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   2. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(90vh, 880px);
  padding: clamp(120px, 16vh, 190px) var(--gutter) clamp(70px, 9vh, 110px);
  background: var(--ink-900);
}

.hero__layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* The 26% focal point keeps the skyline left and the chart/globe right, with
   the headline over the darkest part of the frame. */
.hero__image {
  background-image: url("../img/hero-skyline.jpg");
  background-size: cover;
  background-position: 26% center;
  filter: brightness(1.3) contrast(1.08);
}

.hero__scrim-x {
  background: linear-gradient(
    90deg,
    rgba(7, 12, 23, 0.9) 0%,
    rgba(7, 12, 23, 0.7) 34%,
    rgba(9, 16, 30, 0.42) 64%,
    rgba(7, 12, 23, 0.32) 100%
  );
}

.hero__scrim-y {
  background: linear-gradient(
    180deg,
    rgba(7, 12, 23, 0.55) 0%,
    rgba(7, 12, 23, 0) 30%,
    rgba(7, 12, 23, 0.65) 100%
  );
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.hero__title {
  margin: 0;
  max-width: 17ch;
  font-weight: 900;
  font-size: clamp(46px, 8.6vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.hero__rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 28px;
}

.hero__rule-bar {
  width: clamp(90px, 14vw, 190px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), rgba(91, 140, 240, 0));
}

.hero__rule-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
}

.hero__subhead {
  margin: 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.28;
  color: var(--white);
}

.hero__body {
  margin: 26px 0 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--text-300);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

/* Tablet and below: fill the first screen rather than sitting inside large
   fixed padding. svh — not vh or dvh — is the viewport with the mobile browser
   chrome *showing*, so the hero is fully visible on first paint and does not
   resize as the URL bar hides. Top padding only clears the fixed nav; the
   flex centering distributes the rest, so the old ~130px dead zone is gone. */
@media (max-width: 1024px) {
  .hero {
    min-height: 100vh; /* fallback for engines without svh */
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + 22px);
    padding-bottom: clamp(44px, 6vh, 72px);
  }
}

/* --------------------------------------------------------------------------
   Background system — everything below the hero shares one surface, which is
   what keeps the page reading as a single sheet rather than stacked bands.
   -------------------------------------------------------------------------- */

.surface {
  background:
    radial-gradient(58% 42% at 100% 0%, rgba(38, 66, 122, 0.5) 0%, rgba(38, 66, 122, 0) 68%),
    radial-gradient(62% 46% at 0% 100%, rgba(38, 66, 122, 0.44) 0%, rgba(38, 66, 122, 0) 66%),
    radial-gradient(34% 16% at 6% 33.3%, rgba(38, 66, 122, 0.34) 0%, rgba(38, 66, 122, 0) 70%),
    radial-gradient(34% 16% at 94% 66.6%, rgba(38, 66, 122, 0.34) 0%, rgba(38, 66, 122, 0) 70%),
    var(--ink-900);
}

/* --------------------------------------------------------------------------
   3. Approach
   -------------------------------------------------------------------------- */

.approach {
  border-top-color: var(--line-12);
}

.approach__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.approach__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.approach__copy {
  padding-top: 8px;
}

.approach__copy p {
  margin: 0 0 20px;
  max-width: 54ch;
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 1.7;
  color: var(--text-300);
}

.approach__copy p:last-child {
  margin-bottom: 0;
}

.divider-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: var(--rhythm) 0 32px;
}

.divider-heading h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}

.divider-heading__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-50), rgba(91, 140, 240, 0));
}

.approach__cards {
  grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 45%, 600px), 1fr));
}

.card {
  padding: 32px 26px 36px;
  background: var(--ink-800);
  transition: background-color 0.15s ease;
}

.card:hover {
  background: var(--ink-700);
}

.card__num {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--blue-600);
}

.card__title {
  margin: 14px 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.card__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-500);
}

/* --------------------------------------------------------------------------
   4. Capabilities
   -------------------------------------------------------------------------- */

.capabilities__title {
  margin: 0 0 var(--rhythm);
  max-width: 20ch;
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.034em;
}

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

.channel {
  display: flex;
  flex-direction: column;
  padding: 34px clamp(20px, 2.2vw, 32px) 36px;
  background: var(--ink-800);
  border-top: 2px solid var(--line-32);
}

.channel--1 { border-top-color: var(--blue-500); }
.channel--2 { border-top-color: var(--line-55); }
.channel--3 { border-top-color: var(--line-32); }

.channel__eyebrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 38px;
}

.channel__num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--line-50);
}

.channel__label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-400);
}

.channel__title {
  margin: 16px 0 0;
  font-weight: 700;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.14;
}

.channel__body {
  margin: 14px 0 28px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-400);
}

.channel__list {
  display: flex;
  flex-direction: column;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.channel__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 6px 0;
  border-top: 1px solid var(--row-line);
}

.channel__list-num {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--blue-600);
}

.channel__list-label {
  font-size: 14px;
  color: var(--text-100);
}

/* Three across, with every row aligned across columns. Subgrid makes the
   alignment survive copy edits rather than depending on matched copy length. */
@media (min-width: 880px) {
  .capabilities__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  @supports (grid-template-rows: subgrid) {
    .capabilities__grid {
      /* eyebrow, title, body, then one row per list item */
      grid-template-rows: auto auto auto repeat(7, auto);
    }

    .channel {
      display: grid;
      grid-row: 1 / -1;
      grid-template-rows: subgrid;
    }

    .channel__list {
      display: grid;
      grid-row: 4 / -1;
      grid-template-rows: subgrid;
    }
  }
}

/* --------------------------------------------------------------------------
   5. Visibility (proof)
   -------------------------------------------------------------------------- */

.visibility__title {
  margin: 0;
  max-width: 24ch;
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.visibility__body {
  margin: var(--rhythm) 0 0;
  max-width: 82ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
  color: var(--text-300);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 45%, 600px), 1fr));
  gap: clamp(24px, 4vw, 60px);
  margin-top: clamp(38px, 5vh, 56px);
  padding-top: 34px;
  border-top: 1px solid var(--line-22);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 700;
  line-height: 0.92;
  color: var(--white);
}

.stat__value span {
  color: var(--blue-500);
}

.stat__label {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-500);
}

/* --------------------------------------------------------------------------
   6. Media-outlet marquee
   -------------------------------------------------------------------------- */

.marquee {
  padding: 0 var(--gutter);
}

.marquee__shell {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 34px 0;
  border-top: 1px solid var(--line-16);
}

.marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: fpr-marquee 38s linear infinite;
}

@keyframes fpr-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* The track holds the same group twice — that is what makes -50% seamless. */
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4.6vw, 70px);
  padding-right: clamp(34px, 4.6vw, 70px);
  white-space: nowrap;
}

.marquee__group img {
  width: auto;
  flex: none;
  opacity: 0.88;
}

.marquee__dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-600);
}

/* Per-logo optical heights */
.logo-cnbc         { height: clamp(20px, 2vw, 30px); }
.logo-bloomberg    { height: clamp(17px, 1.7vw, 25px); }
.logo-wsj          { height: clamp(26px, 2.6vw, 40px); }
.logo-barrons      { height: clamp(18px, 1.8vw, 27px); }
.logo-benzinga     { height: clamp(15px, 1.5vw, 22px); }
.logo-marketwatch  { height: clamp(15px, 1.5vw, 22px); }
.logo-seekingalpha { height: clamp(17px, 1.7vw, 25px); }
.logo-ft           { height: clamp(20px, 2vw, 30px); }

/* Reduced motion: stop the loop and let the row be scrolled by hand instead. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__track {
    animation: none;
  }

  /* [data-open="true"] is where the drawer transition now lives, so it has to
     be matched here too — plain .nav__links would lose on specificity. */
  .nav__links,
  .nav__links[data-open="true"],
  .nav__burger-box span {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   7. Clients
   -------------------------------------------------------------------------- */

.clients__title {
  margin: 0 0 var(--rhythm);
  max-width: 30ch;
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

/* Ten tiles, so the column count must divide 10 — otherwise the unfilled
   tail of the last row exposes the container tint as a solid slab. 5-wide and
   2-wide are the counts the spec calls for, and both divide evenly.
   900px is where a fluid auto-fit would have dropped off 5 columns anyway. */
.clients__grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .clients__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.client {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 22px 22px;
  background: var(--ink-800);
  transition: background-color 0.15s ease;
}

.client:hover {
  background: var(--ink-700);
}

.client__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 14px 18px;
}

.client__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client__ticker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-400);
}

/* --------------------------------------------------------------------------
   8. Closing CTA
   -------------------------------------------------------------------------- */

.contact {
  text-align: center;
}

.contact__shell {
  max-width: 900px;
  margin-inline: auto;
}

.contact__title {
  margin: 0 auto;
  max-width: 26ch;
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 56px;
}

.contact__actions .btn {
  padding: 18px 30px;
}

.contact__email {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-400);
  transition: color 0.15s ease;
}

.contact__email:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 46px var(--gutter);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-14);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: var(--maxw);
  margin-inline: auto;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer__links a {
  color: var(--text-600);
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Narrow-viewport tuning — hero type needs real help below 400px.
   -------------------------------------------------------------------------- */

@media (max-width: 400px) {
  .hero__title {
    font-size: clamp(38px, 11.5vw, 46px);
    letter-spacing: -0.02em;
  }

  .hero__ctas .btn,
  .hero__ctas .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero__ctas .btn-ghost {
    padding: 15px 4px;
  }
}

/* 404 */
.notfound {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--section-y) var(--gutter);
  text-align: center;
}

.notfound__title {
  margin: 28px 0 0;
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.034em;
}

.notfound__body {
  margin: 20px auto 40px;
  max-width: 48ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
  color: var(--text-300);
}
