@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  --ink: #15171B;
  --ink-2: #1E2126;
  --ink-3: #2A2E35;
  --ink-soft: #4E535B;
  --paper: #FFFFFF;
  --paper-2: #F4F4F2;
  --line: #E2E2DF;
  --line-dark: rgba(255, 255, 255, 0.12);
  --grey: #6B7078;
  --grey-light: #A3A8B0;
  --charcoal: #1F2329;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --wrap: 1280px;
  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 1.25rem;
}
.hero-eyebrow { text-transform: none; letter-spacing: 0.01em; font-size: 0.95rem; font-weight: 500; align-items: flex-start; }
.hero-eyebrow .dot { flex-shrink: 0; margin-top: 0.45em; }

.display {
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 16ch;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #E2E2DF; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #33373E; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: default; }

.text-link {
  display: inline-flex; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 4px;
  transition: background-size 0.4s var(--ease);
}
.text-link:hover { background-size: 0% 1.5px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: #fff;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: currentColor; transform-origin: 0 50%; transform: scaleX(0); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 30px; height: 33px; fill: none; stroke: currentColor; stroke-width: 14; flex-shrink: 0; overflow: visible; }
.brand-word { display: flex; flex-direction: column; font-family: var(--font-head); line-height: 1.05; font-size: 1.35rem; }
/* the lockup: "Consulting Group" runs the full width of "Havelock" (0.527 of its size in Montserrat) */
.brand-word strong { font-size: 1em; font-weight: 700; letter-spacing: -0.01em; }
.brand-word > span { font-size: 0.527em; font-weight: 400; letter-spacing: 0.01em; margin-top: 0.15em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  font-family: var(--font-head); font-weight: 500; font-size: 0.92rem;
  text-decoration: none; color: inherit;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.4s var(--ease);
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav .nav-cta {
  border: 1.5px solid currentColor; padding: 9px 20px; border-radius: 100px;
  transition: background 0.3s, color 0.3s;
}
.site-header:not(.scrolled) .nav .nav-cta:hover { background: #fff; color: var(--ink); }
.site-header.scrolled .nav .nav-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.site-header.scrolled .nav .nav-cta:hover { background: #33373E; }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + 40px) 0 64px;
  isolation: isolate;
}
.hero-mark {
  position: absolute; right: -4vw; top: 50%;
  width: min(720px, 58vw); height: auto;
  transform: translateY(-50%);
  fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 11;
  z-index: -1; pointer-events: none;
  overflow: visible;
}
.chev { stroke-dasharray: 180; stroke-dashoffset: 0; }

.hero-inner { position: relative; width: 100%; }
.hero-eyebrow { color: var(--grey-light); }
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.hero-title {
  font-size: clamp(2.6rem, min(7.4vw, 10vh), 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 clamp(32px, 4vw, 48px);
}
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: inline-block; }
.m-br { display: none; }
.hero-tag { font-size: 0.42em; font-weight: 600; letter-spacing: -0.02em; color: var(--grey-light); margin-top: 0.45em; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.hero .lede { font-size: 1.12rem; color: rgba(255, 255, 255, 0.72); max-width: 54ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin: clamp(40px, 6vh, 64px) 0 0; padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.hero-stats dt { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.hero-stats dd { margin: 10px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); max-width: 26ch; }


/* Hero entrance (JS adds .ready) */
.js .hero .line > span { transform: translateY(110%); }
.js .hero-eyebrow, .js .hero-foot, .js .hero-stats { opacity: 0; }
.js .hero-foot, .js .hero-stats { transform: translateY(20px); }
.js .chev { stroke-dashoffset: 180; }

.hero.ready .line > span { transform: none; transition: transform 1.2s var(--ease); }
.hero.ready .line:nth-child(2) > span { transition-delay: 0.08s; }
.hero.ready .line:nth-child(3) > span { transition-delay: 0.16s; }
.hero.ready .line:nth-child(4) > span { transition-delay: 0.24s; }
.hero.ready .hero-eyebrow { opacity: 1; transition: opacity 0.8s var(--ease); }
.hero.ready .hero-foot { opacity: 1; transform: none; transition: opacity 1s var(--ease) 0.55s, transform 1s var(--ease) 0.55s; }
.hero.ready .hero-stats { opacity: 1; transform: none; transition: opacity 1s var(--ease) 0.75s, transform 1s var(--ease) 0.75s; }
.hero.ready .chev { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) 0.2s; }
.hero.ready .chev-r { transition-delay: 0.5s; }
.hero.ready .hero-mark { animation: drift 14s ease-in-out 2.5s infinite alternate; }
@keyframes drift {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-53%) rotate(-3deg); }
}

/* ---------- Trusted marquee ---------- */
.trusted { padding: 56px 0 64px; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.trusted-head { margin-bottom: 8px; }
.trusted-head .eyebrow { margin: 0; }
.marquee {
  display: flex; overflow: hidden; user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; flex-shrink: 0;
  animation: marquee var(--marquee-dur, 60s) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  padding: 0.25em 0;
}
.marquee-track b {
  display: inline-block; flex-shrink: 0;
  width: 0.45em; height: 0.45em; margin: 0 0.9em;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  border-top: 3px solid currentColor; border-right: 3px solid currentColor;
  transform: rotate(45deg);
}
.marquee-outline .marquee-track span { color: var(--paper); -webkit-text-stroke: 2.4px var(--ink); paint-order: stroke fill; }
.marquee-outline .marquee-track b { opacity: 0.35; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Advisory register ---------- */
.advisory { padding: clamp(64px, 8vw, 104px) 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.advisory > .wrap > .eyebrow { margin-bottom: clamp(32px, 4vw, 48px); }
.advisory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(40px, 6vw, 96px); }
.advisory-sub { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin: 0 0 12px; }
.advisory-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.advisory-list li {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.3;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .advisory-grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 13vw, 168px) 0; position: relative; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .eyebrow { color: var(--grey-light); }
.section-tint { background: var(--paper-2); }

.split-head {
  display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(40px, 6vw, 96px);
  align-items: end; margin-bottom: clamp(56px, 8vw, 96px);
}
.split-head .display { margin: 0; }
.split-head-copy { color: var(--ink-soft); font-size: 1.08rem; margin: 0; max-width: 46ch; }
.section-dark .split-head-copy { color: rgba(255, 255, 255, 0.68); }
.split-head-copy strong { color: var(--ink); }

/* Why */
.why .display { max-width: 14ch; }
.statement {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.1vw, 2.75rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 30ch;
  margin: clamp(48px, 7vw, 88px) 0 clamp(72px, 10vw, 128px) auto;
}
.js .statement .w { opacity: 0.14; transition: opacity 0.25s linear; }
.js .statement .w.lit { opacity: 1; }

.diffs {
  list-style: none; margin: 0; padding: 0 0 80px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 80px);
}
.diffs li { padding: 40px 0 48px; border-top: 1.5px solid var(--ink); }
.diffs li:nth-child(even) { transform: translateY(80px); }
.diff-num {
  display: block;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.9; letter-spacing: -0.05em;
  color: var(--paper); -webkit-text-stroke: 2.4px var(--ink); paint-order: stroke fill;
  margin-bottom: 24px;
}
.diffs h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 0.5em; }
.diffs p { color: var(--ink-soft); margin: 0; max-width: 46ch; }

/* Platforms */
.platforms-sec { overflow: hidden; }
.platform {
  display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(40px, 5vw, 80px);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line-dark);
}
.platform:last-child { border-bottom: 1px solid var(--line-dark); }
.platform-desc { color: rgba(255, 255, 255, 0.8); font-size: 1.12rem; }
.platform-features { list-style: none; margin: 12px 0 32px; padding: 0; }
.platform-features li {
  position: relative; padding: 14px 0 14px 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.98rem; color: rgba(255, 255, 255, 0.86);
}
.platform-features li::before {
  content: ""; position: absolute; left: 2px; top: 23px;
  width: 7px; height: 7px; border-top: 2px solid #fff; border-right: 2px solid #fff;
  transform: rotate(45deg);
}
.platform-for { font-size: 0.95rem; color: rgba(255, 255, 255, 0.68); }
.platform-for span {
  display: block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 6px;
}
.platform .text-link { color: #fff; margin-top: 8px; }

.platform { align-items: center; }
.platform-body .platform-desc { margin: 0; font-size: 1.15rem; }
.principles {
  list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.principles li {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 20px 0 0 24px; border-top: 1.5px solid #fff; position: relative;
}
.principles li::before {
  content: ""; position: absolute; left: 2px; top: 28px;
  width: 7px; height: 7px; border-top: 2px solid #fff; border-right: 2px solid #fff;
  transform: rotate(45deg);
}


/* Named platforms */
.trio { list-style: none; margin: 0 0 clamp(56px, 8vw, 96px); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid #fff; }
.trio li { padding: 28px 24px 0 0; }
.trio li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.trio-line { display: block; font-family: var(--font-head); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.trio-name { display: block; margin-top: 14px; font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-light); }

.platform-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 8px; }
/* Screens from the working platform, on a three-monitor desk */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: 0 clamp(6px, 1.2vw, 18px); margin-top: clamp(48px, 6vw, 80px); }
.monitor { margin: 0; min-width: 0; }
.monitor-main { grid-column: 2; grid-row: 1; position: relative; z-index: 1; }
.monitor-left { grid-column: 1; grid-row: 1; margin-top: clamp(16px, 3vw, 44px); }
.monitor-right { grid-column: 3; grid-row: 1; margin-top: clamp(16px, 3vw, 44px); }
.monitor-left, .monitor-right { perspective: 1200px; }
.monitor-left .monitor-unit { transform: rotateY(24deg); transform-origin: right center; }
.monitor-right .monitor-unit { transform: rotateY(-24deg); transform-origin: left center; }
.monitor-bezel {
  padding: clamp(5px, 0.7vw, 11px) clamp(5px, 0.7vw, 11px) clamp(12px, 1.4vw, 20px);
  border-radius: clamp(6px, 0.8vw, 12px);
  background: linear-gradient(180deg, #34363c, #1d1e22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 28px 60px -20px rgba(0, 0, 0, 0.7);
}
.monitor-screen { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: #fff; }
.monitor-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.monitor-right .monitor-screen img { object-fit: contain; object-position: top center; }
.monitor-stand { position: relative; height: clamp(26px, 3.4vw, 52px); }
.monitor-stand::before { content: ""; position: absolute; left: 50%; top: 0; width: 13%; height: 86%; transform: translateX(-50%); background: linear-gradient(90deg, #232428, #3a3c42 50%, #232428); }
.monitor-stand::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 40%; height: clamp(4px, 0.5vw, 7px); transform: translateX(-50%); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #45474e, #26272b); }
.monitor figcaption { margin-top: 16px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.68); max-width: 46ch; }
.monitor figcaption b { color: #fff; font-weight: 600; }
.monitor-main figcaption { text-align: center; margin-left: auto; margin-right: auto; }
.screen-note { margin: 24px 0 0; font-size: 0.85rem; color: var(--grey-light); }
.platform-under { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(40px, 5vw, 80px); margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line-dark); }
.platform-under .platform-desc { font-size: 1.05rem; }
.platform-under .platform-features { margin-top: 0; }
.platform-under .platform-features li:first-child { border-top: 0; padding-top: 0; }
.platform-under .platform-features li:first-child::before { top: 9px; }
.platform-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.platform-cta p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -0.025em; margin: 0; }


.supported-by { margin: 12px 0 0 !important; font-size: 0.88rem !important; color: var(--ink-soft); }
.supported-by span { font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-right: 8px; }
.supported-by a { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; }
.service-row:hover .supported-by a { color: #fff; }
.service-row:hover .supported-by span { color: var(--grey-light); }
.plain-link { color: inherit; text-decoration: none; }
.plain-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Services list */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.service-row {
  position: relative;
  display: grid; grid-template-columns: 80px minmax(0, 5fr) minmax(0, 6fr); gap: 8px 32px;
  align-items: baseline;
  padding: 30px 24px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  transition: color 0.45s var(--ease);
}
.service-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease);
}
.service-row:hover { color: #fff; }
.service-row:hover::before { transform: scaleY(1); transform-origin: 50% 0; }
.service-num { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--grey); transition: color 0.45s; }
.service-row h3 {
  font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; margin: 0;
  transition: transform 0.5s var(--ease);
}
.service-row:hover h3 { transform: translateX(12px); }
.service-row p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; transition: color 0.45s; }
.service-row:hover p, .service-row:hover .service-num { color: rgba(255,255,255,0.75); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.sector {
  position: relative; overflow: hidden;
  padding: 40px 32px 48px;
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  transition: background 0.5s var(--ease);
}
.sector::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: #fff; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.6s var(--ease);
}
.sector:hover { background: var(--ink-2); }
.sector:hover::after { transform: scaleX(1); }
.sector-num { display: block; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; color: var(--grey-light); margin-bottom: 48px; }
.sector h3 { font-size: 1.35rem; }
.sector p { color: rgba(255, 255, 255, 0.68); font-size: 0.96rem; margin: 0; }

/* Principal */
.principal { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.principal-media { position: sticky; top: 110px; }
.portrait {
  aspect-ratio: 419 / 600;
  background: var(--paper-2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.js [data-wipe] .portrait { clip-path: inset(100% 0 0 0); }
.js [data-wipe] .portrait img { transform: scale(1.25); }
.js [data-wipe].in .portrait { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease); }
.js [data-wipe].in .portrait img { transform: scale(1); transition: transform 1.8s var(--ease); }

.creds { list-style: none; margin: 0; padding: 0; }
.creds li {
  font-size: 0.92rem; color: var(--ink-soft);
  padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line);
  position: relative;
}
.creds li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 7px; height: 7px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink);
  transform: rotate(45deg);
}
.principal-name {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800; letter-spacing: -0.05em; line-height: 0.92;
  margin: 0 0 0.2em;
}
.role { font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 2em; }
.principal-body div > p { color: var(--ink-soft); font-size: 1.05rem; }
.frameworks { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.frameworks li {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  border: 1.5px solid var(--ink); padding: 7px 14px; border-radius: 100px;
  transition: background 0.3s, color 0.3s;
}
.frameworks li:hover { background: var(--ink); color: #fff; }

/* Approach timeline */
.timeline { position: relative; margin-top: clamp(140px, 14vw, 180px); }
.timeline-rail { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.timeline-rail span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--progress, 1)); }
.js .timeline-rail span { transform: scaleX(var(--progress, 0)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 40px; position: relative; transition: opacity 0.6s var(--ease); }
.steps li::before {
  content: ""; position: absolute; top: -7px; left: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--ink);
  transition: background 0.4s, border-color 0.4s;
}
.js .steps li::before { background: var(--paper-2); border-color: var(--line); }
.js .steps li.active::before { background: var(--ink); border-color: var(--ink); }
.steps li::after {
  content: "0" counter(step);
  position: absolute; top: -40px; left: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; line-height: 1; letter-spacing: 0.08em;
  color: var(--grey);
}
.js .steps li { opacity: 0.35; }
.js .steps li.active { opacity: 1; }
.steps h3 { font-size: 1.5rem; margin: 0 0 0.6em; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; max-width: 30ch; }

/* Contact */
.contact { padding-bottom: clamp(96px, 12vw, 144px); }
.contact-h { margin: 0 0 clamp(48px, 6vw, 80px); }
.contact-inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-lede { color: var(--ink-soft); font-size: 1.15rem; }
.next-steps { margin: 28px 0 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.next-steps-label { margin: 0 0 12px; font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.next-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: ns; }
.next-steps li { counter-increment: ns; position: relative; padding-left: 34px; margin: 0 0 12px; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.next-steps li::before { content: counter(ns, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; color: var(--grey); }
.next-steps b { color: var(--ink); font-weight: 600; }
.contact-meta { font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin-top: 2rem; line-height: 1.5; }

.contact-form { border-top: 1.5px solid var(--ink); padding-top: 32px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 24px; position: relative; }
.field label { display: block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; color: var(--ink-soft); }
.field .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid #C9CAC6; border-radius: 0;
  padding: 10px 0;
  transition: border-color 0.3s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315171B' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.invalid input, .field.invalid textarea { border-bottom-color: #A12A2A; }
.field-error { display: block; color: #A12A2A; font-size: 0.82rem; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 4px 0 24px; }
.form-status { margin: 16px 0 0; font-size: 0.95rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.error { color: #A12A2A; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.62); padding: 72px 0 32px; font-size: 0.88rem; overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: center; margin-bottom: 32px; }
.footer-brand { display: flex; gap: 16px; align-items: center; color: #fff; }
.footer-brand p { margin: 0; }
.footer-brand p + p { color: rgba(255, 255, 255, 0.55); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.acknowledgement { max-width: 70ch; margin: 0; }
.copyright { margin: 0; padding-top: 20px; border-top: 1px solid var(--line-dark); }


/* What I do, motto, sign-off */
.what-i-do {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--ink-soft); max-width: 34ch; margin: 1.5rem 0 0;
}
.motto {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(2rem, 5vw, 4.4rem); text-align: center; max-width: 20ch;
  margin: clamp(72px, 9vw, 120px) auto 0; padding-top: clamp(40px, 5vw, 64px);
  border-top: 1.5px solid var(--ink);
}
.sign-off {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3;
  font-size: clamp(1.15rem, 2vw, 1.6rem); color: #fff; max-width: 40ch; margin: 40px 0 0;
}


/* Mission, engagement lead, after-engagement */
.mission { margin-top: clamp(72px, 10vw, 128px); padding-top: clamp(32px, 4vw, 48px); border-top: 1.5px solid #fff; }
.mission-label { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 1.25rem; }
.mission-text { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1.18; font-size: clamp(1.6rem, 3.4vw, 3rem); max-width: 30ch; margin: 0; }
.split-head-copy .gives { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 1em; }
.split-head-copy p:last-child { margin-bottom: 0; }
.after-eng { margin-top: clamp(56px, 8vw, 96px); background: var(--paper-2); padding: clamp(28px, 4vw, 48px); }
.after-eng h3 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); margin-bottom: 1.5rem; }
.after-eng ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 64px); }
.after-eng li { position: relative; padding: 16px 0 16px 26px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.after-eng li::before { content: ""; position: absolute; left: 2px; top: 26px; width: 7px; height: 7px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.after-eng strong { color: var(--ink); }
.sign-off em { font-style: normal; color: var(--grey-light); }
.footer-motto {
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-light); margin: 16px 0 0;
}
.after-eng-line { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; font-size: clamp(1.35rem, 2.6vw, 2.1rem); max-width: 38ch; margin: 0; }
.after-eng-line em { font-style: normal; color: var(--grey); }

/* ---------- Motion primitives ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal].in {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.js .diffs li[data-reveal]:nth-child(even) { transform: translateY(112px); }
.js .diffs li[data-reveal]:nth-child(even).in { transform: translateY(80px); }

.js [data-split] .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js [data-split] .wd > span { display: inline-block; transform: translateY(105%); }
.js [data-split].in .wd > span { transform: none; transition: transform 1s var(--ease) var(--d, 0s); }

[data-letters] { white-space: nowrap; }
.js [data-letters] .ch { display: inline-block; opacity: 0; transform: translateY(40%) rotate(4deg); }
.js [data-letters].in .ch { opacity: 1; transform: none; transition: opacity 0.6s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }


/* ---------- Belief: lifecycle (the rest of the section is under "What we believe, redesigned") ---------- */
.lifecycle-h { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 20px; }
.states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-dark); }
.states li { padding: 28px 24px 32px; border-right: 1px solid var(--line-dark); position: relative; }
.states li:last-child { border-right: 0; }
.states b { display: block; font-family: var(--font-head); font-size: 1.25rem; letter-spacing: -0.02em; margin: 28px 0 6px; }
.states p { color: rgba(255, 255, 255, 0.62); font-size: 0.93rem; margin: 12px 0 0; }
.state-num { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; color: var(--grey-light); }
.state-doc {
  display: inline-block; font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 100px; padding: 3px 10px; color: var(--grey-light);
}
.states .state-drift { background: #fff; color: var(--ink); }
.states .state-drift p { color: var(--ink-soft); }
.states .state-drift .state-num { color: var(--grey); }
.states .state-drift .state-doc { border-color: var(--ink); color: var(--ink); background: transparent; }
.states .state-drift::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink);
  transform-origin: 0 50%; animation: driftbar 3.2s var(--ease) infinite;
}
@keyframes driftbar { 0% { transform: scaleX(0); } 70% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.lifecycle-note { color: rgba(255, 255, 255, 0.7); max-width: 64ch; margin: 28px 0 0; }


/* Lifecycle chart */
.lifecycle { margin: 0; }
.lc-chart { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 12px 0; }
.lc-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.lc-drift-zone { fill: rgba(255, 255, 255, 0.07); }
.lc-sep { stroke: var(--line-dark); stroke-width: 1; }
.lc-threshold { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.5; stroke-dasharray: 6 6; }
.lc-cost { fill: none; stroke: var(--grey-light); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.lc-line { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.lc-dot { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.lc-label { font-family: var(--font-head); font-size: 15px; font-weight: 500; fill: var(--grey-light); letter-spacing: 0.02em; }
.lc-label-strong { fill: #fff; font-weight: 600; }
.lc-label-end { text-anchor: end; }
.lc-drift-label { fill: #fff; font-weight: 600; }
.js .lc-line { stroke-dasharray: 1180; stroke-dashoffset: 1180; }
.js .lc-drift-zone, .js .lc-dot, .js .lc-drift-label { opacity: 0; }
.js .lifecycle.in .lc-line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease) 0.2s; }
.js .lifecycle.in .lc-drift-zone { opacity: 1; transition: opacity 1s var(--ease) 1.2s; }
.js .lifecycle.in .lc-drift-label, .js .lifecycle.in .lc-dot { opacity: 1; transition: opacity 0.8s var(--ease) 1.8s; }
.lc-dot { transform-box: fill-box; transform-origin: center; }
.lifecycle.in .lc-dot { animation: lcpulse 2.4s ease-in-out 2.6s infinite; }
@keyframes lcpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

.lc-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 26fr 34fr 18fr 22fr; }
.lc-stages li { padding: 24px 20px 8px 0; }
.lc-stages li + li { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.lc-stages b { display: block; font-family: var(--font-head); font-size: 1.15rem; letter-spacing: -0.02em; margin: 14px 0 8px; }
.lc-stages p { color: rgba(255, 255, 255, 0.62); font-size: 0.9rem; margin: 12px 0 0; }
.lc-stage-drift b { font-size: 1.5rem; }
.lc-stage-drift .state-doc { background: #fff; color: var(--ink); border-color: #fff; }
.lc-stage-drift p { color: rgba(255, 255, 255, 0.9); }

/* ---------- Method ---------- */
.mrw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.mrw article { border-top: 1.5px solid var(--ink); padding-top: 24px; }
.mrw h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
.mrw p { color: var(--ink-soft); margin: 0; }
.formula {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(2.2rem, 5.6vw, 5.6rem);
  margin: clamp(64px, 9vw, 112px) 0; padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  text-align: center;
}
.method-body { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.method-body p { color: var(--ink-soft); font-size: 1.05rem; }
.method-body strong { color: var(--ink); }
.claim { background: var(--paper-2); padding: 32px; border-left: 3px solid var(--ink); }
.claim h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 1em; }
.claim p { margin: 0; color: var(--ink); font-size: 1rem; }

.paper-card {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: end;
  margin-top: clamp(56px, 8vw, 96px); padding: clamp(32px, 4vw, 48px);
  background: var(--ink); color: #fff; text-decoration: none; border-radius: var(--radius);
  position: relative; overflow: hidden; isolation: isolate;
}
.paper-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink-3);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease);
}
.paper-card:hover::before { transform: scaleX(1); }
.paper-kicker { grid-column: 1 / -1; font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-light); }
.paper-title { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-size: clamp(2.2rem, 5vw, 4rem); }
.paper-sub { grid-column: 1; color: rgba(255, 255, 255, 0.7); max-width: 56ch; }
.paper-cta { grid-column: 2; grid-row: 2 / 4; align-self: end; font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.paper-cta span { display: inline-block; transition: transform 0.4s var(--ease); }
.paper-card:hover .paper-cta span { transform: translateX(6px); }

@media (min-width: 961px) { .formula { white-space: nowrap; } }

/* ---------- Approach ---------- */
.approach-lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; margin-top: 1.5rem; }
.steps-5 { grid-template-columns: repeat(5, 1fr); gap: 32px; }
.steps-5 h3 { font-size: 1.2rem; }
.steps-5 p { font-size: 0.93rem; }
.step-tag {
  display: block; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--grey);
}
.approach-note { margin: clamp(48px, 6vw, 72px) 0 0; max-width: 72ch; color: var(--ink-soft); font-size: 1.05rem; padding-left: 20px; border-left: 3px solid var(--ink); }
.approach-note strong { color: var(--ink); }

/* ---------- Engagements ---------- */
.service-row { grid-template-columns: 80px minmax(0, 5fr) minmax(0, 6fr); padding: 36px 24px; }
.service-body p { color: var(--ink-soft); font-size: 0.98rem; margin: 0 0 14px; transition: color 0.45s; }
.service-body .deliverable { margin: 0; color: var(--ink); font-weight: 500; }
.deliverable span {
  display: block; font-family: var(--font-head); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px;
}
.service-row:hover .service-body p { color: rgba(255,255,255,0.75); }
.service-row:hover .service-body .deliverable { color: #fff; }
.service-row:hover .deliverable span { color: var(--grey-light); }

/* ---------- Record ---------- */
.sectors-4 { grid-template-columns: repeat(4, 1fr); }
.sectors-4 .sector { padding: 32px 26px 40px; }
.sectors-4 .sector-num { margin-bottom: 36px; }
.sectors-4 h3 { font-size: 1.12rem; }
.sectors-4 p { font-size: 0.92rem; }

/* ---------- Principal facts and frameworks ---------- */
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.facts dt { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); padding-top: 2px; }
.facts dd { margin: 0; color: var(--ink); }
.principal-body .creds { margin-top: 1.5rem; }
.frameworks-block { margin-top: 40px; padding-top: 28px; border-top: 1.5px solid var(--ink); }
.frameworks-block h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.frameworks-block > p { color: var(--ink-soft); font-size: 0.95rem; }
.frameworks-block .frameworks { margin-top: 1rem; }

/* ---------- Contact details ---------- */
.contact-details { margin: 2rem 0 0; }
.contact-details div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-details div:last-child { border-bottom: 1px solid var(--line); }
.contact-details dt { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.contact-details dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 600; overflow-wrap: anywhere; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Working paper page ---------- */
.paper-cover { background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(64px, 10vw, 120px)) 0 clamp(56px, 8vw, 96px); }
.paper-cover .imprint { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 1.5rem; }
.paper-cover h1 { font-size: clamp(3rem, 9vw, 8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.92; margin: 0 0 0.3em; }
.paper-cover .sub { font-size: clamp(1.15rem, 2vw, 1.5rem); color: rgba(255,255,255,0.78); max-width: 40ch; }
.paper-cover .byline { margin: 2.5rem 0 0; padding-top: 20px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.paper-cover .byline b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
.paper-abstract { background: var(--paper-2); padding: clamp(48px, 7vw, 80px) 0; }
.paper-abstract h2 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.paper-abstract p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 68ch; margin: 0; }
.paper-body { padding: clamp(56px, 8vw, 96px) 0 clamp(80px, 10vw, 128px); }
.paper-body .wrap { max-width: 860px; }
.paper-body h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em;
  margin: 2.2em 0 0.8em; padding-top: 0.9em; border-top: 1.5px solid var(--ink);
  display: flex; gap: 18px; align-items: baseline;
}
.paper-body h2:first-child { margin-top: 0; }
.paper-body h2 .n { font-size: 0.85rem; font-weight: 600; color: var(--grey); letter-spacing: 0; }
.paper-body h3 { font-size: 1.2rem; margin: 2em 0 0.6em; }
.paper-body p, .paper-body li { color: #2D3138; }
.paper-body .lead { font-family: var(--font-head); font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.paper-body blockquote {
  margin: 2em 0; padding: 0 0 0 24px; border-left: 3px solid var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; letter-spacing: -0.02em;
}
.paper-body blockquote p { color: var(--ink); margin: 0; }
.paper-body ul, .paper-body ol { padding-left: 1.2em; }
.paper-body li { margin-bottom: 0.5em; }
.paper-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0 2em; font-size: 0.93rem; }
.paper-body th { text-align: left; font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); padding: 10px 12px 10px 0; border-bottom: 1.5px solid var(--ink); }
.paper-body td { vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.paper-body td span { color: var(--grey); font-size: 0.85rem; }
.table-scroll { overflow-x: auto; }
.paper-body .def { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 44px); margin: 2em 0; border-radius: var(--radius); }
.paper-body .def h4 { font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-light); margin: 0 0 1.2em; }
.paper-body .def dl { margin: 0; }
.paper-body .def dt { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-top: 1em; }
.paper-body .def dd { margin: 0.3em 0 0; color: rgba(255,255,255,0.75); }
.paper-body .eq { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: -0.03em; margin-top: 1.2em; padding-top: 0.8em; border-top: 1px solid var(--line-dark); }
.paper-body .states { grid-template-columns: 1fr; border-color: var(--line); padding: 0; margin: 1.5em 0 2em; }
.paper-body .states li { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 22px; margin: 0; display: grid; grid-template-columns: 220px 1fr; gap: 16px; }
.paper-body .states li:last-child { border-bottom: 0; }
.paper-body .states b { margin: 0; font-size: 1.05rem; }
.paper-body .states span { color: var(--ink-soft); }
.paper-body .states li.here { background: var(--ink); color: #fff; }
.paper-body .states li.here span { color: rgba(255,255,255,0.78); }
.paper-body .ex { border: 1.5px solid var(--ink); padding: clamp(24px, 4vw, 40px); margin: 2em 0; }
.paper-body .ex h3 { margin-top: 0; }
.paper-body .note { font-size: 0.85rem; color: var(--grey); }
.paper-body .limits { background: var(--paper-2); padding: clamp(24px, 4vw, 40px); margin: 2em 0; border-left: 3px solid var(--ink); }
.paper-body .limits h3 { margin-top: 0; }
.paper-back { display: inline-flex; margin-top: 3rem; }
.paper-body .flush { margin-bottom: 0; }

/* ---------- Print ---------- */

/* ---------- What we all depend on (band after the hero) ---------- */
.depends { background: var(--paper-2); padding: clamp(80px, 10vw, 136px) 0; overflow: hidden; }
.depends-grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.dep-head { max-width: 980px; }
.dep-say {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); color: var(--ink); margin: 0.6rem 0 0; min-height: 2.3em;
  display: flex; align-items: center; justify-content: center; text-wrap: balance;
}
.dep-say span { display: block; transition: opacity 0.35s ease, transform 0.35s ease; }
.dep-say.swap span { opacity: 0; transform: translateY(6px); }
.dep-hint { margin: 0.4rem 0 0; color: var(--grey); font-size: 0.95rem; }
.js .dep-fallback { display: none; }
html:not(.js) .dep-say, html:not(.js) .dep-hint { display: none; }
.dep-fallback { text-align: left; margin-top: 1.5rem; }
.depends .depends-figure { width: 100%; max-width: 1040px; margin-top: clamp(8px, 2vw, 24px); }
.dep-foot { width: 100%; text-align: left; margin-top: clamp(48px, 7vw, 88px); }
.depends .dep-foot .dep-too { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.depends .dep-foot .dep-too li {
  padding: clamp(22px, 2.6vw, 32px); padding-left: clamp(22px, 2.6vw, 32px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.depends .dep-foot .dep-too li::before { content: none; }
.dep-too strong { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.15; color: var(--ink); }
.dep-too span { color: var(--ink-soft); font-size: 1.05rem; }
.too-icon { width: 48px; height: 48px; margin-bottom: 14px; fill: none; stroke: #1F6FB2; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dep-too li:nth-child(1) .too-icon circle { fill: var(--paper); stroke: #1F6FB2; }
.dep-too li:nth-child(2) .too-icon { stroke: #3F8A25; }
.dep-too .too-faint { stroke: var(--line); }
.dep-too li:nth-child(3) .too-icon { stroke: #A12A2A; }
.dep-too .too-break { stroke-dasharray: 3 4; }
.dep-foot .dep-paradox { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 34ch; text-align: center; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.dep-chain, .dep-too { list-style: none; margin: 0; padding: 0; }
.dep-chain li {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem); color: var(--ink);
  padding: 0.18em 0;
}
.dep-chain li + li { border-top: 1px solid var(--line); }
.dep-web { margin: 1.5rem 0 2.25rem; color: var(--ink-soft); font-size: 1.08rem; max-width: 46ch; }
.dep-too li { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.55; position: relative; padding-left: 30px; }
.dep-too li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 18px; height: 1.5px; background: var(--grey-light); }
.dep-paradox {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25;
  font-size: clamp(1.2rem, 2vw, 1.55rem); margin: 2.25rem 0 1rem; max-width: 30ch; color: var(--ink);
}
.dep-paradox span { display: block; margin-top: 0.35em; color: var(--ink-soft); }
.dep-caption { margin: 14px auto 0; max-width: 44ch; text-align: center; color: var(--grey); font-size: 0.92rem; text-wrap: balance; }
.dep-too { margin-top: 2rem; }
.dep-question em { font-style: normal; color: var(--ink); font-weight: 600; }

.depends-figure { margin: 0; }
.dep-globe { display: block; width: 100%; height: auto; max-width: 1040px; margin: 0 auto; overflow: visible; }
.dg-sphere { fill: url(#dg-shade); stroke: #1A4F86; stroke-width: 1.25; }
.dg-land { fill: url(#dg-landfill); stroke: #3E7A33; stroke-width: 0.6; stroke-linejoin: round; }
.dg-air { fill: url(#dg-air); }
.dg-ring { fill: var(--paper); stroke: var(--ink); stroke-width: 1; opacity: 0.35; }
.dg-alert { fill: none; stroke: #A12A2A; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: dg-alert 2.4s ease-out infinite; }
.dg-pulse { fill: #ffffff; }
@keyframes dg-alert { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }
.dg-grat { fill: none; stroke: #ffffff; stroke-opacity: 0.28; stroke-width: 1; }
.dg-orbit { fill: none; stroke: var(--grey-light); stroke-width: 1; stroke-dasharray: 2 6; }
.dg-link { fill: none; stroke: #ffffff; stroke-width: 1.2; opacity: 0.6; stroke-linecap: round; }
.dg-weak { stroke: #A12A2A; opacity: 1; stroke-width: 1.6; stroke-dasharray: 5 5; animation: dg-flow 2.4s linear infinite; }
.dg-node { fill: var(--ink); }
.dg-halo { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.25; }
.dg-person { fill: var(--ink); }
.dg-sat rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.dg-sat line { stroke: var(--ink); stroke-width: 1.25; }
.dg-label { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--ink-soft); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.dg-label-c { fill: var(--ink); font-size: 14px; }
.dg-note { font-family: var(--font-body); font-size: 14px; fill: var(--grey); }
.dg-ground { stroke: var(--ink); stroke-width: 1.25; }
.dg-town path, .dg-town rect, .dg-town circle { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; }
.dg-town circle { fill: var(--ink); stroke: none; }
.dg-town .dg-win { fill: var(--grey-light); stroke: none; }
.dg-town .dg-cross { stroke: #A12A2A; stroke-width: 2.4; fill: none; }
@keyframes dg-flow { to { stroke-dashoffset: -20; } }
/* Globe: point at a sector to see what it holds up */
.dg-hot { cursor: pointer; outline: none; transition: opacity 0.3s ease; }
.dg-hit { fill: transparent; }
.dg-link, .dg-pulses, .dg-label, .dg-ring { transition: opacity 0.3s ease, stroke-width 0.3s ease, fill 0.3s ease; }
.dep-globe.is-focus .dg-link { opacity: 0.15; }
.dep-globe.is-focus .dg-link.on { opacity: 1; stroke-width: 2.6; }
.dep-globe.is-focus .dg-weak.on { stroke-width: 2.2; }
.dep-globe.is-focus .dg-pulses { opacity: 0.2; }
.dep-globe.is-focus .dg-hot { opacity: 0.6; }
.dep-globe.is-focus .dg-hot.near, .dep-globe.is-focus .dg-hot.active { opacity: 1; }
.dg-hot.active .dg-ring { opacity: 1; fill: var(--ink); }
.dg-hot.active .dg-label { fill: var(--ink); }
.dg-hot:focus-visible .dg-ring { opacity: 1; stroke-width: 2.5; }

/* Globe colours: one per sector */
.depends { --c-energy: #B86E00; --c-water: #1F6FB2; --c-health: #C8325E; --c-data: #6B46C1; --c-communications: #0E7C8C; --c-transport: #C4540F; --c-food: #3F8A25; --c-finance: #0B6E60; --c-education: #8A6A1E; --c-satellites: #475569; --c-communities: var(--ink); }
.dg-hot[data-node="energy"], .dep-say[data-active="energy"] { --c: var(--c-energy); }
.dg-hot[data-node="water"], .dep-say[data-active="water"] { --c: var(--c-water); }
.dg-hot[data-node="health"], .dep-say[data-active="health"] { --c: var(--c-health); }
.dg-hot[data-node="data"], .dep-say[data-active="data"] { --c: var(--c-data); }
.dg-hot[data-node="communications"], .dep-say[data-active="communications"] { --c: var(--c-communications); }
.dg-hot[data-node="transport"], .dep-say[data-active="transport"] { --c: var(--c-transport); }
.dg-hot[data-node="food"], .dep-say[data-active="food"] { --c: var(--c-food); }
.dg-hot[data-node="finance"], .dep-say[data-active="finance"] { --c: var(--c-finance); }
.dg-hot[data-node="education"], .dep-say[data-active="education"] { --c: var(--c-education); }
.dg-hot[data-node="satellites"], .dep-say[data-active="satellites"] { --c: var(--c-satellites); }
.dg-hot[data-node="communities"], .dep-say[data-active="communities"] { --c: var(--c-communities); }
.dg-hot .dg-node { fill: var(--c); }
.dg-hot .dg-ring { stroke: var(--c); opacity: 0.55; }
.dg-hot .dg-label { fill: var(--c); }
.dg-hot.active .dg-ring { fill: var(--c); opacity: 1; }
.dg-hot.active .dg-label { fill: var(--c); }
.dg-hot .dg-sat rect, .dg-hot .dg-sat line { stroke: var(--c); }
.dep-say b { font-weight: inherit; color: var(--c, var(--ink)); transition: color 0.3s ease; }

@media (max-width: 720px) {
  .desk { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .monitor-left, .monitor-right { perspective: none; }
  .monitor-main { grid-column: 1 / -1; }
  .monitor-left, .monitor-right { grid-row: 2; margin-top: 0; }
  .monitor-left { grid-column: 1; }
  .monitor-right { grid-column: 2; }
  .monitor-left .monitor-unit, .monitor-right .monitor-unit { transform: none; }
  .monitor-main figcaption { text-align: left; margin-left: 0; }
  .monitor figcaption { font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) { .dg-pulses { display: none; } .dg-alert { animation: none; opacity: 0; } }

@media (max-width: 960px) {
  .depends .dep-foot .dep-too { grid-template-columns: 1fr; }
  .depends .dep-foot .dep-too li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: center; }
  .depends .dep-foot .dep-too .too-icon { grid-row: 1 / 3; width: 40px; height: 40px; margin: 0; }
}
@media (max-width: 600px) {
  .depends .wrap.depends-grid { padding-left: 4px; padding-right: 4px; }
  .dep-head, .dep-foot { padding-left: 12px; padding-right: 12px; }
  .dep-globe .dg-label { font-size: 16px; stroke-width: 6px; letter-spacing: 0.03em; }
  .dep-globe .dg-label-c { font-size: 17px; }
  .dep-say { font-size: 1.6rem; min-height: 3.4em; }
}


/* ---------- 03 Method: margin, rate and window diagram + example condition ---------- */
.method-viz { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin: 0 0 clamp(48px, 7vw, 80px); }
.mrw-fig { margin: 0; }
.mrw-chart { display: block; width: 100%; height: auto; overflow: visible; }
.mrw-fig figcaption { margin-top: 14px; color: var(--grey); font-size: 0.92rem; max-width: 60ch; }
.mc-axis { stroke: var(--ink); stroke-width: 1.25; }
.mc-axis-label, .mc-small { font-family: var(--font-body); font-size: 13px; fill: var(--grey); }
.mc-threshold { stroke: #A12A2A; stroke-width: 1.5; stroke-dasharray: 6 5; }
.mc-threshold-label { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; fill: #A12A2A; }
.mc-history { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.mc-projection { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; }
.mc-now { stroke: var(--grey-light); stroke-width: 1; stroke-dasharray: 2 4; }
.mc-now-label { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--ink); }
.mc-dot { fill: var(--ink); }
.mc-cross { fill: var(--paper); stroke: #A12A2A; stroke-width: 2; }
.mc-bracket, .mc-rate, .mc-window, .mc-window-cap { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.mc-label { font-family: var(--font-head); font-size: 15px; font-weight: 700; fill: var(--ink); }
.mc-restore { fill: var(--grey-light); }

.cond-card { background: var(--paper-2); border-left: 3px solid var(--ink); padding: clamp(24px, 3vw, 36px); }
.cond-kicker { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin: 0 0 0.8em; }
.cond-statement { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 1.2em; }
.cond-facts { margin: 0; }
.cond-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.cond-facts dt { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); padding-top: 3px; }
.cond-facts dd { margin: 0; color: var(--ink); font-size: 0.98rem; }
.cond-facts .cond-warn { font-weight: 700; color: #A12A2A; }
.cond-note { margin: 12px 0 0; font-size: 0.8rem; color: var(--grey); }

.wb-head { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--grey); }
.wb-grid { stroke: var(--line); stroke-width: 1; }
.wb-tick { font-family: var(--font-body); font-size: 12px; fill: var(--grey); }
.wb-name { font-family: var(--font-head); font-size: 15px; font-weight: 600; fill: var(--ink); }
.wb-track { fill: var(--paper-2); }
.wb-bar { fill: var(--ink); }
.wb-bar.st-urgent { fill: var(--ink-soft); }
.wb-none { font-family: var(--font-body); font-size: 12px; font-style: italic; fill: #A12A2A; }
.wb-restore { stroke: #A12A2A; stroke-width: 3; }
.wb-status { font-family: var(--font-head); font-size: 14px; font-weight: 700; fill: var(--ink); }
.wb-status.st-urgent, .wb-status.st-late { fill: #A12A2A; }
@media (max-width: 560px) {
  .wb-name { font-size: 20px; } .wb-status { font-size: 19px; } .wb-head { font-size: 12px; } .wb-tick, .wb-none { font-size: 16px; }
}

/* Method: one condition, told in three beats */
.story { background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 64px); margin: 0 0 clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.story-kicker { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-light); margin: 0 0 0.8em; }
.story-cond { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 clamp(36px, 5vw, 56px); max-width: 30ch; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.beat { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; padding: clamp(16px, 2vw, 24px); }
.beat-late { border-color: rgba(208, 88, 90, 0.55); }
.beat-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.beat-when { flex: none; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-light); }
.beat-late .beat-when { color: #D0585A; }
.beat-rail { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.beat-rail i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; border-radius: 2px; }
.beat-rail.r0 i { width: 4px; }
.beat-rail.r120 i { width: 66.67%; }
.beat-rail.r180 i { width: 66.67%; }
.beat-rail.r180::after { content: ""; position: absolute; left: 66.67%; right: 0; top: 0; bottom: 0; background: #D0585A; }
.scene { display: block; width: 100%; height: auto; margin-bottom: 18px; overflow: visible; }
.sc-hill { fill: rgba(255, 255, 255, 0.05); }
.sc-ground { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; }
.sc-site path, .sc-site rect { fill: var(--ink); stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.sc-level { stroke: rgba(255, 255, 255, 0.45); stroke-width: 1.5; stroke-dasharray: 3 3; }
.sc-unit line { stroke: #fff; stroke-width: 2; }
.sc-box { fill: #fff; }
.sc-mast { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.sc-tip { fill: #fff; }
.sc-wave { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.js .story.in .scene-today .sc-wave { animation: sc-pulse 1.6s ease-in-out infinite; }
.sc-link { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 6 5; }
.js .story.in .scene-today .sc-link { animation: sc-flow 1.2s linear infinite; }
.sc-notice rect { fill: #D0585A; }
.sc-notice text { font-family: var(--font-head); font-size: 12px; font-weight: 800; fill: #fff; }
.sc-broken { stroke: rgba(255, 255, 255, 0.4); }
.sc-x { stroke: #D0585A; stroke-width: 3; stroke-linecap: round; fill: none; }
.sc-alarm circle { fill: #D0585A; }
.sc-alarm path { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.sc-ute path, .sc-ute circle { fill: var(--ink); stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.8; stroke-linejoin: round; }
.sc-faded { opacity: 0.35; }
.sc-faded .sc-mast { stroke-dasharray: 4 4; }
.sc-new .sc-box, .sc-new .sc-tip { fill: #D0585A; }
.sc-new line, .sc-new .sc-mast, .sc-new .sc-wave { stroke: #D0585A; }
.sc-new-link { stroke: #D0585A; }
.beat-head { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.25; margin: 0 0 0.35em; }
.beat-sub { color: rgba(255, 255, 255, 0.66); font-size: 0.98rem; margin: 0; max-width: 30ch; }
.story-numbers { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-size: clamp(2rem, 5.4vw, 4.6rem); margin: clamp(48px, 7vw, 88px) 0 0; padding-top: clamp(32px, 4vw, 48px); border-top: 1.5px solid rgba(255, 255, 255, 0.22); display: flex; flex-wrap: wrap; gap: 0 0.5em; }
.story-numbers span:last-child { color: #D0585A; }
.story-verdict { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.8); margin: 18px 0 0; }
.story-verdict b { font-family: var(--font-head); color: #D0585A; }
.story figcaption { margin-top: clamp(28px, 4vw, 40px); color: var(--grey-light); font-size: 0.9rem; }

/* animation: only with JS, only once the figure is in view; without JS the end state shows */
.js .story .beat { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .story.in .beat { opacity: 1; transform: none; }
.js .story.in .beat:nth-child(2) { transition-delay: 0.5s; }
.js .story.in .beat:nth-child(3) { transition-delay: 1s; }
.js .story.in .scene-gone .sc-x { animation: sc-pop 0.5s 1.6s var(--ease) both; }
.js .story.in .scene-gone .sc-faded { animation: sc-fade 1s 1.4s var(--ease) both; }
.js .story.in .scene-new .sc-new, .js .story.in .scene-new .sc-new-link { animation: sc-arrive 0.9s 2s var(--ease) both; }
.js .story.in .scene-gone .sc-alarm, .js .story.in .scene-gone .sc-ute { animation: sc-arrive 0.7s 1.8s var(--ease) both; }
.js .story .beat-rail i { transition: width 1.2s var(--ease); }
.js .story:not(.in) .beat-rail i { width: 0; }
.js .story .beat-rail.r180::after { transition: opacity 0.6s 2.2s; }
.js .story:not(.in) .beat-rail.r180::after { opacity: 0; }
.js .story.in .beat:nth-child(2) .beat-rail i { transition-delay: 0.6s; }
.js .story.in .beat:nth-child(3) .beat-rail i { transition-delay: 1.1s; }
.js .story .story-numbers, .js .story .story-verdict { opacity: 0; transition: opacity 0.8s 2.4s; }
.js .story.in .story-numbers, .js .story.in .story-verdict { opacity: 1; }
@keyframes sc-flow { to { stroke-dashoffset: -22; } }
@keyframes sc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes sc-pop { from { opacity: 0; transform: scale(0.4); transform-origin: 182px 50px; } to { opacity: 1; transform: none; transform-origin: 182px 50px; } }
@keyframes sc-fade { from { opacity: 1; } to { opacity: 0.35; } }
@keyframes sc-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .beats { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- 04 Approach: the two phases ---------- */
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-top: 48px; }
.phase { position: relative; padding-top: 18px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 4px; }
.phase::before, .phase::after { content: ""; position: absolute; top: -9px; width: 2px; height: 16px; background: var(--ink); }
.phase::before { left: 0; } .phase::after { right: 0; }
.phase-hold { grid-column: 1 / span 3; }
.phase-measure { grid-column: 4 / span 2; border-top-color: var(--grey-light); }
.phase-measure::before, .phase-measure::after { background: var(--grey-light); }
.phase strong { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink); }
.phase-steps { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.phase-note { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Services: start from the reader's situation ---------- */
/* Services: five rows; each opens to what we do, what you get and the full scope (changelog 95) */
.svc-list { border-top: 1.5px solid var(--ink); }
.svc { border-bottom: 1px solid var(--line); }
.svc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr) 32px; gap: 8px clamp(20px, 3vw, 48px);
  align-items: center; padding: clamp(22px, 2.6vw, 30px) 0; transition: background 0.3s; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary:hover .svc-name, .svc[open] .svc-name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.svc summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.svc-num { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--grey); }
.svc-title { display: flex; flex-direction: column; gap: 4px; }
.svc-line { font-family: var(--font-head); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.svc-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 1.9vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.svc-q { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.5; }
.svc-toggle { position: relative; width: 32px; height: 32px; border: 1.5px solid var(--line); border-radius: 50%; justify-self: end; transition: border-color 0.3s, background 0.3s; }
.svc-toggle::before, .svc-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); translate: -50% -50%; transition: rotate 0.3s var(--ease); }
.svc-toggle::after { rotate: 90deg; }
.svc[open] .svc-toggle { background: var(--ink); border-color: var(--ink); }
.svc[open] .svc-toggle::before, .svc[open] .svc-toggle::after { background: #fff; }
.svc[open] .svc-toggle::after { rotate: 0deg; }
.svc summary:hover .svc-toggle { border-color: var(--ink); }
.svc-body { display: grid; grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr) 32px; gap: 8px clamp(20px, 3vw, 48px); padding: 0 0 clamp(28px, 3vw, 40px); }
.svc-main { grid-column: 2; }
.svc-scope { grid-column: 3; background: var(--paper-2); padding: 20px 24px; border-radius: var(--radius); }
.svc-what { margin: 0; color: var(--ink); }
.svc-get { margin: 16px 0 0; padding-left: 14px; border-left: 2px solid var(--ink); color: var(--ink-soft); font-size: 0.95rem; }
.svc-get span, .svc-scope-h { display: block; font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin: 0 0 4px; }
.svc-scope p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }
.svc-scope p + p { margin-top: 0; }
.svc-link { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--ink-soft); font-size: 0.95rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.svc-link:hover { color: var(--ink); border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .svc[open] .svc-body { animation: svc-open 0.45s var(--ease) both; }
}
@keyframes svc-open { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.svc-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(32px, 5vw, 80px); margin: clamp(28px, 3vw, 40px) 0 0; }
.svc-terms div { font-size: 0.88rem; color: var(--ink-soft); }
.svc-terms dt { display: inline; font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-right: 6px; }
.svc-terms dt::after { content: ":"; }
.svc-terms dd { display: inline; margin: 0; }
@media (max-width: 860px) {
  .svc summary { grid-template-columns: 36px minmax(0, 1fr) 32px; }
  .svc-q { grid-column: 2; grid-row: 2; font-size: 0.95rem; }
  .svc-toggle { grid-column: 3; grid-row: 1; }
  .svc-body { grid-template-columns: 36px minmax(0, 1fr); }
  .svc-main, .svc-scope { grid-column: 2; }
  .svc-terms { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .method-viz { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr 1fr; gap: 20px; }
  .phase-hold { grid-column: 1; } .phase-measure { grid-column: 2; }
}
@media (max-width: 560px) {
  .mc-label { font-size: 22px; }
  .mc-axis-label, .mc-small { font-size: 18px; }
  .mc-threshold-label, .mc-now-label { font-size: 16px; }
  .phases { grid-template-columns: 1fr; }
  .phase-measure { grid-column: 1; }
}


.after-eng-foot { background: none; margin-top: 0; padding: clamp(32px, 4vw, 48px) 0 0; border-top: 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px clamp(32px, 5vw, 80px); align-items: baseline; }
.after-eng-kicker { margin: 0; font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.after-eng-foot .after-eng-line { font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.35; max-width: 44ch; }
.after-eng-foot .after-eng-line em { color: var(--ink); font-style: italic; }
@media (max-width: 960px) { .after-eng-foot { grid-template-columns: 1fr; gap: 8px; } }

@media print {
  .site-header, .trusted, .contact-form, .hero-mark, .hero-grid, .hero-spot, .footer-word, .scroll-progress { display: none !important; }
  body, .hero, .section-dark, .site-footer, .paper-cover, .paper-body .def, .states .state-drift, .paper-card { background: #fff !important; color: #000 !important; }
  .hero { min-height: 0; padding: 24px 0; }
  .outline, .diff-num, .mrw-letter, .steps li::after { color: #000 !important; -webkit-text-stroke: 0 !important; }
  .js [data-reveal], .js [data-split] .wd > span, .js [data-letters] .ch, .js .hero .line > span { opacity: 1 !important; transform: none !important; }
  .js [data-wipe] .portrait { clip-path: none !important; }
  .js .statement .w { opacity: 1 !important; }
  * { animation: none !important; transition: none !important; }
  .section { padding: 32px 0; }
  .platform-desc, .sector p, .split-head-copy, .lifecycle-note, .signals-copy, .states p { color: #222 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; color: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav .nav-cta, .site-header:not(.scrolled) .nav .nav-cta { margin-top: 16px; text-align: center; background: var(--ink); color: #fff; border-color: var(--ink); }
  .site-header.menu-open { background: #fff; color: var(--ink); }
}

@media (max-width: 960px) {
  .hero-foot { grid-template-columns: 1fr; }
  .split-head { grid-template-columns: 1fr; align-items: start; }
  .platform { grid-template-columns: 1fr; }
  .platform-under { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .trio li + li { padding-left: 0; border-left: 0; }
  .trio li { padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 56px 1fr; }
  .service-row p { grid-column: 2; }
  .sectors, .sectors-4 { grid-template-columns: repeat(2, 1fr); }
  .method-body { grid-template-columns: 1fr; }
  .states { grid-template-columns: repeat(2, 1fr); }
  .lc-stages { grid-template-columns: 1fr 1fr; }
  .lc-stages li:nth-child(3) { border-left: 0; padding-left: 0; }
  .states li:nth-child(2) { border-right: 0; }
  .states li:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .steps-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .timeline-rail { display: none; }
  .steps li { border-top: 2px solid var(--ink); }
  .js .steps li { border-top-color: var(--line); }
  .js .steps li.active { border-top-color: var(--ink); }
  .steps li::before { display: none; }
  .timeline { margin-top: clamp(56px, 8vw, 96px); }
  .steps li::after { top: 14px; }
  .principal, .contact-inner { grid-template-columns: 1fr; }
  .principal-media { position: static; display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; order: 2; }
  .principal-body { order: 1; }
  .portrait { margin-bottom: 0; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-bottom: 72px; }
  .hero-mark { width: 90vw; right: -30vw; top: 30%; }
  .hero-title { font-size: 10vw; }
  .m-br { display: inline; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-stats div:last-child { grid-column: 1 / -1; }
  .diffs { grid-template-columns: 1fr; padding-bottom: 0; }
  .diffs li:nth-child(even), .js .diffs li[data-reveal]:nth-child(even).in { transform: none; }
  .js .diffs li[data-reveal]:nth-child(even) { transform: translateY(32px); }
  .statement { margin-left: 0; }
  .service-row { grid-template-columns: 1fr; padding: 24px 4px; }
  .service-row p { grid-column: auto; }
  .service-row:hover h3 { transform: none; }
  .sectors, .sectors-4 { grid-template-columns: 1fr; }
  .states { grid-template-columns: 1fr; }
  .lc-label { font-size: 30px; }
  .lc-drift-label { display: none; }
  .lc-line { stroke-width: 7; }
  .lc-threshold { stroke-width: 3; stroke-dasharray: 12 10; }
  .lc-cost { stroke-width: 3; stroke-dasharray: 4 12; }
  .lc-dot { r: 14; stroke-width: 6; }
  .lc-stages { grid-template-columns: 1fr; }
  .lc-stages li, .lc-stages li + li { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line-dark); padding-bottom: 20px; }
  .states li { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .mrw { grid-template-columns: 1fr; gap: 40px; }
  .steps-5 { grid-template-columns: 1fr; }
  .paper-card { grid-template-columns: 1fr; }
  .paper-cta { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .signal-list li { flex-direction: column; gap: 4px; }
  .signal-list span { text-align: left; }
  .paper-body .states li { grid-template-columns: 1fr; gap: 6px; }
  .principles { grid-template-columns: 1fr; }
  .after-eng ul { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .principal-media { grid-template-columns: 1fr; }
  .portrait { max-width: 260px; }
  .field-row { grid-template-columns: 1fr; }
  .brand-word { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero .line > span, .js .contact-title .line > span,
  .js [data-split] .wd > span, [data-letters] { white-space: nowrap; }
.js [data-letters] .ch { transform: none; opacity: 1; }
  .js .hero-eyebrow, .js .hero-foot, .js .hero-stats,
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .chev { stroke-dashoffset: 0; }
  .js [data-wipe] .portrait { clip-path: none; }
  .js [data-wipe] .portrait img { transform: none; }
  .js .statement .w { opacity: 1; }
  .js .steps li { opacity: 1; }
  .states .state-drift::after { display: none; }
  .js .lc-line { stroke-dashoffset: 0; }
  .js .lc-drift-zone, .js .lc-dot, .js .lc-drift-label { opacity: 1; }
  .js .timeline-rail span { transform: scaleX(1); }
}

/* Third hero statistic is words, not a number: keep it on one line */
.hero-stats dt.stat-words { font-size: clamp(1.15rem, 1.9vw, 1.7rem); white-space: nowrap; padding-top: 0.35em; }


/* Story card timeline: day counter, signal vs replacement bars, the gap */
.tl { margin: 0 0 clamp(40px, 5vw, 64px); }
.tl-day { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-light); margin: 0 0 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tl-day b { color: #fff; font-size: 1.5rem; letter-spacing: -0.02em; font-weight: 800; margin-left: 0.25em; font-variant-numeric: tabular-nums; }
.tl-replay { font: inherit; color: var(--grey-light); background: none; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--radius); padding: 6px 12px; cursor: pointer; display: none; }
.tl-replay:hover, .tl-replay:focus-visible { color: #fff; border-color: #fff; }
.js .tl-replay { display: inline-block; }
.tl-track { position: relative; padding: 0 0 30px; }
.tl-row { position: relative; height: 34px; }
.tl-row + .tl-row { margin-top: 10px; }
.tl-lab { position: absolute; left: 0; top: 0; z-index: 1; font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); white-space: nowrap; background: var(--ink); padding-right: 8px; }
.tl-bar { position: absolute; left: 0; bottom: 0; height: 10px; border-radius: 2px; }
.tl-signal { width: 66.667%; background: #fff; }
.tl-replace { width: 100%; background: #D0585A; }
.tl-gap { position: absolute; left: 66.667%; right: 0; top: 0; bottom: 30px; border-left: 2px solid #D0585A;
  background: repeating-linear-gradient(135deg, rgba(208, 88, 90, 0.22) 0 6px, transparent 6px 12px); }
.tl-gap span { position: absolute; right: 8px; top: 6px; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #F0A3A4; white-space: nowrap; }
.tl-ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; border-top: 1.5px solid rgba(255, 255, 255, 0.22); }
.tl-ticks span { position: absolute; top: 8px; font-size: 0.75rem; color: var(--grey-light); white-space: nowrap; transform: translateX(-50%); }
.tl-ticks span:first-child { transform: none; }
.tl-ticks span:last-child { transform: translateX(-100%); }
.tl-head { position: absolute; top: -6px; bottom: 22px; left: 100%; width: 2px; margin-left: -1px; background: #fff; opacity: 0; }
@media (max-width: 560px) {
  .tl-track { padding-bottom: 56px; }
  .tl-gap { bottom: 56px; }
  .tl-ticks { bottom: 26px; }
  .tl-head { bottom: 48px; }
  .tl-gap span { top: auto; bottom: -56px; right: 0; font-size: 0.68rem; }
  .tl-day b { font-size: 1.25rem; }
}

/* the play: 0.6s settle, 6s run (day 0 to 180), then the numbers */
@media (prefers-reduced-motion: no-preference) {
  .js .story-play .tl-signal { width: 0; }
  .js .story-play .tl-replace { width: 0; }
  .js .story-play .tl-gap { opacity: 0; }
  .js .story-play .tl-head { left: 0; }
  .js .story-play.in .tl-signal { animation: tl-grow-signal 4s 0.6s linear both; }
  .js .story-play.in .tl-replace { animation: tl-grow 6s 0.6s linear both; }
  .js .story-play.in .tl-gap { animation: tl-show 0.6s 4.6s ease-out both; }
  .js .story-play.in .tl-head { animation: tl-run 6s 0.6s linear both, tl-show 0.3s 0.6s both; }

  /* beats wait their turn: today at 0s, day 120 at 4s, day 180 at 6s into the run */
  .js .story-play .beat { opacity: 0.18; transform: none; transition: none; }
  .js .story-play.in .beat { animation: tl-beat 0.7s var(--ease) both; }
  .js .story-play.in .beat:nth-child(1) { animation-delay: 0.6s; }
  .js .story-play.in .beat:nth-child(2) { animation-delay: 4.6s; }
  .js .story-play.in .beat:nth-child(3) { animation-delay: 6.6s; }
  .js .story-play.in .scene-gone .sc-faded { animation: sc-fade 1s 4.8s var(--ease) both; }
  .js .story-play.in .scene-gone .sc-x { animation: sc-pop 0.5s 5s var(--ease) both; }
  .js .story-play.in .scene-new .sc-new, .js .story-play.in .scene-new .sc-new-link { animation: sc-arrive 0.9s 6.8s var(--ease) both; }
  .js .story-play .story-numbers, .js .story-play .story-verdict { opacity: 0; transition: none; }
  .js .story-play.in .story-numbers { animation: tl-show 0.8s 7.2s both; }
  .js .story-play.in .story-verdict { animation: tl-show 0.8s 7.8s both; }
}
@keyframes tl-grow { from { width: 0; } to { width: 100%; } }
@keyframes tl-grow-signal { from { width: 0; } to { width: 66.667%; } }
@keyframes tl-run { from { left: 0; } to { left: 100%; } }
@keyframes tl-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes tl-beat { from { opacity: 0.18; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tl-replay[hidden] { display: none !important; }
.tl-ticks .tl-t0 { left: 0; }
.tl-ticks .tl-t120 { left: 66.667%; }
.tl-ticks .tl-t180 { left: 100%; }

/* Steph's panels, re-timed to the counter: each rail and scene plays as its day is reached.
   Keyframe animations, not transitions, so "Play again" replays them. */
@media (prefers-reduced-motion: no-preference) {
  .js .story-play .beat-rail i, .js .story-play .beat-rail.r180::after { transition: none; }
  .js .story-play.in .beat-rail i { animation: tl-from0 1.2s var(--ease) both; }
  .js .story-play.in .beat:nth-child(1) .beat-rail i { animation-delay: 0.6s; }
  .js .story-play.in .beat:nth-child(2) .beat-rail i { animation-delay: 4.6s; }
  .js .story-play.in .beat:nth-child(3) .beat-rail i { animation-delay: 6.6s; }
  .js .story-play.in .beat-rail.r180::after { animation: tl-show 0.6s 7s both; }
  .js .story-play.in .scene-gone .sc-alarm, .js .story-play.in .scene-gone .sc-ute { animation: sc-arrive 0.7s 5.2s var(--ease) both; }
}
@keyframes tl-from0 { from { width: 0; } }


/* ============ What we believe, redesigned (changelog 92) ============
   I. the claim and the assessment report, stamped
   II. one story chart: the condition line drifts, the dated warning signs sit on it, it crosses the
       threshold and falls; the four stages line up beneath (script.js: belief draws it on scroll)
   No JS: everything shows in its finished state. */

/* I. The claim */



/* II. The signals */
.bel-knowable { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(2.2rem, 3.6vw, 3.3rem); margin: 0; }
@media (min-width: 961px) { .bel-knowable { white-space: nowrap; } }
.bel-knowable span { color: #D0585A; }
.bel-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, 0.72); margin: 0; max-width: 40ch; }

.bel-src { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-head); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey-light); }
.bel-src span + span { color: #fff; }
.bel-ico { display: block; width: 24px; height: 24px; margin: 16px 0 10px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* II. The story chart */

/* The lifecycle of a failure */
.bx-sec .bx-sig { background: var(--ink-3); }
.bx-eyebrow { margin: 0 0 18px; }
.bx-story { margin: 0; }
.bx-story-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.bx-plot { position: relative; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.bx-svg { display: block; width: 100%; height: auto; overflow: visible; }
.bx-drift { fill: rgba(208, 88, 90, 0.07); }
.bx-sep { stroke: var(--line-dark); stroke-width: 1; }
.bx-note { font-family: var(--font-head); font-size: 15px; font-weight: 600; fill: #fff; }
.bx-thr { stroke: #D0585A; stroke-width: 1.5; stroke-dasharray: 6 6; }
.bx-lab { font-family: var(--font-head); font-size: 15px; font-weight: 500; fill: var(--grey-light); letter-spacing: 0.02em; }
.bx-lab-strong { fill: #fff; font-weight: 600; }
.bx-lab-thr { fill: #F0A3A4; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.bx-lab-end { text-anchor: end; }
.bx-cost { fill: none; stroke: var(--grey-light); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.bx-line { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.bx-dot { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.bx-dot.d5 { stroke: #D0585A; }
.bx-cross { fill: #D0585A; transform-box: fill-box; transform-origin: center; }

/* each warning sign hangs from its point on the line */
.bx-signals { list-style: none; margin: 0; padding: 0; }
.bx-sig { position: absolute; width: 14.6%; transform: translateX(-50%); padding: 10px 12px 12px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid; grid-template-columns: 20px 1fr; grid-template-areas: "src src" "ico txt"; gap: 8px 10px; align-items: center; }
.bx-sig::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 18px; background: rgba(255, 255, 255, 0.45); }
.bx-sig .bel-src { grid-area: src; font-size: 0.58rem; letter-spacing: 0.08em; white-space: nowrap; }
.bx-sig .bel-ico { grid-area: ico; width: 20px; height: 20px; margin: 0; }
.bx-sig b { grid-area: txt; display: block; font-family: var(--font-head); font-size: clamp(0.85rem, 1.1vw, 1rem); letter-spacing: -0.015em; line-height: 1.2; }
/* the signs alternate below and above the line so none of them overlap */
.bx-sig.s1 { left: 21%; top: 30.9%; }
.bx-sig.s2 { left: 34%; bottom: 73.6%; }
.bx-sig.s3 { left: 47%; top: 43.1%; }
.bx-sig.s4 { left: 60%; bottom: 56.4%; transform: translateX(-40%); }
.bx-sig.s5 { left: 72%; bottom: 44.9%; transform: translateX(-30%); border-color: #D0585A; background: #2A1E21; }
.bx-sig.s2::before, .bx-sig.s4::before, .bx-sig.s5::before { bottom: auto; top: 100%; }
.bx-sig.s4::before { left: 40%; }
.bx-sig.s5::before { left: 30%; background: #D0585A; }
.bx-turn { position: absolute; left: 80.5%; top: 3%; width: 19%; margin: 0; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; font-size: clamp(1.05rem, 1.55vw, 1.4rem); color: rgba(255, 255, 255, 0.55); }
.bx-turn span { color: #fff; }
@media (min-width: 961px) {
  .bx-stages { grid-template-columns: 13fr 64fr 11fr 12fr; }
  .bx-stages li:not(.lc-stage-drift) b { font-size: 0.95rem; }
  .bx-stages li:not(.lc-stage-drift) p { font-size: 0.82rem; }
  .bx-stages .lc-stage-drift p { max-width: 52ch; }
}

/* drawn as the reader scrolls (script.js: belief); finished state without JS or with reduced motion */
.js .bx-story:not(.bx-done) .bx-sig, .js .bx-story:not(.bx-done) .bx-dot, .js .bx-story:not(.bx-done) .bx-turn, .js .bx-story:not(.bx-done) .bx-cross { opacity: 0; }
.js .bx-sig, .js .bx-dot, .js .bx-turn, .js .bx-cross { transition: opacity 0.5s var(--ease), translate 0.5s var(--ease); }
.js .bx-story:not(.bx-done) .bx-sig { translate: 0 8px; }
.js .bx-story .on { opacity: 1 !important; translate: 0 0 !important; }
.bx-story .bx-cross.on { animation: lcpulse 2.4s ease-in-out infinite; }

@media (max-width: 960px) {
}
@media (max-width: 760px) {
  .bx-note { display: none; }
  .bx-lab { font-size: 30px; }
  .bx-lab-thr { font-size: 24px; }
  .bx-line { stroke-width: 7; }
  .bx-dot { stroke-width: 5; r: 13; }
  .bx-signals { display: grid; gap: 10px; padding: 20px 0; }
  .bx-signals .bx-sig { position: relative; left: auto; top: auto; bottom: auto; width: auto; transform: none;
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico src" "ico txt"; column-gap: 14px; align-items: center; }
  .bx-signals .bx-sig::before { display: none; }
  .bx-sig .bel-ico { grid-area: ico; margin: 0; }
  .bx-sig .bel-src { grid-area: src; }
  .bx-sig b { grid-area: txt; }
  .bx-turn { position: static; width: auto; font-size: 1.5rem; padding-bottom: 20px; }
}

/* Principal: who leads the work (changelog 99) */
.principal { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 80px); margin-top: clamp(64px, 8vw, 104px);
  padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-dark); }
.principal .eyebrow { margin-bottom: 14px; }
.principal-name { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.principal-role { color: var(--grey-light); margin: 6px 0 0; }
.principal-body p { margin: 0; color: rgba(255, 255, 255, 0.78); max-width: 62ch; }
.principal-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px !important; }
.principal-links a { color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 2px; }
.principal-links a:hover { border-color: #fff; }
@media (max-width: 860px) { .principal { grid-template-columns: 1fr; } }

/* Working paper, moved towards the end (item 105) */
.paper-band { padding: clamp(72px, 9vw, 120px) 0 0; }
.paper-band .paper-card { margin-top: 0; }
.paper-band + .contact { padding-top: clamp(72px, 9vw, 120px); }
.principal-sig { display: block; width: auto; height: 34px; margin: 14px 0 12px; opacity: 0.95; }
.principal-logo { margin-top: 28px; opacity: 0.9; color: #fff; gap: 18px; }
.principal-logo .brand-mark { width: 54px; height: 59px; }
.principal-logo .brand-word { font-size: 2.3rem; }
@media (max-width: 600px) { .principal-sig { height: 26px; } .principal-logo { margin-top: 20px; } .principal-logo .brand-word { font-size: 2rem; } }

/* ---------- Opening splash ----------
   The mark draws in, spins into an H cut to the shape of the H in "Havelock",
   the missing parts connect, the H takes its place in the company name, then it
   folds back into the mark and settles into the header. Driven by script.js. */
.splash { display: none; }
.splash-on .splash {
  display: block; position: fixed; inset: 0; z-index: 1000;
  background-color: var(--ink); color: #fff; cursor: pointer;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.splash-on.splash-out .splash { opacity: 0; visibility: hidden; }
.splash-on body { overflow: hidden; }
.splash-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: #fff; stroke-linejoin: miter; stroke-linecap: butt; }
.splash-word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  margin: 0; white-space: nowrap; opacity: 0; font-size: clamp(3rem, 9vw, 7rem); transform-origin: 0 0;
}
.splash-word .sw-h { color: transparent; }
.splash-word .sw-base { display: inline-block; width: 0; height: 0; }
/* the name leaves for the header, and the mark draws itself in once it lands */
.splash-on .site-header .brand-word, .splash-on .site-header .brand-mark { opacity: 0; }
.splash-on.splash-named .site-header .brand-word { opacity: 1; transition: opacity 0.25s ease; }
.splash-on.splash-marked .site-header .brand-mark { opacity: 1; }
.mark-draw .site-header .brand-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sp-draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes sp-draw { to { stroke-dashoffset: 0; } }
