/* Self-hosted Google Fonts (SIL Open Font Licence): latin and latin-ext subsets only. /assets is set by build.py per output. */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/instrumentserif-400i-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/instrumentserif-400i-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/instrumentserif-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/instrumentserif-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/manrope-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/manrope-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/manrope-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/manrope-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/manrope-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/manrope-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/manrope-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/manrope-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/manrope-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/manrope-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/splinesansmono-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/splinesansmono-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/splinesansmono-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/splinesansmono-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: a bound credit report. Navy is the cover and the chrome (header, hero, call to action, footer);
   the body of every page is set on paper, with running heads and folios like a typeset paper.
   One hero object per page: a document rendered in code. */
:root {
  color-scheme: dark;
  --navy: #0A1628;
  --navy-deep: #060E1C;
  --navy-raised: #0F1F3A;
  --rule: #1C2E4C;
  --text: #EEF3F9;
  --muted: #A4B3C9;
  --faint: #66799A;
  --blue: #1792F7;
  --blue-deep: #0C74CF;
  --blue-soft: rgba(23,146,247,.14);
  --paper: #F2F5F9;
  --paper-2: #E9EEF4;
  --ink: #0B1626;
  --ink-muted: #4C5D77;
  --ink-faint: #8A98AE;
  --paper-rule: #D6DEE8;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1280px;
  --gutter: 16px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv05";
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 40;
  height: env(safe-area-inset-top, 0px); background: var(--navy);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue); color: #fff; }

.wrap {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.005em; }
p { margin: 0; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font: 500 1rem/1 var(--sans); letter-spacing: 0.005em;
  text-decoration: none; border-radius: 4px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 24px -12px rgba(23,146,247,.75); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 30px -12px rgba(23,146,247,.9); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--faint); }
.btn-secondary:hover { border-color: var(--text); }
.paper .btn-secondary { color: var(--ink); border-color: var(--ink-faint); }
.paper .btn-secondary:hover { border-color: var(--ink); }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: inherit; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--ease), color .2s ease;
}
.link::after { content: "\2192"; font-family: var(--mono); transition: transform .3s var(--ease); }
.link:hover { color: var(--blue); }
.link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--navy) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.menu-btn { display: none; appearance: none; background: transparent; border: 1px solid var(--rule); color: var(--text); border-radius: 4px; min-height: 44px; padding: 0 14px; font: 500 0.9rem/1 var(--sans); cursor: pointer; align-items: center; gap: 10px; }
.menu-btn i { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.menu-panel { display: none; }
@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .menu-panel { display: block; position: fixed; inset: 0; z-index: 35; background: var(--navy); padding: calc(env(safe-area-inset-top, 0px) + 96px) max(var(--gutter), env(safe-area-inset-left, 0px)) 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
  .menu-panel.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
  .menu-panel a { display: block; font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.15; color: var(--text); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .menu-panel a:last-of-type { border-bottom: 0; }
  .menu-panel .btn { display: inline-flex; font-family: var(--sans); font-size: 1rem; margin-top: 28px; border-bottom: 0; }
  .menu-panel .close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 20px); right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .site-header.menu-open { background: var(--navy); }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 70% 20%, #000 20%, transparent 75%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1; background: linear-gradient(to bottom, transparent, rgba(6,14,28,.6)); pointer-events: none; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  padding-block: clamp(40px, 7vw, 96px) clamp(96px, 12vw, 160px);
}
.hero h1 {
  font-size: clamp(3.2rem, 6.3vw, 6.4rem); line-height: 0.96; letter-spacing: -0.025em;
  animation: rise .9s .05s var(--ease) both;
}
.hero h1 span { display: block; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--blue); }
.hero .lede { margin-top: 32px; max-width: 29em; animation: rise .9s .2s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; animation: rise .9s .32s var(--ease) both; }
.hero-note { margin-top: 28px; font-family: var(--mono); font-size: 0.82rem; color: var(--faint); animation: rise .9s .4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* The hero document */
.stage { position: relative; min-width: 0; padding-block: 24px; perspective: 1400px; }
.frag {
  position: absolute; font-family: var(--mono); font-size: 11.5px; line-height: 1.4;
  color: var(--faint); white-space: nowrap; pointer-events: none;
  opacity: 0.42; transform: translate(var(--px, 0), var(--py, 0)) rotate(var(--r, 0deg));
  transition: transform .6s var(--ease);
  animation: settle 1.3s var(--ease) both;
}
.frag b { font-weight: 500; color: var(--muted); display: block; }
@keyframes settle {
  from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); }
  45% { opacity: 0.9; }
  to { opacity: 0.42; transform: translate(0, 0) rotate(var(--r, 0deg)); }
}
.doc {
  position: relative; z-index: 2;
  width: min(100%, 460px); margin-inline: auto;
  background: var(--paper); color: var(--ink);
  border-radius: 3px; padding: 32px 34px 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 60px 100px -30px rgba(0,0,0,.8), 0 20px 44px -22px rgba(4,12,26,.95);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  animation: land .8s .25s var(--ease) both;
}
.doc::before { content: ""; position: absolute; inset: 10px -6px -8px 6px; z-index: -1; background: var(--paper-2); border-radius: 3px; transform: rotate(1.2deg); box-shadow: 0 20px 40px -24px rgba(0,0,0,.8); }
@keyframes land { from { opacity: 0; transform: translateY(26px) rotateX(6deg); } to { opacity: 1; transform: none; } }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.doc-title { font-family: var(--serif); font-size: 1.95rem; line-height: 1; letter-spacing: -0.01em; }
.doc-tag { font-family: var(--mono); font-size: 10.5px; color: var(--ink-muted); border: 1px solid var(--paper-rule); border-radius: 3px; padding: 3px 7px; letter-spacing: .04em; }
.doc-sub { margin-top: 8px; font-size: 0.84rem; color: var(--ink-muted); }
.ledger { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 0.88rem; }
.ledger th { text-align: left; font-weight: 500; font-size: 0.76rem; color: var(--ink-muted); padding: 14px 0 6px; border-bottom: 1px solid var(--ink); letter-spacing: .01em; }
.ledger th:last-child { text-align: right; }
.ledger td { padding: 7px 0; border-bottom: 1px solid var(--paper-rule); }
.ledger td:last-child { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 0.84rem; white-space: nowrap; padding-left: 12px; }
.ledger tr.total td { border-bottom: 3px double var(--ink); border-top: 1px solid var(--ink); font-weight: 600; padding-top: 10px; }
.ledger tr.total td:last-child { font-weight: 500; }
.ledger tbody tr { animation: rise .4s both; }
.ledger tbody tr:nth-child(1) { animation-delay: 0.40s; }
.ledger tbody tr:nth-child(2) { animation-delay: 0.45s; }
.ledger tbody tr:nth-child(3) { animation-delay: 0.50s; }
.ledger tbody tr:nth-child(4) { animation-delay: 0.55s; }
.ledger tbody tr:nth-child(5) { animation-delay: 0.60s; }
.ledger tbody tr:nth-child(6) { animation-delay: 0.65s; }
.ledger tbody tr:nth-child(7) { animation-delay: 0.70s; }
.flags { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; font-size: 0.86rem; line-height: 1.45; }
.flags li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: baseline; }
.flags li::before { content: ""; width: 7px; height: 7px; background: var(--blue); border-radius: 1px; transform: translateY(-1px); }
.doc-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--paper-rule); font-size: 0.72rem; color: var(--ink-muted); }
.doc-foot span:last-child { font-family: var(--mono); }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-bottom: 72px; }
  .frag.far { display: none; }
}
@media (max-width: 480px) {
  .doc { padding: 24px 20px 20px; }
  .frag { display: none; }
}

/* ---------- Paper body: the report ---------- */
.paper { background: var(--paper); color: var(--ink); position: relative; }
.paper + .paper { border-top: 1px solid var(--paper-rule); }
.paper .lede, .paper .muted { color: var(--ink-muted); }
.paper > .wrap { padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 128px); }
.runhead {
  display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: .02em; color: var(--ink-faint);
  padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: clamp(44px, 6vw, 72px);
}
.runhead b { font-weight: 500; color: var(--ink-muted); }
.runhead .sec { font-family: var(--mono); }
.folio { margin-top: clamp(44px, 6vw, 72px); padding-top: 12px; border-top: 1px solid var(--paper-rule); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); }
.section-head { display: grid; gap: 22px; max-width: 46rem; }
.section-head + * { margin-top: clamp(44px, 6vw, 72px); }
.secnum { font-family: var(--mono); font-size: 0.8rem; color: var(--blue); letter-spacing: .04em; }

/* Proof strip (first paper section on home) */
.proof > .wrap { padding-block: 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof figure { margin: 0; padding: 40px 36px 40px 0; }
.proof figure + figure { padding-left: 36px; border-left: 1px solid var(--paper-rule); }
.proof blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 1.9vw, 1.65rem); line-height: 1.2; color: var(--ink); text-wrap: balance; }
.proof figcaption { margin-top: 14px; font-size: 0.86rem; color: var(--ink-muted); }
.trust { padding: 16px 0 20px; border-top: 1px solid var(--paper-rule); font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint); }
@media (max-width: 840px) {
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .proof figure, .proof figure + figure { padding: 26px 0; border-left: 0; }
  .proof figure + figure { border-top: 1px solid var(--paper-rule); }
}

/* Moments */
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.moment { padding: 24px 40px 0 0; border-top: 1px solid var(--ink); display: grid; gap: 16px; align-content: start; position: relative; }
.moment + .moment { padding-left: 40px; border-left: 1px solid var(--paper-rule); }
.moment .lead { color: var(--ink); font-weight: 500; }
.moment p:not(.lead) { color: var(--ink-muted); }
.moment h3 { font-size: clamp(1.8rem, 2.4vw, 2.3rem); }
@media (max-width: 960px) {
  .moments { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .moment + .moment { padding-left: 0; border-left: 0; }
}

/* Money Map section */
.map-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 48px; margin: 40px 0 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts dd { margin: 0; font-size: 0.88rem; color: var(--ink-muted); }
.versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--paper-rule); border: 1px solid var(--paper-rule); }
.version { background: var(--paper); padding: 28px 28px 30px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; position: relative; transition: background-color .25s ease; }
.version::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.version:hover { background: #fff; }
.version:hover::before { transform: scaleY(1); }
.version h3 { font-size: 1.6rem; }
.version p { color: var(--ink-muted); font-size: 0.98rem; }
@media (max-width: 960px) { .map-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .versions { grid-template-columns: minmax(0, 1fr); } .facts { grid-template-columns: repeat(2, auto); } }

/* Services list */
.services { display: grid; }
.service { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 16px 56px; padding: 34px 0; border-top: 1px solid var(--paper-rule); position: relative; }
.service:last-child { border-bottom: 1px solid var(--paper-rule); }
.service::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.service:hover::before { transform: scaleY(1); }
.service h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); }
.service h3 a { color: inherit; text-decoration: none; transition: color .2s ease; }
.service:hover h3 a { color: var(--blue); }
.service p { color: var(--ink-muted); max-width: 40em; }
@media (max-width: 760px) { .service { grid-template-columns: minmax(0, 1fr); } .service::before { left: -12px; } }

/* Clients */
.referral { margin: 0; padding: 32px 0 32px 32px; border-left: 2px solid var(--blue); font-family: var(--serif); font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1.22; max-width: 32em; text-wrap: balance; color: var(--ink); }
.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: clamp(44px, 6vw, 72px); }
.client { padding: 32px 0; border-top: 1px solid var(--paper-rule); display: grid; gap: 12px; align-content: start; }
.client h3 { font-size: 1.75rem; }
.client p { color: var(--ink-muted); }
@media (max-width: 760px) { .clients { grid-template-columns: minmax(0, 1fr); } }

/* Why */
.why-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-copy { display: grid; gap: 22px; }
.why-copy h3 { font-size: 1.6rem; margin-top: 16px; }
.compare-scroll { overflow-x: auto; min-width: 0; }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th { text-align: left; font-weight: 500; font-size: 0.86rem; padding: 0 0 14px; border-bottom: 1px solid var(--ink); font-family: var(--mono); }
.compare th:first-child { color: var(--ink); }
.compare th:last-child { color: var(--ink-faint); }
.compare td { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--paper-rule); vertical-align: top; width: 50%; }
.compare td:first-child { color: var(--ink); }
.compare td:last-child { color: var(--ink-faint); }
@media (max-width: 960px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }

/* Testimonials */
.featured { margin: 0; display: grid; gap: 28px; max-width: 58rem; }
.featured blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; color: var(--ink); }
.featured .context { color: var(--ink-muted); max-width: 42em; }
.who { font-size: 0.9rem; color: var(--ink-muted); }
.who strong { color: var(--ink); font-weight: 500; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: clamp(56px, 7vw, 88px); }
.quote { margin: 0; padding: 32px 0; border-top: 1px solid var(--paper-rule); display: grid; gap: 16px; align-content: start; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.quote .context { color: var(--ink-muted); font-size: 0.96rem; }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Call to action (navy) ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.contact::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(23,146,247,.22), transparent 70%); pointer-events: none; }
.contact .wrap { padding-block: clamp(88px, 11vw, 150px); display: grid; gap: 28px; }
.contact h2 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1.0; max-width: 14em; }
.contact .lede { max-width: 34em; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 12px; }
.email { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.email code { font-family: var(--mono); font-size: 0.92rem; color: var(--text); user-select: all; }
.copy { font: 500 0.82rem/1 var(--sans); color: var(--muted); background: transparent; border: 1px solid var(--rule); border-radius: 4px; padding: 8px 10px; cursor: pointer; transition: color .2s, border-color .2s; }
.copy:hover { color: var(--text); border-color: var(--faint); }
.paper .email { color: var(--ink-muted); }
.paper .email code { color: var(--ink); }
.paper .copy { color: var(--ink-muted); border-color: var(--paper-rule); }
.paper .copy:hover { color: var(--ink); border-color: var(--ink-faint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); border-top: 1px solid var(--rule); }
.site-footer .wrap { padding-block: 56px 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1fr); gap: 40px 32px; }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand .tag { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--text); }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 0.92rem; }
.foot-col b { font-family: var(--mono); font-weight: 500; font-size: 0.74rem; color: var(--faint); letter-spacing: .03em; margin-bottom: 6px; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--text); }
.foot-meta { display: grid; gap: 6px; font-size: 0.86rem; color: var(--faint); align-content: start; }
.foot-meta a { color: var(--muted); text-decoration: none; }
.foot-meta a:hover { color: var(--text); }
.foot-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 0.74rem; color: var(--faint); }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frag, .doc, .ledger tbody tr, .hero h1, .hero .lede, .hero-actions, .hero-note { animation: none; }
  .frag, .doc { transition: none; }
}

/* ---------- Inner page covers (navy) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(110% 90% at 75% 10%, #000 10%, transparent 70%);
  mask-image: radial-gradient(110% 90% at 75% 10%, #000 10%, transparent 70%);
}
.page-hero .wrap { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px); display: grid; gap: 24px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.02em; max-width: 13em; animation: rise .9s .05s var(--ease) both; }
.page-hero .lede { max-width: 34em; animation: rise .9s .18s var(--ease) both; }
.crumb { font-family: var(--mono); font-size: 0.78rem; color: var(--faint); letter-spacing: .02em; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--text); }
.page-hero.with-object .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.page-hero.with-object .hero-copy { display: grid; gap: 24px; }
.page-hero .hero-actions { margin-top: 8px; }
.page-hero .hero-note { margin-top: 0; }
@media (max-width: 960px) { .page-hero.with-object .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Two-column rows (label left, text right) */
.rows { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px 56px; padding: 32px 0; border-top: 1px solid var(--paper-rule); position: relative; }
.row:first-child { border-top-color: var(--ink); }
.row:last-child { border-bottom: 1px solid var(--paper-rule); }
.row h3 { font-size: clamp(1.45rem, 1.9vw, 1.8rem); }
.row p, .row li { color: var(--ink-muted); max-width: 40em; }
.row p + p { margin-top: 12px; }
.row ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
@media (max-width: 760px) { .row { grid-template-columns: minmax(0, 1fr); } }

/* Steps: a real sequence, how an engagement runs */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { padding: 22px 32px 0 0; border-top: 1px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.steps li + li { padding-left: 32px; border-top-color: var(--paper-rule); }
.steps .k { font-family: var(--mono); font-size: 0.76rem; color: var(--blue); letter-spacing: .03em; }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--ink-muted); font-size: 0.97rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li + li { padding-left: 0; } }

/* Document objects on inner covers */
.sheet {
  position: relative;
  width: min(100%, 540px); background: var(--paper); color: var(--ink);
  border-radius: 3px; padding: 30px 32px 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 60px 100px -30px rgba(0,0,0,.8), 0 20px 44px -22px rgba(4,12,26,.95);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  animation: land 1s .35s var(--ease) both;
}
.sheet::before { content: ""; position: absolute; inset: 10px -6px -8px 6px; z-index: -1; background: var(--paper-2); border-radius: 3px; transform: rotate(1.2deg); box-shadow: 0 20px 40px -24px rgba(0,0,0,.8); }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sheet-title { font-family: var(--serif); font-size: 1.8rem; line-height: 1; letter-spacing: -0.01em; }
.sheet-sub { margin-top: 6px; font-size: 0.82rem; color: var(--ink-muted); }
.sheet table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.85rem; }
.sheet th { text-align: left; font-weight: 500; font-size: 0.74rem; color: var(--ink-muted); padding: 10px 0 6px; border-bottom: 1px solid var(--ink); }
.sheet td.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; font-size: 0.8rem; }
.sheet th.n { text-align: right; padding-left: 12px; }
.sheet td { padding: 6px 0; border-bottom: 1px solid var(--paper-rule); vertical-align: top; }
.sheet tr.sum td { border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); font-weight: 600; padding-top: 9px; }
.sheet tr.sum td.n { font-weight: 500; }
.sheet .bad { color: #9A2B1F; }
.sheet .note { margin-top: 16px; font-size: 0.82rem; line-height: 1.45; display: grid; gap: 6px; }
.sheet .note span::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--blue); margin-right: 10px; transform: translateY(-1px); }
.sheet-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--paper-rule); font-size: 0.72rem; color: var(--ink-muted); }
.sheet-foot span:last-child { font-family: var(--mono); }
.sheet .bars { display: grid; gap: 8px; margin-top: 18px; }
.sheet .bar { display: grid; grid-template-columns: 9em 1fr auto; gap: 12px; align-items: center; font-size: 0.8rem; }
.sheet .bar i { display: block; height: 10px; background: var(--paper-rule); border-radius: 1px; overflow: hidden; }
.sheet .bar i b { display: block; height: 100%; background: var(--blue); width: var(--w, 50%); transform-origin: left; animation: grow 1.2s 1s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
.sheet .bar span:last-child { font-family: var(--mono); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .sheet { padding: 22px 18px 18px; } .sheet .bar { grid-template-columns: 6em 1fr auto; } }

/* Pull quote on paper */
.pull { margin: 0; padding: 32px 0 32px 32px; border-left: 2px solid var(--blue); display: grid; gap: 12px; max-width: 40em; }
.pull blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; text-wrap: balance; color: var(--ink); }

/* Service index list */
.index { display: grid; }
.index a { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; gap: 12px 48px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--paper-rule); text-decoration: none; color: inherit; position: relative; }
.index a:first-child { border-top-color: var(--ink); }
.index a:last-child { border-bottom: 1px solid var(--paper-rule); }
.index a::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.index a:hover::before { transform: scaleY(1); }
.index h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); transition: color .2s ease; }
.index a:hover h3 { color: var(--blue); }
.index p { color: var(--ink-muted); max-width: 40em; }
.index .go { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-faint); transition: transform .3s var(--ease), color .2s; }
.index a:hover .go { transform: translateX(6px); color: var(--blue); }
@media (max-width: 760px) { .index a { grid-template-columns: minmax(0, 1fr); } .index .go { display: none; } .index a::before { left: -12px; } }

/* Refer block */
.refer { border: 1px solid var(--ink); background: #fff; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.refer h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.refer p { color: var(--ink-muted); max-width: 40em; margin-top: 12px; }
@media (max-width: 760px) { .refer { grid-template-columns: minmax(0, 1fr); } }

/* Legal prose */
.prose { max-width: 44rem; display: grid; gap: 18px; color: var(--ink-muted); }
.prose h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); color: var(--ink); margin-top: 28px; }
.prose h3 { font-size: 1.15rem; color: var(--ink); font-family: var(--sans); font-weight: 600; margin-top: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.prose .updated { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); }
.prose a { color: var(--ink); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { border: 1px solid var(--paper-rule); background: #fff; padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; }
.contact-card h3 { font-size: 1.6rem; }
.contact-card .kv { margin: 0; display: grid; gap: 14px; }
.contact-card .kv div { display: grid; gap: 4px; }
.contact-card .kv dt { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-faint); letter-spacing: .03em; }
.contact-card .kv dd { margin: 0; color: var(--ink); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* 404 */
.notfound .wrap { padding-block: clamp(96px, 14vw, 180px); display: grid; gap: 24px; }
.notfound h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.95; }

/* Small phones: keep the header on one line */
@media (max-width: 480px) {
  .site-header .wrap { gap: 12px; min-height: 68px; }
  .brand img { height: 26px; }
}

/* ---------- Polish pass (loads after styles.css and styles-pages.css) ---------- */

/* Rhythm and contrast */
:root { --ink-faint: #7A8AA3; --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px; --space-5: 64px; --space-6: 104px; }
body { hyphens: manual; }
h1, h2, h3, .doc-title, .sheet-title { font-feature-settings: "kern", "liga", "onum" 0; }
h2 { max-width: 16em; }
.lede { letter-spacing: -0.003em; }
blockquote { hanging-punctuation: first; }
.section-head { gap: 20px; }
.section-head h2 + .lede { margin-top: 2px; }

/* Covers: a quieter grid and a vignette toward the paper */
.hero::before, .page-hero::before { opacity: .85; }
.hero::after { height: 220px; background: linear-gradient(to bottom, transparent, rgba(6,14,28,.55)); }

/* Hero: the document overlaps the first paper page, like a sheet laid on the desk */
.hero { overflow: visible; position: relative; z-index: 2; }
.hero > .wrap { padding-bottom: clamp(56px, 7vw, 96px); }
.hero .stage { margin-bottom: clamp(-150px, -12vw, -96px); }
.hero .stage .doc { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 70px 110px -34px rgba(0,0,0,.85), 0 28px 50px -24px rgba(4,12,26,.95), 0 0 0 1px rgba(255,255,255,.06); }
.proof > .wrap { padding-top: clamp(120px, 13vw, 176px); }
@media (max-width: 960px) {
  .hero .stage { margin-bottom: 0; }
  .proof > .wrap { padding-top: 0; }
}

/* Paper pages: a page edge where one page meets the next */
.paper + .paper { border-top: 0; }
.paper + .paper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--paper-rule); }
.paper + .paper::after { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 18px; background: linear-gradient(to bottom, rgba(11,22,38,.05), transparent); pointer-events: none; }
.paper > .wrap { padding-block: clamp(72px, 8.5vw, 120px) clamp(72px, 9vw, 128px); }
.runhead { font-size: 0.72rem; }
.runhead .sec { color: var(--ink-faint); }
.runhead .sec::before { content: "\00a7 "; color: var(--blue); }
.folio { font-size: 0.72rem; }

/* Letterhead on every document object */
.doc-head, .sheet-head { align-items: center; }
.doc-mark, .sheet-mark { height: 22px; width: auto; opacity: .9; }
.doc-ref, .sheet-ref { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); letter-spacing: .04em; }
.doc-letterhead, .sheet-letterhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--ink); }
.doc-letterhead span:first-child, .sheet-letterhead span:first-child { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-muted); letter-spacing: .06em; }
.doc-tag { background: #fff; }
.doc::after, .sheet::after {
  content: ""; position: absolute; right: 0; top: 0; width: 26px; height: 26px; border-radius: 0 3px 0 0;
  background: linear-gradient(225deg, var(--navy) 0 50%, var(--paper-2) 50% 100%);
  box-shadow: -2px 2px 4px -2px rgba(0,0,0,.25);
}
.doc, .sheet { background-image: radial-gradient(1200px 400px at 20% -10%, #fff, transparent 60%); }

/* Ledger refinements */
.ledger td, .sheet td { line-height: 1.35; }
.ledger tbody tr:hover td, .sheet tbody tr:hover td { background: rgba(23,146,247,.05); }
.ledger td:first-child, .sheet td:first-child { padding-right: 8px; }
.sheet td.n, .ledger td:last-child { letter-spacing: -0.01em; }

/* Buttons: arrow on primary, calmer secondary */
.btn-primary::before { content: ""; }
.btn-primary { padding-right: 22px; }
.btn-primary span.arrow { font-family: var(--mono); transition: transform .3s var(--ease); }
.btn-primary:hover span.arrow { transform: translateX(3px); }

/* Nav */
.site-header .wrap { min-height: 88px; }
.nav a:not(.btn) { font-size: 0.92rem; letter-spacing: .005em; }
.brand img { transition: opacity .2s ease; }
.brand:hover img { opacity: .85; }

/* Moments: a number column, since the three moments are read in order on the page */
.moment h3 { display: grid; gap: 12px; }
.moment h3::before { content: attr(data-n); font-family: var(--mono); font-size: 0.74rem; color: var(--blue); letter-spacing: .06em; }

/* Services list: the name column gets a mono index */
.service { padding: 36px 0; }
.service h3 { display: grid; grid-template-columns: 2.2em 1fr; gap: 8px; align-items: baseline; }
.service h3::before { content: attr(data-n); font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint); }

/* Compare table: a real two-column comparison with a lead-in */
.compare th { padding-bottom: 16px; }
.compare td:first-child { padding-left: 18px; position: relative; }
.compare td:first-child::before { content: ""; position: absolute; left: 0; top: 22px; width: 7px; height: 7px; background: var(--blue); border-radius: 1px; }

/* Quotes */
.featured blockquote { text-indent: -0.4em; }
.quote blockquote, .proof blockquote, .pull blockquote { text-indent: -0.35em; }

/* Versions grid: bigger hit targets, aligned heads */
.version { padding: 30px 30px 32px; min-height: 164px; }

/* Call to action: tighter composition */
.contact .wrap { gap: 24px; }
.contact h2 { letter-spacing: -0.02em; }
.contact .lede { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; top: -1px; width: 120px; height: 2px; background: var(--blue); }
.foot-col a { position: relative; width: fit-content; }
.foot-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.foot-col a:hover::after { transform: scaleX(1); }

/* Inner covers: more air under the breadcrumb */
.page-hero .wrap { gap: 28px; }
.page-hero.with-object .hero-copy { gap: 26px; }
.crumb { margin-bottom: 4px; }

/* Rows: hover accent, consistent with the services list */
.row { padding: 34px 0; }
.row::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.row:hover::before { transform: scaleY(1); }
@media (max-width: 760px) { .row::before { left: -12px; } }

/* Steps */
.steps li { padding-top: 24px; }
.steps h3 { margin-top: 2px; }

/* Legal: hanging clause numbers */
.prose h2 { display: grid; grid-template-columns: 2.4em 1fr; gap: 6px; align-items: baseline; }
.prose h2 .n, .prose h3 .n { font-family: var(--mono); font-size: 0.78em; color: var(--ink-faint); font-weight: 400; }
.prose h3 { display: grid; grid-template-columns: 2.4em 1fr; gap: 6px; align-items: baseline; }

/* Print: the site is a report, so it prints like one */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .menu-panel, .site-footer, .contact, .hero::before, .page-hero::before, .frag { display: none !important; }
  .hero, .page-hero, .paper { background: #fff; color: #000; }
  .hero .lede, .page-hero .lede, .muted { color: #333; }
  .doc, .sheet { box-shadow: none; border: 1px solid #ccc; }
  .paper + .paper::after { display: none; }
  a { text-decoration: none; color: inherit; }
}

/* ---------- Critique pass (loads last): sheets on a desk, no template effects ---------- */

/* Contrast (AA at small sizes) */
:root {
  --faint: #8496B3;
  --ink-faint: #5E6E87;
  --desk: #DCE3EB;
  --sheet: #FBFCFD;
  --label: 500 11.5px/1.3 var(--sans);
}

/* Labels: the text face, not mono (mono stays for reference codes only) */
.runhead, .folio, .crumb, .trust, .foot-col b, .steps .k, .secnum,
.moment h3::before, .service h3::before, .contact-card .kv dt, .prose .updated, .compare th,
.ledger th, .sheet th, .doc-letterhead span:first-child, .sheet-letterhead span:first-child, .doc-foot, .sheet-foot {
  font-family: var(--sans);
  letter-spacing: .02em;
}
.runhead, .folio { font: var(--label); letter-spacing: .02em; }
.crumb { font: var(--label); letter-spacing: .02em; color: var(--faint); }
.hero-note { font-family: var(--sans); font-size: 0.9rem; color: var(--faint); letter-spacing: 0; }
.trust { font: var(--label); letter-spacing: .02em; color: var(--ink-faint); }
.doc-foot span:last-child, .sheet-foot span:last-child { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.doc-tag { font-family: var(--sans); font-size: 10.5px; letter-spacing: .03em; }

/* Covers: flat navy, the document is the only object */
.hero::before, .page-hero::before { display: none; }
.hero::after { display: none; }
.hero { overflow-x: clip; overflow-y: visible; }
.contact::before { display: none; }

/* Buttons: flat, AA contrast, no shimmer or glow */
.btn { border-radius: 2px; }
.btn-primary { background: var(--blue-deep); box-shadow: none; }
.btn-primary:hover { background: #0A5FA9; box-shadow: none; }
.btn-primary::after { display: none; }

/* One hover idiom only: links change colour, rows do not grow bars */
.service::before, .row::before, .index a::before, .version::before { display: none; }
.version:hover { background: var(--sheet); }
.index a:hover h3, .service:hover h3 a { color: var(--blue-deep); }
.link:hover { color: var(--blue); }
.paper .link:hover { color: var(--blue-deep); }

/* Paper: each section is a sheet laid on a desk */
.paper { background: var(--desk); padding-inline: clamp(0px, 2.4vw, 40px); }
.paper + .paper { padding-top: 18px; }
.paper + .paper::before, .paper + .paper::after { display: none; }
.paper > .wrap {
  background: var(--sheet);
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  padding-left: max(clamp(20px, 6vw, 96px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(20px, 6vw, 96px), env(safe-area-inset-right, 0px));
  padding-block: 56px 40px;
  box-shadow: 0 1px 0 rgba(11,22,38,.05), 0 24px 48px -32px rgba(11,22,38,.38);
}
.paper:last-of-type { padding-bottom: clamp(18px, 2.4vw, 40px); }
.proof > .wrap { padding-top: clamp(120px, 12vw, 168px); padding-bottom: 32px; }
@media (max-width: 960px) { .proof > .wrap { padding-top: 40px; } }
@media (max-width: 600px) { .paper { padding-inline: 0; } }

/* Rhythm: less dead air between pages */
.runhead { margin-bottom: 56px; }
.folio { margin-top: 64px; }
.section-head + * { margin-top: 56px; }

/* Measure: about 65 to 70 characters in the right-hand column */
.service, .row, .index a { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.index a { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) auto; }
.service p, .row p, .row li, .index p { max-width: 33em; line-height: 1.65; }
@media (max-width: 760px) { .service, .row, .index a { grid-template-columns: minmax(0, 1fr); } }

/* Hero composition */
.hero h1 { font-size: clamp(3.1rem, 6vw, 5.6rem); }
.hero .wrap { align-items: end; }
.doc { width: min(100%, 540px); animation: land .5s .1s var(--ease) both; }
.ledger tbody tr { animation: none; }
@keyframes land { from { transform: translateY(12px); } to { transform: none; } }
.frag { opacity: .3; animation: settle 1.1s var(--ease) both; }
@keyframes settle { from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); } to { opacity: .3; transform: translate(0, 0) rotate(var(--r, 0deg)); } }
.sheet { animation: land .5s .1s var(--ease) both; }

/* Document figures: the text face with tabular lining numerals */
.ledger td:last-child, .sheet td.n {
  font-family: var(--sans); font-feature-settings: "tnum" 1, "lnum" 1; font-variant-numeric: tabular-nums lining-nums;
  font-size: .86rem; letter-spacing: 0;
}
.ledger th, .sheet th { font: 500 10.5px/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.ledger td, .sheet td { padding-block: 8px; }
.sheet .bar i { height: 6px; background: #E1E7EE; }
.sheet .bar span:last-child { font-family: var(--sans); font-feature-settings: "tnum" 1; }
.sheet .bad { color: #9A2B1F; }

/* Quotes: one consistent object */
.proof blockquote { font-style: normal; }
.proof figure { display: grid; grid-template-rows: 1fr auto; }
.proof figcaption, .who { font: var(--label); letter-spacing: .02em; color: var(--ink-muted); }
.who strong { font-weight: 600; }
.pull, .referral { border-left: 0; padding-left: 0; }
.pull { border-top: 1px solid var(--ink); padding-top: 28px; }
.referral { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--paper-rule); padding-block: 28px; }

/* Refer a client: a ruled slip, not a card */
.refer { background: transparent; border: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 32px 0; }

/* Contents sheet (Who we work with cover) */
.contents { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; font-size: 0.95rem; }
.contents li a { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; color: var(--ink); text-decoration: none; }
.contents li a::after { content: ""; order: 2; flex: 1; border-bottom: 1px dotted var(--ink-faint); transform: translateY(-4px); }
.contents li a .p { order: 3; font-feature-settings: "tnum" 1; color: var(--ink-muted); font-size: .86rem; }
.contents li a:hover { color: var(--blue-deep); }

/* Footer: plain disclaimer and a colophon */
.site-footer::before { display: none; }
.foot-bottom { font: 400 12px/1.5 var(--sans); color: var(--faint); letter-spacing: 0; }
.foot-col b { font: 500 11.5px/1.3 var(--sans); letter-spacing: .02em; color: var(--faint); }
.colophon { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; color: var(--faint); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) { .doc, .sheet, .frag { animation: none; } }

/* Principal panel */
.principal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.portrait { margin: 0; aspect-ratio: 4 / 5; background: var(--navy); display: grid; place-items: center; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.portrait span { font-family: var(--serif); font-size: 5rem; color: var(--text); letter-spacing: -0.02em; opacity: .9; }
.principal-copy { display: grid; gap: 22px; max-width: 40rem; }
.creds { margin: 8px 0 0; display: grid; }
.creds div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--paper-rule); }
.creds div:last-child { border-bottom: 1px solid var(--paper-rule); }
.creds dt { font: var(--label); letter-spacing: .02em; color: var(--ink-faint); padding-top: 3px; }
.creds dd { margin: 0; color: var(--ink); }
@media (max-width: 760px) { .principal { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 240px; } .creds div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* First paint is complete: entrances move, they never fade */
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
.hero h1, .hero .lede, .hero-actions, .hero-note, .page-hero h1, .page-hero .lede { animation-duration: .5s; }

/* No double rule where a referral line opens a page */
.runhead + .referral { border-top: 0; padding-top: 0; }

/* ---------- Pop pass (loads last): type, colour, motion ---------- */

/* Type: the brand fonts from the business cards. Manrope for headlines, body and figures; Instrument Serif for quotes; Spline Sans Mono for reference codes only */
:root {
  --sans: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;
  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --quote: "Instrument Serif", Georgia, serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Spline Sans Mono", ui-monospace, Consolas, monospace;
  --blue-ink: #0A5FB0;
  --blue-wash: #E7F2FE;
  --navy-2: #0D1C33;
  --label: 500 12px/1.3 var(--sans);
}
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; font-feature-settings: "kern" 1; }
/* Design system (30 Oct): headlines in Manrope ExtraBold, one colour, the full stop a DDA Blue diamond from the mark. Instrument Serif for client quotes only, upright */
h1, h2, .display, .doc-title, .sheet-title { font-family: var(--display); font-weight: 800; letter-spacing: -0.045em; font-variation-settings: normal; }
h3 { font-family: var(--sans); font-weight: 700; font-size: clamp(1.2rem, 1.5vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.25; }
h2 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); line-height: 1; }
.hero h1 { font-size: clamp(3.3rem, 7.4vw, 6.6rem); line-height: 0.92; letter-spacing: -0.05em; font-weight: 800; }
h1 em, h2 em, .hero h1 em, .page-hero h1 em, .contact h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.page-hero h1 { font-weight: 800; letter-spacing: -0.045em; line-height: 0.96; }
.doc-title, .sheet-title { font-size: 1.6rem; letter-spacing: -0.025em; line-height: 1.05; }
.stop { display: inline-block; font-style: normal; color: transparent; width: .17em; height: .17em; margin-left: .07em; background: var(--blue); transform: rotate(45deg); vertical-align: baseline; overflow: hidden; user-select: text; }
.contact .stop { background: var(--navy, #0A1628); }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.24rem); }
.num, td, .facts dt { font-variant-numeric: tabular-nums; }
.facts dt { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; font-size: 3.4rem; line-height: 1; color: var(--ink, #0B1626); }
blockquote, .featured blockquote, .quote blockquote, .proof blockquote, .pull blockquote { font-family: var(--quote); font-weight: 400; font-style: normal; }
.referral { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.featured blockquote { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.06; }
.quote blockquote { font-size: 1.6rem; line-height: 1.2; }
.proof blockquote { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.referral { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.moment h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 2.5vw, 2.3rem); letter-spacing: -0.04em; line-height: 1; }
.menu-panel a { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; }
.service h3, .index h3, .row h3, .client h3, .version h3 { font-weight: 600; }
.ledger td:last-child, .sheet td.n, .ledger td + td { font-family: var(--sans); font-feature-settings: "tnum" 1, "lnum" 1; }

/* Design system: pills for actions */
.btn { border-radius: 999px; }
.menu-btn, .copy { border-radius: 999px; }

/* Design system: the faint 64px blue grid behind covers */
.hero::before, .page-hero::before {
  display: block; content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(23,146,247,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(23,146,247,.07) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero, .page-hero { isolation: isolate; }

/* Home: a bigger mark */
.site-header.is-home .wrap { min-height: 104px; }
.site-header.is-home .brand img { height: 50px; }
@media (max-width: 480px) { .site-header.is-home .brand img { height: 32px; } .site-header.is-home .wrap { min-height: 76px; } }

/* Colour: the blue range, used with intent */
.secnum, .moment h3::before, .service h3::before { color: var(--blue-ink); }
.runhead .sec { color: var(--blue-ink); font-weight: 600; }
.version { border-top: 3px solid var(--blue); }
.version h3 { color: var(--ink); }
.steps li:first-child { border-top-color: var(--blue); }
.steps .k { color: var(--blue-ink); font-weight: 600; }
.row:first-child, .index a:first-child, .moment { border-top-color: var(--ink); }
.compare td:first-child::before { background: var(--blue); }

/* Hero document tabs */
.doc-tabs { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 auto 18px; max-width: 560px; }
.doc-tab {
  appearance: none; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--muted);
  font: 500 0.82rem/1 var(--sans); padding: 9px 13px; border-radius: 999px; cursor: pointer; position: relative; overflow: hidden;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.doc-tab:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.doc-tab.is-active { color: var(--navy); background: var(--text); border-color: var(--text); }
.doc-tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.doc-tab.is-active.is-timing i { animation: tabtime var(--dwell, 6s) linear forwards; }
@keyframes tabtime { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.doc-stack { display: grid; position: relative; z-index: 2; }
.doc-stack .doc { grid-area: 1 / 1; margin-inline: auto; }
.doc-stack .doc:not(.is-active) { visibility: hidden; opacity: 0; transform: translateY(14px) scale(.985); pointer-events: none; }
.doc-stack .doc.is-active { visibility: visible; opacity: 1; }
.doc-stack .doc { transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s; }
.ledger.cols3 td:nth-child(2), .ledger.cols3 th:nth-child(2) { text-align: right; }
.ledger td + td, .ledger th + th { text-align: right; padding-left: 12px; white-space: nowrap; }
.doc .flags li::before { background: var(--blue); }

/* Money-flow canvas */
.hero { position: relative; }
.flow { position: absolute; inset: -40px -24px -40px -40%; width: calc(100% + 40% + 24px); height: calc(100% + 80px); z-index: 0; pointer-events: none; }
.stage > .frag { z-index: 1; }
@media (max-width: 960px) { .flow { display: none; } }

/* Ticker band: DDA Blue */
.ticker { background: linear-gradient(100deg, #2D3CB4 0%, #1792F7 100%); color: #fff; overflow: hidden; }
.ticker-track { display: flex; width: max-content; gap: 0; padding: 18px 0; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font: 800 clamp(1.3rem, 1.9vw, 1.7rem)/1 var(--display); letter-spacing: -0.035em; white-space: nowrap; display: inline-flex; align-items: center; }
.ticker span::after { content: ""; width: 7px; height: 7px; background: rgba(255,255,255,.75); margin: 0 28px; display: inline-block; transform: rotate(45deg); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Call to action: DDA Blue */
.contact { background: var(--blue); color: var(--navy); }
.contact h2 { color: var(--navy); font-weight: 400; letter-spacing: -0.02em; font-size: clamp(2.8rem, 5.8vw, 5.2rem); }
.contact h2 em { color: #fff; }
.contact .lede { color: rgba(10,22,40,.82); }
.contact .btn-primary { background: var(--navy); color: #fff; }
.contact .btn-primary:hover { background: #13274A; }
.contact .email { color: rgba(10,22,40,.82); }
.contact .email code { color: var(--navy); font-weight: 600; }
.contact .copy { color: var(--navy); border-color: rgba(10,22,40,.35); }
.contact .copy:hover { border-color: var(--navy); }

/* Reporting showcase section */
.showcase { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.showcase .sheet { margin-left: auto; }
.showcase-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; }
.showcase-points li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--paper-rule); color: var(--ink-muted); }
.showcase-points li:last-child { border-bottom: 1px solid var(--paper-rule); }
.showcase-points b { color: var(--ink); font-weight: 600; display: block; }
.showcase-points li::before { content: attr(data-n); font: 600 0.82rem/1.6 var(--sans); color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 32px; }
.showcase .sheet { width: min(100%, 560px); }
@media (max-width: 960px) { .showcase { grid-template-columns: minmax(0, 1fr); } .showcase .sheet { margin: 0 auto; } }

/* Scroll motion (decoration only; content is visible without it) */
.js-on .runhead { border-bottom-color: transparent; background: linear-gradient(var(--ink), var(--ink)) no-repeat left bottom / 0% 1px; transition: background-size 1.1s var(--ease); }
.js-on .runhead.in { background-size: 100% 1px; }
.js-on .moment, .js-on .version, .js-on .service, .js-on .row, .js-on .quote, .js-on .client { transition: transform .7s var(--ease); }
.js-on .moment:not(.in), .js-on .version:not(.in), .js-on .service:not(.in), .js-on .row:not(.in), .js-on .quote:not(.in), .js-on .client:not(.in) { transform: translateY(18px); }
.js-on .bars .bar i b, .js-on .sheet .bar i b { animation: none; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.js-on .in .bar i b, .js-on .sheet.in .bar i b { transform: scaleX(1); }

/* Legal pages: contents rail and a summary */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 104px); display: grid; gap: 2px; font-size: 0.9rem; }
.legal-toc b { font: var(--label); color: var(--ink-faint); margin-bottom: 10px; }
.legal-toc a { color: var(--ink-muted); text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid var(--paper-rule); }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--blue); }
.in-short { background: var(--blue-wash); border-top: 3px solid var(--blue); padding: 24px 28px; display: grid; gap: 10px; color: var(--ink); }
.in-short h2 { font-size: 1.25rem !important; margin: 0 !important; display: block !important; letter-spacing: -0.02em; }
.in-short ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--ink); }
.prose h2 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); letter-spacing: -0.025em; scroll-margin-top: 110px; }
@media (max-width: 960px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .doc-stack .doc { transition: none; }
  .js-on .moment, .js-on .version, .js-on .service, .js-on .row, .js-on .quote, .js-on .client { transform: none !important; transition: none; }
}

/* Headline direction, remaining serif surfaces: our own words are Manrope; the serif is for what clients said */
.colophon { font-family: var(--sans); font-style: normal; font-weight: 600; }
.portrait span { font-family: var(--display); font-weight: 800; letter-spacing: -0.05em; }
.foot-brand .tag { font-family: var(--display); font-style: normal; font-weight: 800; letter-spacing: -0.03em; }
.referral { border-left: 0; padding: 28px 0 0; border-top: 2px solid var(--ink); }

/* ---------- Forward pass (loads last): rhythm, colour, scale ---------- */

/* Headlines: two lines broken at the comma, never three-line orphans on wide screens */
h1, h2 { text-wrap: balance; }
h1 em, h2 em { display: block; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 6.4rem); }
@media (min-width: 900px) { .hero h1 span { white-space: nowrap; } }
@media (max-width: 600px) { .hero h1 { font-size: clamp(2.4rem, 11.4vw, 3rem); } .hero h1 span { white-space: nowrap; } }
.section-head h2, .why-copy h2 { max-width: 20ch; }
.showcase .section-head h2 { max-width: none; font-size: clamp(2.1rem, 2.9vw, 2.6rem); }

/* Tone sheets: a navy or blue divider page in the bound report. Variables carry the colours into every component */
.paper.tone-navy > .wrap {
  --sheet: #0A1628; --ink: #EEF3F9; --ink-muted: #A4B3C9; --ink-faint: #8496B3; --paper-rule: #1C2E4C; --blue-ink: #5CB3FF; --blue-deep: #5CB3FF;
  background: radial-gradient(120% 90% at 85% 10%, #10264A 0%, #0A1628 55%, #060E1C 100%); color: var(--ink);
  box-shadow: 0 30px 60px -36px rgba(6,14,28,.7);
}
.paper.tone-blue > .wrap {
  --sheet: #0C74CF; --ink: #FFFFFF; --ink-muted: #EAF3FE; --ink-faint: #D6E8FC; --paper-rule: rgba(255,255,255,.28); --blue-ink: #FFFFFF; --blue-deep: #FFFFFF; --blue: #FFFFFF;
  background: linear-gradient(115deg, #2D3CB4 0%, #1F55C4 38%, #0C74CF 100%); color: var(--ink);
  box-shadow: 0 30px 60px -36px rgba(12,40,110,.6);
}
.tone-navy .runhead, .tone-blue .runhead { background-image: linear-gradient(var(--ink), var(--ink)); }
.tone-navy .link, .tone-blue .link { color: var(--ink); }
.tone-navy .btn-primary { background: #1792F7; color: #06101F; }
.tone-navy .btn-primary:hover { background: #5CB3FF; }
.tone-blue .stop, .tone-blue .runhead .sec::before { background: #fff; color: #fff; }
.tone-blue .runhead .sec::before { background: none; }
.tone-navy .sheet, .tone-navy .doc, .tone-blue .sheet {
  --sheet: #FBFCFD; --ink: #0B1626; --ink-muted: #4C5D77; --ink-faint: #5E6E87; --paper-rule: #D6DEE8; --blue-ink: #0A5FB0; --blue-deep: #0C74CF; --blue: #1792F7;
  color: var(--ink);
}
.tone-navy .sheet, .tone-navy .doc { box-shadow: 0 60px 100px -30px rgba(0,0,0,.8), 0 20px 44px -22px rgba(4,12,26,.95); }
.tone-navy .showcase-points li::before { color: #5CB3FF; }

/* Money Map on blue: versions become translucent tiles */
.tone-blue .versions { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.25); }
.tone-blue .version { background: #1A4BB0; border-top: 3px solid #fff; }
.tone-blue .version:hover { background: #133D94; }
.tone-blue .version h3, .tone-blue .version p { color: #fff; }
.tone-blue .version p { color: var(--ink-muted); }

/* Facts: the figures carry the section */
.facts dt { font-size: clamp(3.6rem, 6vw, 5.4rem); letter-spacing: -0.05em; }
.facts dd { font-weight: 600; color: var(--ink-muted); }
.tone-blue .facts dt { color: #fff; }

/* Services: an index you scan by name */
.service h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -0.035em; line-height: 1.08; }
.service h3::before { font-family: var(--display); font-weight: 800; font-size: 0.82rem; letter-spacing: 0; color: var(--blue-ink); }
.service { position: relative; transition: background-color .25s var(--ease); }
.service h3 a { text-decoration: none; color: inherit; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translate(-6px, -50%) rotate(45deg); opacity: .25; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.service:hover::after { transform: translate(0, -50%) rotate(45deg); opacity: 1; border-color: var(--blue-deep); }
.service:hover { background: linear-gradient(90deg, transparent, rgba(23,146,247,.05) 30%, rgba(23,146,247,.05) 70%, transparent); }
.service p { padding-right: 40px; }

/* Moments: heavier figures for the three headings */
.moment h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }

/* Proof strip: less dead air under the hero document */
.proof > .wrap { padding-top: clamp(96px, 10vw, 140px); }

@media (max-width: 960px) {
  .section-head h2, .why-copy h2 { max-width: none; }
  .service::after { display: none; }
  .service p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .service, .service::after { transition: none; } }

/* ---------- Finish pass (loads last): one spacing rhythm, one type scale, pills, motion ---------- */
/* Spacing steps (design system dda-space): 8 12 16 24 32 48 64 96. Every vertical gap below uses one of them. */
:root {
  --sp-sheet-top: 48px; --sp-sheet-bottom: 32px;
  --sp-after-runhead: 64px;
  --sp-head-gap: 24px;
  --sp-after-head: 64px;
  --sp-row: 32px;
  --sp-folio: 96px;
  --sp-desk: 24px;
}
@media (max-width: 760px) {
  :root { --sp-sheet-top: 32px; --sp-sheet-bottom: 24px; --sp-after-runhead: 40px; --sp-head-gap: 16px; --sp-after-head: 40px; --sp-row: 24px; --sp-folio: 56px; --sp-desk: 12px; }
}

/* Type scale: label 12, small 14, body 17, lede 20, h3 22, h3-large 28, h2 36-56, inner h1 44-80, hero 48-104 */
body { font-size: 17px; line-height: 1.6; }
.lede, .paper .lede { font-size: clamp(1.125rem, 1.4vw, 1.25rem); line-height: 1.55; }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; }
.page-hero h1 { font-size: clamp(2.75rem, 5.4vw, 5rem); line-height: 0.95; }
.row h3, .client h3, .index h3, .why-copy h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.6vw, 1.375rem); letter-spacing: -0.02em; line-height: 1.2; }
.version h3, .moment h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.version h3 { font-size: clamp(1.5rem, 2vw, 1.75rem); }
.moment h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.row p, .client p, .service p, .version p, .moment p, .index p { font-size: 1rem; line-height: 1.6; }
.version p { font-size: 0.9375rem; }
.showcase-points li { font-size: 0.9375rem; }
.showcase-points b { font-size: 1rem; }

/* Sheets on the desk */
.paper + .paper { padding-top: var(--sp-desk); }
.paper > .wrap { padding-block: var(--sp-sheet-top) var(--sp-sheet-bottom); }
.runhead { margin-bottom: var(--sp-after-runhead); }
.folio { margin-top: var(--sp-folio); }
.section-head { gap: var(--sp-head-gap); }
.section-head h2 + .lede { margin-top: 0; }
.section-head + *, .runhead + .section-head + * { margin-top: var(--sp-after-head); }
.showcase .section-head + * , .map-grid .section-head + *, .why-grid .section-head + * { margin-top: 0; }

/* Rows: one padding everywhere a list is ruled */
.row, .service, .client, .index a { padding-block: var(--sp-row); }
.row, .service { row-gap: 12px; }
.client { gap: 12px; }
.version { padding: 32px; gap: 12px; min-height: 0; }
.moment { padding-top: 24px; gap: 16px; }
.facts { margin-top: 48px; gap: 8px 48px; }
.showcase-points { margin-top: 32px; }
.showcase-points li { padding-block: 16px; }
.showcase-actions { margin-top: 40px; }
.clients { margin-top: var(--sp-after-head); column-gap: 64px; }
.referral { margin-top: 0; padding-top: 24px; font-size: clamp(1.375rem, 2.2vw, 1.875rem); max-width: 34em; }
.why-copy { gap: var(--sp-head-gap); }
.why-copy h3 { margin-top: 24px; }

/* Hero: 32 / 40 / 24 */
.hero .lede { margin-top: 32px; }
.hero-actions { margin-top: 40px; }
.hero-note { margin-top: 24px; }
.page-hero.with-object .hero-copy, .page-hero .wrap { gap: 24px; }
.page-hero .hero-actions { margin-top: 16px; }

/* Proof strip: the hero document overlaps the sheet, then 64px to the quotes */
.proof > .wrap { padding-top: clamp(96px, 9vw, 128px); }
.proof figure { padding-top: 0; padding-bottom: 32px; }
.proof .trust { margin-top: 24px; }
@media (max-width: 960px) { .proof > .wrap { padding-top: 32px; } }

/* ---------- Pills with conviction ---------- */
.btn { overflow: hidden; position: relative; isolation: isolate; }
.btn-primary {
  min-height: 52px; padding: 0 8px 0 26px; gap: 14px; font: 700 1rem/1 var(--sans); letter-spacing: -0.005em; color: #fff;
  background: linear-gradient(120deg, #2D3CB4 0%, #0C74CF 55%, #1792F7 120%); background-size: 160% 100%; background-position: 0% 0;
  box-shadow: 0 0 0 1px rgba(92,179,255,.35) inset, 0 12px 30px -10px rgba(23,146,247,.65);
  transition: background-position .5s var(--ease), box-shadow .35s var(--ease), transform .2s var(--ease);
}
.btn-primary:hover { background: linear-gradient(120deg, #2D3CB4 0%, #0C74CF 55%, #1792F7 120%); background-size: 160% 100%; background-position: 100% 0; box-shadow: 0 0 0 1px rgba(92,179,255,.6) inset, 0 16px 40px -10px rgba(23,146,247,.9); transform: translateY(-1px); }
.btn-primary::after { display: block; content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary .arrow { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #0C74CF; font: 700 1rem/1 var(--sans); transition: transform .35s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px) rotate(-45deg); }
.nav .btn-primary { min-height: 46px; padding-left: 20px; font-size: 0.9375rem; }
.nav .btn-primary .arrow { width: 30px; height: 30px; }
.tone-navy .btn-primary, .tone-navy .btn-primary:hover { color: #fff; }
.contact .btn-primary { background: #0A1628; box-shadow: 0 12px 30px -12px rgba(6,14,28,.7); }
.contact .btn-primary:hover { background: #13274A; }
.contact .btn-primary .arrow { background: #1792F7; color: #fff; }

/* Document tabs */
.doc-tab { padding: 10px 16px; font-weight: 600; transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease); }
.doc-tab:hover { transform: translateY(-1px); border-color: rgba(92,179,255,.6); }
.doc-tab.is-active { color: #fff; background: linear-gradient(120deg, #2D3CB4, #0C74CF 70%, #1792F7); border-color: transparent; box-shadow: 0 8px 22px -10px rgba(23,146,247,.8); }
.doc-tab i { background: rgba(255,255,255,.85); }

/* ---------- Motion ---------- */
@keyframes stop-in { from { transform: translateY(-0.5em) rotate(-135deg) scale(.2); } to { transform: rotate(45deg); } }
.hero h1 .stop { animation: stop-in .7s .75s cubic-bezier(.3,1.6,.5,1) both; }
.js-on .section-head .stop, .js-on .why-copy .stop { transition: transform .7s cubic-bezier(.3,1.6,.5,1) .35s; }
.js-on .section-head:not(.in) .stop, .js-on .why-copy:not(.in) .stop { transform: translateY(-0.5em) rotate(-135deg) scale(.2); }
.js-on .section-head h2, .js-on .why-copy h2 { transition: transform .8s var(--ease), clip-path .8s var(--ease); }
.js-on .section-head:not(.in) h2, .js-on .why-copy:not(.in) h2 { transform: translateY(28px); clip-path: inset(-0.3em -0.3em 100% -0.3em); }
.section-head h2, .why-copy h2 { clip-path: inset(-0.3em -0.3em -0.45em -0.3em); }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .stop { animation: none; }
  .js-on .section-head .stop, .js-on .section-head h2, .js-on .why-copy h2, .js-on .why-copy .stop { transition: none; transform: none; clip-path: none; }
  .btn-primary, .btn-primary .arrow, .doc-tab { transition: none; }
}

/* ---------- A website, not a stack of pages (30 Oct): sections run full width and continuous ---------- */
.runhead, .folio { display: none; }
.paper { background: #FBFCFD; padding-inline: 0; }
.paper:nth-of-type(even) { background: #F2F5F9; }
.paper + .paper { padding-top: 0; border-top: 0; }
.paper + .paper::before, .paper + .paper::after { display: none; }
.paper > .wrap, .paper.tone-navy > .wrap, .paper.tone-blue > .wrap {
  background: transparent; box-shadow: none;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  padding-inline: var(--gutter);
  padding-block: clamp(80px, 9vw, 128px);
}
.paper:last-of-type { padding-bottom: 0; }
.proof > .wrap { padding-top: clamp(112px, 10vw, 144px); padding-bottom: clamp(48px, 5vw, 64px); }
.proof + .paper { border-top: 0; }
.paper.tone-navy { background: radial-gradient(90% 120% at 85% 0%, #10264A 0%, #0A1628 55%, #060E1C 100%); }
.paper.tone-blue { background: linear-gradient(115deg, #2D3CB4 0%, #1F55C4 38%, #0C74CF 100%); }
.paper.tone-navy, .paper.tone-blue { color: var(--ink); }
.paper.tone-navy { --sheet: #0A1628; --ink: #EEF3F9; --ink-muted: #A4B3C9; --ink-faint: #8496B3; --paper-rule: #1C2E4C; --blue-ink: #5CB3FF; --blue-deep: #5CB3FF; }
.paper.tone-blue { --sheet: #0C74CF; --ink: #FFFFFF; --ink-muted: #EAF3FE; --ink-faint: #D6E8FC; --paper-rule: rgba(255,255,255,.28); --blue-ink: #FFFFFF; --blue-deep: #FFFFFF; }
@media (max-width: 760px) { .paper > .wrap, .paper.tone-navy > .wrap, .paper.tone-blue > .wrap { padding-block: 64px; } .proof > .wrap { padding-top: 32px; } }

/* ---------- The work itself: exhibits ---------- */
.exhibits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.exhibit { margin: 0; background: #fff; border: 1px solid #D6DEE8; border-radius: 3px; padding: 28px 28px 20px; display: grid; gap: 16px; position: relative; box-shadow: 0 1px 0 rgba(11,22,38,.04), 0 24px 48px -36px rgba(11,22,38,.35); }
.exhibit figcaption { display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid #0B1626; }
.ex-n { font: 700 0.75rem/1 var(--sans); color: #0A5FB0; letter-spacing: .02em; }
.ex-t { font: 800 1.375rem/1.15 var(--display); letter-spacing: -0.025em; color: #0B1626; }
.ex-s { font-size: 0.875rem; color: #4C5D77; line-height: 1.45; }
.exhibit svg { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--sans); }
.exhibit .gl { stroke: #E3E9F0; stroke-width: 1; }
.exhibit .base { stroke: #0B1626; stroke-width: 1; }
.exhibit .limit { stroke: #9A2B1F; stroke-width: 1.5; stroke-dasharray: 5 4; }
.exhibit .ax { font-size: 11.5px; fill: #5E6E87; font-variant-numeric: tabular-nums; }
.exhibit .ax.lim { fill: #9A2B1F; font-weight: 600; }
.exhibit .cat { font-size: 13px; font-weight: 600; fill: #0B1626; }
.exhibit .in { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; pointer-events: none; }
.exhibit .dl { font-size: 12.5px; fill: #4C5D77; font-variant-numeric: tabular-nums; }
.exhibit .dl-v { font-weight: 800; fill: #0B1626; }
.exhibit .dl.muted { fill: #5E6E87; }
.exhibit .ln { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.exhibit .ln.ctx { stroke-width: 2; stroke-dasharray: 5 4; }
.exhibit .xh { stroke: #0B1626; stroke-width: 1; opacity: 0; pointer-events: none; }
.exhibit svg.is-hover .xh { opacity: .35; }
.exhibit .hit { fill: transparent; cursor: crosshair; }
.exhibit .seg { transition: opacity .2s; cursor: default; }
.exhibit svg:hover .seg:not(:hover) { opacity: .55; }
.ex-note { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; color: #5E6E87; }
.dda-tag-ex { display: inline-block; padding: 3px 8px; border-radius: 4px; background: #E7F2FE; color: #0A5FB0; font: 700 0.6875rem/1.3 var(--sans); }
.ex-tip { position: fixed; z-index: 50; pointer-events: none; background: #0A1628; color: #EEF3F9; font: 600 0.8125rem/1.35 var(--sans); padding: 8px 12px; border-radius: 6px; box-shadow: 0 10px 28px -10px rgba(6,14,28,.6); max-width: 260px; font-variant-numeric: tabular-nums; }
.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; }
@media (max-width: 900px) { .exhibits { grid-template-columns: minmax(0, 1fr); } .exhibit { padding: 20px 16px 16px; } }

/* Charts draw themselves when they arrive */
.js-on .exhibit .ln { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) .2s; }
.js-on .exhibit .ln.ctx { stroke-dasharray: 5 4; stroke-dashoffset: 0; opacity: 0; transition: opacity .8s ease .1s; }
.js-on .exhibit.in .ln { stroke-dashoffset: 0; }
.js-on .exhibit.in .ln.ctx { opacity: 1; }
.js-on .exhibit .seg { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.js-on .exhibit.in .seg { transform: scaleX(1); }
.js-on .exhibit .dot, .js-on .exhibit .dl, .js-on .exhibit .in { opacity: 0; transition: opacity .5s ease 1.3s; }
.js-on .exhibit.in .dot, .js-on .exhibit.in .dl, .js-on .exhibit.in .in { opacity: 1; }

/* Circuit traces from the mark: the left diamond's lines run through the navy sections, a pulse travels along them */
.traces { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.traces svg { position: absolute; right: -40px; top: 0; height: 100%; width: auto; opacity: .55; }
.traces path { fill: none; stroke: rgba(92,179,255,.28); stroke-width: 1.5; }
.traces circle { fill: none; stroke: rgba(92,179,255,.5); stroke-width: 1.5; }
.traces .pulse { stroke: #5CB3FF; stroke-width: 2; stroke-dasharray: 40 1400; stroke-dashoffset: 1440; animation: pulse 6s linear infinite; filter: drop-shadow(0 0 4px #1792F7); }
.traces .pulse.p2 { animation-delay: 2s; } .traces .pulse.p3 { animation-delay: 4s; }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.tone-navy > .wrap, .contact > .wrap, .hero > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .js-on .exhibit .ln, .js-on .exhibit .seg, .js-on .exhibit .dot, .js-on .exhibit .dl, .js-on .exhibit .in, .js-on .exhibit .ln.ctx { transition: none; transform: none; stroke-dashoffset: 0; opacity: 1; }
  .traces .pulse { animation: none; display: none; }
}
.contact { position: relative; overflow: hidden; }
.traces-light path { stroke: rgba(10,22,40,.18); } .traces-light circle { stroke: rgba(10,22,40,.3); }
.traces-light .pulse { stroke: #fff; filter: drop-shadow(0 0 4px rgba(255,255,255,.8)); }

/* ---------- Header: lockup left, the links in one capsule, the call to action beside it ---------- */
.site-header .wrap, .site-header.is-home .wrap { min-height: 92px; gap: 24px; transition: min-height .3s var(--ease); }
.brand img, .site-header.is-home .brand img { height: 42px; width: auto; transition: height .3s var(--ease), opacity .2s ease; }
.site-header.is-scrolled .wrap { min-height: 72px; }
.site-header.is-scrolled .brand img { height: 34px; }
.site-header.is-scrolled { background: rgba(8,18,34,.82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -28px rgba(0,0,0,.8); }
.nav { gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(15,31,58,.55); border: 1px solid rgba(255,255,255,.09); box-shadow: 0 1px 0 rgba(255,255,255,.05) inset; }
.nav .nav-links a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; color: #C5D1E2; font: 600 0.875rem/1 var(--sans); letter-spacing: 0; transition: color .2s var(--ease), background-color .2s var(--ease); }
.nav .nav-links a::after { display: none; }
.nav .nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav .nav-links a[aria-current="page"] { color: #fff; background: rgba(23,146,247,.18); box-shadow: 0 0 0 1px rgba(92,179,255,.35) inset; }
.nav .nav-links a:focus-visible { outline: 2px solid #1792F7; outline-offset: 2px; }
.site-header .progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, #2D3CB4, #1792F7); transform-origin: left; transform: scaleX(var(--progress, 0)); opacity: 0; transition: opacity .3s; }
.site-header.is-scrolled .progress { opacity: 1; }
@media (max-width: 1100px) { .nav .nav-links a { padding: 0 12px; } }
@media (max-width: 980px) { .nav-links { display: none; } }
@media (max-width: 480px) { .brand img, .site-header.is-home .brand img { height: 30px; } .site-header .wrap, .site-header.is-home .wrap { min-height: 72px; } }
@media (prefers-reduced-motion: reduce) { .site-header .wrap, .brand img { transition: none; } }

/* Money Map versions: the question, what the page shows, the figure it lands on */
.versions-wrap { display: grid; gap: 16px; }
.version { grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 28px 28px 24px; }
.version .v-for { font: 700 0.75rem/1 var(--sans); letter-spacing: .02em; color: var(--ink-muted); }
.version h3 { font-size: clamp(1.375rem, 1.8vw, 1.625rem); }
.version .v-fig { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--paper-rule); font-size: 0.8125rem; color: var(--ink-muted); }
.version .v-fig b { font: 800 1.75rem/1 var(--display); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.version::after { content: ""; position: absolute; right: 22px; top: 26px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .5; transition: transform .25s var(--ease), opacity .25s; }
.version:hover::after { transform: translateX(3px) rotate(45deg); opacity: 1; }
.versions-note { margin: 0; font-size: 0.8125rem; color: var(--ink-muted); }
.tone-blue .version .v-for, .tone-blue .version .v-fig { color: #D6E8FC; }
.tone-blue .version .v-fig b { color: #fff; }
.tone-blue .version .v-fig { border-top-color: rgba(255,255,255,.25); }
.tone-blue .versions-note { color: #EAF3FE; }

/* ---------- Footer: a sign-off, then the index ---------- */
.site-footer { background: radial-gradient(80% 140% at 100% 0%, #0F2244 0%, #060E1C 60%); position: relative; overflow: hidden; }
.site-footer::before { display: none; }
.site-footer .wrap { padding-block: clamp(64px, 7vw, 96px) 32px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr); gap: 48px 48px; }
.foot-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand img { grid-column: 1 / -1; height: 40px; }
.foot-brand .tag { margin: 0; font: 800 clamp(2.5rem, 6vw, 5rem)/0.92 var(--display); letter-spacing: -0.05em; color: #EEF3F9; }
.foot-brand .tag span { display: block; }
.foot-brand .btn { justify-self: end; }
.foot-col { gap: 12px; font-size: 0.9375rem; }
.foot-col b { font: 700 0.75rem/1.3 var(--sans); letter-spacing: .02em; color: #8496B3; margin-bottom: 4px; }
.foot-col a { color: #C5D1E2; }
.foot-meta { font-size: 0.875rem; gap: 8px; color: #8496B3; }
.colophon { margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font: 600 0.75rem/1.3 var(--sans); color: #66799A; }
@media (max-width: 760px) {
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; }
  .foot-brand { grid-template-columns: minmax(0, 1fr); padding-bottom: 32px; }
  .foot-brand .btn { justify-self: start; }
  .foot-meta { grid-column: 1 / -1; }
}
.ticker-track { animation-duration: 90s; }
.nav .nav-links a, .nav .btn { white-space: nowrap; }
@media (max-width: 1040px) { .nav-links { display: none; } }
.cta-note { margin: 0; font-size: 0.875rem; color: rgba(6,16,31,.75); font-weight: 600; }

/* ---------- Type audit (30 Oct): every text element on one of nine sizes ----------
   label 12 / small 14 / text 16 / prose 17 / lede 18-20 / h3 22 / h3-large 28 / h2 36-56 / display (h1, figures) */
h2, .contact h2, .showcase .section-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.045em; }
.contact h2 em { display: block; }
.service h3, .version h3, .ex-t, .client h3, .why-copy h3, .row h3, .index h3 { font-size: 1.375rem; line-height: 1.15; }
.service h3, .version h3, .ex-t { font-weight: 800; letter-spacing: -0.03em; }
.client h3, .why-copy h3, .row h3, .index h3 { font-weight: 700; letter-spacing: -0.02em; }
.moment h3, .referral { font-size: clamp(1.5rem, 2.4vw, 1.75rem); }
.referral { font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; }
.service p, .client p, .moment p, .row p, .version p, .index p, .showcase-points li, .quote .context, .compare td, .facts dd, .moment .lead { font-size: 1rem; line-height: 1.6; }
.moment .lead { font-weight: 600; color: var(--ink); }
.muted, .featured .context, .prose p { font-size: 1.0625rem; }
.hero-note, .ex-s, .foot-meta, .v-fig, .versions-note, .ex-note, .cta-note, .foot-col a, .email, .contact-card .kv dd { font-size: 0.875rem; }
.trust, .who, .proof figcaption, .featured .who, .quote .who, .compare th, .v-for, .ex-n, .foot-col b, .colophon, .crumb, .facts dd { font-size: 0.75rem; font-weight: 600; letter-spacing: .02em; }
.v-for, .ex-n, .foot-col b { font-weight: 700; }
.btn .arrow, .btn-primary .arrow, code.email-address { font-family: var(--sans); }
.nav .nav-links a, .doc-tab, .copy { font-size: 0.875rem; }
.lede, .paper .lede { font-size: clamp(1.125rem, 1.35vw, 1.25rem); }
.btn-primary span.arrow { font-family: var(--sans); }
.version .v-fig { font-size: 0.875rem; }

/* ---------- Money Map on the home page: heading across the top, six versions in three columns ---------- */
#money-map .map-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
#money-map .section-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: end; }
#money-map .section-head h2 { grid-row: span 2; align-self: end; max-width: none; }
#money-map .section-head .lede { align-self: end; }
#money-map .facts { margin-top: 8px; }
#money-map .facts dt { font-size: clamp(2.75rem, 4.2vw, 3.75rem); }
#money-map .versions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#money-map .version { padding: 24px 24px 20px; }
#money-map .version h3 { font-size: 1.25rem; }
#money-map .version p { font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#money-map .version .v-fig b { font-size: 1.5rem; }
@media (max-width: 1000px) { #money-map .versions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { #money-map .section-head { grid-template-columns: minmax(0, 1fr); } #money-map .section-head h2 { grid-row: auto; } #money-map .versions { grid-template-columns: minmax(0, 1fr); } }

/* ---------- More motion: staggered arrivals, lifts, floating hero sheet ---------- */
.js-on .versions .version { transition: transform .7s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.js-on .versions .version:not(.in) { transform: translateY(24px); }
.versions .version:nth-child(2) { transition-delay: .06s; } .versions .version:nth-child(3) { transition-delay: .12s; }
.versions .version:nth-child(4) { transition-delay: .18s; } .versions .version:nth-child(5) { transition-delay: .24s; } .versions .version:nth-child(6) { transition-delay: .3s; }
.version:hover { transform: translateY(-4px) !important; box-shadow: 0 18px 36px -20px rgba(6,14,28,.55); transition-delay: 0s !important; }
.exhibit { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.exhibit:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(11,22,38,.04), 0 32px 60px -36px rgba(11,22,38,.5); }
.exhibits .exhibit:nth-child(2) { transition-delay: .08s; } .exhibits .exhibit:nth-child(3) { transition-delay: .16s; } .exhibits .exhibit:nth-child(4) { transition-delay: .24s; }
.js-on .exhibit:not(.in) { transform: translateY(28px); }
.js-on .proof figure { transition: transform .8s var(--ease); }
.js-on .proof:not(.in) figure { transform: translateY(20px); }
.proof figure:nth-child(2) { transition-delay: .1s; } .proof figure:nth-child(3) { transition-delay: .2s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.stage .doc-stack { animation: float 7s ease-in-out 1.5s infinite; }
.service:hover h3 a { color: var(--blue-deep); }
@media (prefers-reduced-motion: reduce) {
  .js-on .versions .version, .js-on .exhibit, .js-on .proof figure { transform: none !important; transition: none; }
  .stage .doc-stack { animation: none; }
}

/* ---------- Exhibits redrawn from DDA deliverables: tiles, ledgers, areas ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #D6DEE8; border-left: 1px solid #D6DEE8; }
.kpi { display: grid; gap: 4px; padding: 12px 14px; border-right: 1px solid #D6DEE8; border-bottom: 1px solid #D6DEE8; transition: background-color .2s; }
.kpi:hover { background: #F2F7FE; }
.kpi-n { font: 600 0.6875rem/1.3 var(--sans); color: #5E6E87; }
.kpi b { font: 800 1.375rem/1.05 var(--display); letter-spacing: -0.03em; color: #0B1626; font-variant-numeric: tabular-nums; }
.kpi-d { font: 600 0.6875rem/1.3 var(--sans); color: #5E6E87; font-variant-numeric: tabular-nums; }
.kpi-d.up { color: #0A5FB0; } .kpi-d.down { color: #9A2B1F; }
.ex-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ex-table { width: 100%; border-collapse: collapse; font: 400 0.8125rem/1.35 var(--sans); color: #0B1626; font-variant-numeric: tabular-nums lining-nums; }
.ex-table th, .ex-table td { padding: 7px 0 7px 10px; text-align: right; border-bottom: 1px solid #E3E9F0; white-space: nowrap; }
.ex-table thead th { font: 700 0.6875rem/1.3 var(--sans); color: #4C5D77; border-bottom: 1px solid #0B1626; }
.ex-table th[scope="row"], .ex-table thead th:first-child { text-align: left; padding-left: 0; font-weight: 600; }
.ex-table th[scope="row"] { font-size: 0.8125rem; color: #0B1626; }
.ex-table tr.sum th, .ex-table tr.sum td { font-weight: 800; border-top: 1px solid #0B1626; border-bottom: 3px double #0B1626; }
.ex-table tr.ratio td, .ex-table tr.ratio th { color: #4C5D77; font-style: normal; }
.ex-table tr.gap td { border: 0; padding: 4px; }
.ex-table .neg { color: #9A2B1F; }
.ex-table tbody tr:not(.gap):hover { background: #F2F7FE; }
.ex-boot .sub { display: block; font-weight: 400; font-size: 0.6875rem; color: #5E6E87; }
.ex-boot td.var { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.vbar { display: inline-block; height: 8px; width: var(--w); border-radius: 2px; background: #0C74CF; }
.vbar.neg { background: #9A2B1F; }
.ex-boot .flag { font-weight: 700; }
.ex-boot .flag.yes { color: #0A5FB0; } .ex-boot .flag.no { color: #9A2B1F; }
.ex-boot .flag.yes::before { content: "\2713  "; } .ex-boot .flag.no::before { content: "\2715  "; }
.exhibit .ar { stroke: #fff; stroke-width: 1; }
.exhibit .peak { stroke: #0B1626; stroke-width: 1; stroke-dasharray: 3 3; }
.exhibit .conn { stroke: #8A98AE; stroke-width: 1; stroke-dasharray: 2 2; }
.exhibit .ln.thick { stroke-width: 3; }
.exhibit .dot.pt { cursor: default; }
.js-on .exhibit .ar { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .9s var(--ease); }
.js-on .exhibit .ar:nth-of-type(2) { transition-delay: .15s; } .js-on .exhibit .ar:nth-of-type(3) { transition-delay: .3s; }
.js-on .exhibit.in .ar { opacity: 1; transform: none; }
.js-on .exhibit .kpi, .js-on .exhibit tbody tr { transition: opacity .5s ease, transform .6s var(--ease); }
.js-on .exhibit:not(.in) .kpi, .js-on .exhibit:not(.in) tbody tr { opacity: 0; transform: translateY(8px); }
.kpi:nth-child(2) { transition-delay: .05s; } .kpi:nth-child(3) { transition-delay: .1s; } .kpi:nth-child(4) { transition-delay: .15s; } .kpi:nth-child(5) { transition-delay: .2s; } .kpi:nth-child(6) { transition-delay: .25s; }
.ex-single { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
@media (max-width: 560px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .js-on .exhibit .ar, .js-on .exhibit .kpi, .js-on .exhibit tbody tr { opacity: 1 !important; transform: none !important; transition: none; } }
.exhibit .limit.grv { stroke: #0A3F80; }
.exhibit .ax.lim.grv { fill: #0A3F80; }
.js-on .exhibit .seg.stk { transform-origin: center bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.js-on .exhibit.in .seg.stk { transform: scaleY(1); }
.clients .client:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 32px); }
@media (max-width: 760px) { .clients .client:last-child:nth-child(odd) { max-width: none; } }
table.sr-only { display: block; } .exhibit { overflow: hidden; }

/* Phones: hero tabs scroll in one row, letterheads stay on one line */
@media (max-width: 600px) {
  .doc-tabs, .rp-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent); }
  .doc-tabs::-webkit-scrollbar, .rp-tabs::-webkit-scrollbar { display: none; }
  .doc-tab, .rp-tab { flex: 0 0 auto; }
  .doc-ref, .sheet-ref { white-space: nowrap; font-size: 0.625rem; }
  .doc-letterhead, .sheet-letterhead { gap: 8px; }
}

/* Hero line "Complex money, / simple intelligence." (30 Oct): the second line is about 8.7em wide, so size to the column */
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 4.25rem); line-height: 0.95; }
@media (max-width: 960px) { .hero h1 { font-size: clamp(2.25rem, 8.6vw, 4rem); } }
@media (max-width: 600px) { .hero h1 { font-size: clamp(1.9rem, 9.8vw, 2.6rem); } }
.foot-brand .tag { font-size: clamp(2.25rem, 5vw, 4.25rem); }
@media (min-width: 961px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); }
  .hero h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
}

/* ---------- Mobile polish (30 Oct) ---------- */
@media (max-width: 600px) {
  .facts, #money-map .facts { grid-template-columns: repeat(3, auto); gap: 4px 28px; }
  .facts dt, #money-map .facts dt { font-size: 2.5rem; }
  .facts dd { font-size: 0.75rem; }
}
@media (max-width: 600px) {
  .doc::before { display: none; }
  .hero .stage .doc { width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.85); }
  .stage .doc-stack { animation: none; }
  .frag { display: none; }
  .hero h1 .stop, .page-hero h1 .stop { width: .2em; height: .2em; }
  .doc-letterhead { font-size: 0.625rem; }
  .ledger { font-size: 0.8125rem; }
}
@media (max-width: 760px) { .proof blockquote, .quote blockquote, .pull blockquote, .featured blockquote, .dda-quote blockquote { text-indent: 0; } }

/* Closing call: one ask, three steps */
.cta-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; counter-reset: cta; }
.cta-steps li { counter-increment: cta; padding-top: 16px; border-top: 2px solid rgba(6,16,31,.85); font-size: 1rem; line-height: 1.5; color: #06101F; }
.cta-steps li::before { content: counter(cta); display: block; font: 800 1.75rem/1 var(--display); letter-spacing: -0.04em; margin-bottom: 10px; }
.cta-steps b { display: block; font-weight: 800; }
@media (max-width: 760px) { .cta-steps { grid-template-columns: minmax(0, 1fr); } }

/* Principal: the transactions worked on, broken out */
.track { display: grid; gap: 14px; padding: 20px 0 4px; border-top: 2px solid var(--ink); }
.track-total { margin: 0; font-size: 0.9375rem; color: var(--ink-muted); }
.track-total b { display: block; font: 800 clamp(2.5rem, 5vw, 3.75rem)/1 var(--display); letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.track-rows { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.track-rows div { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--paper-rule); }
.track-rows dt { font: 800 1.375rem/1 var(--display); letter-spacing: -0.035em; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.track-rows dd { margin: 0; font-size: 0.875rem; line-height: 1.45; color: var(--ink-muted); }
@media (max-width: 700px) { .track-rows { grid-template-columns: minmax(0, 1fr); } }
.track-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; font-variant-numeric: tabular-nums lining-nums; }
.track-table thead th { text-align: left; font: 700 0.75rem/1.3 var(--sans); color: var(--ink-muted); padding: 0 0 8px; border-bottom: 1px solid var(--ink); }
.track-table thead th:last-child, .track-table .tv { text-align: right; }
.track-table tbody th, .track-table td { padding: 9px 0; border-bottom: 1px solid var(--paper-rule); text-align: left; font-weight: 500; color: var(--ink); vertical-align: top; }
.track-table .tt { color: var(--ink-muted); padding-left: 16px; white-space: nowrap; }
.track-table .tv { font: 800 1rem/1.3 var(--display); letter-spacing: -0.02em; padding-left: 16px; white-space: nowrap; }
.track-table tr.grp th { padding: 18px 0 6px; font: 800 0.8125rem/1.3 var(--sans); color: var(--blue-ink); border-bottom: 1px solid var(--ink); }
.track-fn { margin: 0; font-size: 0.75rem; color: var(--ink-muted); }
@media (max-width: 600px) { .track-table .tt { display: none; } .track-table thead th:nth-child(2) { display: none; } }

/* The work behind it: one running counter per type of work, never added together */
.counters { background: linear-gradient(180deg, #060E1C 0%, #0A1628 100%); color: #EEF3F9; position: relative; }
.counters .wrap { padding-block: clamp(64px, 7vw, 96px); display: grid; gap: 32px; }
.ctr-h { color: #EEF3F9; max-width: none; }
.ctr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.ctr-list li { display: grid; gap: 10px; align-content: start; padding: 28px 24px 28px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ctr-list li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.1); }
.ctr-list b { font: 800 clamp(2.5rem, 5.4vw, 4.5rem)/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums lining-nums; background: linear-gradient(120deg, #FFFFFF 30%, #8FC8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ctr-list span { font-size: 0.9375rem; line-height: 1.45; color: #A4B3C9; max-width: 22em; }
.ctr-fn { margin: 0; font-size: 0.75rem; color: #8496B3; }
.js-on .ctr-list li { transition: transform .7s var(--ease), opacity .7s ease; }
.js-on .ctr-list li:has(.counter:not(.in)) { transform: translateY(16px); opacity: .4; }
@media (max-width: 760px) {
  .ctr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctr-list li, .ctr-list li:not(:nth-child(3n+1)) { padding: 20px 12px 20px 0; border-left: 0; }
  .ctr-list li:nth-child(even) { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.1); }
}
.track-more { border-top: 1px solid var(--paper-rule); padding-top: 12px; }
.track-more summary { cursor: pointer; font: 700 0.9375rem/1.3 var(--sans); color: var(--blue-ink); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.track-more summary::-webkit-details-marker { display: none; }
.track-more summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.track-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.track-more .ex-table-wrap { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .js-on .ctr-list li { transition: none; transform: none !important; opacity: 1 !important; } }
@media (min-width: 1101px) {
  .ctr-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ctr-list li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .ctr-list li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.1); }
  .ctr-list b { font-size: clamp(2.25rem, 3.6vw, 3.5rem); }
}
@media (min-width: 1101px) {
  .ctr-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ctr-list li + li { padding-left: 0; border-left: 0; }
  .ctr-list li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.1); }
  .ctr-list b { font-size: clamp(2.5rem, 4.6vw, 4.25rem); }
}

/* ---------- Flagship: the monthly wealth report, page by page (loads after styles-finish.css) ---------- */
#reporting .showcase { grid-template-columns: minmax(0, 1fr); gap: 48px; }
#reporting .section-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; }
#reporting .section-head h2 { grid-column: 1; grid-row: 1 / span 2; max-width: 12ch; font-size: clamp(2.25rem, 4vw, 3.5rem); }
#reporting .section-head .lede { grid-column: 2; }
#reporting .showcase-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin-top: 32px; }
#reporting .showcase-actions { grid-column: 1 / -1; margin-top: 32px; }
.tone-navy .rp-page { --sheet: #FBFCFD; --ink: #0B1626; --ink-muted: #4C5D77; --ink-faint: #5E6E87; --paper-rule: #D6DEE8; --blue-ink: #0A5FB0; --blue-deep: #0C74CF; --blue: #1792F7; color: #0B1626; }
.rp { display: grid; gap: 20px; }
.rp-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-tab { appearance: none; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 18px 0 7px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #C5D1E2; font: 600 0.875rem/1 var(--sans); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.rp-tab:hover { color: #fff; border-color: rgba(92,179,255,.6); transform: translateY(-1px); }
.rp-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); font: 800 0.75rem/1 var(--sans); }
.rp-tab.is-active { color: #fff; background: linear-gradient(120deg, #2D3CB4, #0C74CF 70%, #1792F7); border-color: transparent; box-shadow: 0 8px 22px -10px rgba(23,146,247,.8); }
.rp-tab.is-active .rp-num { background: #fff; color: #0C74CF; }
.rp-tab:focus-visible, .rp-prev:focus-visible, .rp-next:focus-visible { outline: 2px solid #5CB3FF; outline-offset: 2px; }
.rp-stage { position: relative; }
.rp-stack { display: grid; position: relative; }
.rp-stack::before, .rp-stack::after { content: ""; position: absolute; inset: 0; border-radius: 4px; background: #DCE3EB; transform: translate(10px, 10px) rotate(.6deg); opacity: .45; z-index: 0; }
.rp-stack::after { transform: translate(20px, 20px) rotate(1.2deg); opacity: .2; }
.rp-page { grid-area: 1 / 1; position: relative; z-index: 1; background: #FBFCFD; border-radius: 4px; padding: clamp(20px, 3vw, 40px) clamp(18px, 3.4vw, 48px) 24px; box-shadow: 0 60px 100px -40px rgba(0,0,0,.8), 0 20px 44px -22px rgba(4,12,26,.95); display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; opacity: 0; visibility: hidden; transform: translateX(40px) rotate(.8deg); transition: opacity .45s ease, transform .6s var(--ease), visibility 0s .6s; }
.rp-page.is-past { transform: translateX(-40px) rotate(-.8deg); }
.rp-page.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .05s, transform .6s var(--ease), visibility 0s; z-index: 2; }
.rp-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #0B1626; font: 700 0.6875rem/1 var(--sans); letter-spacing: .06em; color: #4C5D77; }
.rp-head span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #0B1626; }
.rp-head img { height: 14px; width: auto; }
.rp-title { margin: 0; font: 800 clamp(1.5rem, 2.4vw, 2rem)/1 var(--display); letter-spacing: -0.035em; color: #0B1626; }
.rp-body.exhibit { border: 0; padding: 0; background: none; box-shadow: none; display: grid; gap: 16px; align-content: start; transform: none !important; }
.rp-body.exhibit:hover { transform: none; box-shadow: none; }
.rp-body svg { max-height: 300px; }
.rp-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #D6DEE8; font-size: 0.75rem; color: #5E6E87; }
.rp-cover { background: radial-gradient(120% 120% at 80% 0%, #143566 0%, #0A1628 60%); color: #EEF3F9; min-height: 440px; display: flex; align-items: flex-end; }
.rp-cover-in { display: grid; gap: 10px; }
.rp-cover-in img { width: 72px; height: auto; margin-bottom: 24px; }
.rp-kicker { margin: 0; font: 700 0.8125rem/1 var(--sans); color: #5CB3FF; }
.rp-cover-t { margin: 0; font: 800 clamp(2.25rem, 4.6vw, 3.75rem)/0.95 var(--display); letter-spacing: -0.05em; }
.rp-cover-d { margin: 0; font: 600 1.125rem/1.3 var(--sans); color: #A4B3C9; }
.rp-cover-f { margin: 32px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); font-size: 0.75rem; color: #8496B3; max-width: 44em; }
.rp-alloc { display: flex; height: 18px; border-radius: 3px; overflow: hidden; gap: 2px; }
.rp-alloc i { width: var(--w); display: block; transition: filter .2s; }
.rp-alloc i:hover { filter: brightness(1.15); }
.rp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.75rem; color: #4C5D77; }
.rp-legend b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.rp-tag { display: inline-block; margin-left: 8px; padding: 2px 6px; border-radius: 4px; background: #FDF1EF; color: #9A2B1F; font: 700 0.625rem/1.3 var(--sans); vertical-align: 1px; }
.rp-hold .sub, .rp-rank .sub { display: block; font-weight: 400; font-size: 0.6875rem; color: #5E6E87; }
.rp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rp-h4 { margin: 0 0 8px; font: 800 1rem/1.2 var(--display); letter-spacing: -0.02em; color: #0B1626; }
.rp-fn { margin: 0; font-size: 0.75rem; color: #5E6E87; }
.rp-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 28px; color: #A4B3C9; font: 600 0.875rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.rp-prev, .rp-next { appearance: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; font: 700 1rem/1 var(--sans); cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.rp-prev:hover, .rp-next:hover { background: #0C74CF; transform: translateY(-1px); }
@media (max-width: 900px) {
  #reporting .section-head { grid-template-columns: minmax(0, 1fr); }
  #reporting .section-head h2, #reporting .section-head .lede { grid-column: 1; grid-row: auto; }
  #reporting .showcase-points { grid-template-columns: minmax(0, 1fr); }
  .rp-two { grid-template-columns: minmax(0, 1fr); }
  .rp-stack::before, .rp-stack::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rp-page, .rp-page.is-active { transition: none; transform: none; } }
#reporting { overflow: hidden; }
.rp, .rp-stage, .rp-stack, .rp-page, .rp-body { min-width: 0; }
.rp-head { flex-wrap: wrap; }
@media (max-width: 560px) {
  .rp-tab { padding: 0 14px 0 6px; min-height: 38px; font-size: 0.8125rem; }
  .rp-num { width: 24px; height: 24px; }
  .rp-head span:last-child { display: none; }
  .rp-cover { min-height: 320px; }
}
.rp .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .rp .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#reporting .section-head h2 { grid-row: 1; }
.tone-navy .rp-cover { color: #EEF3F9; }
.tone-navy .rp-cover .rp-cover-t { color: #EEF3F9; }
#reporting .ex-hero { max-width: 880px; }
#reporting .ex-hero .exhibit { box-shadow: 0 60px 100px -40px rgba(0,0,0,.8), 0 20px 44px -22px rgba(4,12,26,.95); border: 0; }
.tone-navy .exhibit { --ink: #0B1626; --ink-muted: #4C5D77; --paper-rule: #D6DEE8; color: #0B1626; }

/* ---------- Funnel pass (30 Oct): where do you fit, landing pages ---------- */

/* Home: four doors */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.door { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--paper-rule); border-top: 3px solid var(--ink); border-radius: 3px; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.door:hover { transform: translateY(-4px); border-top-color: var(--blue); box-shadow: 0 24px 48px -28px rgba(11,22,38,.45); }
.door-k { font: 700 0.75rem/1 var(--sans); letter-spacing: .02em; color: var(--blue-ink); }
.door h3 { margin: 0; font: 800 1.375rem/1.1 var(--display); letter-spacing: -0.03em; }
.door ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.9375rem; color: var(--ink-muted); }
.door li { padding-left: 16px; position: relative; }
.door li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--blue); transform: rotate(45deg); }
.door-go { display: inline-flex; align-items: center; gap: 10px; font: 700 0.9375rem/1 var(--sans); color: var(--ink); padding-top: 14px; border-top: 1px solid var(--paper-rule); }
.door-go::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.door:hover .door-go { color: var(--blue-ink); }
.door:hover .door-go::after { transform: translateX(4px) rotate(45deg); }
.door:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 1100px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .doors { grid-template-columns: minmax(0, 1fr); } }

/* Home: the portfolio chart runs full width above the other two exhibits */
.exhibits .ex-performance { grid-column: 1 / -1; }

/* Landing pages */
.door-qs .qlist { list-style: none; counter-reset: q; margin: 14px 0 0; padding: 0; display: grid; }
.door-qs .qlist li { counter-increment: q; display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--paper-rule); font: 700 1.0625rem/1.35 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.door-qs .qlist li::before { content: counter(q, decimal-leading-zero); font: 800 0.75rem/1 var(--sans); color: var(--blue-ink); }
.door-index a { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; }
.door-proof { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--ink); }
.door-stat { margin: 0; display: grid; gap: 10px; }
.door-stat b { font: 800 clamp(2.75rem, 5vw, 4rem)/1 var(--display); letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.door-stat span { font-size: 0.9375rem; color: var(--ink-muted); max-width: 26em; }
.door-proof .pull { margin: 0; }
.door-map .section-head { max-width: 46rem; }
.door-map .hero-actions { margin-top: 8px; }
.door-map .link { color: #fff; }
@media (max-width: 760px) { .door-proof { grid-template-columns: minmax(0, 1fr); margin-top: 40px; } }

/* Footer: four columns under the sign-off */
.site-footer .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .door, .door-go::after { transition: none; } }
@media (max-width: 600px) { .door ul { display: none; } .door { padding: 20px 20px 18px; gap: 10px; } .door h3 { font-size: 1.25rem; } .door-go { padding-top: 10px; } }
.exhibits .ex-performance svg { max-height: 360px; width: auto; max-width: 100%; margin-inline: auto; }

/* Award against agreement: fits its card, no scrollbar, bars beside the figures */
.ex-boot { table-layout: auto; font-size: 0.8125rem; }
.ex-boot th, .ex-boot td { padding: 8px 0 8px 8px; white-space: nowrap; }
.ex-boot td.var { display: table-cell; }
.ex-boot .var-in { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.ex-boot .vbar { width: calc(var(--w) * 0.6); height: 6px; }
.ex-boot thead th { font-size: 0.6875rem; }
.ex-boot .flag { padding-left: 12px; }
.ex-boot tr.sum .flag { color: var(--ink); }
@media (max-width: 560px) { .ex-boot .vbar { display: none; } .ex-boot .sub { display: none; } }

/* Footer: the mark itself, oversized and cropped, behind the sign-off; it drifts and glows slowly */
.site-footer .foot-mark { position: absolute; right: -6%; top: -8%; width: min(62vw, 900px); height: auto; opacity: .16; pointer-events: none; z-index: 0; filter: drop-shadow(0 0 40px rgba(23,146,247,.35)); -webkit-mask-image: linear-gradient(200deg, #000 30%, transparent 85%); mask-image: linear-gradient(200deg, #000 30%, transparent 85%); animation: mark-drift 18s ease-in-out infinite alternate; }
.site-footer > .wrap { position: relative; z-index: 1; }
@keyframes mark-drift { from { transform: translate(0, 0) rotate(0deg); opacity: .14; } to { transform: translate(-24px, 18px) rotate(-2deg); opacity: .22; } }
@media (max-width: 760px) { .site-footer .foot-mark { width: 120vw; right: -40%; top: -4%; opacity: .12; } }
@media (prefers-reduced-motion: reduce) { .site-footer .foot-mark { animation: none; } }

/* Data lines: more present on the dark and blue bands, tied to the brand's circuit traces */
.hero, .page-hero, .counters { position: relative; overflow: hidden; }
.hero > .traces, .page-hero > .traces, .counters > .traces { z-index: 0; }
.hero > .wrap, .page-hero > .wrap, .counters > .wrap { position: relative; z-index: 1; }
.traces svg { opacity: .9; }
.traces path { stroke: rgba(92,179,255,.22); stroke-width: 1.4; }
.traces circle { stroke: rgba(92,179,255,.55); fill: rgba(10,22,40,.6); }
.traces .pulse { stroke: #7CC2FF; stroke-width: 2.4; stroke-dasharray: 70 1380; filter: drop-shadow(0 0 6px #1792F7) drop-shadow(0 0 12px rgba(23,146,247,.6)); animation-duration: 5.5s; }
.traces .pulse.p2 { animation-delay: 1.1s; } .traces .pulse.p3 { animation-delay: 2.2s; } .traces .pulse.p4 { animation-delay: 3.3s; } .traces .pulse.p5 { animation-delay: 4.4s; }
.hero > .traces svg { right: -60px; opacity: .75; }
.counters > .traces svg { right: auto; left: -80px; transform: scaleX(-1); opacity: .7; }
.traces-light path { stroke: rgba(10,22,40,.2); } .traces-light circle { stroke: rgba(10,22,40,.35); fill: rgba(255,255,255,.15); }
.traces-light .pulse { stroke: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }
@media (max-width: 760px) { .hero > .traces, .page-hero > .traces { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .traces .pulse { animation: none; display: none; } }
.ex-single .exhibit svg { max-height: 380px; width: auto; max-width: 100%; margin-inline: auto; }

/* return chart legend: four tiles carrying each component's value */
.kpis.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; }
.kpi .sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: middle; background: var(--sw); }
.kpi .sw-line { width: 16px; height: 3px; border-radius: 2px; }
.exhibit .ln.total { stroke-width: 2.75; }
.exhibit .ln.halo { stroke-width: 6; opacity: .9; }
.exhibit .band { transition: opacity .2s; }
.exhibit .band-lab { font: 700 12px/1 var(--sans); fill: #fff; letter-spacing: .02em; pointer-events: none; }
@media (max-width: 560px) { .kpis.k4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Header logo: never squeezed by the nav (30 Oct) */
.brand { flex: none; }
.brand img { max-width: none; object-fit: contain; }

/* Hero: copy centred on the document; stacked until there is room for a readable page beside it */
.hero .wrap { align-items: center; }
.doc-tabs { flex-wrap: nowrap; }
@media (min-width: 961px) and (max-width: 1279px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: clamp(2.6rem, calc((100vw - 140px) / 19), 4.25rem); }
}

/* Hero documents: three headline figures and one chart per page */
.doc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 0; border-top: 1px solid var(--ink); }
.doc-kpis div { padding: 10px 10px 10px 0; min-width: 0; }
.doc-kpis div + div { padding-left: 12px; border-left: 1px solid var(--paper-rule); }
.doc-kpis dt { font-size: 0.6875rem; color: var(--ink-muted); }
.doc-kpis dd { margin: 5px 0 3px; font: 800 1.375rem/1 var(--display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-kpis span { display: block; margin-top: 3px; font: 400 0.6875rem/1.3 var(--sans); letter-spacing: 0; color: var(--ink-muted); white-space: normal; }
.doc-chart { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--paper-rule); }
.doc-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.doc-chart .g { stroke: #D6DEE8; stroke-width: 1; }
.doc-chart .a { font: 500 12px var(--sans); fill: #5A6B84; }
.doc-chart .c { font: 600 12.5px var(--sans); fill: #0B1626; }
.doc-chart .v { font: 700 13px var(--sans); fill: #0B1626; font-variant-numeric: tabular-nums; }
.doc-chart .in { font: 700 12.5px var(--sans); fill: #fff; }
.doc-chart .in.dk { fill: #0B1626; }
.doc-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 0.6875rem; color: var(--ink-muted); }
.doc-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; background: var(--sw); }
.doc-legend i.ln { width: 14px; height: 2.5px; vertical-align: 2px; }
.doc.is-active .doc-chart .grow { animation: doc-grow .6s var(--ease) both; }
.doc.is-active .doc-chart .grow:nth-of-type(2n) { animation-delay: .08s; }
@keyframes doc-grow { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .doc.is-active .doc-chart .grow { animation: none; } }
@media (max-width: 480px) { .doc-kpis dd { font-size: 1.125rem; } .doc-kpis div + div { padding-left: 8px; } }
.hero .stage { margin-bottom: 0; }
.doc-stack .doc { display: flex; flex-direction: column; }
.doc-stack .doc-chart { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.doc-stack .doc-foot { margin-top: auto; }
.doc-stack .doc-legend + .doc-foot, .doc-stack .doc-chart + .doc-foot { margin-top: 18px; }
.exhibit .dl-lead .dl-v { fill: #0C74CF; }

/* Return tiles: line swatches (currency dashed); hero deal page: two chart captions */
.kpi .sw.sw-line { width: 18px; height: 3px; border-radius: 2px; background: var(--sw); }
.kpi .sw.sw-dash { background: repeating-linear-gradient(90deg, var(--sw) 0 5px, transparent 5px 8px); }
.doc-ch { margin: 2px 0 6px; font-size: 0.6875rem; font-weight: 600; color: var(--ink); }
.doc-ch + svg + .doc-ch { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--paper-rule); }

/* Five hero tabs: tighter pills, one row, scroll only if they cannot fit */
.doc-tabs { gap: 5px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.doc-tabs::-webkit-scrollbar { display: none; }
.doc-tab { flex: 0 0 auto; padding: 9px 13px; }

/* Client words sit with the numbers, in the dark band under the hero */
.ctr-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; padding-top: 12px; }
.ctr-proof figure { margin: 0; display: grid; gap: 14px; align-content: start; padding-left: 22px; border-left: 2px solid #1792F7; }
.ctr-proof blockquote { margin: 0; font: 400 clamp(1.5rem, 2.5vw, 2.125rem)/1.15 var(--serif); color: #EEF3F9; }
.ctr-proof figcaption { font-size: 0.75rem; font-weight: 600; letter-spacing: .02em; color: #8FA1BC; }
.ctr-trust { grid-column: 1 / -1; margin: 0; font-size: 0.8125rem; color: #8496B3; }
@media (max-width: 760px) { .ctr-proof { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 1439px) {
  .doc-tab { padding: 8px 11px; font-size: 0.8125rem; }
  .hero .frag.far { display: none; }
}
.ctr-proof { align-items: start; }

/* Hero page charts: one type scale on every page, sized to read at hero width */
.doc-chart .a { font-size: 13px; }
.doc-chart .c { font-size: 13.5px; font-weight: 600; }
.doc-chart .v { font-size: 14px; }
.doc-chart .in { font-size: 13px; }
.doc-kpis dt, .doc-kpis span, .doc-legend { font-size: 0.75rem; }

.doc-chart .a.sm { font-size: 11.5px; }
.ex-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 6px; font-size: 0.8125rem; color: #4C5D77; }
.ex-key i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.doc-stack .doc-title { font-size: 1.75rem; }
@media (min-width: 961px) and (max-width: 1439px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: clamp(2.6rem, calc((100vw - 140px) / 19), 4.5rem); }
}

/* Smooth scrolling (30 Oct): glow without per-frame filters; the hero page holds still */
.traces .pulse, .traces-light .pulse { filter: none; }
.stage .doc-stack { animation: none; }
.site-header.is-scrolled { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.traces svg, .stage canvas.flow { will-change: transform; }

/* Circuit lines run on across section edges and fade, instead of stopping at the boundary (30 Oct) */
.hero { overflow-x: clip; overflow-y: visible; }
.hero > .traces { bottom: -260px; -webkit-mask-image: linear-gradient(#000 calc(100% - 260px), transparent); mask-image: linear-gradient(#000 calc(100% - 260px), transparent); }
.counters > .wrap { z-index: 3; }
.contact { overflow-x: clip; overflow-y: visible; z-index: 2; }
.contact > .traces { bottom: -260px; -webkit-mask-image: linear-gradient(#000 calc(100% - 260px), transparent); mask-image: linear-gradient(#000 calc(100% - 260px), transparent); }
.traces-light path { stroke: rgba(255,255,255,.3); }
.traces-light circle { stroke: rgba(255,255,255,.5); fill: none; }
.site-footer > *:not(.foot-mark) { position: relative; z-index: 3; }

.refer-line { margin: 28px 0 0; font-size: 0.9375rem; color: var(--ink-muted); }
.doc-chart .a.sm { font-size: 11px; }
.doc-chart .v.sm { font-size: 12px; }

/* Enquiry panel and contact embed: the Microsoft Form inside the site's own frame */
.enq-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 14px; background: #F3F6FA; color: #0B1626; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); overflow: hidden; }
.enq-dialog::backdrop { background: rgba(6,14,28,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.enq-dialog[open] { display: grid; grid-template-rows: auto 1fr auto; animation: enq-in .3s var(--ease) both; }
@keyframes enq-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.enq-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid #D6DEE8; font: 800 1.25rem/1.1 var(--display); letter-spacing: -0.02em; }
.enq-close { appearance: none; border: 1px solid #C9D3E0; background: #fff; border-radius: 999px; padding: 7px 14px; font: 600 0.8125rem/1 var(--sans); color: #0B1626; cursor: pointer; }
.enq-close:hover { border-color: #1792F7; }
.enq-alt { margin: 0; padding: 14px 22px; border-top: 1px solid #D6DEE8; font-size: 0.875rem; color: #4C5D77; }
.enq-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 760px) { .enq-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .enq-dialog[open] { animation: none; } }

/* Phones: a tighter vertical rhythm (30 Oct, "mobile spacing is too wide") */
@media (max-width: 600px) {
  .paper > .wrap, .paper.tone-navy > .wrap, .paper.tone-blue > .wrap { padding-block: 44px; }
  .section-head { margin-bottom: 20px; gap: 10px; }
  .hero > .wrap { padding-top: 24px; padding-bottom: 36px; gap: 28px; }
  .hero .lede { margin-top: 18px; }
  .hero-actions { margin-top: 24px; }
  .hero-note { margin-top: 14px; }
  .page-hero .wrap { padding-block: 24px 44px; gap: 18px; }
  .counters .wrap { padding-block: 44px; gap: 20px; }
  .ctr-list li { padding: 18px 0; gap: 6px; }
  .ctr-proof { gap: 20px; padding-top: 4px; }
  .contact > .wrap { padding-block: 48px; gap: 20px; }
  .cta-steps { gap: 14px; }
  .doors { gap: 12px; }
  .door { padding: 20px; }
  .refer-line { margin-top: 18px; }
  .site-footer .wrap { padding-block: 44px 24px; gap: 28px; }
  .foot-brand .tag { font-size: 2rem; }
  .door-proof { gap: 20px; }
  .ex-single { gap: 20px; }
  .rows .row { padding-block: 16px; }
}
@media (max-width: 600px) {
  .ctr-list b { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .ctr-list li { padding-right: 12px; }
  .ctr-list li:not(:nth-child(3n+1)) { padding-left: 12px; }
  .ctr-list span { font-size: 0.875rem; }
  .hero > .traces, .contact > .traces { bottom: 0; -webkit-mask-image: none; mask-image: none; }
  .counters > .traces, .hero > .traces { opacity: .3; }
}
@media (max-width: 600px) {
  .counters .ctr-list li:nth-child(odd) { padding-left: 0; }
  .counters .ctr-list li:nth-child(even) { padding-left: 14px; }
}

/* Comparison table: fits its column at every width; on phones each row stacks */
.compare { min-width: 0; table-layout: fixed; }
.compare-scroll { overflow: visible; }
.compare td { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare tr { padding: 14px 0; border-bottom: 1px solid var(--paper-rule); }
  .compare td { border: 0; padding: 2px 0 2px 18px; }
  .compare td:last-child { padding-top: 6px; font-size: 0.9375rem; }
  .compare td:last-child::before { content: "A large firm: "; font-weight: 600; }
}
/* Hero tabs never clip: wrap to a second row when the column is too narrow (phones keep the scroll row) */
@media (min-width: 601px) { .doc-tabs { flex-wrap: wrap; overflow: visible; justify-content: center; row-gap: 6px; } }

/* Audit fixes (30 Oct) */
@media (max-width: 900px) { .site-header .nav > .btn-primary { display: none; } }
@media (max-width: 480px) {
  .ex-boot th, .ex-boot td { padding-left: 6px; font-size: 0.75rem; }
  .ex-boot thead th { white-space: normal; font-size: 0.625rem; line-height: 1.2; vertical-align: bottom; }
  .ex-boot .vbar { display: none; }
  .ex-boot th[scope="row"] .sub { font-size: 0.6875rem; }
}
/* Footer reflows to two columns on tablets so nothing is cut at the edge */
@media (min-width: 601px) and (max-width: 900px) {
  .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .foot-brand, .site-footer .foot-meta { grid-column: 1 / -1; }
}
/* Nothing on the site below 11px */
.doc-tag, .doc-ref, .sheet-ref, .ledger th, .sheet th, .doc-letterhead span:first-child, .sheet-letterhead span:first-child { font-size: 11px; }
/* Comparison table (31 Oct): our column leads and the large-firm column reads as a quiet aside, so rows are shorter */
@media (min-width: 561px) {
  .compare th:first-child, .compare td:first-child { width: 60%; }
  .compare th:last-child, .compare td:last-child { width: 40%; }
  .compare th:first-child { padding-left: 20px; }
  .compare td { padding: 14px 0; line-height: 1.5; }
  .compare td:first-child { padding: 14px 28px 14px 20px; font-weight: 500; }
  .compare td:first-child::before { top: 21px; }
  .compare td:last-child { font-size: 0.9375rem; }
}
/* Enquiry form (31 Oct): the site's own form, in the panel and on the contact page; light paper, hairline fields */
.enq-body { min-height: 0; overflow-y: auto; padding: 22px; background: #fff; }
.enq-form { display: grid; gap: 16px; color: #0B1626; }
.enq-form[hidden], .ef-done[hidden] { display: none; }
.ef-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ef { display: grid; gap: 6px; }
.ef > span { font: 600 0.875rem/1.3 var(--sans); color: #0B1626; }
.ef > span i { font-style: normal; font-weight: 500; color: #5E6E87; margin-left: 4px; }
.ef input, .ef textarea { width: 100%; box-sizing: border-box; font: 400 1rem/1.5 var(--sans); color: #0B1626; background: #FBFCFD; border: 1px solid #C9D3E0; border-radius: 8px; padding: 11px 13px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.ef textarea { resize: vertical; min-height: 128px; }
.ef input:hover, .ef textarea:hover { border-color: #93A4BC; }
.ef input:focus, .ef textarea:focus { outline: none; border-color: #1792F7; box-shadow: 0 0 0 3px rgba(23,146,247,.18); background: #fff; }
.ef small { font-size: 0.8125rem; line-height: 1.45; color: #5E6E87; }
.ef-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ef-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ef-foot .btn[disabled] { opacity: .6; cursor: progress; }
.ef-note { margin: 0; font-size: 0.8125rem; color: #5E6E87; }
.ef-status { margin: 0; min-height: 1.4em; font-size: 0.875rem; color: #4C5D77; }
.ef-status:empty { display: none; }
.ef-done { padding: 8px 0; color: #0B1626; outline: none; }
.ef-done b { display: block; font: 800 1.25rem/1.3 var(--sans); }
.ef-done p { margin: 8px 0 0; color: #4C5D77; }
.enq-card .enq-form, .enq-card .ef-done { margin-top: 4px; }
@media (max-width: 560px) { .ef-row { grid-template-columns: minmax(0, 1fr); } .enq-body { padding: 18px 16px; } }
/* Deals page (31 Oct): each kind of work sits beside its own chart */
.area { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--paper-rule); }
.area-copy { display: grid; gap: 14px; align-content: start; }
.area-copy h3 { margin: 0; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.15; }
.area-copy p { margin: 0; color: var(--ink-muted); }
.area-copy .link { justify-self: start; }
.area .exhibit { margin: 0; }
.area-more { margin-top: 8px; }
@media (max-width: 960px) { .area { grid-template-columns: minmax(0, 1fr); } }
/* Policy pages (31 Oct): set as documents. A facts header, numbered contents that follow the reader, ruled sections, square bullets, a closing block, and a clean print */
.doc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 12px 40px; margin: 0; padding: 0 0 20px; border-bottom: 1px solid var(--paper-rule); }
.doc-facts div { display: grid; gap: 4px; }
.doc-facts dt { font-size: 0.75rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-faint); }
.doc-facts dd { margin: 0; font-size: 0.9375rem; color: var(--ink); }
.doc-facts a { color: var(--ink); }
.doc-print { margin: -6px 0 0; }
.legal-toc a { display: grid; grid-template-columns: 2em minmax(0, 1fr); align-items: baseline; padding: 6px 0 6px 12px; transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.legal-toc a .n { font: 500 0.8125rem/1 var(--mono); color: var(--ink-faint); }
.legal-toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--blue); background: linear-gradient(90deg, rgba(23,146,247,.08), transparent 80%); }
.legal-toc a[aria-current="true"] .n { color: var(--blue-ink, #0A5FB0); }
.prose > h2[id] { max-width: none; padding-top: 28px; margin-top: 16px; border-top: 1px solid var(--paper-rule); }
.prose > ul, .in-short ul { list-style: none; padding-left: 0; }
.prose > ul li, .in-short li { position: relative; padding-left: 20px; }
.prose > ul li::before, .in-short li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 1px; background: var(--blue); }
.in-short { padding: 22px 26px; }
.doc-end { margin-top: 24px; padding: 22px 0 0; border-top: 2px solid var(--ink); display: grid; gap: 6px; color: var(--ink-muted); }
.doc-end b { color: var(--ink); font-size: 1.0625rem; }
.doc-end p { margin: 0; }
.doc-end .link + .link { margin-left: 4px; }
@media (max-width: 760px) { .doc-facts { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .site-header, .site-footer, .legal-toc, .doc-print, .enq-dialog, .cta-band, .page-hero .crumb, .progress, .doc-end .link[href="#top"] { display: none !important; }
  body, .paper, .page-hero { background: #fff !important; color: #000 !important; }
  .page-hero { padding: 0 0 12px !important; min-height: 0 !important; }
  .page-hero h1, .page-hero .lede, .prose, .prose h2, .prose strong, .doc-facts dd, .in-short { color: #000 !important; }
  .legal-grid { display: block; }
  .prose { max-width: none; }
  .prose h2 { break-after: avoid; }
  .in-short { background: none !important; border: 1px solid #999 !important; }
  a { color: #000 !important; }
}

/* Hero tabs on one line (31 Oct): the row may run past the document column into the gaps either side, centred on it; it only wraps if even that is too narrow */
@media (min-width: 601px) {
  .doc-tabs { width: max-content; max-width: calc(100% + 2 * var(--gutter)); margin-inline: 0; left: 50%; transform: translateX(-50%); }
}

/* Comparison table (31 Oct, later): our column is a quiet white panel with a blue top edge and blue ticks; the large-firm column stays a muted aside */
.compare { border-collapse: separate; border-spacing: 0; }
.compare .cmp-mark { display: inline-block; width: auto; height: 12px; margin: 0 8px 0 0; vertical-align: -1px; }
.compare td:first-child::before { content: ""; position: absolute; width: 9px; height: 4px; background: none; border-left: 2px solid #1792F7; border-bottom: 2px solid #1792F7; border-radius: 0; transform: rotate(-45deg); }
@media (min-width: 561px) {
  .compare th:first-child { background: #FFFFFF; color: var(--ink); padding: 18px 20px 14px 20px; border: 1px solid var(--paper-rule); border-bottom: 1px solid var(--paper-rule); border-top: 2px solid #1792F7; border-radius: 10px 10px 0 0; }
  .compare th:last-child { padding: 18px 0 14px 24px; vertical-align: bottom; border-bottom: 1px solid var(--paper-rule); }
  .compare td:first-child { background: #FFFFFF; color: var(--ink); padding: 15px 22px 15px 42px; border-left: 1px solid var(--paper-rule); border-right: 1px solid var(--paper-rule); }
  .compare td:first-child::before { left: 20px; top: 22px; }
  .compare tr:last-child td:first-child { border-radius: 0 0 10px 10px; border-bottom: 1px solid var(--paper-rule); }
  .compare td:last-child { padding: 15px 0 15px 24px; }
}
@media (max-width: 560px) {
  .compare tr { padding: 8px 0; border-bottom: 0; }
  .compare td:first-child { background: #FFFFFF; color: var(--ink); border: 1px solid var(--paper-rule); border-left: 2px solid #1792F7; border-radius: 8px; padding: 13px 14px 13px 38px; font-weight: 500; }
  .compare td:first-child::before { left: 15px; top: 19px; }
  .compare td:last-child { padding: 8px 0 6px 16px; }
  .compare-usual td:last-child::before { content: "The usual alternative: "; }
}

/* Seamless backgrounds (31 Oct): neighbouring sections meet on the same colour.
   Dark: the hero sits on the body navy, so the counters band starts on that navy and deepens downwards.
   Light: the alternate paper tone fades in and out of the lighter sheet tone at both edges. */
.counters { background: linear-gradient(180deg, #0A1628 0%, #08121F 45%, #060E1C 100%); }
.paper:nth-of-type(even) { background: linear-gradient(180deg, #FBFCFD 0, #F2F5F9 min(240px, 30%), #F2F5F9 calc(100% - min(240px, 30%)), #FBFCFD 100%); }
.paper + .paper::before, .paper + .paper::after { display: none; }
/* Comparison headers stay visible on phones: our name above the stacked rows */
@media (max-width: 560px) {
  .compare thead { display: block; }
  .compare thead tr { display: block; padding: 0 0 4px; }
  .compare th:first-child { display: block; padding: 0 0 6px; border: 0; font-size: 0.8125rem; color: var(--ink); }
  .compare th:last-child { display: none; }
}
/* Next steps (31 Oct): every sentence starts on its own line, so none breaks across two */
.cta-steps li b, .cta-steps li span { display: block; }

/* Header logo (31 Oct): larger, and the same size whether or not the page has scrolled */
.brand img, .site-header.is-home .brand img, .site-header.is-scrolled .brand img { height: 54px; transition: opacity .2s ease; }
.site-header .wrap, .site-header.is-home .wrap, .site-header.is-scrolled .wrap { min-height: 96px; }
@media (max-width: 900px) {
  .brand img, .site-header.is-home .brand img, .site-header.is-scrolled .brand img { height: 44px; }
  .site-header .wrap, .site-header.is-home .wrap, .site-header.is-scrolled .wrap { min-height: 84px; }
}
@media (max-width: 480px) {
  .brand img, .site-header.is-home .brand img, .site-header.is-scrolled .brand img { height: 36px; }
  .site-header .wrap, .site-header.is-home .wrap, .site-header.is-scrolled .wrap { min-height: 72px; }
}
/* Smooth scroll is driven by the page script when it runs, so the browser's own smoothing steps aside */
html.smooth-js { scroll-behavior: auto; }
/* Links on the blue bands turn white on hover instead of DDA Blue, so they never vanish into the background */
.contact .link:hover, .contact .link:focus-visible, .tone-blue .link:hover, .tone-blue .link:focus-visible { color: #FFFFFF; }
.contact .link:hover::after, .tone-blue .link:hover::after { color: #FFFFFF; border-color: #FFFFFF; }

/* Spacing pass (31 Oct, late) */
/* Referral line on the Clients page: one blue rule at the left instead of a heavy rule above and a faint one tight underneath */
.referral, .runhead + .referral { border: 0; border-left: 2px solid #1792F7; padding: 6px 0 6px 28px; max-width: 34em; }
@media (max-width: 600px) { .referral { padding-left: 18px; } }
/* Client rows: more air inside each row, between its paragraphs, and before the link out */
.rows .row { padding-block: 44px; row-gap: 14px; }
.row p + p { margin-top: 14px; }
.row p:last-child:has(> .link:only-child) { margin-top: 22px; }
@media (max-width: 760px) { .rows .row { padding-block: 28px; } }
/* Next steps: titles balance across lines so no word is left on its own, and the columns breathe */
.cta-steps { column-gap: 44px; }
.cta-steps li { padding-top: 18px; }
.cta-steps li b { margin-bottom: 6px; text-wrap: balance; }
.cta-steps li span { text-wrap: pretty; }
/* Two-sentence ledes set one sentence per line */
.lede-2 span { display: block; }
/* No one- or two-word last lines in running text. Kept to paragraphs and ledes: on every list item it doubled layout time on phones */
p, .lede { text-wrap: pretty; }
/* Charts share one palette everywhere: indigo #4A55D0, DDA Blue #1792F7, sky #62B6FF, context grey */
.vbar { background: #1792F7; }
.exhibit .limit.grv { stroke: #4A55D0; }
.exhibit .ax.lim.grv { fill: #4A55D0; }

/* Document letterheads (31 Oct): the wordmark set like the site lockup, DATA DYNAMICS over a hairline with AUSTRALIA in DDA Blue */
.doc-letterhead span:first-child, .sheet-letterhead span:first-child, .rp-letterhead span:first-child { gap: 9px; }
.lh-word { display: inline-grid; gap: 3px; justify-items: stretch; line-height: 1; }
.lh-word b { font: 800 10.5px/1 var(--sans); letter-spacing: .16em; color: var(--ink); white-space: nowrap; }
.lh-word i { font: 700 6.5px/1 var(--sans); font-style: normal; letter-spacing: .5em; color: #1792F7; text-align: center; padding-top: 3px; border-top: 1px solid var(--paper-rule); margin-right: -.5em; }
.doc-mark, .sheet-mark { height: 20px; opacity: 1; }
/* Blue band heading in white, its closing mark white to match */
.contact h2 { color: #FFFFFF; }
.contact h2 .stop { background: #FFFFFF; }
/* Rows: a narrower label column so the text has the room (31 Oct) */
@media (min-width: 761px) { .row { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); column-gap: 48px; } }
/* "Read more" turns the deeper blue on hover so it holds contrast on the light sheet */
.index a:hover .go { color: var(--blue-deep); }
/* Sheet footers: the right-hand count never breaks across lines */
.sheet-foot span:last-child { white-space: nowrap; }
@media (min-width: 761px) { .index a, .door-index a { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr) auto; column-gap: 48px; } }

/* Letterhead wordmark on one line at the site's 11px minimum: DATA DYNAMICS in ink, AUSTRALIA in DDA Blue */
.lh-word { display: inline; }
.lh-word b, .lh-word i { font: 800 11px/1 var(--sans); letter-spacing: .14em; white-space: nowrap; }
.lh-word b { color: var(--ink); }
.lh-word i { font-style: normal; font-weight: 700; color: #1792F7; border: 0; padding: 0; margin: 0 0 0 .45em; }

/* Refer a client: three steps and a ready-made introduction email */
.refer { align-items: start; }
.refer-steps { list-style: none; counter-reset: rs; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; max-width: 40em; }
.refer-steps li { counter-increment: rs; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; }
.refer-steps li::before { content: counter(rs); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 0.8125rem/1 var(--sans); color: #fff; background: #1792F7; }
.refer-steps b { color: var(--ink); font-weight: 700; }
.refer-steps span { color: var(--ink-muted); }
.refer-actions { display: grid; gap: 12px; justify-items: start; align-content: start; padding-top: 8px; }
.refer-actions .copy { font-size: 0.875rem; padding: 8px 14px; }
.refer-note { margin: 0; font-size: 0.8125rem; color: var(--ink-muted); max-width: 20em; }

/* Contact card: details on ruled rows, the ABN on its own line, the safety note set apart */
.contact-card .kv { gap: 0; border-top: 1px solid var(--paper-rule); }
.contact-card .kv div { padding: 12px 0; border-bottom: 1px solid var(--paper-rule); gap: 4px; }
.contact-card .kv dt { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-muted); }
.contact-card .kv dd { font-size: 0.9375rem; }
.contact-card .abn { display: block; white-space: nowrap; color: var(--ink-muted); }
.kv-note { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-muted); }
/* Phones: letterheads may wrap the reference under the wordmark rather than run off the sheet */
@media (max-width: 480px) { .doc-letterhead, .sheet-letterhead { flex-wrap: wrap; row-gap: 6px; } .sheet-ref, .doc-ref { margin-left: auto; } }
/* Step numbers on the blue band in white, to match the heading */
.cta-steps li::before { color: #FFFFFF; }
/* Email address on the blue band: white on hover, like the Copy button beside it */
.contact .email-address:hover, .contact .email a:hover, .contact a[href^="mailto:"]:hover { color: #FFFFFF; }

/* Services hero: seven rows arrive scattered and settle into one ruled list, complex to simple (one page-load moment) */
.svc-list li { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .svc-list li { animation: svc-settle 1.1s cubic-bezier(.16, .84, .24, 1) both; animation-delay: calc(.35s + var(--i) * 90ms); }
  .svc-sheet { animation: svc-sheet-in .8s cubic-bezier(.16, .84, .24, 1) both; }
}
@keyframes svc-settle {
  0% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; filter: blur(3px); }
  35% { opacity: 1; filter: blur(0); }
  100% { transform: none; opacity: 1; filter: none; }
}
@keyframes svc-sheet-in { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 1200px) { .svc-list li a .p { white-space: nowrap; } }
.svc-list li a .p { text-align: right; }
/* Blue band, all in white: heading, mark, step numbers, titles, text and the rules above each step */
.contact h2, .contact .cta-steps li, .contact .cta-steps li b, .contact .cta-steps li span, .contact .cta-steps li::before, .contact .cta-note { color: #FFFFFF; }
.contact .cta-steps li { border-top-color: #FFFFFF; }
.contact h2 .stop { background: #FFFFFF; color: transparent; opacity: 1; }
.contact .email-address, .contact .link { color: #FFFFFF; }
/* Nav pills share one width, so the highlight is the same size whichever page is current */
@media (min-width: 1041px) { .nav-links { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; } .nav .nav-links a { justify-content: center; } }

/* Policy clauses (31 Oct, late): numbered like a contract. The number sits in a blue tile, the heading beside it,
   and the clause text hangs under the heading so each clause reads as one block */
.prose > h2[id] { grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0; align-items: center; padding-top: 34px; margin-top: 10px; }
.prose > h2[id] .n { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 7px; background: rgba(23,146,247,.1); color: #0C74CF; font: 700 0.875rem/1 var(--sans); letter-spacing: 0; }
.prose > h2[id] ~ p, .prose > h2[id] ~ ul, .prose > h2[id] ~ h3, .prose > h2[id] ~ ol { margin-left: 3.25rem; max-width: 40rem; }
.prose > h2[id] ~ p { font-size: 1rem; line-height: 1.75; }
.prose > h2[id] + p { margin-top: -4px; }
.prose > h2[id] ~ ul { gap: 10px; }
@media (max-width: 600px) {
  .prose > h2[id] { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .prose > h2[id] .n { width: 1.8rem; height: 1.8rem; }
  .prose > h2[id] ~ p, .prose > h2[id] ~ ul, .prose > h2[id] ~ h3, .prose > h2[id] ~ ol { margin-left: 0; }
}

/* Services hero motion (31 Oct, late): the headline rises a line at a time, the sheet slides in from the right,
   and four document fragments settle around it, as on the home page. One page-load moment; still under reduced motion */
.svc-hero h1 .w { display: inline-block; }
.svc-stage { padding-block: 32px; }
.svc-stage .frag { opacity: .42; }
@media (max-width: 960px) { .svc-stage .frag { display: none; } .svc-stage { padding-block: 8px; } }
@media (prefers-reduced-motion: no-preference) {
  .svc-hero .crumb { animation: rise .6s var(--ease) both; }
  .svc-hero h1 .w { animation: rise .7s var(--ease) both; }
  .svc-hero h1 .w:nth-child(1) { animation-delay: .08s; }
  .svc-hero h1 .w:nth-child(2) { animation-delay: .2s; }
  .svc-hero h1 .w:nth-child(3) { animation-delay: .32s; }
  .svc-hero h1 .stop { animation: stop-in .7s .85s cubic-bezier(.3,1.6,.5,1) both; }
  .svc-hero .lede { animation: rise .7s .45s var(--ease) both; }
  .svc-sheet { animation: svc-sheet-in 1s .25s cubic-bezier(.16, .84, .24, 1) both; }
  .svc-stage .frag { animation-delay: .6s; }
  .svc-list li { animation-delay: calc(.7s + var(--i) * 90ms); }
}
@keyframes svc-sheet-in { from { transform: translateX(48px) rotate(1.5deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Blue band links (31 Oct, late): white by default, navy on hover, so every hover is a visible change with contrast both ways */
.contact .link, .contact .email-address, .contact code.email-address, .contact .email code, .contact .copy { color: #FFFFFF; }
.contact .link:hover, .contact .link:focus-visible, .contact .email-address:hover { color: #0A1628; }
.contact .link:hover::after { color: #0A1628; border-color: #0A1628; }
.contact .cta-note .copy { color: #FFFFFF; border-color: rgba(255,255,255,.7); background: transparent; }
.contact .cta-note .copy:hover, .contact .cta-note .copy:focus-visible { color: #0A1628; background: #FFFFFF; border-color: #FFFFFF; }
/* Next steps: the sentences flow on; a short closing sentence stays whole and moves up when it fits */
.cta-steps li span { display: inline; }
@media (min-width: 1100px) { .cta-steps li span + span { white-space: nowrap; } }
.cta-steps li span + span::before { content: " "; }
.cta-steps li b { display: block; }

/* Launch pass (31 Oct, late): skip link for keyboard readers, larger tap targets on phones, dialog sized to the visible screen */
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #1792F7; color: #06101F; font: 700 0.9375rem/1 var(--sans); text-decoration: none; }
.skip:focus { top: 16px; outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) {
  .copy, .enq-close { min-height: 44px; min-width: 44px; }
  .site-footer .foot-col a { display: inline-block; padding: 8px 0; }
  .crumb a { display: inline-block; padding: 8px 0; }
}
dialog.enq { max-height: calc(100dvh - 48px); }
.contact .copy[aria-label] { }

/* Phones: the charts and example tables keep their type size and scroll sideways instead of shrinking to texture (31 Oct, late) */
.exhibit .ax { font-size: 12.5px; }
.sheet .bar { grid-template-columns: 9em minmax(0, 1fr) 6.5em; }
@media (max-width: 600px) {
  .exhibit { grid-template-columns: minmax(0, 1fr); }
  .ex-scroll svg { min-width: 520px; }
  .exhibit::after { content: "Swipe sideways to see the whole chart"; display: block; margin-top: 8px; font-size: 0.75rem; color: var(--ink-muted); }
  .ex-single .exhibit svg { max-height: none; width: 520px; }
  .ex-table-wrap table { min-width: 520px; }
  .doc, .doc-chart { min-width: 0; max-width: 100%; }
  .ex-scroll, .ex-table-wrap, .doc-chart { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; min-width: 0; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), rgba(0,0,0,.15)); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), rgba(0,0,0,.15)); }
  .doc-chart svg { min-width: 430px; }
  .doc-tabs { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent); }
}
@media (max-width: 480px) {
  .sheet table th.src, .sheet table td.src { display: none; }
  .sheet .bar { grid-template-columns: 7em minmax(0, 1fr) 5.5em; font-size: 0.75rem; }
}
/* Door pages: the "How we help" rows stack on phones like the service pages do */
@media (max-width: 760px) { .index a, .door-index a { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
/* Decorative traces stay clear of the copy on the blue band and the stat tiles */
.contact > .traces { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 52%, #000 78%); mask-image: linear-gradient(90deg, transparent 0, transparent 52%, #000 78%); }
.counters > .traces { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 14%, transparent 38%); mask-image: linear-gradient(90deg, #000 0, #000 14%, transparent 38%); }
/* The services hero clips its scattered fragments at the page edge */
.svc-hero { overflow-x: clip; }
.svc-sheet::before { inset: 10px 0 -8px 6px; }
/* Phones: the document letterheads show the mark only; the wordmark comes back from 601px */
@media (max-width: 600px) { .lh-word { display: none; } .doc-letterhead, .sheet-letterhead { flex-wrap: nowrap; } .doc-mark, .sheet-mark { height: 22px; } }

/* Phones: more breathing room between sections, rows and cards (31 Oct, late) */
@media (max-width: 760px) {
  .paper > .wrap, .paper.tone-navy > .wrap, .paper.tone-blue > .wrap { padding-block: 72px; }
  .counters .wrap { padding-block: 64px; gap: 36px; }
  .counters .ctr-list { row-gap: 28px; }
  .rows .row { padding-block: 36px; row-gap: 14px; }
  .index a, .door-index a { padding-block: 30px; gap: 10px; }
  .section-head { margin-bottom: 36px; }
  .section-head .lede, .page-hero .lede, .hero .lede { margin-top: 18px; }
  .exhibits { gap: 28px; }
  .exhibit { padding: 24px 18px 20px; gap: 18px; }
  .door { padding: 30px 22px 26px; }
  .doors { gap: 18px; }
  .hero-actions { margin-top: 28px; }
  .hero-note { margin-top: 16px; }
  .sheet, .doc { padding: 24px 20px; }
  .sheet table td, .sheet table th { padding-block: 9px; }
  .cta-steps { gap: 28px; }
  .site-footer .wrap { row-gap: 40px; }
}
