/* ============================================================
   CACOYANNIS LIMITED — DESIGN SYSTEM v2
   Art Direction Refinement Pass — 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;1,300&family=IBM+Plex+Serif:ital,wght@0,300;1,300&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --c-white:   #FFFFFF;
  --c-off:     #FAFAFA;
  --c-surface: #F5F5F4;
  --c-ink:     #0A0A0A;
  --c-ink-2:   #1A1A1A;
  --c-ink-4:   #404040;
  --c-ink-6:   #6B6B6B;
  --c-rule:    #E8E8E6;
  --c-rule-2:  #EFEFED;
  --c-dark:    #0A0A0A;
  --c-dark-2:  #111111;
  --c-accent:  #140BBC;   /* signature accent — use sparingly, ~5% of colour usage */

  /* fluid type — rebalanced: max sizes reduced 12–18% */
  --t-display:  clamp(3.75rem, 8.5vw, 9rem);
  --t-h1:       clamp(3rem,    6.5vw, 7rem);
  --t-h2:       clamp(2.25rem, 4.5vw, 4.75rem);
  --t-h3:       clamp(1.5rem,  2.2vw, 2.4rem);
  --t-h4:       clamp(1.1rem,  1.5vw, 1.4rem);
  --t-lead:     clamp(1.05rem, 1.5vw, 1.25rem);
  --t-body:     1rem;
  --t-small:    0.9rem;
  --t-label:    0.6875rem;

  /* spacing — balanced for content density */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  3.5rem;
  --sp-xl:  5rem;
  --sp-2xl: 7.5rem;
  --sp-3xl: 10rem;

  --gutter:   clamp(1.5rem, 5vw, 5rem);
  --grid-max: 1440px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:     cubic-bezier(0.76, 0, 0.24, 1);
  --dur-f: 0.25s;
  --dur-m: 0.55s;
  --dur-s: 0.95s;
  --dur-xs: 1.3s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--c-white);
  color: var(--c-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ── PAGE TRANSITION ────────────────────────────────────── */
.page-transition {
  position: fixed; inset: 0;
  background: var(--c-ink);
  z-index: 9999;
  transform: translateY(100%);
  pointer-events: none;
}
.page-transition.enter { animation: curtain-in var(--dur-m) var(--ease-io) forwards; }
.page-transition.exit  { animation: curtain-out var(--dur-m) var(--ease-io) forwards; }

@keyframes curtain-in  { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes curtain-out { from { transform: translateY(0); }    to { transform: translateY(-100%); } }

/* ── REVEAL ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--dur-s) var(--ease-out),
              transform var(--dur-s) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }
.reveal-delay-5 { transition-delay: 0.62s; }

.reveal-line { overflow: hidden; }
.reveal-line span {
  display: block;
  transform: translateY(108%);
  transition: transform var(--dur-xs) var(--ease-out);
}
.reveal-line.is-visible span { transform: translateY(0); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--grid-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── NAVIGATION — quiet, editorial ─────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.75rem var(--gutter);   /* reduced from 2.25rem to compensate for larger logo */
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--dur-m) var(--ease-out),
              backdrop-filter var(--dur-m) var(--ease-out),
              padding var(--dur-m) var(--ease-out),
              border-color var(--dur-m) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding-block: 1.1rem;            /* reduced from 1.375rem */
  border-color: var(--c-rule);
}

/* Logo */
.nav__logo { display: flex; align-items: center; }
.nav__logo img {
  height: 32px;          /* was 22px — 45% increase */
  width: auto;
  transition: opacity var(--dur-f);
}
.nav__logo:hover img { opacity: 0.6; }

/* Links — minimal, right-side only */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 2.5vw, 2.5rem);
}
.nav__link {
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-6);
  position: relative;
  transition: color var(--dur-f);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--c-ink);
  transition: width var(--dur-m) var(--ease-out);
}
.nav__link:hover { color: var(--c-ink); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; background: var(--c-accent); }
.nav__link.active { color: var(--c-accent); }

/* dark-bg states */
.nav.dark-bg .nav__logo img    { filter: invert(1); }
.nav.dark-bg .nav__link        { color: rgba(255,255,255,0.5); }
.nav.dark-bg .nav__link:hover  { color: rgba(255,255,255,0.9); }
.nav.dark-bg .nav__link::after { background: #fff; }
.nav.dark-bg .nav__menu-btn span { background: #fff; }
.nav.scrolled.dark-bg .nav__logo img { filter: none; }
.nav.scrolled.dark-bg .nav__link    { color: var(--c-ink-6); }
.nav.scrolled.dark-bg .nav__link:hover { color: var(--c-ink); }
.nav.scrolled.dark-bg .nav__link::after { background: var(--c-ink); }
.nav.scrolled.dark-bg .nav__menu-btn span { background: var(--c-ink); }

/* Mobile toggle */
.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  padding: 2px 0;
}
.nav__menu-btn span {
  display: block;
  height: 1px;
  background: var(--c-ink);
  transition: transform var(--dur-m) var(--ease-out),
              opacity var(--dur-f),
              width var(--dur-m) var(--ease-out);
  transform-origin: left center;
}
.nav__menu-btn span:nth-child(2) { width: 65%; }
.nav__menu-btn.open span:nth-child(1) { transform: rotate(45deg); }
.nav__menu-btn.open span:nth-child(2) { opacity: 0; }
.nav__menu-btn.open span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile overlay */
.nav__mobile {
  display: none;
  position: fixed; inset: 0;
  background: var(--c-white);
  z-index: 99;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-m) var(--ease-out);
}
.nav__mobile.open { display: flex; opacity: 1; pointer-events: all; }

.nav__mobile-link {
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--c-ink);
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--c-rule);
  transition: opacity var(--dur-f), padding-left var(--dur-m) var(--ease-out);
}
.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-link:hover { opacity: 0.4; padding-left: 0.75rem; }

/* ── TYPOGRAPHY PRIMITIVES ──────────────────────────────── */
.t-display {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: var(--t-display);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.t-h1 {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: var(--t-h1);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.92;
}
.t-h2 {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: var(--t-h2);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.t-h3 {
  font-size: var(--t-h3);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.t-h4 {
  font-size: var(--t-h4);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.t-lead {
  font-size: var(--t-lead);
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-ink-4);
}
.t-body {
  font-size: var(--t-body);
  font-weight: 300;
  line-height: 1.8;
  color: var(--c-ink-4);
}
.t-small {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.75;
  color: var(--c-ink-6);
}
.t-label {
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-6);
}
.t-num {
  font-size: var(--t-label);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--c-ink-6);
  font-variant-numeric: tabular-nums;
}
em.serif { font-family: 'IBM Plex Serif', Georgia, serif; font-style: italic; }

/* Accent emphasis — use max once per major headline statement */
.accent {
  color: var(--c-accent);
  font-style: inherit;
}

/* ── EDITORIAL LINK ─────────────────────────────────────── */
.ed-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink);
  position: relative;
  transition: color var(--dur-f);
}
.ed-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--c-ink);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform var(--dur-m) var(--ease-out),
              background var(--dur-f);
}
.ed-link:hover { color: var(--c-accent); }
.ed-link:hover::after { transform: scaleX(0); background: var(--c-accent); }
.ed-link:hover .ed-link__arrow { transform: translateX(5px); }
.ed-link__arrow {
  display: inline-block;
  transition: transform var(--dur-m) var(--ease-out);
}

/* Light version */
.ed-link--light { color: rgba(255,255,255,0.7); }
.ed-link--light::after { background: rgba(255,255,255,0.4); }
.ed-link--light:hover  { color: #fff; }

/* ── INLINE UNDERLINE ───────────────────────────────────── */
.ul-link {
  position: relative;
  transition: color var(--dur-f);
}
.ul-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--c-accent);
  opacity: 0;
  transform-origin: right;
  transition: transform var(--dur-m) var(--ease-out), opacity var(--dur-f);
}
.ul-link:hover { color: var(--c-accent); }
.ul-link:hover::after { transform: scaleX(1); opacity: 1; transform-origin: left; }

/* ── RULE ───────────────────────────────────────────────── */
.rule {
  border: none;
  border-top: 1px solid var(--c-rule);
}

/* ── CURSOR ─────────────────────────────────────────────── */
.cursor {
  width: 8px; height: 8px;
  background: var(--c-ink);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transition: transform 0.08s var(--ease-out);
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(10,10,10,0.35);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: difference;
  transition: transform 0.32s var(--ease-out),
              width 0.32s var(--ease-out),
              height 0.32s var(--ease-out);
}
.cursor.active      { transform: scale(3.5); }
.cursor-ring.active { width: 52px; height: 52px; }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ── MAGNETIC ───────────────────────────────────────────── */
.magnetic { display: inline-block; }

/* ============================================================
   HOME PAGE
   ============================================================ */

/* ── HERO — two-column: text left / SVG right ────────────── */
.hero {
  min-height: 100svh;
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  padding-top: 5rem;
  padding-bottom: 0;
  position: relative;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-bottom: clamp(1.75rem, 3vw, 3rem);
}

/* Two-column body: text left, SVG right */
.hero__body {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  flex: 1;
  padding-top: clamp(1.5rem, 3vw, 3rem);
}

/* Hero text column — kicker sits at top of grid cell */
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.2s forwards;
}
.hero__kicker::before {
  content: '';
  display: block;
  width: 2.5rem; height: 1px;
  background: var(--c-rule);
}

/* Headline — reduced from 11rem max to 8.5rem */
.hero__headline {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--c-ink);
  max-width: 13ch;
  opacity: 0;
  animation: fade-up 1.2s var(--ease-out) 0.35s forwards;
  flex-shrink: 0;
}
.hero__headline em {
  font-style: italic;
  color: var(--c-ink-6);
}

.hero__footer-row {
  display: grid;
  grid-template-columns: 1fr;   /* single column inside text col */
  gap: var(--sp-md);
  padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
  border-top: 1px solid var(--c-rule);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 0.75s forwards;
}

.hero__copy {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--c-ink-4);
  max-width: 50ch;
}

.hero__nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

/* ── Hero SVG column ─────────────────────────────────────── */
.hero__svg-col {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fade-up 1.2s var(--ease-out) 0.5s forwards;
}

.hero__svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

/* ── Hero SVG animations ─────────────────────────────────── */

/* Dash-draw path animation */
@keyframes draw-path {
  to { stroke-dashoffset: 0; }
}

/* Fade in */
@keyframes svg-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Pulse ring */
@keyframes pulse-ring {
  0%   { r: 4; opacity: 0.6; }
  50%  { r: 8; opacity: 0.15; }
  100% { r: 4; opacity: 0.6; }
}

/* Data packet travels along a path */
@keyframes packet-flow-1 {
  0%   { offset-distance: 0%;   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes packet-flow-2 {
  0%   { offset-distance: 0%;   opacity: 0; }
  5%   { opacity: 0.7; }
  95%  { opacity: 0.7; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Blinking cursor */
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%,100% { opacity: 0; }
}

/* Scan line sweep */
@keyframes scan-line {
  from { transform: translateY(0); opacity: 0.06; }
  to   { transform: translateY(340px); opacity: 0; }
}

/* Float drift — nodes gently oscillate */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
@keyframes float-y2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* Bracket flicker */
@keyframes bracket-in {
  0%,100% { opacity: 0.18; }
  50%     { opacity: 0.55; }
}

/* ── Hero responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__body {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .hero__svg-col {
    order: 2;
    margin-top: 0;
  }
  .hero__svg { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .hero__svg { max-width: 300px; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── WHAT WE DO — sticky left label, scroll items ──────── */
.what-we-do {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  background: var(--c-white);
}

.what-we-do__header {
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--c-rule);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-lg);
}

.what-we-do__header-title {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--c-ink);
  max-width: 12ch;
}

.what-we-do__items {
  display: flex;
  flex-direction: column;
}

.wwd-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--sp-lg);
  align-items: start;
  padding-block: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--c-rule);
  position: relative;
  overflow: hidden;
}
.wwd-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-surface);
  transform: translateY(100%);
  transition: transform var(--dur-m) var(--ease-out);
  z-index: 0;
}
.wwd-item:hover::before { transform: translateY(0); }
.wwd-item > * { position: relative; z-index: 1; }

.wwd-item__title {
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--c-ink);
  margin-bottom: 1.25rem;
}
.wwd-item__text {
  font-size: var(--t-small);
  line-height: 1.85;
  color: var(--c-ink-6);
  max-width: 52ch;
}

/* ── APPROACH — dark, full-bleed, text-only ─────────────── */
.approach {
  background: var(--c-dark);
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  position: relative;
  overflow: hidden;
}
.approach__bg-text {
  position: absolute;
  bottom: -4vw; right: -2vw;
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 22vw;
  font-weight: 300;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.approach__label { color: rgba(255,255,255,0.3); margin-bottom: var(--sp-xl); }

.approach__statement {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2.75rem, 6vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: rgba(255,255,255,0.92);
  max-width: 16ch;
  margin-bottom: var(--sp-xl);
}
.approach__statement em { font-style: italic; color: rgba(255,255,255,0.45); }

.approach__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.approach__col {
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.approach__col:last-child { border-right: none; }
.approach__col-num {
  font-size: var(--t-label);
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}
.approach__col-title {
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.approach__col-text {
  font-size: var(--t-small);
  line-height: 1.85;
  color: rgba(255,255,255,0.35);
}

/* ── SERVICES PREVIEW — pure typography list ────────────── */
.services-preview {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  background: var(--c-off);
}

.sp-intro {
  margin-bottom: var(--sp-2xl);
  max-width: 22ch;
}
.sp-intro__label { margin-bottom: var(--sp-lg); }
.sp-intro__headline {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2.5rem, 5.5vw, 5.75rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--c-ink);
}

.sp-list { display: flex; flex-direction: column; }

.sp-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: baseline;
  gap: var(--sp-md);
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
  border-top: 1px solid var(--c-rule);
  position: relative;
  overflow: hidden;
  transition: color var(--dur-f);
}
.sp-row::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--c-ink);
  transition: width var(--dur-s) var(--ease-out);
}
.sp-row:hover::after { width: 100%; }

.sp-row__name {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-ink);
  transition: opacity var(--dur-f);
}
.sp-row:hover .sp-row__name { opacity: 0.5; }

.sp-row__arrow {
  font-size: 1.25rem;
  color: var(--c-ink-6);
  transform: translateX(-12px);
  opacity: 0;
  transition: transform var(--dur-m) var(--ease-out), opacity var(--dur-m);
}
.sp-row:hover .sp-row__arrow { transform: translateX(0); opacity: 1; }

/* ── COMPANY OVERVIEW — off-axis, text dominant ─────────── */
.company-overview {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  background: var(--c-white);
}

.co-inner {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(4rem, 8vw, 10rem);
  align-items: start;
}

.co-headline {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: var(--c-ink);
  margin-bottom: var(--sp-xl);
}
.co-headline em { font-style: italic; color: var(--c-ink-6); }

.co-text {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--c-ink-4);
  max-width: 52ch;
  margin-bottom: var(--sp-md);
}

.co-meta { display: flex; flex-direction: column; }

.co-meta-item {
  padding-block: var(--sp-lg);
  border-bottom: 1px solid var(--c-rule);
}
.co-meta-item:first-child { padding-top: 0; }
.co-meta-item:last-child  { border-bottom: none; }

.co-meta-label {
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-6);
  margin-bottom: 0.6rem;
}
.co-meta-value {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.75;
  color: var(--c-ink-4);
}
.co-meta-value a { transition: opacity var(--dur-f); }
.co-meta-value a:hover { opacity: 0.5; }

/* ── FINAL CTA — editorial statement, no buttons ────────── */
.final-cta {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  background: var(--c-surface);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: end;
}

.final-cta__headline {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2.75rem, 6vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.93;
  color: var(--c-ink);
}
.final-cta__headline em { font-style: italic; color: var(--c-ink-6); }

.final-cta__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-md);
  padding-bottom: 0.5rem;
}
.final-cta__subtext {
  font-size: var(--t-lead);
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-ink-4);
  max-width: 36ch;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ── PAGE OPENER ─────────────────────────────────────────── */
.pg-open {
  padding-top: 10rem;
  padding-bottom: var(--sp-lg);
}
.pg-open__label { margin-bottom: var(--sp-md); }
.pg-open__title {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--c-ink);
  max-width: 14ch;
}
.pg-open__title em { font-style: italic; color: var(--c-ink-6); }

/* ── WHO WE ARE — full-width, text mass ─────────────────── */
.about-who {
  padding-top: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
  background: var(--c-white);
  border-top: 1px solid var(--c-rule);
}
.about-who__label { margin-bottom: var(--sp-xl); }

.about-who__body {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(4rem, 8vw, 10rem);
  align-items: start;
}

.about-who__large {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--c-ink);
  margin-bottom: var(--sp-xl);
}

.about-who__text {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--c-ink-4);
  max-width: 52ch;
  margin-bottom: var(--sp-md);
}

.about-who__aside {
  padding-top: 0.5rem;
}
.about-who__aside-item {
  padding-block: var(--sp-lg);
  border-bottom: 1px solid var(--c-rule);
}
.about-who__aside-item:last-child { border-bottom: none; }

/* ── MISSION — full width dark quote ────────────────────── */
.about-mission {
  background: var(--c-dark);
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}
.about-mission__label { color: rgba(255,255,255,0.3); margin-bottom: var(--sp-xl); }

.about-mission__quote {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(255,255,255,0.88);
  max-width: 22ch;
  margin-bottom: var(--sp-lg);
}

.about-mission__text {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.38);
  max-width: 52ch;
}

/* ── VALUES — numbered, editorial, no cards ─────────────── */
.about-values {
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  background: var(--c-surface);
}
.about-values__label { margin-bottom: var(--sp-xl); }

.about-values__list { display: flex; flex-direction: column; }

.av-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--c-rule);
}
.av-item__title {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  line-height: 1.2;
}
.av-item__text {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.85;
  color: var(--c-ink-6);
  max-width: 48ch;
}

/* ── HOW WE WORK — full white, offset ───────────────────── */
.about-approach {
  padding-top: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
  background: var(--c-white);
}
.about-approach__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(4rem, 8vw, 10rem);
  align-items: start;
}
.about-approach__sticky {
  position: sticky;
  top: 8rem;
}
.about-approach__label { margin-bottom: var(--sp-xl); }

.about-approach__statement {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--c-ink);
}

.about-approach__paras { display: flex; flex-direction: column; gap: var(--sp-lg); }
.about-approach__para {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--c-ink-4);
  max-width: 55ch;
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--c-rule);
}
.about-approach__para:first-child { border-top: none; padding-top: 0; }

/* ── COMPANY INFO — light surface, clean grid ───────────── */
.about-info {
  padding-top: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
  background: var(--c-off);
  border-top: 1px solid var(--c-rule);
}
.about-info__label { margin-bottom: var(--sp-xl); }

.about-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--c-rule);
}
.about-info__cell {
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid var(--c-rule);
}
.about-info__cell:nth-child(3n) { border-right: none; }
.about-info__cell-label {
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-6);
  margin-bottom: 0.75rem;
}
.about-info__cell-value {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.8;
  color: var(--c-ink-4);
}
.about-info__cell-value a { transition: opacity var(--dur-f); }
.about-info__cell-value a:hover { opacity: 0.5; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.svc-open {
  padding-top: 10rem;
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--c-rule);
}
.svc-open__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: end;
}
.svc-open__title {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--c-ink);
}
.svc-open__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--c-ink-4);
  max-width: 42ch;
  align-self: end;
  padding-bottom: 0.5rem;
}

/* Each service entry — individually composed ────────────── */
.svc-list { display: flex; flex-direction: column; }

/* 01 — left title / right caps, white */
.svc-entry {
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(5rem, 8vw, 8rem);
  border-bottom: 1px solid var(--c-rule);
  position: relative;
}
.svc-entry::before {
  content: '';
  position: absolute; left: 0; top: 0;
  height: 1px; width: 0;
  background: var(--c-ink);
  transition: width var(--dur-s) var(--ease-out);
}
.svc-entry:hover::before { width: 100%; }

/* Default layout: 4fr / 5fr */
.svc-entry__grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

/* Alternate: 5fr / 4fr */
.svc-entry--alt .svc-entry__grid {
  grid-template-columns: 5fr 4fr;
}
/* Inverted bg */
.svc-entry--dark {
  background: var(--c-dark);
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
}
.svc-entry--dark .svc-entry__index { color: rgba(255,255,255,0.25); }
.svc-entry--dark .svc-entry__title { color: rgba(255,255,255,0.9); }
.svc-entry--dark .svc-entry__desc  { color: rgba(255,255,255,0.4); }
.svc-entry--dark .svc-entry__caps-label { color: rgba(255,255,255,0.25); }
.svc-entry--dark .svc-entry__cap   { color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.08); }
.svc-entry--dark .svc-entry__cap::before { background: rgba(255,255,255,0.2); }
.svc-entry--dark::before { background: rgba(255,255,255,0.1); }

.svc-entry__index {
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  color: var(--c-ink-6);
  margin-bottom: var(--sp-lg);
  display: block;
}
.svc-entry__title {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: var(--c-ink);
  margin-bottom: var(--sp-lg);
}
.svc-entry__desc {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--c-ink-4);
  max-width: 48ch;
  margin-bottom: var(--sp-md);
}
.svc-entry__desc:last-of-type { margin-bottom: 0; }

.svc-entry__caps-label {
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-6);
  margin-bottom: var(--sp-md);
}
.svc-entry__caps { display: flex; flex-direction: column; }
.svc-entry__cap {
  font-size: var(--t-small);
  font-weight: 300;
  color: var(--c-ink-4);
  padding-block: 1rem;
  border-bottom: 1px solid var(--c-rule-2);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color var(--dur-f);
}
.svc-entry__cap::before {
  content: '';
  flex-shrink: 0;
  width: 1.75rem; height: 1px;
  background: var(--c-rule);
  transition: width var(--dur-m) var(--ease-out),
              background var(--dur-f);
}
.svc-entry:hover .svc-entry__cap::before { width: 3rem; background: var(--c-ink-6); }

/* Services CTA */
.svc-cta {
  padding-top: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
  background: var(--c-surface);
}
.svc-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--sp-lg);
}
.svc-cta__headline {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--c-ink);
}
.svc-cta__headline em { font-style: italic; color: var(--c-ink-6); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.ctt-open {
  padding-top: 10rem;
  padding-bottom: var(--sp-xl);
  background: var(--c-white);
}

.ctt-headline {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--c-ink);
  max-width: 14ch;
  margin-bottom: var(--sp-lg);
}

.ctt-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--c-ink-4);
  max-width: 50ch;
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--c-rule);
}

/* Contact channels */
.ctt-channels {
  padding-bottom: var(--sp-xl);
  background: var(--c-white);
}

.ctt-ch-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-top: 1px solid var(--c-rule);
}

.ctt-ch {
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border-right: 1px solid var(--c-rule);
  transition: background var(--dur-m) var(--ease-out);
}
.ctt-ch:last-child { border-right: none; }
.ctt-ch:hover { background: var(--c-surface); }

.ctt-ch__label {
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-6);
  margin-bottom: var(--sp-md);
}

.ctt-ch__value {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(1.1rem, 1.8vw, 1.75rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--c-ink);
}
.ctt-ch__value a { transition: opacity var(--dur-f); }
.ctt-ch__value a:hover { opacity: 0.45; }

.ctt-ch__address {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.85;
  color: var(--c-ink-4);
}

/* Contact closing — dark, editorial ─────────────────────── */
.ctt-close {
  background: var(--c-dark);
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}
.ctt-close__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: end;
}
.ctt-close__statement {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(255,255,255,0.8);
  max-width: 22ch;
}
.ctt-close__detail {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.3);
  max-width: 40ch;
  align-self: end;
}

/* ============================================================
   LEGAL PAGES — reading-optimised, never empty
   ============================================================ */

.legal-pg {
  padding-top: 8rem;
  padding-bottom: var(--sp-2xl);
}

.legal-pg__header {
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--c-rule);
  margin-bottom: var(--sp-xl);
}

.legal-pg__eyebrow { margin-bottom: var(--sp-md); }

.legal-pg__title {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--c-ink);
  margin-bottom: var(--sp-lg);
}

.legal-pg__meta {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}
.legal-pg__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.legal-pg__meta-label {
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-6);
}
.legal-pg__meta-val {
  font-size: var(--t-small);
  font-weight: 300;
  color: var(--c-ink-4);
}

/* Two-column layout: TOC + content */
.legal-pg__body {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

/* Sticky TOC */
.legal-toc {
  position: sticky;
  top: 5.5rem;
}
.legal-toc__heading {
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-6);
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-rule);
  display: block;
}
.legal-toc__link {
  display: block;
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--c-ink-6);
  padding-block: 0.3rem;
  padding-left: 0;
  transition: color var(--dur-f), padding-left var(--dur-f);
}
.legal-toc__link:hover { color: var(--c-accent); padding-left: 0.4rem; }
.legal-toc__link.toc-active { color: var(--c-accent); }

/* Article content */
.legal-article { max-width: 64ch; }

.legal-article h2 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--c-ink);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--c-rule);
}
.legal-article h2:first-child {
  margin-top: 0; padding-top: 0; border-top: none;
}

.legal-article p {
  font-size: var(--t-body);
  font-weight: 300;
  line-height: 1.85;
  color: var(--c-ink-4);
  margin-bottom: 1rem;
}

.legal-article ul {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-article li {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.75;
  color: var(--c-ink-4);
  padding-left: 1.5rem;
  position: relative;
}
.legal-article li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-rule);
}

.legal-article strong {
  font-weight: 400;
  color: var(--c-ink-2);
}

.legal-article a {
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-rule);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--dur-f);
}
.legal-article a:hover { text-decoration-color: var(--c-accent); color: var(--c-accent); }

/* ============================================================
   FOOTER — quiet signature
   ============================================================ */

.footer {
  background: var(--c-dark);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
  padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo img {
  height: 22px;          /* was 16px — 37% increase */
  width: auto;
  filter: invert(1);
  opacity: 0.5;
  margin-bottom: var(--sp-sm);
  transition: opacity var(--dur-f);
}
.footer__logo:hover img { opacity: 0.8; }

.footer__co {
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 0.25rem;
}
.footer__reg {
  font-size: var(--t-label);
  color: rgba(255,255,255,0.14);
  margin-bottom: var(--sp-sm);
}
.footer__addr {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.25);
}

.footer__col-head {
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  margin-bottom: var(--sp-sm);
  display: block;
}
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__link {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.32);
  transition: color var(--dur-f);
}
.footer__link:hover { color: rgba(255,255,255,0.7); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: clamp(1rem, 2vw, 1.75rem);
  flex-wrap: wrap;
}
.footer__copy {
  font-size: var(--t-label);
  color: rgba(255,255,255,0.15);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  .co-inner          { grid-template-columns: 1fr; }
  .about-who__body   { grid-template-columns: 1fr; }
  .about-approach__inner { grid-template-columns: 1fr; }
  .about-approach__sticky { position: static; }
  .about-info__grid  { grid-template-columns: 1fr 1fr; }
  .about-info__cell  { border-right: none; border-bottom: 1px solid var(--c-rule); }
  .about-info__cell:nth-child(odd) { border-right: 1px solid var(--c-rule); }
  .svc-entry__grid   { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .svc-entry--alt .svc-entry__grid { grid-template-columns: 1fr; }
  .svc-open__row     { grid-template-columns: 1fr; }
  .final-cta__inner  { grid-template-columns: 1fr; }
  .ctt-close__inner  { grid-template-columns: 1fr; }
  .footer__top       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .approach__cols        { grid-template-columns: 1fr 1fr; }
  .approach__col:nth-child(2) { border-right: none; }
  .approach__col:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); grid-column: 1/-1; }
  .av-item               { grid-template-columns: 2.5rem 1fr; }
  .av-item__text         { grid-column: 1/-1; padding-left: 2.5rem; }
  .ctt-ch-grid           { grid-template-columns: 1fr; }
  .ctt-ch                { border-right: none; border-bottom: 1px solid var(--c-rule); }
  .ctt-ch:last-child     { border-bottom: none; }
  .legal-pg__body        { grid-template-columns: 1fr; }
  .legal-toc             { position: static; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-bottom: var(--sp-xl); }
  .legal-toc__heading    { width: 100%; }
}

@media (max-width: 768px) {
  :root {
    --sp-3xl: 6.5rem;
    --sp-2xl: 5rem;
    --sp-xl:  3.5rem;
  }
  .nav__links     { display: none; }
  .nav__menu-btn  { display: flex; }
  .hero { padding-top: 4.5rem; }
  .hero__nav-links  { align-items: flex-start; }
  .approach__cols   { grid-template-columns: 1fr; }
  .approach__col    { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .approach__col:last-child { border-bottom: none; }
  .what-we-do__header { flex-direction: column; align-items: flex-start; }
  .sp-intro__headline { font-size: clamp(2.5rem, 10vw, 4rem); }
  .about-info__grid   { grid-template-columns: 1fr; }
  .about-info__cell   { border-right: none; }
  .about-info__cell:nth-child(odd) { border-right: none; }
  .footer__top        { grid-template-columns: 1fr; }
  .footer__bottom     { flex-direction: column; align-items: flex-start; }
  .legal-pg__meta     { gap: var(--sp-lg); }
  .svc-entry--dark    { padding-inline: var(--gutter); margin-inline: 0; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: clamp(3rem, 14vw, 4.5rem); }
  .ctt-headline   { font-size: clamp(3rem, 14vw, 5rem); }
  .approach__statement { font-size: clamp(2.8rem, 13vw, 4rem); }
  .sp-row__name   { font-size: clamp(1.4rem, 7vw, 2rem); }
}

/* ============================================================
   EDITORIAL IMAGE COMPONENTS
   Real Unsplash photography — monochrome treatment
   ============================================================ */

/* ── Base image treatment ─────────────────────────────────── */
.ed-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter var(--dur-s) var(--ease-out),
              transform var(--dur-s) var(--ease-out);
}
.ed-img-wrap {
  overflow: hidden;
  position: relative;
  background: var(--c-surface);
}
.ed-img-wrap:hover .ed-img {
  filter: grayscale(1) contrast(1.15);
  transform: scale(1.02);
}

/* ── Image caption ────────────────────────────────────────── */
.ed-img-caption {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--c-ink-6);
  margin-top: 0.75rem;
  opacity: 0.6;
}

/* ── HERO image strip — sits below headline with deliberate pause ── */
.hero__image-strip {
  width: 100%;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2px;
  height: clamp(180px, 22vw, 300px);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 1s forwards;
}
.hero__image-strip .ed-img-wrap { height: 100%; }

/* ── Full-bleed image band between sections ──────────────── */
.img-band {
  width: 100%;
  height: clamp(280px, 36vw, 520px);
  overflow: hidden;
  position: relative;
}
.img-band .ed-img { width: 100%; height: 100%; }

/* ── Offset image — floats beside text ───────────────────── */
.img-offset {
  position: relative;
}
.img-offset__frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

/* ── Image + text two-column block ───────────────────────── */
.img-text-pair {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 6vw, 7rem);
}
.img-text-pair--img-left  { grid-template-columns: 5fr 6fr; }
.img-text-pair--img-right { grid-template-columns: 6fr 5fr; }

.img-text-pair__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.img-text-pair__img.landscape { aspect-ratio: 16 / 11; }

/* ── Portrait inset — used on about / contact ────────────── */
.img-inset {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}
.img-inset--wide { aspect-ratio: 16 / 9; }
.img-inset--square { aspect-ratio: 1; }

/* ── Services image bar ───────────────────────────────────── */
.svc-img-bar {
  width: 100%;
  height: clamp(200px, 25vw, 340px);
  overflow: hidden;
  margin-bottom: var(--sp-md);
}

/* ── Contact image column ─────────────────────────────────── */
.ctt-image-col {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

/* ── About page image moments ────────────────────────────── */
.about-img-feature {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-block: var(--sp-xl);
}
.about-img-aside {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

/* ── Responsive image adjustments ────────────────────────── */
@media (max-width: 900px) {
  .img-text-pair--img-left,
  .img-text-pair--img-right { grid-template-columns: 1fr; }
  .hero__image-strip { height: clamp(150px, 35vw, 260px); }
  .img-band { height: clamp(220px, 45vw, 360px); }
  .ctt-image-col { aspect-ratio: 16 / 9; }
}

@media (max-width: 600px) {
  .hero__image-strip { grid-template-columns: 1fr; height: clamp(180px, 50vw, 260px); }
  .hero__image-strip .ed-img-wrap:last-child { display: none; }
  .img-band { height: clamp(180px, 55vw, 300px); }
}

/* ============================================================
   EDITORIAL ENHANCEMENT PASS
   Wordmarks · Blueprint overlays · Pull quotes · Code texture
   Section numbers · Sticky labels · Selection · Transitions
   ============================================================ */

/* ── Custom text selection ───────────────────────────────── */
::selection       { background: var(--c-accent); color: #ffffff; }
::-moz-selection  { background: var(--c-accent); color: #ffffff; }

/* ── Page transition — refined to feel faster/subtler ───── */
.page-transition {
  background: var(--c-ink);
  /* Use a thinner curtain: slides up from bottom, clears fast */
}
.page-transition.enter { animation: curtain-in 0.42s var(--ease-io) forwards; }
.page-transition.exit  { animation: curtain-out 0.42s var(--ease-io) forwards; }

/* ── Sticky section label ────────────────────────────────── */
.sticky-label {
  position: absolute;
  left: 0.25rem;               /* just inside the section — was -0.5rem causing bleed */
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-6);
  opacity: 0.35;               /* slightly more restrained */
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.sticky-label--light { color: rgba(255,255,255,0.22); }

/* Parent needs relative but must clip cleanly */
.has-sticky-label { position: relative; }

/* ── Background wordmark ─────────────────────────────────── */
.bg-word {
  position: absolute;          /* must be absolute — never influences flow */
  pointer-events: none;
  user-select: none;
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  color: var(--c-ink);
  opacity: 0.025;
  letter-spacing: -0.04em;
  z-index: 0;
  /* No width/height — purely decorative, zero layout contribution */
}
.bg-word--dark {
  color: #ffffff;
  opacity: 0.03;
}

/* Sections carrying bg-word must be relative but NOT overflow:hidden
   overflow:hidden was clipping content and adding perceived height */
.has-bg-word {
  position: relative;
  /* overflow: visible — do NOT set overflow hidden, wordmarks bleed naturally */
}
.has-bg-word > .container,
.has-bg-word > * { position: relative; z-index: 1; }

/* ── Blueprint SVG overlay ───────────────────────────────── */
.blueprint-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.03;
  overflow: hidden;
}
.blueprint-overlay svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.blueprint-overlay--dark { opacity: 0.04; }

/* ── Code fragment background ────────────────────────────── */
.code-bg {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: clamp(0.55rem, 0.9vw, 0.75rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--c-ink);
  opacity: 0.028;
  white-space: pre;
  letter-spacing: 0.02em;
  z-index: 0;
  overflow: hidden;
}
.code-bg--dark {
  color: #ffffff;
  opacity: 0.04;
}

/* ── Section number — editorial publication style ────────── */
.section-num {
  display: block;
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-6);
  margin-bottom: var(--sp-md);
}
.section-num--dark { color: rgba(255,255,255,0.28); }

/* ── Pull quote ──────────────────────────────────────────── */
.pull-quote {
  border-left: 1px solid var(--c-rule);
  padding-left: clamp(1.5rem, 3vw, 3rem);
  margin-block: var(--sp-xl);
}
.pull-quote__text {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2.25rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--c-ink);
  max-width: 28ch;
}
.pull-quote__text--dark {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.12);
}
.pull-quote--dark {
  border-color: rgba(255,255,255,0.12);
}

/* ── Inline monochrome tint on code-bg containers ────────── */
@media (prefers-reduced-motion: reduce) {
  .bg-word, .blueprint-overlay, .code-bg { display: none; }
}

/* ============================================================
   PREMIUM INTERACTION PASS
   Loader · Transitions · Progress · Cursor · Image reveals
   ============================================================ */

/* ── Page transition — removed, navigation is immediate ─── */
.page-transition { display: none !important; }
html.is-leaving  { opacity: 1; }   /* neutralised — no fade-out */

/* ── Scroll progress bar ─────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--c-ink);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.35;
  transition: transform 0.05s linear;
}

/* ── Site loader — removed ───────────────────────────────── */
#site-loader { display: none !important; }

/* ── Custom cursor ───────────────────────────────────────── */
#cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--c-ink);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out),
              height 0.25s var(--ease-out),
              background 0.2s;
  mix-blend-mode: difference;
  opacity: 1;
}

#cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10,10,10,0.28);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1),
              height 0.4s cubic-bezier(0.16,1,0.3,1),
              border-color 0.25s;
  opacity: 1;
}

/* Hover states */
#cursor-dot[data-state="link"]  { width: 5px; height: 5px; }
#cursor-ring[data-state="link"] { width: 42px; height: 42px; }

#cursor-dot[data-state="image"]  { width: 4px; height: 4px; opacity: 0.5; }
#cursor-ring[data-state="image"] { width: 64px; height: 64px; border-color: var(--c-accent); opacity: 0.55; }

/* VIEW label — appears inside ring on images */
#cursor-view {
  position: fixed;
  pointer-events: none;
  z-index: 9996;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  text-align: center;
  white-space: nowrap;
  /* Positioned by JS to follow ring */
  left: 0; top: 0;
}

@media (hover: none) {
  #cursor-dot, #cursor-ring, #cursor-view { display: none !important; }
}

/* ── Reveal — refined ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);          /* reduced from 36px */
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible  { opacity: 1; transform: translateY(0); }

/* Delay classes — preserve existing timing */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }
.reveal-delay-5 { transition-delay: 0.62s; }

/* ── Image reveal — scale + opacity ─────────────────────── */
.img-unrevealed {
  opacity: 0;
  transform: scale(1.03);
}
.img-unrevealed .ed-img {
  transition: transform 1.1s cubic-bezier(0.16,1,0.3,1),
              filter 0.6s ease;
}
.img-revealed {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

/* ── Easter egg overlay ──────────────────────────────────── */
#easter-egg {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.92);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
#easter-egg.visible { opacity: 1; }

.easter-egg__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.easter-egg__line {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.88);
  line-height: 1.1;
}

.easter-egg__sub {
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

/* ── Reduced motion — respect OS preference ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .img-unrevealed { opacity: 1; transform: none; }
  .img-revealed { transition: none; }
  #site-loader { display: none; }
  #scroll-progress { display: none; }
}

/* ============================================================
   EDITORIAL REFINEMENT — FINAL PREMIUM PASS
   Section intros · Timeline · Process · Capability matrix
   Manifesto · Pull quotes · Interactive grid · Contact
   ============================================================ */

/* ── Section intro block ─────────────────────────────────── */
.sec-intro {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--sp-md);
  align-items: start;
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--c-rule);
  margin-bottom: var(--sp-xl);
}
.sec-intro--light {
  border-color: rgba(255,255,255,0.1);
}
.sec-intro__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--c-ink-6);
  padding-top: 0.2rem;
}
.sec-intro__num--light { color: rgba(255,255,255,0.3); }
.sec-intro__content { display: flex; flex-direction: column; gap: 0.5rem; }
.sec-intro__title {
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-4);
}
.sec-intro__title--light { color: rgba(255,255,255,0.55); }
.sec-intro__sentence {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.6;
  color: var(--c-ink-6);
  max-width: 60ch;
}
.sec-intro__sentence--light { color: rgba(255,255,255,0.35); }

/* ── Timeline ────────────────────────────────────────────── */
.timeline {
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-2xl);
  background: var(--c-white);
}
.timeline__list {
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Vertical rule */
.timeline__list::before {
  content: '';
  position: absolute;
  left: 4.25rem;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--c-rule);
}
.timeline__item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: var(--sp-md);
  align-items: start;
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
  border-bottom: 1px solid var(--c-rule-2);
  position: relative;
}
/* Node on the line */
.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(4.25rem - 3px);
  top: clamp(1.75rem, 3vw, 2.75rem);
  width: 7px; height: 7px;
  border: 1px solid var(--c-ink-4);
  border-radius: 50%;
  background: var(--c-white);
  z-index: 1;
}
.timeline__year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-ink-6);
  padding-top: 0.15rem;
}
.timeline__content {}
.timeline__title {
  font-size: var(--t-h4);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-bottom: 0.5rem;
}
.timeline__desc {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.75;
  color: var(--c-ink-6);
  max-width: 52ch;
}

/* ── Process section ─────────────────────────────────────── */
.process {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  background: var(--c-dark);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--sp-xl);
}
.process__step {
  padding: clamp(2rem, 3.5vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: background var(--dur-m) var(--ease-out);
}
.process__step:last-child { border-right: none; }
.process__step:hover { background: rgba(255,255,255,0.03); }
.process__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  margin-bottom: var(--sp-lg);
  display: block;
}
.process__title {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--sp-sm);
  line-height: 1.2;
}
.process__desc {
  font-size: var(--t-small);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.38);
}

/* ── Capability matrix ───────────────────────────────────── */
.capability {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  background: var(--c-surface);
}
.capability__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-rule);
  margin-top: var(--sp-xl);
}
.capability__cell {
  padding: clamp(2rem, 3.5vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border-right: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
  position: relative;
  transition: background var(--dur-m) var(--ease-out);
}
.capability__cell:hover { background: var(--c-off); }
.capability__cell:nth-child(3n) { border-right: none; }
.capability__cell:nth-last-child(-n+3) { border-bottom: none; }
.capability__cell-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: var(--c-ink-6);
  margin-bottom: var(--sp-md);
  display: block;
  opacity: 0.6;
}
.capability__cell-title {
  font-size: var(--t-h4);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-bottom: var(--sp-sm);
  line-height: 1.2;
}
.capability__cell-items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: var(--sp-md);
}
.capability__cell-item {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--c-ink-6);
  line-height: 1.5;
  padding-left: 0.75rem;
  position: relative;
}
.capability__cell-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.3rem; height: 1px;
  background: var(--c-rule);
}

/* ── Manifesto ───────────────────────────────────────────── */
.manifesto {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  background: var(--c-off);
}
.manifesto__list {
  display: flex;
  flex-direction: column;
  margin-top: var(--sp-xl);
}
.manifesto__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--sp-md);
  align-items: baseline;
  padding-block: clamp(1.5rem, 2.5vw, 2.25rem);
  border-top: 1px solid var(--c-rule);
}
.manifesto__item-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: var(--c-ink-6);
  opacity: 0.5;
}
.manifesto__item-text {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--c-ink);
}

/* ── Interactive canvas grid ─────────────────────────────── */
#grid-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

/* ── Footer — further tightened ─────────────────────────── */
.footer {
  background: var(--c-dark);
  padding-top: clamp(2rem, 3vw, 2.75rem);
  padding-bottom: clamp(1.25rem, 2vw, 2rem);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: start;
  padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── Responsive additions ────────────────────────────────── */
@media (max-width: 1100px) {
  .process__grid    { grid-template-columns: 1fr 1fr; }
  .process__step:nth-child(2)  { border-right: none; }
  .process__step:nth-child(3)  { border-top: 1px solid rgba(255,255,255,0.08); }
  .capability__grid { grid-template-columns: 1fr 1fr; }
  .capability__cell:nth-child(3n)     { border-right: 1px solid var(--c-rule); }
  .capability__cell:nth-child(2n)     { border-right: none; }
  .capability__cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--c-rule); }
  .capability__cell:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 768px) {
  .process__grid    { grid-template-columns: 1fr; }
  .process__step    { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .capability__grid { grid-template-columns: 1fr; }
  .capability__cell { border-right: none; border-bottom: 1px solid var(--c-rule); }
  .capability__cell:nth-child(3n) { border-right: none; }
  .ctt-cat-grid     { grid-template-columns: 1fr; }
  .ctt-cat          { border-right: none; }
  .ctt-cat:nth-child(2n) { border-right: none; }
  .ctt-cat:nth-last-child(-n+2) { border-bottom: 1px solid var(--c-rule); }
  .ctt-cat:last-child { border-bottom: none; }
  .timeline__list::before { left: 3.5rem; }
  .timeline__item::before { left: calc(3.5rem - 3px); }
}

/* ============================================================
   ACCENT COLOUR EXPANSION — #140BBC
   Architectural markers · Technical annotations · Interactive signals
   ============================================================ */

/* ── Navigation hover underline ──────────────────────────────── */
/* On hover the underline grows in accent before turning full ink */
.nav__link::after { background: var(--c-accent); }

/* ── Section numbers — 01 02 03 as engineering annotations ────── */
.sec-intro__num,
.sec-intro__num--light { color: var(--c-accent); opacity: 0.75; }
.sec-intro__num--light  { opacity: 0.45; }

/* ── Process step numbers ────────────────────────────────────── */
.process__num { color: var(--c-accent); opacity: 0.55; }

/* ── Capability matrix cell numbers ──────────────────────────── */
.capability__cell-num { color: var(--c-accent); opacity: 0.5; }

/* ── Timeline year — node dot and text ───────────────────────── */
.timeline__year { color: var(--c-accent); opacity: 0.7; }
.timeline__item::before { border-color: var(--c-accent); }

/* ── Manifesto item numbers ──────────────────────────────────── */
.manifesto__item-num { color: var(--c-accent); opacity: 0.55; }

/* ── What We Do item numbers ─────────────────────────────────── */
.t-num { color: var(--c-accent); opacity: 0.6; }

/* ── Service row numbers ─────────────────────────────────────── */
/* Already using .t-num — covered above */

/* ── Service row hover — bottom line in accent ───────────────── */
.sp-row::after { background: var(--c-accent); }

/* ── Service entry top line on hover — accent ───────────────── */
.svc-entry::before { background: var(--c-accent); }

/* ── Approach column number ──────────────────────────────────── */
.approach__col-num { color: var(--c-accent); opacity: 0.45; }

/* ── What We Do item number (wwd) ────────────────────────────── */
/* Already .t-num above */

/* ── Pull quote border — accent left rule ────────────────────── */
.pull-quote { border-left-color: var(--c-accent); }
.pull-quote--dark { border-left-color: var(--c-accent); opacity: 0.7; }

/* ── Ed-link arrow — accent on hover (explicit) ─────────────── */
.ed-link:hover .ed-link__arrow { color: var(--c-accent); }

/* ── Contact channel label ───────────────────────────────────── */
/* Subtle: just the first letter / marker when hovered */
.ctt-ch:hover .ctt-ch__label { color: var(--c-accent); }

/* ── Easter egg overlay — accent background instead of near-black */
#easter-egg { background: rgba(20, 11, 188, 0.94); }
#easter-egg .easter-egg__line { color: rgba(255,255,255,0.92); }
#easter-egg .easter-egg__sub  { color: rgba(255,255,255,0.35); }

/* ── Footer link hover — accent signal ──────────────────────── */
/* Keep white on dark footer but add accent underline */
.footer__link {
  position: relative;
  transition: color var(--dur-f);
}
.footer__link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--c-accent);
  transition: width var(--dur-m) var(--ease-out);
}
.footer__link:hover::after { width: 100%; }

/* ── Legal article link default underline — accent ───────────── */
.legal-article a {
  text-decoration-color: rgba(20, 11, 188, 0.28);
}

/* ── Code background text — occasional accent tint ──────────── */
/* The code-bg elements remain near-invisible but add a hint */
/* No change needed — decorative, monochrome is correct there  */

/* ── Hero SVG — accent for active/hub node ───────────────────── */
.hero__svg .svg-accent-node { stroke: var(--c-accent); }
.hero__svg .svg-accent-path { stroke: var(--c-accent); }

/* ── 404 SVG coordinate labels and cursor ────────────────────── */
/* Applied via inline style on the 404 page */

/* ── Scroll progress bar — accent ───────────────────────────── */
#scroll-progress { background: var(--c-accent); opacity: 0.55; }

/* ── Nav logo — accent dot/focus ring ───────────────────────── */
.nav__logo:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* ── Reduced motion: keep accent but remove transitions ─────── */
@media (prefers-reduced-motion: reduce) {
  .sec-intro__num,
  .process__num,
  .manifesto__item-num,
  .timeline__year { transition: none; }
}
