/* ==========================================================================
   WebItYours / Ginza Signal
   Tokens are the single source of truth. Do not hard-code values below.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-var-2.woff2') format('woff2-variations');
  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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-var-1.woff2') format('woff2-variations');
  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;
}

:root {
  --bg: #0E0F13;
  --surface: #17191F;
  --ink: #F2F1EC;
  --muted: #8A8D96;
  --accent: #FF4A1C;
  --line: #2A2D35;
  --ink-soft: #B9BCC4;

  --font: 'Archivo', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --display-stretch: 125%;

  --xs: 8px;
  --sm: 16px;
  --md: 32px;
  --lg: 64px;
  --xl: 120px;

  --radius: 0px;
  --gutter: clamp(20px, 5vw, 72px);
  --measure: 64ch;
}

/* Neutralize UA defaults at zero specificity so component rules always win. */
:where(h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd) {
  margin: 0;
  padding: 0;
}
:where(ul, ol) { list-style: none; }
:where(a) { color: inherit; }
:where(button) { font: inherit; }

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

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

body.wiy {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* One shared container. Every section aligns to this left edge. */
.wiy-shell {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead {
  position: relative;
  z-index: 3;
  padding-block: clamp(11px, 1.5vw, 17px);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--md);
  justify-content: space-between;
}

.wordmark {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.wordmark span { color: var(--accent); }

.masthead__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.masthead__nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.18s ease;
}
.masthead__nav a:hover,
.masthead__nav a:focus-visible { color: var(--ink); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover,
.btn--primary:focus-visible { filter: brightness(1.12); }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover,
.btn--ghost:focus-visible { border-color: var(--ink); }

:where(a, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 66px);
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 8vh, 110px) clamp(40px, 7vh, 90px);
  overflow: hidden;
}

/* The signal block: bleeds past the right edge, sits behind the type. */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 8.2fr) minmax(0, 3.8fr);
  gap: var(--lg);
  align-items: end;
}

.hero__title {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.9vw, 6.9rem);
  line-height: 0.96;
  letter-spacing: -0.042em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__lede {
  margin-top: clamp(24px, 3.4vh, 40px);
  max-width: 55ch;
  text-wrap: balance;
  font-size: clamp(1.02rem, 0.94rem + 0.42vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink);
}

.hero__actions {
  margin-top: clamp(28px, 3.8vh, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm);
}

.hero__aside {
  border-top: 2px solid var(--accent);
  padding-top: var(--sm);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 30ch;
}

.hero__aside strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--xs);
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--md);
    align-items: start;
  }
  .hero__aside { max-width: none; }
  .masthead__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Capability index
   -------------------------------------------------------------------------- */

.capabilities {
  background: var(--surface);
  padding-block: clamp(64px, 11vh, var(--xl));
}

.capabilities__head {
  max-width: none;
  margin-bottom: clamp(36px, 6vh, 72px);
}

.section-title {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 4.1rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.cap-list {
  border-top: 1px solid var(--line);
}

.cap-row {
  display: grid;
  grid-template-columns: clamp(72px, 9vw, 116px) minmax(0, 4.4fr) minmax(0, 6fr);
  gap: var(--md);
  align-items: baseline;
  padding-block: clamp(22px, 3.4vh, 38px);
  border-bottom: 1px solid var(--line);
}

.cap-row__name {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.1vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.cap-row__body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 58ch;
}

.cap-mark {
  width: 100%;
  max-width: 116px;
  height: auto;
  display: block;
  align-self: start;
  color: var(--muted);
}

.cap-mark .mark-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.cap-mark .mark-fill { fill: var(--accent); }

.cap-row:hover .cap-mark { color: var(--ink); }
.cap-mark { transition: color 0.25s ease; }

@media (max-width: 760px) {
  .cap-row {
    grid-template-columns: 56px 1fr;
    grid-template-areas: 'mark name' 'body body';
    gap: var(--sm);
    align-items: center;
  }
  .cap-mark { grid-area: mark; max-width: 56px; }
  .cap-row__name { grid-area: name; }
  .cap-row__body { grid-area: body; margin-top: var(--xs); }
}

/* --------------------------------------------------------------------------
   Statement panel: the one full-bleed accent moment on the page
   -------------------------------------------------------------------------- */

.statement {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--bg);
  padding-block: clamp(64px, 12vh, 140px);
}

.statement__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr);
  gap: var(--lg);
  align-items: center;
}

.statement__text {
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.45rem, 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.statement__note {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 32ch;
  border-top: 1px solid rgba(14, 15, 19, 0.35);
  padding-top: var(--sm);
}

@media (max-width: 900px) {
  .statement__inner { grid-template-columns: 1fr; gap: var(--md); }
  .statement__note { max-width: none; }
}

/* --------------------------------------------------------------------------
   Entrance motion, dial 0.3. Degrades to visible without JS.
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}
/* --------------------------------------------------------------------------
   Hero backdrop
   The photograph is desaturated, blurred and pushed toward the palette so the
   ground stays #0E0F13 and the only chroma on the page remains the accent.
   Swap --hero-photo to a real image URL; the treatment does not change.
   -------------------------------------------------------------------------- */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-media {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  background-image: var(--hero-photo, none);
  background-size: cover;
  background-position: 62% 45%;
  filter: grayscale(1) contrast(1.08) brightness(0.95);
  opacity: 1;
  image-rendering: auto;
}

/* On-palette stand-in until a photograph is chosen. */
.hero__bg-media[data-placeholder] {
  background-image:
    linear-gradient(to top, rgba(255, 74, 28, 0.16) 0%, transparent 46%),
    repeating-linear-gradient(90deg, rgba(242, 241, 236, 0.11) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(90deg, rgba(242, 241, 236, 0.07) 0 5px, transparent 5px 41px),
    repeating-linear-gradient(0deg, rgba(242, 241, 236, 0.05) 0 1px, transparent 1px 9px),
    linear-gradient(160deg, #17191F 0%, #0E0F13 62%);
  filter: blur(3px);
  opacity: 0.9;
}

/* Duotone: the image reads black and vermilion, never a third hue. */
.hero__bg-tint {
  position: absolute;
  inset: 0;
  background: var(--accent);
  mix-blend-mode: color;
  opacity: 0.42;
}

/* Legibility scrim. Heaviest behind the headline, lifting toward the right. */
.hero__bg-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 15, 19, 0.95) 0%, rgba(14, 15, 19, 0.86) 26%, rgba(14, 15, 19, 0.44) 58%, rgba(14, 15, 19, 0.26) 100%),
    linear-gradient(0deg, #0E0F13 2%, rgba(14, 15, 19, 0.78) 24%, rgba(14, 15, 19, 0.3) 46%, transparent 62%);
}

.masthead { background: transparent; }

@media (max-width: 900px) {
  .hero__bg-scrim {
    background:
      linear-gradient(0deg, #0E0F13 6%, rgba(14, 15, 19, 0.86) 46%, rgba(14, 15, 19, 0.66) 100%);
  }
}
/* Phones get the 1280px crop so mobile LCP does not carry the desktop file. */
@media (max-width: 780px) {
  .hero__bg-media { background-image: var(--hero-photo-sm, var(--hero-photo, none)); }
}
.hero__aside {
  color: var(--ink);
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(14, 15, 19, 0.85);
}

.hero__aside strong {
  color: var(--ink);
  text-shadow: 0 1px 12px rgba(14, 15, 19, 0.85);
}
.section-title--single {
  white-space: nowrap;
  font-size: clamp(1.2rem, 6.1vw, 3.7rem);
}
.masthead .btn {
  padding: 10px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
}

.masthead__nav { font-size: 0.78rem; }
/* The measured field the diagram is built on. It continues across the panel
   rather than sitting behind the copy as decoration. */
.statement__field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(14, 15, 19, 0.11) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(14, 15, 19, 0.07) 0 1px, transparent 1px 34px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(14, 15, 19, 0.35) 34%, #0E0F13 68%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(14, 15, 19, 0.35) 34%, #0E0F13 68%);
}

.statement__rule {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(14, 15, 19, 0.28);
  z-index: 0;
}
.statement__rule--top { top: clamp(28px, 5vh, 56px); }
.statement__rule--bottom { bottom: clamp(28px, 5vh, 56px); }

.statement__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 32px);
}

.statement__note {
  margin: 0;
}

.statement__figure {
  width: 100%;
  height: auto;
  display: block;
  color: var(--bg);
}

.statement__figure .s-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.statement__figure .s-ghost {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 7 6;
  opacity: 0.42;
}

.statement__figure .s-solid { fill: currentColor; }

.statement__figure .s-divider {
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 4 7;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .statement__field {
    -webkit-mask-image: linear-gradient(0deg, #0E0F13 40%, transparent 100%);
    mask-image: linear-gradient(0deg, #0E0F13 40%, transparent 100%);
  }
}

.statement__figure .s-chev {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.statement__figure .s-chev--1 { opacity: 0.22; }
.statement__figure .s-chev--2 { opacity: 0.5; }
.statement__figure .s-chev--3 { opacity: 1; }
/* --------------------------------------------------------------------------
   Capability accordion
   -------------------------------------------------------------------------- */

.cap {
  border-bottom: 1px solid var(--line);
}

.cap__head {
  display: grid;
  grid-template-columns: clamp(56px, 7vw, 92px) minmax(0, 1fr) 34px;
  gap: var(--md);
  align-items: center;
  padding-block: clamp(20px, 3vh, 34px);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.cap__head::-webkit-details-marker { display: none; }
.cap__head:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.cap__name {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.9vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.cap__toggle {
  position: relative;
  width: 26px;
  height: 26px;
  justify-self: end;
  flex: none;
}
.cap__toggle::before,
.cap__toggle::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.cap__toggle::before { inset: 12px 0 12px 0; height: 2px; }
.cap__toggle::after { inset: 0 12px 0 12px; width: 2px; }
.cap[open] .cap__toggle::after { transform: scaleY(0); opacity: 0; }

.cap:hover .cap__name { color: var(--accent); }
.cap:hover .cap-mark { color: var(--ink); }

.cap__panel {
  display: grid;
  grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr);
  gap: var(--lg);
  align-items: start;
  padding: 0 0 clamp(30px, 4vh, 52px) calc(clamp(56px, 7vw, 92px) + var(--md));
}

.cap__body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
  max-width: 62ch;
}
.cap__body strong { color: var(--ink); font-weight: 500; }

.cap__stats {
  margin-top: var(--md);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vh, 34px) clamp(24px, 3vw, 48px);
  align-items: start;
}

.cap__stat { min-width: 96px; }

.cap__stat b {
  display: block;
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.cap__stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 28ch;
  line-height: 1.45;
}

.cap__figure {
  width: 100%;
  height: auto;
  display: block;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: var(--md);
  box-sizing: content-box;
}

.cap__figure .f-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}
.cap__figure .f-ghost { fill: none; stroke: currentColor; stroke-width: 2; opacity: 0.34; }
.cap__figure .f-fill { fill: var(--accent); }
.cap__figure .f-ink { fill: var(--ink); }
.cap__figure .f-label {
  fill: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .cap__panel {
    grid-template-columns: 1fr;
    gap: var(--md);
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .cap__head { grid-template-columns: 44px minmax(0, 1fr) 26px; gap: var(--sm); }
}
/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  padding-block: clamp(64px, 11vh, var(--xl));
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--lg);
  align-items: start;
}

.contact__lede {
  margin-top: var(--md);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 34ch;
}

.contact__meta {
  margin-top: var(--lg);
  border-top: 2px solid var(--accent);
  padding-top: var(--sm);
  display: grid;
  gap: var(--sm);
}

.contact__meta div span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact__meta div b {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.98rem;
}

/* WPForms, restyled to the direction rather than left as plugin chrome. */
.contact .wpforms-container,
.contact .wpforms-container .wpforms-form { max-width: none; margin: 0; }

.contact .wpforms-form .wpforms-field { padding: 0 0 var(--md) 0; }

.contact .wpforms-form .wpforms-field-label {
  font-family: var(--font);
  font-size: 0.74rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--xs);
}

.contact .wpforms-form input[type=text],
.contact .wpforms-form input[type=email],
.contact .wpforms-form textarea {
  width: 100%;
  max-width: none !important;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.02rem;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.contact .wpforms-form textarea { min-height: 140px; resize: vertical; }

.contact .wpforms-form input:focus,
.contact .wpforms-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
}

.contact .wpforms-form ::placeholder { color: var(--muted); opacity: 1; }

.contact .wpforms-form button[type=submit] {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid transparent;
  border-radius: 0;
  padding: 13px 24px;
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.12s ease;
}
.contact .wpforms-form button[type=submit]:hover { filter: brightness(1.12); }
.contact .wpforms-form button[type=submit]:active { transform: translateY(1px); }

.contact .wpforms-form .wpforms-error {
  color: var(--accent);
  font-size: 0.82rem;
}
.contact .wpforms-form input.wpforms-error,
.contact .wpforms-form textarea.wpforms-error { border-bottom-color: var(--accent); }

.contact .wpforms-confirmation-container-full {
  background: var(--surface);
  border: 0;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  color: var(--ink);
  padding: var(--md);
}

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

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(28px, 4vh, 44px);
}

.site-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--md);
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-foot__nav { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.site-foot__nav a { text-decoration: none; transition: color 0.18s ease; }
.site-foot__nav a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: var(--md); }
  .contact__lede, .contact__meta { max-width: none; }
}
/* Grid children must be allowed to shrink, or long words push the column wide. */
.contact__inner > *,
.cap__panel > *,
.statement__inner > *,
.hero__inner > * { min-width: 0; }

/* Sized to its own column rather than the viewport, and free to wrap. */
.contact .section-title {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* In-field prompts. They ease out on focus rather than snapping away. */
.contact .wpforms-form ::placeholder {
  color: var(--muted);
  opacity: 1;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.contact .wpforms-form input:focus::placeholder,
.contact .wpforms-form textarea:focus::placeholder {
  opacity: 0;
  transform: translateX(4px);
}

/* Sublabels are hidden at the form level; this covers any that slip through. */
.contact .wpforms-form .wpforms-field-sublabel { display: none; }

/* The two name inputs share a row and must not collapse. */
.contact .wpforms-form .wpforms-field-name .wpforms-field-row-block { min-width: 0; }
.cap__figure .f-label--mid { text-anchor: middle; }

.cap__stats .cap__stat { min-width: 0; }
.cap__stats @media (max-width: 460px) {
  .cap__stats { grid-template-columns: 1fr; }
}
/* Labels set inside their shape rather than beneath it. */
.cap__figure .f-label--in { font-size: 11px; letter-spacing: 0.04em; }
.cap__figure .f-label--onfill { fill: var(--bg); font-weight: 700; }
.cap__body + .cap__body { margin-top: 0.9em; }

/* --------------------------------------------------------------------------
   Work index
   -------------------------------------------------------------------------- */

.work {
  padding-block: clamp(64px, 11vh, var(--xl));
}

.work__head {
  margin-bottom: clamp(52px, 9vh, 104px);
}

.work__list {
  border-top: 1px solid var(--line);
}

.case {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* Industry backdrop. Sits under the row, lifts and scales on hover. */
/* Keeps type legible over the backdrop at every state. */
.case__head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: clamp(52px, 6vw, 88px) minmax(0, 1fr) auto;
  gap: var(--md);
  align-items: center;
  padding: clamp(42px, 6.4vh, 76px) 0;
  cursor: pointer;
  list-style: none;
}
.case__head::-webkit-details-marker { display: none; }
.case__head:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }

.case__index {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.case__name {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.9vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
/* The wheel: idles still, turns on hover, holds a quarter turn when open. */
.case__wheel {
  width: clamp(30px, 3.4vw, 44px);
  height: clamp(30px, 3.4vw, 44px);
  justify-self: end;
  color: var(--muted);
  transition: color 0.25s ease;
}




.case__body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
  max-width: 62ch;
}
.case__body strong { color: var(--ink); font-weight: 500; }
.case__body + .case__body { margin-top: 0.9em; }

@media (max-width: 900px) {
  .case__panel { grid-template-columns: 1fr; gap: var(--md); padding-left: 0; }
  }

@media (max-width: 760px) {
  .case__head { grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--sm); }
}

@media (prefers-reduced-motion: reduce) {
  .case__bg,
  
}
/* The chevron is the state indicator and stays upright while the ring turns. */
.case__wheel .w-head { fill: currentColor; }

.case__wheel .w-rotor {
  transform-box: view-box;
  transform-origin: 24px 26px;
  transform: rotate(0deg);
  transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.2, 1);
}



@media (prefers-reduced-motion: reduce) {
  .case__wheel .w-rotor,
  }
.work__title { font-size: clamp(1.1rem, 4.4vw, 2.6rem); }
/* --------------------------------------------------------------------------
   Case study panel interior
   -------------------------------------------------------------------------- */

.case__panel {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vh, 48px);
}

/* Constraints and plays sit side by side, deliberately unequal. */
/* Plays are numbered so sequence reads as method, not a list of features. */
/* Results band: the payoff, set at scale on the raised surface. */
@media (max-width: 900px) {
  }
/* Once a row is open the backdrop is context, not content. It drops back and
   the veil goes near solid so the panel reads on a clean ground. */
/* Blur belongs to the idle state only; a sharp faint line reads as structure. */

/* --------------------------------------------------------------------------
   Case panel interior
   The backdrop belongs to the closed row. Once open it clears out entirely so
   nothing sits between the reader and the content.
   -------------------------------------------------------------------------- */


.case[open] .case[open] .case__panel {
  position: relative;
  z-index: 2;
  display: block;
  padding: 0 0 clamp(32px, 4.5vh, 56px) 0;
}

.case__lede {
  font-stretch: 108%;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 62ch;
  border-left: 2px solid var(--accent);
  padding-left: var(--md);
  margin-bottom: clamp(34px, 5vh, 64px);
}

/* Column headers, set once above the paired rows. */
.case__legend {
  display: grid;
  grid-template-columns: clamp(38px, 4vw, 60px) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(20px, 3vw, 52px);
  padding-bottom: var(--sm);
  border-bottom: 1px solid var(--line);
}

.case__legend span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.case__legend span:first-child { color: transparent; }

/* One row per problem, its answer sitting directly beside it. */
.case__pair {
  display: grid;
  grid-template-columns: clamp(38px, 4vw, 60px) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(20px, 3vw, 52px);
  padding: clamp(22px, 3vh, 34px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.case__num {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.5;
}

.case__cell b {
  display: block;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 6px;
}

.case__cell span {
  display: block;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.case__cell--problem b { color: var(--muted); }
.case__cell--problem span { color: var(--muted); }

/* Results: the payoff, full width, one band. */
.case__results {
  margin-top: clamp(34px, 5vh, 64px);
  background: var(--surface);
  padding: clamp(28px, 4vh, 44px) clamp(24px, 3.4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 56px);
}

.case__result b {
  display: block;
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--accent);
}

.case__result span {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 820px) {
  .case__legend { display: none; }
  .case__pair {
    grid-template-columns: 1fr;
    gap: var(--sm);
  }
  .case__num { display: none; }
  .case__cell--problem { padding-bottom: var(--xs); }
  .case__results { grid-template-columns: 1fr; gap: var(--md); }
  .case__lede { max-width: none; }
}
/* Hover changes the category title and nothing else. */
.case[open] .case:hover .case__name { color: var(--accent); }

/* Hovering the row tints the mark. Opening holds it vermilion and points the
   head down, so open state reads without hovering. */
.case:hover .case__wheel { color: var(--accent); }
.case[open] .case__wheel { color: var(--accent); }

.case[open] .case__wheel .w-rotor,
.case[open]:hover .case__wheel .w-rotor {
  transform: rotate(90deg);
  transition-duration: 0.5s;
}
/* Sector mark on the closed row, sitting between the index and the title. */
.case__head {
  grid-template-columns: clamp(40px, 4.4vw, 62px) clamp(34px, 3.6vw, 52px) minmax(0, 1fr) auto;
}

.case__mark {
  width: 100%;
  max-width: 52px;
  height: auto;
  display: block;
  color: var(--muted);
  transition: color 0.2s ease;
}
.case:hover .case__mark,
.case[open] .case__mark { color: var(--ink); }

.case__mark .m-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}
.case__mark .m-fill { fill: var(--accent); }

/* Constraint icon sits inside the problem cell, ahead of its label. */
.case__cell--problem {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: var(--sm);
  align-items: start;
}

.case__pin {
  width: 26px;
  height: 26px;
  display: block;
  color: var(--muted);
  margin-top: 1px;
}

.case__pin .p-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}
.case__pin .p-fill { fill: var(--accent); }

@media (max-width: 820px) {
  .case__head { grid-template-columns: 34px 30px minmax(0, 1fr) auto; }
  .case__mark { max-width: 30px; }
}
/* Backdrop: sharp, sparse, and masked so it dissolves rather than stopping.
   No blur. Blur on hairlines reads as a low-resolution image. */
.case__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
}

.case__bg svg {
  position: absolute;
  top: 50%;
  right: -4%;
  translate: 0 -50%;
  width: min(62%, 900px);
  height: auto;
  overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #0E0F13 46%, #0E0F13 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #0E0F13 46%, #0E0F13 78%, transparent 100%);
}

.case__bg .b-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  opacity: 0.16;
  vector-effect: non-scaling-stroke;
}

.case__bg .b-faint {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  opacity: 0.07;
  vector-effect: non-scaling-stroke;
}

.case__bg .b-accent {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.5;
  vector-effect: non-scaling-stroke;
}

.case__bg .b-dot { fill: var(--accent); opacity: 0.6; }

.case[open] .case__bg { opacity: 0.35; }

@media (max-width: 820px) {
  .case__bg svg { width: 92%; right: -18%; }
}
/* An open row is a document, not a list item. It needs separation from the
   rows either side so the panel reads as belonging to one category. */
.case[open] {
  padding-bottom: clamp(28px, 4vh, 56px);
}

.case[open] + .case {
  border-top: 1px solid var(--line);
}

.case[open] .case__panel {
  padding-bottom: clamp(40px, 5.5vh, 72px);
}

.case[open] .case__lede {
  margin-bottom: clamp(38px, 5.5vh, 72px);
}

.case[open] .case__results {
  margin-top: clamp(40px, 5.5vh, 72px);
}
/* --------------------------------------------------------------------------
   Capability slider: four full-width chapters.
   Native horizontal scroll with snap, so swipe works with no JS; JS only
   drives the tabs, arrows and counter.
   -------------------------------------------------------------------------- */

.slider {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.slider__bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--md);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.slider__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1;
  min-width: 0;
}

.slider__tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px clamp(10px, 1.6vw, 24px) 24px 0;
  background: none;
  border: 0;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.slider__tab + .slider__tab { padding-left: clamp(10px, 1.6vw, 24px); border-left: 1px solid var(--line); }
.slider__tab:hover { color: var(--ink); }

.slider__tab i {
  font-style: normal;
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: -0.02em;
}

.slider__tab span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* Active tab: a vermilion bar sits on the top rule. */
.slider__tab::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.2, 1);
}
.slider__tab.is-active { color: var(--ink); }
.slider__tab.is-active i { color: var(--accent); }
.slider__tab.is-active::before { transform: scaleX(1); }

.slider__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.slider__count {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-right: 8px;
  white-space: nowrap;
}
.slider__count b { color: var(--ink); font-weight: 700; }

.slider__arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.slider__arrow:hover:not(:disabled) { border-color: var(--accent); background: var(--accent); color: var(--bg); }
.slider__arrow:disabled { opacity: 0.3; cursor: default; }
.slider__arrow svg { width: 16px; height: 16px; }
.slider__arrow path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: butt; stroke-linejoin: miter; }

.slider__track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  padding-block: clamp(48px, 8vh, 104px);
}

/* The chapter's mark, drawn huge and faint as the slide's backdrop. */
.slide__ghost {
  position: absolute;
  right: -6vw;
  bottom: -14%;
  width: clamp(320px, 42vw, 640px);
  height: auto;
  pointer-events: none;
  color: var(--ink);
  opacity: 0.045;
}
.slide__ghost .mark-stroke { stroke-width: 0.6; }
.slide__ghost .mark-fill { fill: var(--accent); opacity: 0.9; }

.slide__inner { position: relative; z-index: 1; }

.slide__head {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 32px);
  align-items: center;
  margin-bottom: clamp(36px, 6vh, 72px);
}

.slide__no {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.slide__head .cap-mark {
  width: clamp(44px, 5vw, 72px);
  max-width: none;
  color: var(--ink);
}

.slide__title {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.slide__grid {
  display: grid;
  grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: start;
}
.slide__grid > * { min-width: 0; }

.slide__copy .cap__body {
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  line-height: 1.66;
  color: var(--ink-soft);
  max-width: 60ch;
}
.slide__copy .cap__body:first-child {
  font-size: clamp(1.16rem, 1.6vw, 1.42rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}

.slide__copy .cap__stats {
  margin-top: clamp(32px, 5vh, 56px);
  padding-top: clamp(24px, 3.4vh, 36px);
  border-top: 1px solid var(--line);
}
.slide__copy .cap__stat b { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }

.slide__visual {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 52px);
}
.slide__visual::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 3px;
  background: var(--accent);
}
.slide__visual .cap__figure {
  border-left: 0;
  padding-left: 0;
  width: 100%;
  color: var(--ink-soft);
}
.slide__visual .cap__figure .f-label { font-size: 12px; }

@media (max-width: 1080px) {
  .slider__tab span { font-size: 0.7rem; }
}

@media (max-width: 900px) {
  .slider__bar { flex-direction: column; gap: 0; }
  .slider__tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .slider__tabs::-webkit-scrollbar { display: none; }
  .slider__tab { flex: 0 0 auto; padding-right: 20px; }
  .slider__nav { justify-content: flex-end; padding: 12px 0; border-top: 1px solid var(--line); }
  .slide__grid { grid-template-columns: 1fr; }
  .slide__head { grid-template-columns: auto auto; }
  .slide__title { grid-column: 1 / -1; }
  .slide__ghost { width: 90vw; bottom: auto; top: 10%; }
}

@media (prefers-reduced-motion: reduce) {
  .slider__track { scroll-behavior: auto; }
  .slider__tab::before { transition: none; }
}
/* --------------------------------------------------------------------------
   GEO: its own chapter, between capabilities and the statement panel.
   -------------------------------------------------------------------------- */

.geo {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 12vh, 150px);
  border-top: 1px solid var(--line);
}

.geo__top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: end;
}
.geo__top > *, .geo__steps > *, .geo__band > * { min-width: 0; }

.geo__kicker {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(20px, 3vh, 32px);
}

.geo__word {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(4rem, 13vw, 11.5rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: var(--accent);
}

.geo__expand {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 14ch;
  line-height: 1.4;
}

.geo__headline {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 3.3rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 18ch;
}

.geo__lede {
  margin-top: clamp(22px, 3.4vh, 36px);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 56ch;
}
.geo__lede + .geo__lede { margin-top: 0.9em; }

/* Growth chart */
.geo__chart {
  position: relative;
  border: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 36px);
}
.geo__chart::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 3px;
  background: var(--accent);
}
.geo__chart svg { width: 100%; height: auto; display: block; }
.geo__chart .g-bar { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; }
.geo__chart .g-bar--on { fill: var(--accent); stroke: var(--accent); }
.geo__chart .g-base { stroke: var(--line); stroke-width: 1; }
.geo__chart .g-val { fill: var(--ink); font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: -0.04em; text-anchor: middle; }
.geo__chart .g-val--on { fill: var(--accent); font-size: 34px; }
.geo__chart .g-lbl { fill: var(--muted); font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-anchor: middle; }

.geo__caption {
  margin-top: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--muted);
}

/* Answer-engine flow */
.geo__flow {
  margin-top: clamp(64px, 10vh, 120px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid var(--line);
}

.geo__flowhead {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(22px, 3vh, 34px);
}

.geo__diagram { overflow-x: auto; scrollbar-width: none; }
.geo__diagram::-webkit-scrollbar { display: none; }
.geo__diagram svg { width: 100%; min-width: 680px; height: auto; display: block; }
.geo__diagram .d-box { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; }
.geo__diagram .d-panel { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.geo__diagram .d-line { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; }
.geo__diagram .d-text { fill: var(--line); }
.geo__diagram .d-arrow { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.geo__diagram .d-head { fill: var(--muted); }
.geo__diagram .d-miss { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 5; }
.geo__diagram .d-miss-arrow { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 0.6; }
.geo__diagram .d-lbl { fill: var(--ink); font-family: 'Archivo', sans-serif; font-weight: 500; font-size: 15px; text-anchor: middle; }
.geo__diagram .d-sub { fill: var(--muted); font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-anchor: middle; }
.geo__diagram .d-lbl--miss { fill: var(--accent); }

/* Three-step service */
.geo__steps {
  margin-top: clamp(56px, 9vh, 104px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.geo__step {
  position: relative;
  padding: clamp(26px, 3.6vh, 40px) clamp(20px, 2.6vw, 40px) 0 0;
}
.geo__step + .geo__step { padding-left: clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--line); }

.geo__step::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}
.geo__step + .geo__step::before { left: clamp(20px, 2.6vw, 40px); }

.geo__step i {
  display: block;
  font-style: normal;
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.geo__step h3 {
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.geo__step p {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 40ch;
}

/* Proof band */
.geo__band {
  margin-top: clamp(56px, 9vh, 104px);
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 56px);
  padding: clamp(30px, 4.4vh, 52px) clamp(24px, 3.4vw, 52px);
}

.geo__fig b {
  display: block;
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--accent);
}

.geo__fig span {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 30ch;
}

@media (max-width: 900px) {
  .geo__top { grid-template-columns: 1fr; align-items: start; }
  .geo__steps { grid-template-columns: 1fr; }
  .geo__step, .geo__step + .geo__step { padding: var(--md) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .geo__step + .geo__step::before { left: 0; }
  .geo__band { grid-template-columns: 1fr; }
}
/* --------------------------------------------------------------------------
   Chapters: Branding, Paid media, GEO.
   One skeleton repeated three times. The left rail is sticky inside its own
   chapter, so the index stays in view while that chapter scrolls past.
   -------------------------------------------------------------------------- */

.chapter {
  position: relative;
  padding-block: clamp(84px, 14vh, 168px);
  border-top: 1px solid var(--line);
}

.chapter__grid {
  display: grid;
  grid-template-columns: minmax(0, 3.5fr) minmax(0, 8.5fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.chapter__grid > * { min-width: 0; }

.chapter__rail {
  position: sticky;
  top: clamp(24px, 5vh, 48px);
}

.chapter__no {
  display: block;
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: var(--accent);
}

.chapter__rail .cap-mark {
  width: 52px;
  max-width: none;
  margin: 26px 0 18px;
  color: var(--ink);
}

.chapter__title {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.chapter__sub {
  margin-top: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.chapter__index {
  margin-top: clamp(34px, 6vh, 64px);
  border-top: 1px solid var(--line);
}

.chapter__index a {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}
.chapter__index a i {
  font-style: normal;
  font-stretch: var(--display-stretch);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.chapter__index a:hover { color: var(--ink); }
.chapter__index a[aria-current] { color: var(--ink); }
.chapter__index a[aria-current] i { color: var(--accent); }
.chapter__index a[aria-current]::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.chapter__thesis {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.038em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 18ch;
}

.chapter__body { margin-top: clamp(28px, 4.4vh, 48px); }
.chapter__body p {
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.66;
  color: var(--ink-soft);
  max-width: 62ch;
}
.chapter__body p + p { margin-top: 0.95em; }
.chapter__body p:first-child {
  font-size: clamp(1.14rem, 1.55vw, 1.4rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}

.chapter__label {
  margin-top: clamp(52px, 8vh, 92px);
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.chapter__services { border-top: 1px solid var(--line); }

.chapter__service {
  display: grid;
  grid-template-columns: 44px minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(14px, 2.2vw, 36px);
  align-items: baseline;
  padding: clamp(20px, 3vh, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.chapter__service i {
  font-style: normal;
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--accent);
}
.chapter__service h3 {
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.chapter__service p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.chapter__visual {
  position: relative;
  margin-top: clamp(52px, 8vh, 92px);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(28px, 3.8vw, 60px);
}
.chapter__visual::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 3px;
  background: var(--accent);
}
.chapter__visual .cap__figure,
.chapter__visual .statement__figure {
  display: block;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border-left: 0;
  padding-left: 0;
  color: var(--ink-soft);
}
.chapter__visual .statement__figure .s-solid { fill: var(--accent); }
.chapter__visual .geo__diagram svg { min-width: 640px; }

.chapter__proof { margin-top: clamp(52px, 8vh, 92px); }
.chapter__proof .cap__stats {
  margin-top: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: clamp(24px, 3.4vh, 36px);
  border-top: 1px solid var(--line);
}
.chapter__proof .cap__stat b { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }

.chapter__proof--split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.chapter__proof--split > * { min-width: 0; }
.chapter__proof--split .cap__stats { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
.chapter__proof--split .cap__stat { padding: 20px 0; border-bottom: 1px solid var(--line); }
.chapter__proof--split .cap__stat:first-child { padding-top: 0; }

/* GEO: the flagship chapter on vermilion ground. */
.chapter--signal {
  background: var(--accent);
  color: var(--bg);
  border-top: 0;
}
.chapter--signal :focus-visible { outline-color: var(--bg); }
.chapter--signal .chapter__no,
.chapter--signal .chapter__title { color: var(--bg); }
.chapter--signal .chapter__rail .cap-mark { color: var(--bg); }
.chapter--signal .chapter__rail .mark-fill { fill: var(--bg); }
.chapter--signal .chapter__sub,
.chapter--signal .chapter__label { color: var(--bg); }
.chapter--signal .chapter__index,
.chapter--signal .chapter__index a,
.chapter--signal .chapter__services,
.chapter--signal .chapter__service,
.chapter--signal .chapter__proof--split .cap__stat { border-color: rgba(14, 15, 19, 0.3); }
.chapter--signal .chapter__index a { color: rgba(14, 15, 19, 0.8); }
.chapter--signal .chapter__index a:hover,
.chapter--signal .chapter__index a[aria-current],
.chapter--signal .chapter__index a[aria-current] i { color: var(--bg); }
.chapter--signal .chapter__index a[aria-current]::before { background: var(--bg); }
.chapter--signal .chapter__body p,
.chapter--signal .chapter__body p:first-child,
.chapter--signal .chapter__service p,
.chapter--signal .chapter__service i { color: var(--bg); }
.chapter--signal .chapter__visual { background: var(--bg); border-color: var(--bg); }
.chapter--signal .geo__chart { background: var(--bg); border-color: var(--bg); height: 100%; }
.chapter--signal .cap__stat b { color: var(--bg); }
.chapter--signal .cap__stat span { color: var(--bg); border-top-color: rgba(14, 15, 19, 0.3); }

@media (max-width: 1180px) {
  .chapter__proof .cap__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter__proof--split .cap__stats { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .chapter__grid { grid-template-columns: 1fr; gap: var(--md); }
  .chapter__rail { position: static; }
  .chapter__index { display: none; }
  .chapter__rail .cap-mark { margin: 18px 0 12px; width: 44px; }
  .chapter__service { grid-template-columns: 36px minmax(0, 1fr); }
  .chapter__service p { grid-column: 2; }
  .chapter__proof--split { grid-template-columns: 1fr; }
}