/* ==========================================================================
   Option 8: Option 7 rebuilt on an editorial system. Every colour comes from
   the logo: navy, royal blue, cyan and gold (flat colour, no gradients).
   Type carries the page; thin rules replace boxes; square corners; big
   numbered rows; gold hairline frames around the dark scenes.
   ========================================================================== */

@font-face {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/tenor-sans.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-variable.woff2') format('woff2');
}

:root {
  --bg: #f5f5f8;
  --paper: #ffffff;
  --ink: #0b0d14;
  --ink-soft: #4b4f60;
  --accent: #5b3df5;
  --gold: #d2ab66;
  --gold-ink: #836128;
  --gold-light: #e2bd74;
  --rule: rgba(11, 13, 20, 0.14);
  --rule-strong: rgba(11, 13, 20, 0.55);
  --night: #0b0d14;
  --night-rule: rgba(199, 184, 255, 0.2);

  /* Re-map the shared tokens used by the cookie banner and form states. */
  --cirrus: #ffffff;
  --cirrus-2: #ffffff;
  --cirrus-3: #e4e3ee;
  --frost: #0b0d14;
  --frost-dim: #4b4f60;
  --corona: #5b3df5;
  --line: rgba(11, 13, 20, 0.14);

  --serif: 'Tenor Sans', Georgia, serif;
  --sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: var(--sans);
  --font-body: var(--sans);
  color-scheme: light;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

body::after { display: none; }

::selection {
  background: var(--accent);
  color: #ffffff;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

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

/* ---- Section labels and split headers ---- */

.sec-label,
.hero-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.sec-num {
  margin-right: 6px;
  letter-spacing: 0.04em;
  color: var(--gold-ink);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.hero-kicker::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: 20px;
  margin-bottom: clamp(44px, 6vw, 88px);
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.sec-head .sec-label {
  grid-column: 1 / span 3;
  padding-top: 0.9em;
}

.sec-head h2 {
  grid-column: 4 / -1;
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 4.4rem);
  line-height: 1.04;
}

.sec-head .sec-note {
  grid-column: 8 / -1;
  max-width: 46ch;
  margin: 8px 0 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .sec-head > * { grid-column: 1 / -1 !important; }
  .sec-head .sec-label { padding-top: 0; }
}

/* A label that opens a section without a split header. */
.wrap > .sec-label {
  margin-bottom: clamp(36px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.halo-copy .sec-label,
.notes .sec-label,
.contact7 .sec-label,
.story .sec-label,
.faq-grid .sec-label { margin-bottom: 24px; }

/* ---- Buttons: square, tall, with the arrow in its own block ---- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 600 0.92rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:has(.arrow) { padding: 7px 7px 7px 24px; }

.button .arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.05rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.button:hover .arrow {
  background: var(--accent);
  color: #ffffff;
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

.button-dark:hover { background: #22399c; }

/* Dark buttons: a one-shade pixel shimmer under the label (shimmer.js). */
.button-shimmer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button-pixels {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.button-shimmer:hover .button-pixels { opacity: 1; }

.button-dark.button-shimmer:hover { background: var(--ink); }

.button-ghost {
  border-color: var(--rule-strong);
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover { border-color: var(--ink); }

.button-ghost .arrow,
.button-light .arrow { background: rgba(11, 13, 20, 0.08); }

.button-light {
  background: #f5f6fa;
  color: var(--ink);
}

.button-light:hover { background: #ffffff; }

.button-ghost-light {
  border-color: rgba(245, 246, 250, 0.35);
  background: transparent;
  color: #f5f6fa;
}

.button-ghost-light:hover { border-color: #f5f6fa; }

.button-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.85rem;
}

.button-small:has(.arrow) { padding: 5px 5px 5px 18px; }

.button-small .arrow {
  width: 34px;
  height: 34px;
}

/* ---- Header: a flat bar with hairline dividers ---- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1320px;
  height: 78px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  flex: none;
  width: 40px;
  height: 40px;
}

.topbar-sep {
  align-self: stretch;
  width: 1px;
  margin-block: 22px;
  background: var(--rule);
}

.topbar-mail {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.topbar-mail:hover { color: var(--ink); }

.topbar-nav { margin-left: auto; }

.topbar-links {
  display: flex;
  gap: 30px;
}

.topbar-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.topbar-links a:hover,
.topbar-links a[aria-current='page'] { color: var(--accent); }

.topbar-links a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.topbar-links .menu-cta { display: none; }

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: transparent;
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle[aria-expanded='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

@media (max-width: 1360px) {
  .topbar-sep,
  .topbar-mail { display: none; }
}

@media (max-width: 1140px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .topbar-cta { margin-left: auto; }

  .topbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .topbar-links {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px clamp(20px, 4vw, 56px) 20px;
    border-bottom: 1px solid var(--rule);
    background: #ffffff;
    box-shadow: 0 24px 40px rgba(11, 13, 20, 0.08);
  }

  .topbar.is-open .topbar-links { display: flex; }

  .topbar-links a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.8rem;
  }

  .topbar-links a[aria-current='page'] { text-decoration: none; }

  html.no-js .menu-toggle { display: none; }
}

@media (max-width: 560px) {
  .topbar-inner { height: 68px; }
  .topbar-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .topbar-links .menu-cta { display: block; }

  .topbar-links .menu-cta a {
    margin-top: 16px;
    padding: 18px;
    border: 0;
    border-radius: 0;
    background: var(--ink);
    color: #ffffff;
    text-align: center;
  }
}

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

.hero7,
.lp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 112px) clamp(72px, 8vw, 128px);
  background: var(--paper);
}

.hero7-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}

@media (max-width: 960px) {
  .hero7-grid { grid-template-columns: minmax(0, 1fr); }
}

.hero7 h1,
.lp-hero h1 {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 3.9vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero7 h1 em,
.lp-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero7-sub {
  max-width: 48ch;
  margin-top: 30px;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--ink-soft);
}

/* One-field audit request: carries the address down into the contact form. */
.quick {
  max-width: 560px;
  margin-top: 40px;
}

.quick-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.quick-row {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
}

.quick-row:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.quick-input {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  font: 400 1rem var(--sans);
  color: var(--ink);
}

.quick-input:focus,
.quick-input:focus-visible { outline: none; }

.quick-row .button { border-radius: 0; }

@media (max-width: 480px) {
  .quick-row { flex-direction: column; }
  .quick-row .button { width: 100%; }
}

/* Experience list: a slow, pausable line of names */
.xp {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 620px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.xp-label {
  flex: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.xp-marquee {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.xp-track {
  flex: none;
  display: flex;
  gap: 26px;
  padding-right: 26px;
  animation: xp-scroll 46s linear infinite;
}

.xp-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--ink);
  white-space: nowrap;
}

.xp-track span::after {
  content: '/';
  color: var(--gold);
}

.xp:hover .xp-track { animation-play-state: paused; }

@keyframes xp-scroll {
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .xp-track { animation: none; }
  .xp-track + .xp-track { display: none; }
  .xp-marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
}

/* The halo scene: no box, it fills the right half of the hero and fades in from the left */
.hero7-visual { padding: 0; }

.hero7-visual .pond {
  overflow: hidden;
  overflow: clip;
  background: transparent;
}

@media (min-width: 961px) {
  .hero7-visual {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
  }

  .hero7-visual .pond,
  .hero7-visual .pond-sticky { height: 100%; }

  .hero7-copy { max-width: 560px; }

  .hero7-visual .pond-caption {
    position: absolute;
    z-index: 1;
    right: var(--gutter);
    bottom: clamp(64px, 9vw, 84px);
    margin: 0;
  }
}

.pond-caption {
  display: inline-flex;
  gap: 8px;
  margin-top: 34px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.pond-caption:hover { color: var(--accent); }

.pond-caption .arrow { transition: transform 0.2s ease; }

.pond-caption:hover .arrow { transform: translateX(3px); }

.pond-sticky {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  container-type: size;
  --ring: min(60cqw, 340px, 44cqh);
  --cx: 50%;
  background: transparent;
}

@media (min-width: 961px) {
  .pond-sticky {
    aspect-ratio: auto;
    --ring: min(40cqw, 340px, 44cqh);
    --cx: 64.3%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 28%, #000 52%);
    mask-image: linear-gradient(to right, transparent 0, transparent 28%, #000 52%);
  }
}

.pond-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}


.pond-corona {
  position: absolute;
  left: var(--cx);
  top: 44%;
  width: var(--ring);
  height: var(--ring);
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 78%, rgba(210, 171, 102, 0.45) 82%, rgba(185, 167, 255, 0.4) 85%, rgba(91, 61, 245, 0.6) 88.5%, rgba(11, 13, 20, 0.3) 92%, transparent 98%);
  filter: blur(0.6px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

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

.pond-wordmark {
  position: absolute;
  left: var(--cx);
  top: 44%;
  transform: translate(-50%, -50%);
  margin: 0;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: calc(var(--ring) * 0.19);
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  background: linear-gradient(110deg, #0b0d14 0%, #0b0d14 38%, #5b3df5 50%, #0b0d14 62%, #0b0d14 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  filter: blur(16px);
  transition: opacity 0.4s ease, filter 0.4s ease, letter-spacing 0.4s ease, padding-left 0.4s ease;
  animation: frost-shimmer 14s ease-in-out infinite alternate;
}

@keyframes frost-shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.pond.is-resolved .pond-corona {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 1.6s ease 0.3s, transform 1.8s cubic-bezier(0.16, 0.84, 0.3, 1) 0.3s;
}

.pond.is-resolved .pond-wordmark {
  opacity: 1;
  letter-spacing: 0.06em;
  padding-left: 0.06em;
  filter: blur(0);
  transition: opacity 1.2s ease 0.6s, filter 1.4s ease 0.6s, letter-spacing 1.8s cubic-bezier(0.16, 0.84, 0.3, 1) 0.6s, padding-left 1.8s cubic-bezier(0.16, 0.84, 0.3, 1) 0.6s;
}

.pond-hint {
  position: absolute;
  left: var(--cx);
  bottom: 7%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0b0d14;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.pond.has-started .pond-hint { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .pond .pond-corona { opacity: 1; transform: translate(-50%, -50%); transition: none; }
  .pond .pond-wordmark { opacity: 1; letter-spacing: 0.06em; padding-left: 0.06em; transition: none; }
}

html.no-js .pond .pond-corona { opacity: 1; transform: translate(-50%, -50%); }
html.no-js .pond .pond-wordmark { opacity: 1; letter-spacing: 0.06em; padding-left: 0.06em; filter: none; }

/* ---- Ticker: the services in large type, broken halos between ---- */

.ticker {
  display: flex;
  overflow: hidden;
  padding-block: clamp(20px, 2.6vw, 34px);
  background: var(--accent);
  color: #ffffff;
}

.ticker-track {
  flex: none;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  padding-right: clamp(22px, 3vw, 46px);
  animation: ticker 40s linear infinite;
}

.ticker-track span {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 3.1rem);
  line-height: 1;
  white-space: nowrap;
}

.ticker-track i {
  flex: none;
  width: clamp(20px, 2.4vw, 32px);
  aspect-ratio: 1;
  border: 2px dashed var(--gold-light);
  border-radius: 50%;
}

@keyframes ticker {
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker { flex-wrap: wrap; justify-content: center; }
  .ticker-track { flex-wrap: wrap; justify-content: center; animation: none; }
  .ticker-track + .ticker-track { display: none; }
}

/* ---- Bands ---- */

.band { padding-block: clamp(80px, 10vw, 144px); }

.band-white { background: var(--paper); }

.band h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.06;
}

.band h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}

.band p { color: var(--ink-soft); }

.band .sec-label { color: var(--ink); }

/* ---- Proof: big numerals between vertical rules ---- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}

.stat {
  padding: 8px clamp(18px, 2.4vw, 36px) 36px;
  border-left: 1px solid var(--rule);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { padding-top: 32px; border-top: 1px solid var(--rule); }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { padding-left: 0; border-left: 0; }
  .stat + .stat { padding-top: 28px; border-top: 1px solid var(--rule); }
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: 0.95;
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  max-width: 24ch;
  margin-top: 18px;
}

.stat-source {
  margin-top: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent) !important;
}

/* ---- Numbered rows: the four ways in, and every "where we come in" list ---- */

.doors,
.paths,
.bento7 {
  border-top: 1px solid var(--rule);
  counter-reset: row;
}

.door,
.tile {
  position: relative;
  isolation: isolate;
  display: grid;
  column-gap: clamp(20px, 3vw, 56px);
  row-gap: 10px;
  align-items: start;
  padding: clamp(28px, 3.4vw, 48px) clamp(12px, 1.6vw, 24px);
  border-bottom: 1px solid var(--rule);
  counter-increment: row;
}

.door {
  grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 1.05fr) 3.5rem;
  grid-template-areas:
    'num kicker desc go'
    'num title  desc go'
    'num tags   desc go';
}

.tile {
  grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas:
    'num kicker desc'
    'num title  desc';
}

.door::before,
.tile::before {
  grid-area: num;
  content: counter(row, decimal-leading-zero) '.';
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 0.82;
  color: var(--ink);
  transition: color 0.3s ease;
}

/* The colour that sweeps across a row on hover */
.door::after,
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--night);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
}

.tile::after { background: var(--bg); }

.band:not(.band-white) .tile::after { background: var(--paper); }

.door:hover::after,
.tile:hover::after { transform: scaleX(1); }

.door .tile-kicker,
.tile .tile-kicker { grid-area: kicker; }

.door h3,
.tile h3 {
  grid-area: title;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.1;
}

.door > p:nth-of-type(2),
.tile > p:not(.tile-kicker) {
  grid-area: desc;
  align-self: center;
  max-width: 48ch;
}

.door .tags { grid-area: tags; margin-top: 6px; }

.door h3 a {
  color: inherit;
  text-decoration: none;
}

/* The heading link covers the whole row, so the row is one target
   and its accessible name stays short. */
.door h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

@supports selector(:has(a)) {
  .door h3 a:focus-visible { outline: none; }

  /* Outside the row, so the ring still shows when the row is swept dark. */
  .door:has(a:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

.door-go {
  grid-area: go;
  align-self: center;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  font-size: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.door-go .arrow {
  font-size: 1.3rem;
  color: var(--ink);
  transition: transform 0.3s ease, color 0.3s ease;
}

.door:hover::before,
.door:hover h3,
.door:hover .tile-kicker,
.door:hover > p,
.door:hover .tags li { color: #ffffff !important; }

.door:hover .tags li::after { color: rgba(255, 255, 255, 0.5); }

.door:hover .door-go {
  border-color: var(--accent);
  background: var(--accent);
}

.door:hover .door-go .arrow {
  color: #ffffff;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .door,
  .tile {
    grid-template-columns: 3.6rem minmax(0, 1fr);
    grid-template-areas:
      'num kicker'
      'num title'
      'desc desc'
      'tags tags';
    padding-inline: 0;
  }

  .door::before,
  .tile::before { font-size: 2.3rem; }

  .door-go { display: none; }

  .door > p:nth-of-type(2),
  .tile > p:not(.tile-kicker) { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .door::after,
  .tile::after { transition: none; }
}

.tile-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent) !important;
}

/* Tags and chips read as a line of words, not pills */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.tags li {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.tags li + li::before {
  content: '/';
  margin: 0 10px;
  color: var(--gold);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 0;
  margin-top: 40px;
}

.chips-label {
  margin-right: 22px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.chip {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
}

.chip + .chip::before {
  content: '/';
  margin: 0 14px;
  color: var(--gold);
}

@media (max-width: 560px) {
  .chips {
    flex-direction: column;
    align-items: flex-start;
  }

  .chips-label { margin-bottom: 10px; }

  .chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
  }

  .chip::before,
  .chip + .chip::before {
    content: '';
    width: 14px;
    height: 1px;
    margin: 0;
    background: var(--gold);
  }
}

/* ---- SEO-first builds: the dark band ---- */

.band-navy { background: #000; }

.band-navy .sec-head { border-top-color: var(--night-rule); }
.band-navy .sec-label { color: #d6d3e6; }
.band-navy .sec-num { color: var(--gold-light); }
.band-navy h2 { color: #f5f6fa; }
.band-navy .sec-head .sec-note { color: #d6d3e6; }

/* A ruled grid rather than floating cards */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 48px;
  border-top: 1px solid var(--night-rule);
  border-left: 1px solid var(--night-rule);
}

@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .values { grid-template-columns: minmax(0, 1fr); }
}

.value {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--night-rule);
  border-bottom: 1px solid var(--night-rule);
  background: rgba(0, 0, 0, 0.84);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, outline-color 0.25s ease;
  outline: 1px solid transparent;
}

.value-num {
  display: block;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: #b9a7ff;
}

.band-navy .value h3 {
  font-size: 1.35rem;
  color: #f5f6fa;
}

.band-navy .value p {
  margin-top: 12px;
  color: #c5c3d6;
}

/* On hover a cell turns solid and steps forward. */
.value:hover {
  z-index: 1;
  background: #0b0b0d;
  outline-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .value:hover { transform: none; }
}

/* ---- Ways to work together: the heading holds still, the plans scroll past ---- */

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}

.work-head.sec-head {
  position: sticky;
  top: 118px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 0;
}

.work-head.sec-head > * { grid-column: 1 / -1; }

.work-head.sec-head .sec-label { padding-top: 0; }

.work-head.sec-head h2 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); }

.work-head.sec-head .sec-note { margin-top: 4px; }

.work-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--rule);
}

@media (max-width: 860px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-head.sec-head { position: static; }
}

.panel {
  padding: clamp(32px, 4.4vw, 64px);
  background: var(--paper);
}

.panel h3 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.05;
}

.panel p { margin-top: 14px; }

.work-cards .panel + .panel { background: var(--night); }

.work-cards .panel + .panel h3 { color: #f5f6fa; }
.work-cards .panel + .panel p { color: #d6d3e6; }
.work-cards .panel + .panel .ticks li { color: #f5f6fa; }
.work-cards .panel + .panel .panel-foot { border-top-color: var(--night-rule); }

.ticks {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--rule);
}

.work-cards .panel + .panel .ticks { border-top-color: var(--night-rule); }

.ticks li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

.work-cards .panel + .panel .ticks li { border-bottom-color: var(--night-rule); }

.ticks li::before {
  content: '';
  flex: none;
  width: 16px;
  height: 2px;
  background: var(--gold);
  transform: translateY(-4px);
}

.panel-foot {
  margin-top: 26px !important;
  font-size: 0.95rem;
}

/* ---- The idea behind the mark ---- */

.halo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}

@media (max-width: 860px) {
  .halo-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The diagram sits on a hatched block offset behind it */
.halo-figure {
  position: relative;
  isolation: isolate;
  margin: 0 28px 28px 0;
}

.halo-figure::before {
  content: '';
  position: absolute;
  inset: 28px -28px -28px 28px;
  z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(11, 13, 20, 0.2) 0 1px, transparent 1px 7px);
}

.halo-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.halo-mark {
  display: block;
  width: 132px;
  height: 132px;
  margin: -14px 0 18px -14px;
}

.halo-copy h2 { margin-bottom: 24px; }

.halo-copy p:not(.sec-label) {
  max-width: 52ch;
  font-size: 1.08rem;
}

.halo-copy p:not(.sec-label) + p { margin-top: 16px; }

.halo-copy .halo-aside {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-size: 0.98rem;
  font-style: italic;
}

/* ---- About ---- */

.founder {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: 56px;
}

@media (max-width: 700px) {
  .founder { grid-template-columns: minmax(0, 1fr); }
}

.founder h2 { margin-bottom: 10px; }

.founder-photo {
  width: 240px;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 4rem;
  color: #ffffff;
  background: radial-gradient(120% 90% at 50% 30%, #0b0d14, var(--night));
  box-shadow: 16px 16px 0 -1px var(--bg), 16px 16px 0 0 var(--gold);
}

.founder-bio {
  max-width: 62ch;
  font-size: 1.08rem;
}

.role {
  margin: 4px 0 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent) !important;
}

.person {
  display: flex;
  gap: 24px;
  max-width: 900px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}

.avatar {
  flex: none;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #ffffff;
  background: var(--ink);
}

.together {
  max-width: 900px;
  margin-top: 36px;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink) !important;
}

/* ---- Field notes and contact ---- */

.notes,
.contact7 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}

@media (max-width: 860px) {
  .notes,
  .contact7 { grid-template-columns: minmax(0, 1fr); }
}

.notes h2,
.contact7 h1, .contact7 h2 { margin-bottom: 20px; }

.notes-sub,
.contact7-sub { max-width: 46ch; }

.contact7-mail {
  display: inline-block;
  margin-top: 32px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--ink);
  text-decoration: none;
}

.contact7-mail:hover { color: var(--accent); }

/* ---- Forms: square fields, labels in small capitals ---- */

.form7 {
  display: grid;
  gap: 8px;
}

.form7 label {
  margin-top: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.form7 input[type='text'],
.form7 input[type='email'],
.form7 input[type='url'],
.form7 textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--paper);
  font: 400 1rem var(--sans);
  color: var(--ink);
}

.form7 textarea {
  min-height: 140px;
  resize: vertical;
}

.form7 input:focus-visible,
.form7 textarea:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.consent7 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 20px;
}

.consent7 input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.consent7 label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.form7 .button { justify-self: start; }

.form7 .form-status { color: var(--accent); }

/* ---- Footer: ruled columns over an oversized wordmark ---- */

.footer7 {
  overflow: hidden;
  padding-top: 72px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.footer7-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  row-gap: 32px;
}

@media (max-width: 760px) {
  .footer7-inner { grid-template-columns: 1fr 1fr; }
  .footer7-brand { grid-column: 1 / -1; }
}

.footer7-brand p {
  max-width: 30ch;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.footer7-nav {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--rule);
}

.footer7-head {
  margin-bottom: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer7-nav ul {
  display: grid;
  gap: 10px;
}

.footer7-nav a,
.footer7-nav .link-button {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.footer7-nav a:hover,
.footer7-nav .link-button:hover { color: var(--accent); }

.footer7-meta {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.footer7-mark {
  margin: 48px 0 -0.02em;
  font-family: var(--serif);
  font-size: clamp(5rem, 24.5vw, 22rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
  padding-left: 0.04em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(11, 13, 20, 0.2), rgba(11, 13, 20, 0) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

/* ---- Landing pages ---- */

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.crumbs li + li::before {
  content: '/';
  margin-right: 10px;
  color: var(--gold);
}

.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumbs a:hover { color: var(--accent); }

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
}

@media (max-width: 960px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* The dark "at a glance" panel: square, the mark in its corner, a gold frame behind */
.lp-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 16px 16px 0;
  padding: clamp(30px, 3.6vw, 48px);
  background: var(--night);
  color: #f5f6fa;
  box-shadow: 16px 16px 0 -1px var(--paper), 16px 16px 0 0 var(--gold);
}

.lp-card-ring {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -170px;
  width: 440px;
  height: 440px;
  background: url('assets/brand/znelk-mark.svg') center / contain no-repeat;
  opacity: 0.32;
}

@media (max-width: 960px) {
  .lp-card-ring {
    top: -240px;
    right: -250px;
  }
}

.lp-card-kicker {
  margin-bottom: 22px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c7b8ff;
}

.lp-facts {
  display: grid;
  margin: 0;
}

.lp-facts > div {
  padding: 18px 0;
  border-top: 1px solid var(--night-rule);
}

.lp-facts > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.lp-facts dt {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.02;
  color: #f5f6fa;
}

.lp-facts dd {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: #c5c3d6;
}

.lp-card-source {
  margin-top: 22px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c7b8ff;
}

.disciplines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: discipline;
}

@media (max-width: 900px) {
  .disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .disciplines { grid-template-columns: minmax(0, 1fr); }
}

.disciplines li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  counter-increment: discipline;
}

.disciplines li::before {
  content: counter(discipline, decimal-leading-zero);
  flex: none;
  width: 2em;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule);
}

.steps li {
  padding: 8px clamp(20px, 2.6vw, 40px) 36px;
  border-left: 1px solid var(--rule);
}

.steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

@media (max-width: 800px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding: 28px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--rule); }
}

.step-num {
  display: block;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.6vw, 4rem);
  line-height: 0.9;
  color: var(--ink);
}

.steps p { margin-top: 12px; }

.steps-note {
  margin-top: 40px;
  font-weight: 500;
  color: var(--ink) !important;
}

.story,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}

@media (max-width: 860px) {
  .story,
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}

.story-copy p { font-size: 1.08rem; }

.story-copy p + p { margin-top: 18px; }

.lp-note {
  margin-top: 24px !important;
  font-size: 0.85rem !important;
}

.faq details { border-top: 1px solid var(--rule); }

.faq details:last-child { border-bottom: 1px solid var(--rule); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  color: var(--ink);
}

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

/* A square toggle: plus when closed, minus when open */
.faq summary::after {
  content: '';
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq details[open] summary::after {
  border-color: var(--ink);
  background:
    linear-gradient(#ffffff, #ffffff) center / 14px 1.5px no-repeat,
    var(--ink);
}

.faq details p {
  max-width: 60ch;
  padding-bottom: 28px;
}

/* ---- Pixel field (pixelfield.js) behind dark sections and the notice bar ---- */

.pixel-field {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.pixel-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.notice {
  background: #000;
  color: #f5f6fa;
}

.notice-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 0.86rem;
  text-align: center;
}

.notice-tag {
  padding: 4px 8px;
  border: 1px solid rgba(199, 184, 255, 0.4);
  border-radius: 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c7b8ff;
}

.notice a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.notice a .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.notice a:hover .arrow { transform: translateX(3px); }

.notice :focus-visible { outline-color: #c7b8ff; }

@media (max-width: 560px) {
  .notice-text {
    gap: 4px 8px;
    padding: 9px 16px;
    font-size: 0.8rem;
  }

  .notice-tag { display: none; }
}

/* ---- ZNELK assistant (chat.js) ---- */

.chat {
  --chat-offset: 0px;
  position: fixed;
  right: 20px;
  bottom: calc(20px + var(--chat-offset));
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.chat > * { pointer-events: auto; }

.chat-ring {
  flex: none;
  display: block;
  width: 28px;
  height: 28px;
}

.chat-bubbles {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: 300px;
}

.chat-bubbles.is-in { animation: chat-in 0.5s cubic-bezier(0.16, 0.84, 0.3, 1) both; }

@keyframes chat-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.chat-greet-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.chat-greet {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid rgba(199, 184, 255, 0.35);
  border-radius: 0;
  background: var(--ink);
  color: #f5f6fa;
  font-size: 0.9rem;
  box-shadow: 0 16px 40px rgba(11, 13, 20, 0.2);
}

.chat-hide {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.chat-chip {
  padding: 11px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  font: 500 0.86rem/1.3 var(--sans);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(11, 13, 20, 0.1);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chat-chip:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 20px 0 14px;
  border: 0;
  border-radius: 0;
  border: 1px solid rgba(199, 184, 255, 0.45);
  color: #ffffff;
  font: 600 0.9rem/1 var(--sans);
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(11, 13, 20, 0.3);
}

.chat-panel {
  position: fixed;
  right: 20px;
  bottom: calc(88px + var(--chat-offset));
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 40px));
  height: min(600px, calc(100vh - 128px - var(--chat-offset)));
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(11, 13, 20, 0.25);
}

.chat-panel[hidden],
.chat-bubbles[hidden] { display: none; }

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--night);
  color: #f5f6fa;
}

.chat-head .chat-ring {
  width: 32px;
  height: 32px;
}

.chat-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
}

.chat-sub {
  margin: 0;
  font-size: 0.74rem;
  color: #c5c3d6;
}

.chat-close {
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid rgba(245, 246, 250, 0.3);
  border-radius: 0;
  background: transparent;
  color: #f5f6fa;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.chat-close:focus-visible { outline-color: #b9a7ff; }

/* The launcher floats over light and dark sections: a two-tone ring works on both. */
.chat-launcher:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--accent), 0 16px 40px rgba(11, 13, 20, 0.3);
}

.chat-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  background: var(--bg);
}

.chat-msg {
  max-width: 86%;
  margin: 0;
  padding: 11px 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat-msg-assistant {
  align-self: flex-start;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
}

.chat-msg-user {
  align-self: flex-end;
  border-radius: 0;
  background: var(--ink);
  color: #ffffff;
}

.chat-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #ffffff;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--ink-soft);
  animation: chat-dot 1s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chat-dot {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 14px;
  background: var(--bg);
}

.chat-quick:empty { display: none; }

.chat-quick .chat-chip {
  padding: 9px 13px;
  box-shadow: none;
}

.chat-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 12px 8px;
  border-top: 1px solid var(--rule);
  background: #ffffff;
}

.chat-input {
  flex: 1;
  min-width: 0;
  max-height: 120px;
  padding: 11px 13px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  resize: none;
  font: 400 0.95rem/1.4 var(--sans);
  color: var(--ink);
}

.chat-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.chat-send {
  flex: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
}

.chat-send:hover { background: var(--accent); }

.chat-input:disabled,
.chat-send:disabled {
  opacity: 0.45;
  cursor: default;
}

.chat-legal {
  margin: 0;
  padding: 0 12px 10px;
  background: #ffffff;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.chat-legal a { color: var(--ink-soft); }

.chat-contact {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #ffffff;
}

.chat-contact label {
  display: grid;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.chat-contact input {
  padding: 11px 13px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  font: 400 0.95rem var(--sans);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.chat-contact .button { justify-self: start; }

.chat-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--accent);
}

.chat-note:empty { display: none; }

@media (max-width: 560px) {
  .chat {
    right: 12px;
    bottom: calc(12px + var(--chat-offset));
  }

  .chat-bubbles { max-width: calc(100vw - 24px); }
  .chat-bubbles .chat-chip:nth-of-type(n+3) { display: none; }

  .chat-panel {
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
  }

  .chat.is-open .chat-launcher { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-bubbles.is-in { animation: none; }
  .chat-typing span { animation: none; opacity: 0.6; }
}

/* The halo mark turns slowly wherever it appears. Bigger marks turn slower,
   so the motion stays calm at every size. */
.brand-mark,
.halo-mark,
.chat-ring,
.lp-card-ring,
.ticker-track i {
  animation: halo-spin var(--spin, 14s) linear infinite;
}

.halo-mark { --spin: 30s; }
.lp-card-ring { --spin: 60s; }
.ticker-track i { --spin: 10s; }

@keyframes halo-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark,
  .halo-mark,
  .chat-ring,
  .lp-card-ring,
  .ticker-track i { animation: none; }
}

/* ---- Pointer to ZNELK Intelligence ---- */

.intel-strip {
  padding-block: clamp(36px, 4.4vw, 56px);
  background: var(--night);
  color: #f5f6fa;
}

.intel-strip-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px clamp(24px, 4vw, 56px);
  align-items: center;
}

@media (max-width: 860px) {
  .intel-strip-inner { grid-template-columns: minmax(0, 1fr); }
}

.intel-strip-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.intel-strip-text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  color: #ffffff;
}

.intel-strip-text span {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: #d6d3e6;
}

.intel-strip :focus-visible { outline-color: #c7b8ff; }

/* Focus rings that stay visible on the dark surfaces */
.band-navy :focus-visible,
.work-cards .panel + .panel :focus-visible,
.lp-card :focus-visible { outline-color: #c7b8ff; }

/* Placeholders in a palette colour rather than the browser grey */
.quick-input::placeholder,
.form7 ::placeholder,
.chat-input::placeholder,
.chat-contact input::placeholder {
  color: #6a6e80;
  opacity: 1;
}

/* Cookie preferences in the logo palette */
.consent-toggle input:checked + .track { background: rgba(91, 61, 245, 0.22); }
.consent-modal { background: rgba(11, 13, 20, 0.6); }

/* Keep the chat out of the way while the mobile menu is open. */
body:has(.topbar.is-open) .chat { visibility: hidden; }

/* ---- Cookie banner on the light theme ---- */

.consent-banner {
  border-top: 1px solid var(--rule);
  background: #ffffff;
  box-shadow: 0 -10px 40px rgba(11, 13, 20, 0.08);
}


/* ---- Statement bands: one huge uppercase line spread edge to edge, a quiet paragraph below ---- */

.statement {
  overflow-x: clip;
  padding-block: clamp(84px, 13vw, 190px);
  background: var(--night);
}

.statement-title {
  width: 100%;
  margin: 0;
  padding-inline: var(--gutter);
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 5.6vw, 5.8rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-align: justify;
  text-align-last: justify;
  color: #b9a7ff;
}

.statement-text {
  max-width: 58ch;
  margin: clamp(44px, 6.5vw, 100px) auto 0;
  padding-inline: var(--gutter);
  text-align: center;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: rgba(245, 245, 248, 0.82);
}

.statement-light { background: var(--paper); }
.statement-light .statement-title { color: var(--accent); }
.statement-light .statement-text { color: var(--ink-soft); }

@media (max-width: 700px) {
  .statement-title { text-align: left; text-align-last: left; }
}

/* ---- Scroll chapters: a colour disc opens from the middle of a black stage until it fills it ---- */

.chapter {
  --g: 1;
  --label: 1;
  --note: 1;
  position: relative;
  background: #0b0d14;
}

.chapter-stage {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: stretch;
}

.chapter-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(40px, 7vw, 110px) var(--gutter);
  background: var(--accent);
  color: #ffffff;
}

.chapter[data-tone="light"] .chapter-panel {
  background: #f5f5f8;
  color: #0b0d14;
}

.chapter-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
}

.chapter-label span { margin-right: 10px; color: var(--gold-light); }

.chapter[data-tone="light"] .chapter-label span { color: var(--gold-ink); }

.chapter-title {
  margin: 0;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 6.2vw, 6.2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-align: justify;
  text-align-last: justify;
  color: inherit;
}

.chapter-note {
  max-width: 54ch;
  margin: clamp(8px, 2vw, 28px) auto 0;
  text-align: center;
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: inherit;
  opacity: 0.86;
}

@media (max-width: 700px) {
  .chapter-title { text-align: left; text-align-last: left; }
}

/* With motion: the stage pins for a stretch of scrolling and the disc does the growing. */
.has-chapters .chapter { height: 280vh; }

.has-chapters .chapter-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.has-chapters .chapter-panel {
  position: absolute;
  inset: 0;
  padding-block: 0;
  clip-path: circle(calc(1.2vmin + var(--g) * 76vmax) at 50% 50%);
}

.has-chapters .chapter-label { opacity: var(--label); }

.has-chapters .chapter-title .cw { opacity: 0; }

.has-chapters .chapter-note { opacity: calc(var(--note) * 0.86); }

.chapter + .chapter-body { padding-top: clamp(72px, 9vw, 130px); }


/* The outline wordmark behind the first statement band; brighter under the pointer */
.statement { position: relative; isolation: isolate; }

.statement-ghost {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 34vw;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 245, 248, 0.1);
  user-select: none;
  pointer-events: none;
}

.statement-ghost.lit {
  -webkit-text-stroke: 1px rgba(185, 167, 255, 0.75);
  -webkit-mask: radial-gradient(circle 240px at var(--x, -999px) var(--y, -999px), #000, transparent 70%);
  mask: radial-gradient(circle 240px at var(--x, -999px) var(--y, -999px), #000, transparent 70%);
}


/* ---- Hero: the painted halo (our mark as brush strokes) over ink hills and meadow ---- */

.hero8 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - 100px);
  padding-block: clamp(110px, 16vh, 150px) clamp(36px, 6vh, 64px);
  background: var(--bg);
}

.hero8 .wrap { position: relative; width: 100%; }

.hero8 h1 {
  max-width: 17ch;
  margin: 0;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.3rem, 4.6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero8 h1 em { font-style: normal; color: var(--accent); }

.h8-l { display: block; overflow: hidden; padding-bottom: 0.06em; }

.h8-l > span {
  display: block;
  transform: translateY(105%);
  animation: h8k-rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--n) * 120ms + 600ms);
}

@keyframes h8k-rise { to { transform: none; } }

.h8-kicker { margin-bottom: 26px; opacity: 0; animation: h8k-fade 1.2s 0.4s forwards; }
@keyframes h8k-fade { to { opacity: 1; } }

.h8-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 28px 56px;
  margin-top: 40px;
  opacity: 0;
  animation: h8k-fade 1.2s 1.8s forwards;
}

.h8-foot .hero7-sub { margin: 0; max-width: 44ch; }
.h8-foot .quick { margin: 0; flex: 1 1 360px; max-width: 520px; }

.hero8 .xp { margin-top: 44px; }

.h8-vert {
  position: absolute;
  z-index: 3;
  right: clamp(14px, 2.4vw, 40px);
  bottom: clamp(36px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: h8k-fade 1.4s 2s forwards;
}

.h8-vert span { writing-mode: vertical-rl; font-size: 0.68rem; letter-spacing: 0.36em; text-transform: uppercase; color: var(--ink-soft); }
.h8-vert b { writing-mode: vertical-rl; font-weight: 400; font-size: 1rem; letter-spacing: 0.2em; color: var(--gold-ink); }
.h8-vert i { width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); }

@media (max-width: 960px) { .h8-vert { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .h8-l > span { transform: none; animation: none; }
  .h8-kicker, .h8-foot, .h8-vert { opacity: 1; animation: none; }
}

/* painting */
  /* Ink-wash drawing: a moon with its 22 degree halo over layered mountains in mist */
  .h8-art { position:absolute; z-index:-1; right:0; top:44%; width:min(56vw,780px); transform:translateY(-50%); pointer-events:none; -webkit-mask-image:linear-gradient(to right,transparent 0,#000 38%); mask-image:linear-gradient(to right,transparent 0,#000 38%); }
  .h8-art .h8-moon { opacity:0; transform:translateY(40px); animation:h8k-moonrise 3.4s cubic-bezier(.2,.8,.2,1) .4s forwards; }
  @keyframes h8k-moonrise { to { opacity:1; transform:none; } }
  /* The whole ring turns very slowly once it has painted in */
  .h8-art .h8-logo { transform-box:view-box; transform-origin:380px 230px; animation:h8k-turn 260s linear 3.4s infinite; }
  @keyframes h8k-turn { to { transform:rotate(360deg); } }
  .h8-art .h8-arc { opacity:0; transform-box:view-box; transform-origin:380px 230px; transform:rotate(-14deg); animation:h8k-arcin 2.4s cubic-bezier(.2,.8,.2,1) calc(.9s + var(--i) * .09s) forwards; }
  @keyframes h8k-arcin { to { opacity:1; transform:none; } }
  .h8-art .h8-blade { transform-box:fill-box; transform-origin:50% 100%; opacity:0; animation:h8k-bladein 2s ease calc(1.6s + var(--b)) forwards, h8k-sway var(--s) ease-in-out calc(3.6s + var(--b)) infinite alternate; }
  @keyframes h8k-bladein { to { opacity:1; } }
  @keyframes h8k-sway { from { transform:rotate(-1.6deg); } to { transform:rotate(2.2deg); } }
  .h8-art .h8-halo path { stroke-dasharray:1; stroke-dashoffset:1; animation:h8k-paint 3.4s cubic-bezier(.45,.1,.25,1) forwards; }
  .h8-art .hb1 { animation-delay:1s; } .h8-art .hb2 { animation-delay:1.5s; }
  @keyframes h8k-paint { to { stroke-dashoffset:0; } }
  .h8-art .h8-ridge { opacity:0; transition:transform .8s cubic-bezier(.2,.8,.2,1); animation:h8k-ridgein 2.4s ease forwards; }
  .h8-art .h8-r3 { animation-delay:.9s; } .h8-art .h8-r2 { animation-delay:1.3s; } .h8-art .h8-r1 { animation-delay:1.7s; }
  @keyframes h8k-ridgein { to { opacity:1; } }
  .h8-art .h8-birds { opacity:0; animation:h8k-ridgein 2s ease 2.8s forwards, h8k-drift 18s ease-in-out 3s infinite alternate; }
  @keyframes h8k-drift { to { transform:translate(60px,-14px); } }
  @media (max-width:900px) { .h8-art { width:130vw; right:-40vw; opacity:.5; } }
  @media (prefers-reduced-motion:reduce) { .h8-art .h8-moon,.h8-art .h8-ridge,.h8-art .h8-birds { opacity:1; transform:none; animation:none; } .h8-art .h8-halo path { stroke-dashoffset:0; animation:none; } .h8-art .h8-arc,.h8-art .h8-blade { opacity:1; transform:none; animation:none; } .h8-art .h8-logo { animation:none; } }
  /* The outline wordmark behind the headline, brighter under the pointer */
  .h8-ghost { position:absolute; z-index:-1; left:50%; top:44%; transform:translate(-50%,-50%); font-weight:300; font-size:34vw; line-height:1; letter-spacing:.02em; white-space:nowrap; color:transparent; -webkit-text-stroke:1px rgba(11,13,20,.07); user-select:none; pointer-events:none; }
  .h8-ghost.h8-lit { -webkit-text-stroke:1px rgba(91,61,245,.75); -webkit-mask:radial-gradient(circle 240px at var(--x,-999px) var(--y,-999px), #000, transparent 70%); mask:radial-gradient(circle 240px at var(--x,-999px) var(--y,-999px), #000, transparent 70%); }

/* ---- Header in the paper design: translucent bar, small spaced wordmark, centred links, flat black button ---- */

.topbar {
  background: rgba(245, 245, 248, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.topbar.is-scrolled { border-bottom-color: var(--rule); }

.topbar-inner { height: 74px; }

.brand {
  gap: 12px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.24em;
}

.brand-mark { width: 30px; height: 30px; }

.topbar-links a {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.topbar-links a:hover { color: var(--ink); }
.topbar-links a[aria-current='page'] { color: var(--ink); text-underline-offset: 8px; }

.topbar-cta,
.topbar-cta.button {
  min-height: 0;
  padding: 14px 22px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: none;
}

.topbar-cta .button-pixels,
.topbar-cta .arrow { display: none; }

.topbar-cta:hover { background: var(--accent); }

.menu-toggle {
  border-color: var(--rule-strong);
  font-weight: 400;
  letter-spacing: 0.18em;
}

@media (min-width: 1141px) {
  .topbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; }
  .topbar-sep, .topbar-mail { display: none; }
  .topbar-nav { margin: 0; justify-self: center; }
  .topbar-links { gap: 26px; }
  .topbar-cta { justify-self: end; }
}

@media (max-width: 1140px) {
  .topbar-links { background: var(--bg); }
}

/* The announcement bar, light, with a hairline instead of a black block */

.notice {
  background: var(--bg);
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

.notice .pixel-canvas { display: none; }

.notice-text { padding: 10px 20px; font-size: 0.8rem; font-weight: 300; }

.notice-tag {
  border-color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
}

.notice a {
  color: var(--ink);
  font-weight: 500;
  text-decoration-color: var(--gold);
}

.notice :focus-visible { outline-color: var(--accent); }


/* ---- 03 SEO-first builds: the pixel field stays, the layout is a sticky title beside six ruled points ---- */

.b8 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}

.b8-stick { position: sticky; top: 130px; }

.b8 .b8-num { margin: 0 0 22px; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--gold-light); }

.b8 .b8-label { margin: 0 0 18px; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: #d6d3e6; }

.b8 h2 {
  margin: 0;
  max-width: 14ch;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #f5f6fa;
}

.b8 .b8-note { margin: 22px 0 0; max-width: 40ch; font-size: 1.05rem; font-weight: 300; color: #d6d3e6; }

.b8 .lp-cta { margin-top: 40px; }

.b8-vals { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(199, 184, 255, 0.28); }

.b8-val { padding: 28px 28px 34px 0; border-bottom: 1px solid rgba(199, 184, 255, 0.28); }

.b8-val:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid rgba(199, 184, 255, 0.28); }

.b8-val-num { display: block; margin-bottom: 22px; font-size: 0.8rem; letter-spacing: 0.2em; color: #c7b8ff; }

.b8-val h3 {
  margin: 0 0 10px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #f5f6fa;
}

.b8 .b8-val p { margin: 0; font-size: 0.95rem; font-weight: 300; line-height: 1.65; color: #d6d3e6; }

@media (max-width: 900px) {
  .b8 { grid-template-columns: 1fr; }
  .b8-stick { position: static; }
  .b8-vals { grid-template-columns: 1fr; }
  .b8-val:nth-child(even) { padding-left: 0; border-left: 0; }
}


/* ---- 03, the axis: a thin line with a node per point that lights up as you scroll past ---- */

.b8-steps {
  --p: 0;
  position: relative;
  margin: 0;
  padding: 0 0 0 64px;
  list-style: none;
  counter-reset: none;
}

/* A soft dark pool behind the text instead of a box, so dots never cross the letters */
.b8-steps::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -40px -60px -40px -20px;
  background: radial-gradient(ellipse at 40% 50%, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
}

.b8-steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, #b9a7ff calc(var(--p) * 100%), rgba(199, 184, 255, 0.22) calc(var(--p) * 100%));
}

.b8-step {
  position: relative;
  padding: 30px 0 38px;
  border-bottom: 1px solid rgba(245, 246, 250, 0.1);
}

.b8-step:last-child { border-bottom: 0; }

.b8-step::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 38px;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(199, 184, 255, 0.55);
  border-radius: 50%;
  background: #000;
  transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.b8-step.is-lit::before {
  border-color: #b9a7ff;
  background: #8a6dff;
  box-shadow: 0 0 0 5px rgba(138, 109, 255, 0.18), 0 0 18px rgba(138, 109, 255, 0.7);
}

.b8-step-ghost {
  position: absolute;
  right: 0;
  top: 6px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199, 184, 255, 0.2);
  user-select: none;
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.6s ease;
}

.b8-step.is-lit .b8-step-ghost { -webkit-text-stroke-color: rgba(199, 184, 255, 0.5); }

.b8 .b8-step h3 {
  position: relative;
  margin: 0 0 10px;
  max-width: 22ch;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #f5f6fa;
}

.b8 .b8-step p {
  position: relative;
  max-width: 46ch;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.65;
  color: #d6d3e6;
  padding-right: clamp(64px, 9vw, 130px);
}

@media (max-width: 900px) {
  .b8-steps { padding-left: 48px; }
  .b8-steps::before { left: 14px; }
  .b8-step::before { left: -41px; }
  .b8-step-ghost { font-size: 4rem; opacity: 0.8; }
}

@media (prefers-reduced-motion: reduce) {
  .b8-steps { --p: 1; }
  .b8-step::before { background: #8a6dff; border-color: #b9a7ff; }
}


/* ---- 02 What we do: four tall columns, the one you point at opens and darkens ---- */

.s8 {
  display: flex;
  min-height: 480px;
  border: 1px solid var(--rule);
}

.s8-col {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  padding: 30px 28px 32px;
  border-left: 1px solid var(--rule);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: flex-grow 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.5s ease, color 0.5s ease;
}

.s8-col:first-child { border-left: 0; }

/* The first column is open until you point at another one */
.s8:not(:hover):not(:focus-within) .s8-col:first-child,
.s8-col:hover,
.s8-col:focus-visible { flex-grow: 2.7; }

.s8:hover .s8-col:not(:hover),
.s8:focus-within .s8-col:not(:focus-visible) { flex-grow: 0.75; }

.s8-col:hover,
.s8-col:focus-visible { background: var(--ink); color: #f5f5f8; }

.s8-top { display: flex; flex-direction: column; gap: 14px; }

.s8-ghost {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(3.4rem, 5.6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 13, 20, 0.28);
  transition: -webkit-text-stroke-color 0.5s ease;
}

.s8-col:hover .s8-ghost,
.s8-col:focus-visible .s8-ghost { -webkit-text-stroke-color: #b9a7ff; }

.s8-kick {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.5s ease;
}

.s8-col:hover .s8-kick,
.s8-col:focus-visible .s8-kick { color: #c7b8ff; }

.s8-title {
  margin: auto 0 0;
  padding-top: 28px;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: inherit;
  text-wrap: balance;
}

/* Description, tags and link slide open with the column */
.s8-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease 0.1s;
}

.s8-more > div { min-height: 0; overflow: hidden; }

.s8:not(:hover):not(:focus-within) .s8-col:first-child .s8-more,
.s8-col:hover .s8-more,
.s8-col:focus-visible .s8-more { grid-template-rows: 1fr; opacity: 1; }

.s8-more p {
  margin: 18px 0 0;
  max-width: 40ch;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
  color: inherit;
  opacity: 0.82;
}

.s8-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 0; padding: 0; list-style: none; }

.s8-tags li { font-size: 0.78rem; letter-spacing: 0.02em; color: inherit; opacity: 0.7; }
.s8-tags li + li::before { content: '/'; margin-right: 14px; color: var(--gold); }

.s8-go { display: inline-flex; gap: 10px; margin-top: 22px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); transition: color 0.4s; }
.s8-col:hover .s8-go,
.s8-col:focus-visible .s8-go { color: #e2bd74; }
.s8-go .arrow { transition: transform 0.3s ease; }
.s8-col:hover .s8-go .arrow { transform: translateX(5px); }

/* A small constellation per column that lights up when the column opens */
.s8-net {
  position: absolute;
  right: 22px;
  top: 178px;
  width: clamp(70px, 8vw, 120px);
  overflow: visible;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.s8-net path { fill: none; stroke: var(--ink); stroke-width: 1; stroke-opacity: 0.5; transition: stroke 0.5s ease, stroke-opacity 0.5s ease; }
.s8-net circle { fill: var(--ink); transition: fill 0.5s ease; }

.s8-col:hover .s8-net,
.s8-col:focus-visible .s8-net { opacity: 1; }
.s8-col:hover .s8-net path { stroke: #b9a7ff; stroke-opacity: 0.8; }
.s8-col:hover .s8-net circle { fill: #c7b8ff; }

@media (max-width: 960px) {
  .s8 { flex-direction: column; min-height: 0; }
  .s8-col { flex: none !important; padding: 26px 22px; border-left: 0; border-top: 1px solid var(--rule); }
  .s8-col:first-child { border-top: 0; }
  .s8-ghost { font-size: 3rem; }
  .s8-title { margin-top: 0; }
  .s8-more { grid-template-rows: 1fr; opacity: 1; }
  .s8-col:hover { background: transparent; color: var(--ink); }
  .s8-col:hover .s8-kick { color: var(--ink-soft); }
  .s8-net { top: 24px; }
}

@media (prefers-reduced-motion: reduce) { .s8-col, .s8-more { transition: none; } }


/* ---- 01 Proof: paper like the hero, each figure inside a small painted halo of our mark ---- */

.proof8 {
  position: relative;
  isolation: isolate;
  background: var(--bg);
  padding-top: clamp(70px, 9vw, 130px);
}

.proof8-hills {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 260px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, transparent 100%);
}

.proof8 .sec-head h2 {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.proof8-line { display: block; width: 100%; height: 18px; margin: 0 0 clamp(28px, 4vw, 56px); overflow: visible; }

.proof8-line path {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.5;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: url(#ink);
  transition: stroke-dashoffset 2.4s cubic-bezier(0.5, 0.1, 0.2, 1);
}

.proof8-line.in path { stroke-dashoffset: 0; }

.proof8 .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 48px);
  border-bottom: 0;
}

.proof8 .stat {
  padding: 0;
  border: 0;
  text-align: center;
}

.proof8 .stat:first-child { padding-left: 0; }

.stat-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 290px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.stat-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transform: rotate(-22deg) scale(0.94);
  transition: opacity 1.6s ease calc(var(--i) * 0.18s), transform 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 0.18s);
}

.stat.in .stat-ring svg { opacity: 1; transform: none; }

.stat-spin { transform-box: view-box; transform-origin: 500px 500px; animation: h8k-ringspin 240s linear infinite; }
@keyframes h8k-ringspin { to { transform: rotate(360deg); } }

.proof8 .stat-num {
  position: relative;
  margin: 0;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.3rem, 3.8vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums;
}

.proof8 .stat-label { max-width: 24ch; margin: 22px auto 0; color: var(--ink-soft); }

.proof8 .stat-source {
  margin-top: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

@media (max-width: 900px) {
  .proof8 .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .proof8 .stat:nth-child(n+3) { padding-top: 0; border-top: 0; }
  .proof8 .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 480px) {
  .proof8 .stats { grid-template-columns: minmax(0, 1fr); }
  .stat-ring { width: min(100%, 240px); }
  .proof8 .stat + .stat { padding-top: 0; border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stat-ring svg { opacity: 1; transform: none; transition: none; }
  .stat-spin { animation: none; }
  .proof8-line path { stroke-dashoffset: 0; transition: none; }
}


/* 01 Proof: the painted stroke opens the section, a plain hairline sits under the title, and the halos come up closer */
.proof8 .sec-head {
  border-top: 0;
  border-bottom: 1px solid var(--rule);
  padding-top: 0;
  padding-bottom: clamp(26px, 3.2vw, 44px);
  margin-bottom: clamp(26px, 3.2vw, 44px);
}

.proof8-line { margin: 0 0 clamp(20px, 2.6vw, 34px); }


/* The statement bands in the thin, painted style: a brush stroke on top, light weight type */
.statement-title {
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.statement:not(.statement-light):not(.statement-paper) .statement-title em { font-style: normal; color: #ffffff; }
.statement-paper .statement-title em { font-style: normal; }

.statement-stroke {
  display: block;
  width: calc(100% - 2 * var(--gutter));
  height: 18px;
  margin: 0 auto clamp(40px, 5vw, 70px);
  overflow: visible;
}

.statement-stroke path {
  fill: none;
  stroke: #c7b8ff;
  stroke-opacity: 0.55;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: url(#ink);
  transition: stroke-dashoffset 2.4s cubic-bezier(0.5, 0.1, 0.2, 1);
}

.statement-stroke.in path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) { .statement-stroke path { stroke-dashoffset: 0; transition: none; } }


/* The first statement on paper like the hero. The hand-drawn stroke is what separates it from the hero above. */
.statement-paper {
  background: var(--bg);
  padding-top: clamp(28px, 3.6vw, 52px);
}

.statement-paper .statement-stroke { margin-bottom: clamp(70px, 9vw, 140px); }

.statement-paper .statement-stroke path {
  stroke: var(--ink);
  stroke-opacity: 0.9;
  stroke-width: 2.6;
  filter: url(#soft);
}

.statement-paper .statement-title { color: var(--ink); }
.statement-paper .statement-title em { color: var(--accent); }
.statement-paper .statement-text { color: var(--ink-soft); }
.statement-paper .statement-ghost { -webkit-text-stroke-color: rgba(11, 13, 20, 0.07); }
.statement-paper .statement-ghost.lit { -webkit-text-stroke-color: rgba(91, 61, 245, 0.7); }


/* The brush strokes are revealed left to right, like a stroke being pulled across the page */
.statement-stroke,
.proof8-line {
  -webkit-clip-path: inset(-12px 100% -12px 0);
  clip-path: inset(-12px 100% -12px 0);
  transition: clip-path 2.8s cubic-bezier(0.55, 0.08, 0.25, 1), -webkit-clip-path 2.8s cubic-bezier(0.55, 0.08, 0.25, 1);
}

.statement-stroke.in,
.proof8-line.in {
  -webkit-clip-path: inset(-12px 0 -12px 0);
  clip-path: inset(-12px 0 -12px 0);
}

.statement-stroke path,
.proof8-line path {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .statement-stroke, .proof8-line { -webkit-clip-path: none; clip-path: none; transition: none; }
}


/* ---- Scroll chapters, second version: the painted halo opens on paper and a violet watercolour spreads from it ---- */

.chapter { background: var(--bg); }

.chapter-stage { background: var(--bg); }

.has-chapters .chapter-panel {
  background: transparent;
  clip-path: none;
  -webkit-clip-path: none;
  z-index: 2;
}

.chapter-label span { color: var(--gold-light); }

.chapter-title {
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.ch-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}

.ch-wash,
.ch-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: visible; }

/* 160vmax wide, so a blob of radius 100 units always covers the corners */
.ch-wash { width: 170vmax; height: 170vmax; }

.ch-wash .w { transform-box: view-box; transform-origin: 0 0; }
.ch-wash .w1 { transform: scale(max(0.001, calc(var(--g) * 1.00))); }
.ch-wash .w2 { transform: scale(max(0.001, calc(var(--g) * 1.07 - 0.02))); }
.ch-wash .w3 { transform: scale(max(0.001, calc(var(--g) * 1.16 - 0.04))); }
.ch-wash .w4 { transform: scale(max(0.001, calc(var(--g) * 0.84))); }

.ch-ring {
  width: min(64vh, 58vw);
  height: min(64vh, 58vw);
  opacity: clamp(0, calc(1.9 - var(--g) * 2.3), 1);
  scale: calc(1 + var(--g) * 0.28);
}

.ch-spin { transform-box: view-box; transform-origin: 500px 500px; animation: h8k-ringspin 180s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .ch-wash .w { transform: scale(1) !important; }
  .ch-ring { display: none; }
}

@media (max-width: 960px) { .ch-ring { width: min(70vw, 52vh); height: min(70vw, 52vh); } }


/* ---- 02 columns, matched to the painted look: no box, a brush line on top, a watercolour bloom instead of black, painted halo instead of dots ---- */

.s8 {
  border: 0;
  border-top: 0;
  min-height: 500px;
}

.s8-col { border-left: 1px solid var(--rule); }

.s8-col:hover,
.s8-col:focus-visible { background: transparent; color: #f5f5f8; }

.s8-bloom {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 280%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}

.s8-bloom .b { transform-box: view-box; transform-origin: 0 0; transform: scale(0.001); transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.s8-bloom .w4 { transition-delay: 0.14s; }
.s8-bloom .w1 { transition-delay: 0.05s; }
.s8-bloom .w2 { transition-delay: 0.08s; }

.s8-col:hover .s8-bloom .b,
.s8-col:focus-visible .s8-bloom .b { transform: scale(0.64); }
.s8-col:hover .s8-bloom .w2,
.s8-col:focus-visible .s8-bloom .w2 { transform: scale(0.7); }
.s8-col:hover .s8-bloom .w3,
.s8-col:focus-visible .s8-bloom .w3 { transform: scale(0.77); }
.s8-col:hover .s8-bloom .w4,
.s8-col:focus-visible .s8-bloom .w4 { transform: scale(0.54); }

.s8-col { isolation: isolate; }

/* the number, label and text turn light on the bloom */
.s8-col:hover .s8-ghost,
.s8-col:focus-visible .s8-ghost { -webkit-text-stroke-color: #ffffff; }

.s8-col:hover .s8-kick,
.s8-col:focus-visible .s8-kick { color: #e0d8ff; }

.s8-net {
  top: 170px;
  width: clamp(76px, 8.4vw, 120px);
  opacity: 0.8;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.s8-net path { stroke: none; }
.s8-net circle { fill: none; }

.s8-spin { transform-box: view-box; transform-origin: 500px 500px; animation: h8k-ringspin 200s linear infinite; }

.s8-col:hover .s8-net { transform: scale(1.12); }

@media (max-width: 960px) {
  .s8-bloom { display: none; }
  .s8-col:hover { background: transparent; color: var(--ink); }
}


/* ---- No scroll chapters and no bloom: calm section heads, and a quiet highlight on the columns ---- */

.sec8 .sec-head h2,
.sec8 .work-head h2 {
  max-width: 17ch;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.sec8 { background: var(--bg); }

.s8-col:hover,
.s8-col:focus-visible {
  background: rgba(91, 61, 245, 0.05);
  color: var(--ink);
  box-shadow: inset 0 3px 0 var(--accent);
}

.s8-col:hover .s8-ghost,
.s8-col:focus-visible .s8-ghost { -webkit-text-stroke-color: var(--accent); }

.s8-col:hover .s8-kick,
.s8-col:focus-visible .s8-kick { color: var(--accent); }

.s8-col:hover .s8-go,
.s8-col:focus-visible .s8-go { color: var(--accent); }

.s8-col:hover .s8-net { transform: none; }


/* ---- 04 Ways to work together: no boxes. Two paths on paper, a hairline between them, ring bullets ---- */

#work .work-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); }

#work .work-head.sec-head {
  position: static;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-bottom: 0;
  padding-top: 0;
  border-top: 0;
}

#work .work-head.sec-head > .sec-label { grid-column: 1 / span 3; padding-top: 0.9em; }
#work .work-head.sec-head > h2 { grid-column: 4 / -1; }
#work .work-head.sec-head > .sec-note { grid-column: 8 / -1; }

@media (max-width: 860px) {
  #work .work-head.sec-head > * { grid-column: 1 / -1; }
}

#work .work-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  border-top: 1px solid var(--rule);
}

#work .panel {
  position: relative;
  padding: clamp(30px, 3.6vw, 56px) clamp(24px, 3.2vw, 52px) clamp(34px, 4vw, 60px) 0;
  background: transparent;
}

#work .work-cards .panel + .panel {
  padding-left: clamp(24px, 3.2vw, 52px);
  padding-right: 0;
  border-left: 1px solid var(--rule);
  background: rgba(91, 61, 245, 0.05);
}

#work .panel h3 {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  letter-spacing: -0.035em;
  color: var(--ink);
}

#work .panel p { color: var(--ink-soft); }
#work .work-cards .panel + .panel h3 { color: var(--ink); }
#work .work-cards .panel + .panel p { color: var(--ink-soft); }
#work .work-cards .panel + .panel .ticks li { color: var(--ink); }
#work .work-cards .panel + .panel .ticks { border-top-color: var(--rule); }
#work .work-cards .panel + .panel .ticks li { border-bottom-color: var(--rule); }
#work .work-cards .panel + .panel .panel-foot { border-top-color: var(--rule); }

#work .ticks li { align-items: center; padding: 15px 0; }

#work .ticks li::before {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 50%;
  transform: none;
}

.way-ring {
  position: absolute;
  top: clamp(26px, 3.2vw, 48px);
  right: clamp(8px, 2vw, 28px);
  width: clamp(54px, 6vw, 84px);
}

.way-spin { transform-box: view-box; transform-origin: 500px 500px; animation: h8k-ringspin 200s linear infinite; }

@media (max-width: 860px) {
  #work .work-cards { grid-template-columns: minmax(0, 1fr); }
  #work .work-cards .panel + .panel { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); background: transparent; }
}


/* The first statement band, back as it was: black, light-lilac capitals in the regular weight */
.statement:not(.statement-light) .statement-title {
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.015em;
}


/* 01 Proof: the original design, with one painted halo as a quiet companion beside the title */
.proof-host { position: relative; overflow: hidden; isolation: isolate; }

.proof-halo {
  position: absolute;
  z-index: -1;
  top: clamp(14px, 2.4vw, 44px);
  right: clamp(-40px, -1vw, -6px);
  width: clamp(150px, 19vw, 280px);
  overflow: visible;
  opacity: 0;
  transform: rotate(-24deg) scale(0.94);
  transition: opacity 1.8s ease, transform 2.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.proof-halo.in { opacity: 1; transform: none; }

.proof-spin { transform-box: view-box; transform-origin: 500px 500px; animation: h8k-ringspin 240s linear infinite; }

@media (max-width: 860px) { .proof-halo { opacity: 0.35 !important; width: 200px; top: 12px; } }

@media (prefers-reduced-motion: reduce) {
  .proof-halo { opacity: 1; transform: none; transition: none; }
  .proof-spin { animation: none; }
}


/* The halo sits behind the end of the title, so the words cross it a little */
#proof .sec-head { position: relative; }

#proof .proof-halo {
  top: clamp(-80px, -5vw, -28px);
  left: 52%;
  right: auto;
  width: clamp(170px, 22vw, 320px);
}


/* ---- 04, redone as an editorial index: oversized names, an offset column of plain lines, no cards ---- */

#work .work-grid { gap: 0; }

#work .work-head.sec-head { margin-bottom: clamp(36px, 5vw, 72px); }

.w8 { grid-column: 1 / -1; }

.w8-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  padding-block: clamp(34px, 4.4vw, 64px);
}

.w8-name { grid-column: 1 / span 6; position: relative; }

.w8-idx {
  display: block;
  margin-bottom: clamp(14px, 2vw, 26px);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold-ink);
}

.w8-name h3 {
  margin: 0;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
}

.w8-body { grid-column: 7 / span 6; align-self: start; }

.w8-lede {
  margin: 0;
  max-width: 34ch;
  font-size: 1.12rem;
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
}

.w8-list {
  margin: clamp(26px, 3vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.w8-list li {
  display: grid;
  grid-template-columns: 3.2ch minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
}

.w8-list li span { font-size: 0.7rem; letter-spacing: 0.16em; padding-top: 0.25em; color: var(--gold-ink); }

.w8-foot { margin: 20px 0 0; max-width: 40ch; font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); }

.w8 > .proof8-line { margin: 0; }

@media (max-width: 960px) {
  .w8-name { grid-column: 1 / -1; }
  .w8-body { grid-column: 1 / -1; margin-top: 28px; }
  .w8-name h3 { font-size: clamp(2rem, 8vw, 3rem); }
}


/* ---- 04 as a comparison of the two packages: row labels on the left, the two offers side by side ---- */

.t8 {
  grid-column: 1 / -1;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.t8 thead td { width: 21%; }

.t8 th,
.t8 td {
  padding: clamp(22px, 2.6vw, 38px) clamp(20px, 2.6vw, 40px) clamp(22px, 2.6vw, 38px) 0;
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.t8 th[scope='col'] + th[scope='col'],
.t8 td + td { padding-left: clamp(20px, 2.6vw, 40px); padding-right: 0; border-left: 1px solid var(--rule); }

.t8 thead th,
.t8 thead td { padding-top: 0; padding-bottom: clamp(20px, 2.4vw, 34px); }

.t8 thead th {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.t8-idx {
  display: block;
  margin-bottom: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold-ink);
}

.t8 tbody tr { border-top: 1px solid var(--rule); }
.t8 tbody tr:last-child { border-bottom: 1px solid var(--rule); }

.t8 tbody th {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.t8-lede { margin: 0; max-width: 34ch; font-size: 1.1rem; line-height: 1.5; font-weight: 300; color: var(--ink); }

.t8-note { margin: 0; max-width: 36ch; font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); }

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

.t8-list li {
  display: grid;
  grid-template-columns: 3.2ch minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
}

.t8-list li:first-child { padding-top: 0; }
.t8-list li + li { border-top: 1px solid var(--rule); }
.t8-list li span { font-size: 0.7rem; letter-spacing: 0.16em; padding-top: 0.25em; color: var(--gold-ink); }

@media (max-width: 860px) {
  .t8, .t8 thead, .t8 tbody, .t8 tr, .t8 th, .t8 td { display: block; width: 100%; }
  .t8 thead tr { display: none; }
  .t8 tbody tr { padding: 22px 0; }
  .t8 tbody th { padding: 0 0 12px; }
  .t8 td { padding: 0 0 20px !important; border-left: 0 !important; }
  .t8 td::before { content: attr(data-label); display: block; margin-bottom: 10px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
}


/* ---- 06 About, redone as an editorial spread: a large outline initial, name and role, then the text in a narrow column ---- */

.a8-person {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
  padding-block: clamp(40px, 5.4vw, 84px);
}

.a8-id { grid-column: 1 / span 5; }
.a8-bio { grid-column: 7 / span 6; }

.a8-flip .a8-bio { grid-column: 1 / span 6; grid-row: 1; }
.a8-flip .a8-id { grid-column: 8 / span 5; grid-row: 1; }

.a8-initial {
  display: block;
  margin: 0 0 clamp(8px, 1vw, 16px) -0.04em;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(6rem, 12vw, 11rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 13, 20, 0.3);
}

.a8-id h3 {
  margin: 0;
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}

.a8-role {
  margin: 12px 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.a8-bio {
  margin: 0;
  max-width: 58ch;
  padding-top: clamp(2px, 1vw, 12px);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-soft);
}

.a8-bio::first-line { color: var(--ink); }

.about8 .proof8-line { margin: 0; }

.a8-together {
  max-width: 40ch;
  margin: clamp(40px, 5vw, 76px) 0 0 calc(100% / 12 * 3);
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.45rem, 2.6vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.a8-hl { color: var(--accent); }

@media (max-width: 860px) {
  .a8-id, .a8-bio, .a8-flip .a8-id, .a8-flip .a8-bio { grid-column: 1 / -1; grid-row: auto; }
  .a8-bio { margin-top: 22px; }
  .a8-together { margin-left: 0; }
}

.about8 .a8-together { color: var(--ink); }
.about8 .a8-role { color: var(--gold-ink); }
.about8 .a8-bio { color: var(--ink-soft); }


/* ---- 05 The idea behind the mark, at night: the diagram stands directly on a dark section, the text beside it in thin type ---- */

.mark8 { background: #0b0d14; color: #f5f5f8; }

.mark8 .halo-grid { gap: clamp(36px, 7vw, 120px); align-items: center; }

.mark8 .halo-figure { margin: 0; }
.mark8 .halo-figure::before { display: none; }
.mark8 .halo-figure svg { max-width: 560px; margin-inline: auto; }
.mark8 .halo-figure svg rect[fill="url(#haloSky)"] { display: none; }

.mark8 .halo-mark { width: 54px; height: 54px; margin: 0 0 26px; }

.mark8 .sec-label { color: #d6d3e6; }
.mark8 .sec-num { color: var(--gold-light); }

.mark8 .halo-copy h2 {
  max-width: 14ch;
  margin-bottom: clamp(22px, 2.4vw, 34px);
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #f5f5f8;
}

.mark8 .halo-copy p:not(.sec-label) {
  max-width: 48ch;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245, 245, 248, 0.76);
}

.mark8 .halo-copy p:not(.sec-label):first-of-type { color: #f5f5f8; font-size: 1.12rem; }


/* Ink-wash ridges in mist behind the whole Scale section, painted in as it scrolls into view */
.proof-ink {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.proof-ink .pk-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3.2s cubic-bezier(0.45, 0.1, 0.25, 1); }
.proof-ink .pk-a, .proof-ink .pk-c, .proof-ink .pk-d { opacity: 0; transition: opacity 2.4s ease; }
.proof-ink.in .pk-line { stroke-dashoffset: 0; }
.proof-ink.in .pk-b2 { transition-delay: 1.6s; }
.proof-ink.in .pk-a { opacity: 1; }
.proof-ink.in .pk-c { opacity: 1; transition-delay: 1.2s; }
.proof-ink.in .pk-d { opacity: 1; transition-delay: 2.4s; }

@media (max-width: 860px) { .proof-ink { opacity: 0.55; } }

@media (prefers-reduced-motion: reduce) {
  .proof-ink .pk-line { stroke-dashoffset: 0; transition: none; }
  .proof-ink .pk-a, .proof-ink .pk-c, .proof-ink .pk-d { opacity: 1; transition: none; }
}

.see-host { position: relative; overflow: hidden; isolation: isolate; }

.see-ink .drop { opacity: 0; transition: opacity 2.2s ease; }
.see-ink.in .drop { opacity: 1; transition-delay: calc(0.3s + var(--i) * 0.6s); }
.see-ink .pk-line { transition-duration: 4.2s; }
@media (prefers-reduced-motion: reduce) { .see-ink .drop { opacity: 1; transition: none; } }

.exp-host { position: relative; overflow: hidden; isolation: isolate; }
.exp-ink { height: 34%; top: auto; bottom: 0; }
.exp-ink .exp-soak { opacity: 0; transition: opacity 2.6s ease; }
.exp-ink.in .exp-soak { opacity: 1; }
.exp-ink .pk-line { transition-duration: 3.6s; }
.exp-ink.in .pk-late { transition-delay: 1s; }
@media (prefers-reduced-motion: reduce) { .exp-ink .exp-soak { opacity: 1; transition: none; } }

.how-host { position: relative; overflow: hidden; isolation: isolate; }
.how-ink { height: 62%; top: auto; bottom: 0; }
.how-ink .pk-line { transition-duration: 3.6s; }
.how-ink .drop { opacity: 0; transition: opacity 2.2s ease; }
.how-ink.in .drop { opacity: 1; transition-delay: calc(1s + var(--i) * 0.4s); }
@media (prefers-reduced-motion: reduce) { .how-ink .drop { opacity: 1; transition: none; } }
