/* ----------  Tokens ---------- */
:root {
  --bg: oklch(0.985 0.005 85);
  --ink: oklch(0.18 0.01 80);
  --ink-soft: oklch(0.38 0.01 80);
  --rule: oklch(0.88 0.008 80);
  --rule-strong: oklch(0.78 0.008 80);
  --surface: oklch(0.96 0.006 85);
  --accent: oklch(0.58 0.18 255);
  --accent-ink: oklch(0.98 0.005 85);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --hpad: clamp(20px, 4vw, 64px);
  --max: 1440px;
}

[data-mode="dark"] {
  --bg: oklch(0.16 0.008 80);
  --ink: oklch(0.97 0.005 85);
  --ink-soft: oklch(0.72 0.008 80);
  --rule: oklch(0.28 0.008 80);
  --rule-strong: oklch(0.38 0.008 80);
  --surface: oklch(0.21 0.008 80);
  --accent-ink: oklch(0.16 0.008 80);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: none; }
a { color: inherit; text-decoration: none; cursor: none; }

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

/* ----------  Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--ink);
  transform: translate3d(-100px, -100px, 0);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 220ms cubic-bezier(.2,.8,.2,1), height 220ms cubic-bezier(.2,.8,.2,1), background 220ms;
  will-change: transform;
}
.cursor.is-hover {
  width: 56px; height: 56px;
  background: var(--accent);
  margin: -28px 0 0 -28px;
  margin-block-start: -28px;
}
.cursor.is-down { transform: translate3d(var(--x,0), var(--y,0), 0) scale(.85); }
@media (hover: none) { .cursor { display: none; } }

/* ----------  Layout ---------- */
.shell { padding: 0 var(--hpad); max-width: var(--max); margin: 0 auto; }
.row { display: flex; align-items: center; gap: 24px; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.rule-strong { height: 1px; background: var(--rule-strong); border: 0; margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  display: inline-block;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 999px; background: oklch(0.62 0.18 145);
  display: inline-block;
  position: relative;
}
.eyebrow .pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 999px;
  border: 1px solid oklch(0.62 0.18 145);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ----------  Top nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--hpad);
  transition: backdrop-filter 300ms, background 300ms, padding 300ms, border-color 300ms;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--rule);
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: inline-flex; align-items: center; gap: 2px;
  font-weight: 600; letter-spacing: -0.01em;
}
.brand .mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  position: relative;
}
.brand-logo {
  width: 44px; height: 44px;
  object-fit: contain;
  display: block;
  scale: 1.7;
  translate: 6px 0;
}
.brand .name { font-size: 15px; }
.brand .name em {
  font-style: normal;
  color: var(--ink-soft);
  font-weight: 400;
}

.nav-links {
  display: flex; gap: 32px;
  font-size: 14px;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color 200ms;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ink);
  transition: right 280ms cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover::after { right: 0; }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 13px;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav-cta .arrow { transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
.nav-cta:hover .arrow { transform: translateX(2px); }

/* Hamburger button */
.nav-menu-btn {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}
.ham { display: flex; flex-direction: column; gap: 5px; width: 16px; }
.ham i {
  display: block; height: 1.5px; border-radius: 2px;
  background: var(--ink);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), opacity 200ms;
}
.ham.is-open i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ham.is-open i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham.is-open i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0ms 320ms;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0ms;
  }

  /* staggered item reveal */
  .nav-links a {
    color: var(--ink);
    padding: 4px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links.is-open a:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 60ms; }
  .nav-links.is-open a:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 110ms; }
  .nav-links.is-open a:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 160ms; }
  .nav-links.is-open a:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 210ms; }

  .nav-links a::after { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-cta .nav-cta-label { display: none; }
}

/* ----------  Hero ---------- */
.hero {
  padding: 160px var(--hpad) 80px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.hero-meta {
  display: flex; justify-content: space-between; gap: 24px;
  padding-bottom: 56px;
  flex-wrap: wrap;
}
.hero-meta .left { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-meta .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .stat-label {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-meta .stat-value { font-size: 13px; font-weight: 500; }

.hero h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(48px, 9.2vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.hero h1 .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1100ms cubic-bezier(.2,.8,.2,1);
}
.hero.is-in h1 .word { transform: translateY(0); }
/* stagger */
.hero h1 .word { transition-delay: calc(var(--i, 0) * 60ms); }

.hero-sub {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: end;
}
@media (max-width: 880px) { .hero-sub { grid-template-columns: 1fr; gap: 40px; } }
.hero-sub .lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 36ch;
  color: var(--ink);
  font-weight: 400;
}
.hero-sub .lede .em { color: var(--ink-soft); }
.hero-sub .actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 880px) { .hero-sub .actions { justify-content: flex-start; } }

/* Magnetic CTA */
.cta {
  --size: 168px;
  width: var(--size); height: var(--size);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 14px;
  letter-spacing: 0.02em;
  position: relative;
  transition: background 240ms, color 240ms, transform 320ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.cta .inner {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.cta:hover { background: var(--accent); color: var(--accent-ink); }
.cta .arc {
  position: absolute; inset: 0; pointer-events: none;
  animation: spin 18s linear infinite;
}
.cta .arc text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  fill: var(--ink);
  transition: fill 240ms;
}
.cta:hover .arc text { fill: var(--accent-ink); }
.cta .arrow-big {
  width: 22px; height: 22px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ghost-link {
  font-size: 14px;
  display: inline-flex; gap: 8px; align-items: center;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  transition: background 200ms, color 200ms;
}
.ghost-link:hover { background: var(--ink); color: var(--bg); }

.scroll-cue {
  position: absolute;
  left: var(--hpad); bottom: 24px;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; gap: 8px; align-items: center;
}
.scroll-cue::before {
  content: ""; width: 24px; height: 1px; background: var(--ink-soft);
  animation: tick 2.4s ease-in-out infinite;
  transform-origin: left;
}
@keyframes tick {
  0%, 100% { transform: scaleX(0.2); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ----------  Marquee ---------- */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  overflow: hidden;
  margin-top: 32px;
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  padding-right: 56px;
}
.marquee.paused .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: clamp(24px, 3.6vw, 56px);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.marquee-item .serif { font-family: var(--serif); font-style: italic; color: var(--accent); }
.marquee-item .sep {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--ink); opacity: 0.4;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------  Sections ---------- */
.section {
  padding: 120px var(--hpad);
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 64px;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; margin-bottom: 32px; }
}
.section-head h2 {
  font-weight: 500;
  font-size: clamp(36px, 5.6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.section-head h2 .serif { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.section-head .desc {
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.section-id {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; gap: 12px; align-items: center;
  margin-bottom: 16px;
}
.section-id span.tag {
  padding: 4px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(.2,.8,.2,1), transform 900ms cubic-bezier(.2,.8,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ----------  Services ---------- */
.services {
  border-top: 1px solid var(--rule);
}
.svc-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  position: relative;
  transition: padding 320ms cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 880px) {
  .svc-row { grid-template-columns: 40px 1fr; gap: 14px; padding: 24px 0; }
  .svc-row .svc-desc, .svc-row .svc-tags { grid-column: 2; }
}
.svc-row:hover { padding: 56px 0; }
.svc-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.svc-name {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  font-weight: 500;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), color 320ms;
}
.svc-row:hover .svc-name { transform: translateX(8px); color: var(--accent); }
.svc-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 50ch;
}
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-self: end;
}
@media (max-width: 880px) { .svc-tags { justify-self: start; } }
.svc-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-soft);
}

/* ----------  Capabilities grid (work) ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.cap {
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 360ms cubic-bezier(.2,.8,.2,1), border-color 240ms;
}
.cap:hover { transform: translateY(-3px); border-color: var(--rule-strong); }
.cap h3 {
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}
.cap p {
  font-size: 14px; line-height: 1.5; color: var(--ink-soft);
  margin: 8px 0 0;
  max-width: 36ch;
}
.cap .corner {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.cap-7 { grid-column: span 7; }
.cap-5 { grid-column: span 5; }
.cap-4 { grid-column: span 4; }
.cap-8 { grid-column: span 8; }
.cap-6 { grid-column: span 6; }
.cap-12 { grid-column: span 12; }
.cap-12 {
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  min-height: 280px;
}
.cap-12 > div:first-child { flex: 1; max-width: 44ch; }
.cap-12 .cap-viz { flex: 1; margin-top: 0; min-height: 220px; }
@media (max-width: 880px) {
  .cap-12 { flex-direction: column; min-height: 0; }
  .cap-12 > div:first-child { max-width: none; }
}
@media (max-width: 880px) {
  .cap-7, .cap-5, .cap-4, .cap-8, .cap-6, .cap-12 { grid-column: span 12; }
}

.cap-viz {
  flex: 1; margin-top: 16px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

/* Animated grid background */
.grid-viz {
  background: var(--surface);
  position: absolute; inset: 0;
}
.grid-viz svg { width: 100%; height: 100%; }

/* Bar chart */
.chart-bars { position: absolute; inset: 0; padding: 22px; display: flex; align-items: flex-end; gap: 8px; }
.chart-bars .bar {
  flex: 1;
  background: var(--ink);
  border-radius: 4px 4px 0 0;
  animation: barRise 1.8s cubic-bezier(.2,.8,.2,1) both;
  transform-origin: bottom;
}
.chart-bars .bar.acc { background: var(--accent); }
@keyframes barRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Pulse dots */
.dots-viz {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(8, 1fr);
  padding: 22px;
  gap: 8px;
}
.dots-viz .d {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--rule-strong);
  align-self: center; justify-self: center;
  transition: background 400ms, transform 400ms;
}
.dots-viz .d.on {
  background: var(--accent);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.6); } }

/* Code viz */
.code-viz {
  position: absolute; inset: 0;
  padding: 24px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
  overflow: hidden;
}
.code-viz .ln { display: block; opacity: 0; transform: translateX(-12px); animation: codeIn 600ms cubic-bezier(.2,.8,.2,1) forwards; }
.code-viz .ln.acc { color: var(--accent); }
.code-viz .ln .kw { color: var(--ink); }
@keyframes codeIn { to { opacity: 1; transform: translateX(0); } }

/* ----------  Process steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 880px) { .process { grid-template-columns: 1fr; } }
.step {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.step:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 880px) {
  .step { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; }
}
.step .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.step h4 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.step p {
  font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0;
  max-width: 26ch;
}
.step .week {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* ----------  Numbers band ---------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 0;
}
@media (max-width: 720px) { .numbers { grid-template-columns: repeat(2, 1fr); } }
.numbers .cell {
  padding: 56px 28px;
  border-right: 1px solid var(--rule);
}
.numbers .cell:last-child { border-right: 0; }
@media (max-width: 720px) {
  .numbers .cell:nth-child(2) { border-right: 0; }
  .numbers .cell:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
.numbers .value {
  font-size: clamp(40px, 5vw, 76px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 500;
  display: flex; align-items: baseline; gap: 4px;
}
.numbers .value .unit { font-size: 0.4em; color: var(--ink-soft); margin-left: 6px; letter-spacing: 0; }
.numbers .label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ----------  London panel ---------- */
.london {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
@media (max-width: 880px) { .london { grid-template-columns: 1fr; gap: 40px; } }
.london-text h3 {
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 24px;
  text-wrap: balance;
}
.london-text h3 .serif { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.london-text p {
  font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 50ch;
  margin: 0 0 16px;
}
.london-meta {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.london-meta .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.london-meta .v { font-size: 15px; margin-top: 6px; }

/* Map visualization */
.map {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
  min-height: 360px;
}
.map svg { width: 100%; height: 100%; display: block; }
.map .marker {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px color-mix(in oklch, var(--accent) 25%, transparent);
  animation: pulse2 2.4s ease-out infinite;
}
@keyframes pulse2 {
  0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 60%, transparent); }
  100% { box-shadow: 0 0 0 22px color-mix(in oklch, var(--accent) 0%, transparent); }
}
.map .label {
  position: absolute;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  padding: 4px 8px;
  border-radius: 999px;
  transform: translate(-50%, calc(-50% - 22px));
}

/* ----------  Contact / CTA ---------- */
.contact {
  padding: 160px var(--hpad);
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.contact h2 {
  font-weight: 400;
  font-size: clamp(56px, 11vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
}
.contact h2 .sans { font-family: var(--sans); font-style: normal; color: var(--ink); font-weight: 500; letter-spacing: -0.035em; }
.contact .email {
  display: inline-block;
  margin-top: 48px;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 6px;
}
.contact .email::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.contact .email:hover::after { transform: scaleX(0); transform-origin: right; }

/* ----------  Footer ---------- */
footer {
  border-top: 1px solid var(--rule);
  padding: 48px var(--hpad) 40px;
  max-width: var(--max);
  margin: 0 auto;
  font-size: 13px;
}
.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot h5 {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0 0 16px;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink); transition: color 200ms; }
.foot a:hover { color: var(--accent); }
.foot .big {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.foot .big .serif { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.foot-base {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.foot-base .clock {
  display: inline-flex; gap: 8px; align-items: center;
}
.foot-base .clock .pulse {
  width: 6px; height: 6px; border-radius: 999px; background: oklch(0.62 0.18 145);
  position: relative;
}
.foot-base .clock .pulse::after {
  content: ""; position: absolute; inset: -3px; border-radius: 999px;
  border: 1px solid oklch(0.62 0.18 145);
  animation: pulse 2s ease-out infinite;
}

/* ----------  Inline arrow ---------- */
.iarrow {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: middle;
}

/* ----------  Mobile / Responsive ---------- */

/* Only allow hover-expand on devices that support hover */
@media (hover: none) {
  .svc-row:hover { padding: 36px 0; }
  .cap:hover { transform: none; }
}

/* Tablet */
@media (max-width: 880px) {
  .section { padding: 80px var(--hpad); }
  .hero { padding: 120px var(--hpad) 60px; }
  .contact { padding: 100px var(--hpad); }
  .step:last-child { border-bottom: 0; }
  .cap { min-height: 200px; }
  .cap-12 .cap-viz { min-height: 180px; }
}

/* Always-on nav background on mobile so content never bleeds through */
@media (max-width: 720px) {
  .nav {
    background: var(--bg);
    border-bottom-color: var(--rule);
  }
  /* Corner tag: pull out of absolute flow, show inline above the title */
  .cap .corner {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .section { padding: 60px var(--hpad); }
  .section-head { gap: 16px; padding-bottom: 24px; margin-bottom: 24px; }
  .section-head .desc { font-size: 15px; }

  .hero { padding: 96px var(--hpad) 48px; }
  .hero-meta { padding-bottom: 24px; }
  .hero-sub { margin-top: 40px; gap: 32px; }
  .cta { --size: 120px; }

  .contact { padding: 72px var(--hpad); }
  .contact h2 { font-size: clamp(36px, 13vw, 56px); }
  .contact .email { font-size: clamp(14px, 4.5vw, 22px); margin-top: 32px; }

  .cap { min-height: 160px; padding: 20px; }
  .cap h3 { font-size: 18px; }
  .cap-12 { min-height: 0; }
  .cap-12 .cap-viz { min-height: 160px; }
  .cap-grid { gap: 12px; }

  .london-meta { grid-template-columns: 1fr; gap: 20px; }
  .map { min-height: 240px; }

  .foot { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot > div:first-child { grid-column: span 2; }
  .foot-base { flex-direction: column; gap: 6px; }

  .process { gap: 0; }
  .step { padding: 28px 0; }
  .step h4 { font-size: 18px; }

  .scroll-cue { display: none; }
  .marquee { padding: 18px 0; }
}

/* Very small mobile */
@media (max-width: 400px) {
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .nav-cta { padding: 8px 12px; font-size: 12px; gap: 6px; }
  .foot { grid-template-columns: 1fr; }
  .foot > div:first-child { grid-column: span 1; }
}
