/* OpenBook Executive — site styles
   Brand: Mini Brand Guidelines 2025 (Oswald + Satoshi; Midnight Indigo, Signal Blue, Skyline Blue, Frost Gray, Carbon Black)
   Layout idea: a disciplined dossier. Condensed headlines, hairline rules, one electric-blue signal, and the open-book mark's slant as the recurring motif. */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Newsreader"; src: url("../fonts/newsreader-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Oswald"; src: url("../fonts/oswald-latin-ext.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; 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: "Oswald"; src: url("../fonts/oswald-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; 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: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* brand colour tokens */
  --carbon: #020A1D;      /* Carbon Black: deepest ground */
  --indigo: #0F1053;      /* Midnight Indigo: brand dark */
  --signal: #3555FD;      /* Signal Blue: the one accent */
  --sky: #A6D8FD;         /* Skyline Blue: accent on dark */
  --frost: #E4E6F3;       /* Frost Gray: light ground */
  --paper: #F5F6FB;
  --white: #FFFFFF;

  /* derived roles */
  --ink: #0A0E2B;
  --muted: #4D5275;
  --muted-dark: rgba(228, 230, 243, 0.72);
  --line: rgba(15, 16, 83, 0.14);
  --line-dark: rgba(166, 216, 253, 0.18);
  --signal-hover: #1F3FF0;

  /* type tokens */
  --display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --quote: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 148px);
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
::selection { background: var(--signal); color: var(--white); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--sky); }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .66) 0; }
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-frost { background: var(--frost); }
.bg-indigo { background: var(--indigo); color: var(--white); }
.bg-carbon { background: var(--carbon); color: var(--white); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body); font-weight: 700; font-size: 12.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--signal);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 9px; background: currentColor;
  transform: skewX(-34deg); flex: none;
}
.on-dark .eyebrow { color: var(--sky); }

.h1, .h2, .h3d {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .005em;
}
.h1 { font-size: clamp(46px, 7.2vw, 108px); line-height: .96; }
.h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.0; }
.h3d { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.h1 em, .h2 em, .h3d em { font-style: normal; color: var(--signal); }
.on-dark .h1 em, .on-dark .h2 em, .on-dark .h3d em { color: var(--sky); }
.h3 { font-family: var(--body); font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: -.005em; }
.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); max-width: 38em; }
.on-dark .lede { color: var(--muted-dark); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-dark); }
.prose { max-width: 66ch; }
.prose p { margin-bottom: 1.1em; }
.prose h3 { margin: 1.8em 0 .5em; }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lede { margin: 0; }
.section-head--stack { grid-template-columns: 1fr; align-items: start; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; padding: 17px 26px; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--primary { background: var(--signal); color: var(--white); }
.btn--primary:hover { background: var(--signal-hover); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.on-dark .btn--ghost { border-color: rgba(255,255,255,.28); color: var(--white); }
.on-dark .btn--ghost:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link {
  font-weight: 700; text-decoration: none; color: var(--signal);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease); padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.5px; }
.on-dark .link { color: var(--sky); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(2, 10, 29, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-dark); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .3s var(--ease); }
.site-header.is-scrolled .bar { height: 68px; }
.brand { display: block; flex: none; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a.navlink {
  color: rgba(255,255,255,.76); text-decoration: none; font-size: 15px; font-weight: 500;
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav a.navlink:hover, .nav a.navlink[aria-current="page"] { color: var(--white); }
.nav a.navlink[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--signal);
}
.nav .btn { padding: 13px 18px; font-size: 14px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.28); color: var(--white); font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 12px 14px; border-radius: 2px; cursor: pointer; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--carbon); color: var(--white);
  display: flex; flex-direction: column; padding: 22px var(--gutter) 40px;
  transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s;
}
.mobile-nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; height: 40px; margin-bottom: 40px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav li a { display: flex; justify-content: space-between; padding: 16px 0; font-family: var(--display); text-transform: uppercase; font-size: 32px; text-decoration: none; color: var(--white); }
.mobile-nav li a[aria-current="page"] { color: var(--sky); }
.mobile-nav .btn { margin-top: 32px; justify-content: center; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1100px 620px at 88% 18%, rgba(53, 85, 253, .30), transparent 62%),
    radial-gradient(700px 500px at 8% 110%, rgba(166, 216, 253, .10), transparent 60%),
    linear-gradient(180deg, var(--carbon) 0%, #060B33 58%, var(--indigo) 100%);
  padding: clamp(150px, 18vw, 210px) 0 0;
}
.hero-mark {
  position: absolute; right: -6vw; top: 120px; width: min(980px, 78vw); opacity: .9; pointer-events: none;
}
.hero-mark path { fill: rgba(53, 85, 253, .08); stroke: rgba(166, 216, 253, .42); stroke-width: .7; }
@media (prefers-reduced-motion: no-preference) {
  .hero-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; animation: draw 2.8s var(--ease) .2s forwards, fillin 1.6s ease 2.2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fillin { to { fill-opacity: 1; } }
  .rise { animation: rise .9s var(--ease) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .28s; } .rise.d4 { animation-delay: .4s; }
  @keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
.hero .inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.hero h1 { max-width: 12.5em; }
.hero .tagline { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; color: var(--white); font-weight: 500; max-width: 30em; margin: 6px 0 0; }
.hero .intro { color: var(--muted-dark); max-width: 36em; margin: 0; font-size: 17.5px; }
.hero .btn-row { margin-top: 10px; }
.hero-foot {
  position: relative; margin-top: clamp(64px, 8vw, 110px);
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0; align-items: stretch;
  border-top: 1px solid var(--line-dark);
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 30px 24px 38px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stat .num { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.stat .num sup { font-size: .45em; color: var(--sky); vertical-align: super; margin-left: 2px; }
.stat .lbl { margin-top: 10px; font-size: 14px; color: var(--muted-dark); line-height: 1.45; max-width: 16em; }
.hero-quote {
  border-left: 1px solid var(--line-dark); padding: 30px 0 38px clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.hero-quote blockquote { margin: 0; font-family: var(--quote); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--white); font-weight: 400; }
.hero-quote blockquote::before { content: "\201C"; color: var(--sky); margin-right: 2px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 92% 0%, rgba(53, 85, 253, .28), transparent 60%),
    linear-gradient(180deg, var(--carbon) 0%, var(--indigo) 100%);
  padding: clamp(150px, 16vw, 200px) 0 clamp(72px, 8vw, 112px);
}
.page-hero .ghost-mark { position: absolute; right: -8vw; bottom: -6vw; width: min(760px, 70vw); pointer-events: none; }
.page-hero .ghost-mark path { fill: none; stroke: rgba(166, 216, 253, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.page-hero .inner { position: relative; max-width: 980px; }
.page-hero .lede { margin-top: 28px; }

/* ---------- logos/strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; padding-top: 26px; padding-bottom: 26px; }
.strip .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 34px; list-style: none; margin: 0; padding: 0; }
.strip li { font-family: var(--display); text-transform: uppercase; font-size: 19px; letter-spacing: .04em; color: var(--indigo); opacity: .78; }

/* ---------- audience columns ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.cols3 > * { padding: 36px 32px 8px 0; }
.cols3 > * + * { padding-left: 32px; border-left: 1px solid var(--line); }
.idx { font-family: var(--display); font-size: 15px; letter-spacing: .1em; color: var(--signal); display: block; margin-bottom: 18px; }
.cols3 h3 { margin-bottom: 10px; }
.cols3 p { color: var(--muted); }

.cols3.cols4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chips.dark li { background: transparent; color: var(--white); border-color: var(--line-dark); }

/* ---------- numbered value list ---------- */
.values { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.values li {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 40px;
  padding: 34px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.values .n { font-family: var(--display); font-size: 64px; line-height: .9; color: var(--frost); -webkit-text-stroke: 1px var(--signal); }
.values h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.08; }
.values p { margin: 0; color: var(--muted); }
.bg-white .values .n { color: var(--white); }

/* ---------- featured quote ---------- */
.feature-quote { position: relative; overflow: hidden; }
.feature-quote .slash { position: absolute; top: 0; bottom: 0; right: 12%; width: 34%; background: linear-gradient(180deg, rgba(53,85,253,.22), rgba(53,85,253,0)); transform: skewX(-34deg); pointer-events: none; }
.feature-quote figure { position: relative; margin: 0; max-width: 1040px; }
.feature-quote blockquote { margin: 0; font-family: var(--quote); font-weight: 400; font-size: clamp(28px, 3.5vw, 50px); line-height: 1.22; letter-spacing: -.01em; }
.feature-quote blockquote .q { color: var(--sky); }
.feature-quote figcaption { margin-top: 44px; }

/* ---------- person / attribution ---------- */
.who { display: flex; align-items: center; gap: 14px; }
.who img, .who .mono { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.who .mono { display: grid; place-items: center; background: var(--indigo); color: var(--sky); font-family: var(--display); font-size: 17px; }
.who b { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.who span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.on-dark .who span { color: var(--muted-dark); }
.on-dark .who img { box-shadow: 0 0 0 2px rgba(166,216,253,.35); }

/* ---------- quote cards (refs) ---------- */
.ref-grid { columns: 3 340px; column-gap: 48px; }
.ref {
  break-inside: avoid; margin: 0 0 48px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 22px;
}
.ref blockquote { margin: 0; font-family: var(--quote); font-size: 19px; line-height: 1.55; color: var(--ink); }
.ref blockquote::before { content: "\201C"; display: block; font-size: 54px; line-height: .6; height: 22px; color: var(--signal); font-family: var(--quote); }
.ref .tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); background: rgba(53,85,253,.08); padding: 6px 9px; border-radius: 2px; }
.ref[hidden] { display: none; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.trio .ref { margin: 0; }

.filters { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: 2px; margin-bottom: 56px; }
.filters button {
  font: 700 14px/1 var(--body); padding: 14px 20px; border: 0; background: transparent; color: var(--muted); cursor: pointer;
  border-right: 1px solid var(--line);
}
.filters button:last-child { border-right: 0; }
.filters button[aria-pressed="true"] { background: var(--indigo); color: var(--white); }
.filters .ct { font-weight: 500; opacity: .7; margin-left: 6px; font-variant-numeric: tabular-nums; }

/* ---------- track record ---------- */
.record { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.record > div { padding: 28px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-height: 196px; }
.record .num { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--indigo); font-variant-numeric: tabular-nums; }
.record .num sup { font-size: .45em; color: var(--signal); }
.record .ty { font-weight: 700; margin-top: auto; }
.record .loc { font-size: 14px; color: var(--muted); }
.record .total { background: var(--indigo); color: var(--white); }
.record .total .num { color: var(--white); }
.record .total .loc { color: var(--muted-dark); }
.on-dark .record, .on-dark .record > div { border-color: var(--line-dark); }

/* ---------- ledger (roles table) ---------- */
.ledger { width: 100%; border-collapse: collapse; font-size: 16px; }
.ledger th { text-align: left; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0 16px 14px 0; border-bottom: 1px solid var(--ink); }
.ledger td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger td:first-child { font-family: var(--display); text-transform: uppercase; font-size: 21px; line-height: 1.15; letter-spacing: .01em; color: var(--indigo); width: 46%; }
.ledger td:nth-child(2) { font-weight: 500; }
.ledger td:last-child { color: var(--muted); }
.ledger tr { transition: background .2s; }
.ledger tbody tr:hover { background: rgba(53,85,253,.04); }
.table-scroll { overflow-x: auto; }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sector { background: var(--white); padding: 34px 28px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; text-decoration: none; transition: background .3s var(--ease); position: relative; }
.sector .h3d { color: var(--indigo); }
.sector p { color: var(--muted); margin: 0; font-size: 15.5px; }
.sector .more { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--signal); }
a.sector:hover { background: var(--indigo); }
a.sector:hover .h3d, a.sector:hover p { color: var(--white); }
a.sector:hover .more { color: var(--sky); }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 2px; }
.portrait::after { content: ""; position: absolute; left: -18px; bottom: -18px; width: 46%; height: 12px; background: var(--signal); transform: skewX(-34deg); transform-origin: left bottom; }
.founder .sig { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 20px; margin-top: 28px; }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 40px; padding: 34px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .when { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 17px; color: var(--signal); padding-top: 6px; }
.steps h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.08; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; max-width: 60ch; }
.on-dark .steps li { border-color: var(--line-dark); }
.on-dark .steps p { color: var(--muted-dark); }

.mini-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.mini-steps > div { padding: 30px 26px 10px 0; }
.mini-steps > div + div { padding-left: 26px; border-left: 1px solid var(--line-dark); }
.mini-steps .when { font-family: var(--display); color: var(--sky); text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.mini-steps h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 26px; margin: 12px 0 10px; }
.mini-steps p { color: var(--muted-dark); font-size: 15.5px; }

/* ---------- two-up panels ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.panel.dark { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.panel.dark p, .panel.dark li { color: var(--muted-dark); }
.panel ul { margin: 6px 0 0; padding: 0; list-style: none; }
.panel li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; }
.panel.dark li { border-color: var(--line-dark); }
.panel li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 5px; background: var(--signal); transform: skewX(-34deg); }
.panel.dark li::before { background: var(--sky); }
.panel .h3d { color: inherit; }
.badge { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 2px; background: var(--signal); color: var(--white); }

/* ---------- lists of chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); padding: 10px 14px; font-weight: 500; font-size: 15px; border-radius: 2px; background: var(--white); }

/* ---------- sector detail ---------- */
.sector-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(40px, 6vw, 96px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.sector-block:last-child { border-bottom: 1px solid var(--line); }
.sector-block .h2 { font-size: clamp(34px, 3.8vw, 52px); }
.sector-block .roles { columns: 2 220px; column-gap: 32px; margin: 18px 0 0; padding: 0; list-style: none; }
.sector-block .roles li { break-inside: avoid; padding: 9px 0; border-top: 1px solid var(--line); font-weight: 500; font-size: 15.5px; }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { background: var(--white); border: 1px solid var(--line); padding: 32px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: start; }
.person img, .person .mono { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person .mono { display: grid; place-items: center; background: var(--indigo); color: var(--sky); font-family: var(--display); font-size: 30px; }
.person .role { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin: 4px 0 12px; }
.person p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- case placeholders ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case { background: var(--white); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.case .meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.case .meta span:first-child { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.case dl { margin: 6px 0 0; display: grid; gap: 14px; }
.case dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.case dd { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
.case .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: auto; padding-top: 16px; gap: 8px; }
.case .kpis b { display: block; font-family: var(--display); font-size: 26px; font-weight: 500; color: var(--indigo); }
.case .kpis span { font-size: 12.5px; color: var(--muted); line-height: 1.3; display: block; }
.draft { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A5A00; background: #FFF1CC; padding: 5px 8px; border-radius: 2px; }
.note { border-left: 3px solid var(--signal); background: rgba(53,85,253,.06); padding: 16px 20px; font-size: 15px; color: var(--muted); margin-bottom: 40px; }

/* ---------- insights ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { background: var(--white); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.post .cat { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.post h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: 26px; line-height: 1.1; color: var(--indigo); }
.post p { color: var(--muted); font-size: 15.5px; margin: 0; }
.post .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 16px; align-items: baseline; padding: 26px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--display); color: var(--signal); font-size: 16px; letter-spacing: .06em; }
.faq summary .q { font-weight: 700; font-size: 19px; line-height: 1.4; }
.faq summary .pm { position: relative; width: 16px; height: 16px; justify-self: end; align-self: center; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .a { padding: 0 44px 28px 72px; color: var(--muted); max-width: 78ch; }

/* ---------- contact & forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; background: var(--white); border: 1px solid var(--line); padding: clamp(26px, 3.4vw, 44px); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink); }
.form input, .form textarea, .form select {
  width: 100%; font: 400 16px/1.5 var(--body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 2px; padding: 14px 14px; transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--signal); background: var(--white); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .status { grid-column: 1 / -1; font-size: 15px; margin: 0; min-height: 1.5em; }
.form .status.ok { color: #0C7A43; }
.form .status.err { color: #B42318; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
.contact-list span { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--signal); color: var(--white); }
.cta::before { content: ""; position: absolute; top: 0; bottom: 0; left: 58%; width: 60%; background: rgba(15,16,83,.22); transform: skewX(-34deg); }
.cta .inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.cta .h2 em { color: var(--carbon); }
.cta p { color: rgba(255,255,255,.86); max-width: 34em; }
.cta .btn--primary { background: var(--white); color: var(--indigo); }
.cta .btn--primary:hover { background: var(--carbon); color: var(--white); }
.cta .btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.cta .btn--ghost:hover { border-color: var(--white); }
.cta .fine { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--carbon); color: var(--muted-dark); padding: clamp(72px, 8vw, 104px) 0 36px; font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
.site-footer .brand img { height: 22px; }
.site-footer .claim { margin-top: 24px; max-width: 26em; color: var(--muted-dark); }
.site-footer h4 { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--muted-dark); transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13.5px; color: rgba(228,230,243,.55); }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; align-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav .navlink { display: none; }
  .nav .btn { display: none; }
  .menu-btn { display: inline-block; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .section-head, .founder, .contact-grid, .cta .inner, .sector-block { grid-template-columns: 1fr; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-quote { border-left: 0; border-top: 1px solid var(--line-dark); padding-left: 0; }
  .cols3, .cols3.cols4, .trio, .mini-steps { grid-template-columns: 1fr; }
  .cols3 > * + *, .mini-steps > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .mini-steps > div + div { border-top-color: var(--line-dark); }
  .values li { grid-template-columns: 72px minmax(0, 1fr); }
  .values li p { grid-column: 2; }
  .values .n { font-size: 44px; }
  .steps li { grid-template-columns: 1fr; }
  .split, .people { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .site-footer .top > :first-child { grid-column: 1 / -1; }
  .portrait { max-width: 460px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .site-header .brand img { height: 15px; }
  .site-header .bar { height: 68px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .sectors, .record, .cases, .posts { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .faq summary { grid-template-columns: 40px minmax(0, 1fr) 22px; }
  .faq .a { padding: 0 0 26px 56px; }
  .ledger td:first-child { font-size: 18px; width: auto; }
  .ledger th:nth-child(3), .ledger td:nth-child(3) { display: none; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .site-footer .top { grid-template-columns: 1fr; }
  .filters { display: flex; width: 100%; }
  .filters button { flex: 1 1 auto; padding: 13px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   Nov 2026 revision: intro, effects, case studies, team, candidates
   ===================================================================== */

/* ---------- opening intro: the book opens ---------- */
.book-intro { position: fixed; inset: 0; z-index: 200; perspective: 1800px; pointer-events: none; }
.book-intro .leaf { position: absolute; top: 0; bottom: 0; width: 50.2%; background: linear-gradient(180deg, var(--carbon), #070C3A 60%, var(--indigo)); }
.book-intro .leaf.l { left: 0; transform-origin: left center; box-shadow: inset -1px 0 0 rgba(166,216,253,.35); }
.book-intro .leaf.r { right: 0; transform-origin: right center; box-shadow: inset 1px 0 0 rgba(166,216,253,.35); }
.book-intro .stage { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 22px; z-index: 2; }
.book-intro .stage svg { width: min(240px, 52vw); overflow: visible; }
.book-intro .stage path { fill: var(--signal); fill-opacity: 0; stroke: var(--sky); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.book-intro .stage .word { font-family: var(--body); font-weight: 700; letter-spacing: .5em; text-transform: uppercase; font-size: 11px; color: var(--sky); opacity: 0; padding-left: .5em; }
@media (prefers-reduced-motion: no-preference) {
  .book-intro { animation: introGone 0s linear 2.15s forwards; }
  .book-intro .stage path { animation: draw 0.9s cubic-bezier(.6,0,.2,1) .1s forwards, fillin .45s ease .75s forwards; }
  .book-intro .stage .word { animation: fadeUp .5s ease .55s forwards; }
  .book-intro .stage { animation: stageOut .55s cubic-bezier(.6,0,.2,1) 1.2s forwards; }
  .book-intro .leaf.l { animation: leafL 1s cubic-bezier(.75,0,.15,1) 1.25s forwards; }
  .book-intro .leaf.r { animation: leafR 1s cubic-bezier(.75,0,.15,1) 1.25s forwards; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes stageOut { to { opacity: 0; transform: scale(1.35); filter: blur(4px); } }
  @keyframes leafL { to { transform: rotateY(-82deg); opacity: 0; } }
  @keyframes leafR { to { transform: rotateY(82deg); opacity: 0; } }
  @keyframes introGone { to { visibility: hidden; } }
}
@media (prefers-reduced-motion: reduce) { .book-intro { display: none; } }
html.no-intro .book-intro { display: none; }

/* hero entrance timing follows the intro */
:root { --d0: 1.45s; }
html.no-intro { --d0: .05s; }
.hero .rise { animation-delay: calc(var(--d0) + var(--dd, 0s)) !important; }
.hero .rise.d1 { --dd: .1s; } .hero .rise.d2 { --dd: .55s; } .hero .rise.d3 { --dd: .7s; } .hero .rise.d4 { --dd: .85s; } .hero .rise.d5 { --dd: 1s; }
.hero .h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero .h1 .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero .h1.rise { animation: none !important; }
  .hero .h1 .w > span { transform: translateY(105%); animation: wordUp .9s cubic-bezier(.2,.8,.1,1) forwards; animation-delay: calc(var(--d0) + var(--i) * 55ms); }
  @keyframes wordUp { to { transform: none; } }
  .hero-mark path { animation-delay: calc(var(--d0) - .2s), calc(var(--d0) + 1.8s) !important; }
}

/* cursor spotlight in the hero */
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 520px at var(--mx, 70%) var(--my, 30%), rgba(53, 85, 253, .22), transparent 60%); opacity: var(--spot, 0); transition: opacity .6s ease; }
.hero > .wrap { position: relative; z-index: 1; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); z-index: 70; pointer-events: none; }

/* button sheen */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-24deg); transition: left .7s var(--ease); z-index: -1; }
.btn--primary:hover::after { left: 130%; }

/* scroll reveal (only applied by JS to elements below the fold) */
.r-pre { opacity: 0; transform: translateY(28px); }
.r-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }

/* hero CTA row with three actions */
.hero .btn-row { gap: 12px; }
.btn--text { color: var(--white); padding-left: 6px; padding-right: 6px; }
.btn--text:hover { color: var(--sky); }

/* stat with words instead of a number */
.stat .num.word { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.05; }

/* ---------- logo marquee ---------- */
.logos { background: var(--carbon); color: var(--white); padding: 34px 0 38px; border-top: 1px solid var(--line-dark); overflow: hidden; }
.logos .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 22px; }
.marquee { display: flex; width: max-content; gap: 64px; align-items: center; }
.marquee img { height: 30px; width: auto; max-width: 170px; object-fit: contain; opacity: .72; transition: opacity .3s; }
.marquee img:hover { opacity: 1; }
.marquee-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: marquee 55s linear infinite; }
  .marquee-mask:hover .marquee { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .marquee { flex-wrap: wrap; width: auto; gap: 28px 48px; } }

/* ---------- logo wall (static) ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.logo-wall div { display: grid; place-items: center; min-height: 104px; padding: 22px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .3s; }
.logo-wall div:hover { background: rgba(53,85,253,.12); }
.logo-wall img { max-height: 34px; max-width: 100%; width: auto; opacity: .8; }

/* ---------- case teasers (home) ---------- */
.case-teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ct-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 380px; padding: 32px; text-decoration: none; color: var(--white);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)), var(--indigo); border: 1px solid var(--line-dark); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.ct-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 300px at 100% 0%, rgba(53,85,253,.35), transparent 60%); opacity: .6; transition: opacity .5s; pointer-events: none; }
.ct-card:hover { transform: translateY(-6px); border-color: rgba(166,216,253,.5); box-shadow: 0 30px 60px -30px rgba(2,10,29,.8); }
.ct-card:hover::before { opacity: 1; }
.ct-card .lg { height: 34px; display: flex; align-items: center; gap: 14px; position: relative; }
.ct-card .lg img { height: 30px; width: auto; max-width: 150px; object-fit: contain; }
.ct-card .yrs { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); position: relative; }
.ct-card h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.08; position: relative; }
.ct-card p { color: var(--muted-dark); margin: 0; font-size: 15.5px; position: relative; }
.ct-card .big { margin-top: auto; display: flex; align-items: baseline; gap: 12px; position: relative; border-top: 1px solid var(--line-dark); padding-top: 18px; }
.ct-card .big b { font-family: var(--display); font-weight: 500; font-size: 48px; line-height: 1; }
.ct-card .big span { font-size: 14px; color: var(--muted-dark); }
.ct-card .go { position: absolute; right: 28px; bottom: 30px; color: var(--sky); font-weight: 700; transition: transform .35s var(--ease); }
.ct-card:hover .go { transform: translateX(6px); }

/* ---------- team strip ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.team > div { padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.team > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.team img, .team .mono { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.team .mono { display: grid; place-items: center; background: var(--indigo); color: var(--sky); font-family: var(--display); font-size: 24px; }
.team h3 { margin-top: 8px; }
.team .role { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.team p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* smaller founder portrait */
.founder.compact { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
.founder.compact .portrait img { aspect-ratio: 1 / 1; border-radius: 50%; }
.founder.compact .portrait::after { display: none; }

/* ---------- case studies page ---------- */
.case-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.case-nav a { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--white); border: 1px solid rgba(255,255,255,.28); padding: 11px 16px; border-radius: 2px; transition: border-color .2s, background .2s; }
.case-nav a:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.cs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(40px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.cs:last-child { border-bottom: 1px solid var(--line); }
.cs .side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; align-self: start; }
.cs .logo-box { background: var(--indigo); border-radius: 2px; padding: 26px 24px; display: flex; gap: 18px; align-items: center; min-height: 96px; }
.cs .logo-box img { max-height: 40px; max-width: 46%; width: auto; }
.cs .logo-box img:only-child { max-width: 80%; }
.cs .conf { background: var(--indigo); color: var(--white); border-radius: 2px; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.cs .conf b { font-family: var(--display); font-weight: 500; font-size: 64px; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.cs .conf span { color: var(--muted-dark); font-size: 14px; }
.cs .conf .lock { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 10px; }
.cs .facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cs .facts li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cs .facts span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.cs h3.h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 22px; }
.cs .story p { font-size: 18px; line-height: 1.65; max-width: 62ch; }
.cs .label { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--signal); margin: 30px 0 12px; display: block; }
.cs .chips li { font-size: 14.5px; padding: 8px 12px; }
.cs .q { margin-top: 32px; display: grid; gap: 22px; }
.cs .q figure { margin: 0; padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--signal); }
.cs .q blockquote { margin: 0 0 18px; font-family: var(--quote); font-size: 19px; line-height: 1.5; }
.cs .ref-note { margin-top: 26px; font-weight: 700; color: var(--indigo); display: flex; gap: 10px; align-items: center; }
.cs .ref-note::before { content: ""; width: 16px; height: 6px; background: var(--signal); transform: skewX(-34deg); }
.cs .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.cs .three div { border-top: 2px solid var(--indigo); padding-top: 14px; }
.cs .three b { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin-bottom: 8px; }
.cs .three p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- candidates ---------- */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.video:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(15,16,83,.45); }
.video .thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: radial-gradient(300px 200px at 80% 10%, rgba(53,85,253,.55), transparent 60%), linear-gradient(160deg, var(--carbon), var(--indigo)); display: grid; place-items: center; }
.video .thumb .t { position: absolute; left: 18px; right: 70px; bottom: 16px; font-family: var(--display); text-transform: uppercase; color: var(--white); font-size: 22px; line-height: 1.05; }
.video .thumb .yr { position: absolute; top: 14px; left: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--sky); }
.video .play { width: 58px; height: 58px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; position: absolute; right: 16px; bottom: 14px; transition: transform .35s var(--ease); }
.video:hover .play { transform: scale(1.1); }
.video .play::after { content: ""; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.video .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.video .body p { margin: 0; color: var(--muted); font-size: 15px; }
.video .body span { font-weight: 700; font-size: 14px; color: var(--signal); }
.postlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.postlist a { display: grid; grid-template-columns: 110px minmax(0, 1.1fr) minmax(0, 1.3fr) 28px; gap: 12px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); align-items: baseline; transition: background .25s, padding .35s var(--ease); }
.postlist a:hover { background: rgba(53,85,253,.04); padding-left: 10px; }
.postlist .dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.postlist .tt { font-family: var(--display); text-transform: uppercase; font-size: 22px; line-height: 1.1; color: var(--indigo); }
.postlist .ds { color: var(--muted); font-size: 15.5px; }
.postlist .ar { color: var(--signal); font-weight: 700; }
.cv-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.cv-sheet { background: var(--white); color: var(--ink); padding: 30px; border-radius: 2px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); transform: rotate(-2deg); max-width: 420px; justify-self: center; width: 100%; }
.cv-sheet .ln { height: 9px; background: var(--frost); border-radius: 2px; margin: 9px 0; }
.cv-sheet .ln.s { width: 60%; } .cv-sheet .ln.m { width: 82%; } .cv-sheet .ln.b { background: var(--signal); width: 34%; height: 12px; }
.cv-sheet h4 { font-family: var(--display); text-transform: uppercase; font-size: 22px; margin: 0 0 4px; color: var(--indigo); }
.cv-sheet .lbl { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--signal); margin: 18px 0 4px; }

/* ---------- articles ---------- */
a.post { text-decoration: none; color: inherit; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
a.post:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(15,16,83,.45); border-color: rgba(53,85,253,.4); }
.article { max-width: 720px; }
.article p, .article li { font-size: 18.5px; line-height: 1.72; }
.article h2 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; margin: 1.8em 0 .6em; color: var(--indigo); }
.article ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.article li { margin-bottom: .35em; }
.article > p:first-child { font-size: 21px; color: var(--ink); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.byline b { display: block; font-size: 15px; }
.byline span { font-size: 14px; color: var(--muted-dark); }
.src { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

@media (max-width: 1080px) {
  .case-teasers, .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cs { grid-template-columns: 1fr; }
  .cs .side { position: static; }
  .cs .three { grid-template-columns: 1fr; }
  .founder.compact { grid-template-columns: 1fr; }
  .founder.compact .portrait { max-width: 160px; }
  .cv-feature { grid-template-columns: 1fr; }
  .postlist a { grid-template-columns: minmax(0, 1fr) 24px; }
  .postlist .dt, .postlist .ds { grid-column: 1; }
  .postlist .ar { grid-row: 1 / span 3; grid-column: 2; }
}
@media (max-width: 640px) {
  .case-teasers, .videos, .team { grid-template-columns: 1fr; }
  .team > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr 1fr; }
}
.ct-card .lg img[src*="dr-reddys"] { height: 46px; }
.cs .logo-box img[src*="dr-reddys"] { max-height: 62px; }
.logo-wall img[src*="dr-reddys"], .marquee img[src*="dr-reddys"] { transform: scale(1.35); }
/* costing */
.fee-num { font-family: var(--display); font-weight: 500; font-size: clamp(84px, 9vw, 132px); line-height: .95; letter-spacing: -.01em; margin-top: 8px; }
.fee-num span { font-size: .45em; color: var(--signal); margin-left: 4px; }
.panel.dark .fee-num span { color: var(--sky); }
.panel.fee p { margin: 0 0 6px; font-size: 18px; }
.cols3.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top-color: var(--line-dark); }
.cols3.cols2 > * + * { border-left-color: var(--line-dark); }
.fee-table td { font-variant-numeric: tabular-nums; font-size: 18px; }
.fee-table td:first-child { width: 34%; }
.fee-table td:last-child { color: var(--indigo); font-weight: 700; }
/* eight menu items */
.nav { gap: clamp(14px, 1.6vw, 26px); }
.nav a.navlink { font-size: 14.5px; }
@media (max-width: 1279px) {
  .nav .navlink, .nav .btn { display: none; }
  .menu-btn { display: inline-block; }
}
@media (max-width: 900px) { .cols3.cols2 { grid-template-columns: 1fr; } .cols3.cols2 > * + * { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); } }
/* Google rating */
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: #FBBC04; }
.g-badge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px 14px; border-radius: 2px; font-size: 14px; transition: border-color .25s, background .25s; }
.g-badge b { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1; }
.g-badge.on-hero { color: var(--white); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); margin-top: 6px; }
.g-badge.on-hero span:last-child { color: var(--muted-dark); }
.g-badge.on-hero:hover { border-color: rgba(166,216,253,.5); background: rgba(255,255,255,.07); }
.g-badge.on-light { color: var(--ink); border: 1px solid var(--line); background: var(--white); margin: 0 16px 56px 0; vertical-align: top; }
.g-badge.on-light span:last-child { color: var(--muted); }
.g-badge.on-light:hover { border-color: var(--ink); }
.g-summary { display: flex; align-items: center; gap: 14px; }
.g-summary .big { font-family: var(--display); font-weight: 500; font-size: 64px; line-height: 1; color: var(--indigo); }
.g-summary .stars svg { width: 24px; height: 24px; }
.grefs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.gref { background: var(--white); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.gref .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gref .gsrc { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gref blockquote { margin: 0; font-family: var(--quote); font-size: 17px; line-height: 1.55; }
.gref .by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.gref .mono { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: var(--sky); font-family: var(--display); font-size: 14px; }
@media (max-width: 1080px) { .grefs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grefs { grid-template-columns: 1fr; } .g-badge.on-light { margin-bottom: 20px; } }
.gref .top { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; }
.gref .top .stars { border: 0; }
/* header polish: taller bar, no wrapping */
.site-header .wrap { max-width: 1400px; }
.site-header .bar { height: 92px; }
.site-header.is-scrolled .bar { height: 74px; }
.brand img, .site-header .brand img, .site-footer .brand img { height: 24px; width: auto; }
.nav a.navlink { white-space: nowrap; flex-shrink: 0; }
.btn { white-space: nowrap; }
.nav .btn { flex-shrink: 0; }
/* logo wall: keep every logo inside its cell */
.logo-wall div { min-width: 0; }
.logo-wall img { max-width: 100%; height: auto; max-height: 34px; object-fit: contain; }
.logo-wall img[src*="epirus"] { max-height: 26px; }
.logo-wall img[src*="siegfried"], .marquee img[src*="siegfried"] { transform: scale(1.3); }
@media (max-width: 640px) { .site-header .brand img { height: 16px; } }
/* calmer type scale + rating visible on opening */
.h1 { font-size: clamp(40px, 5.6vw, 86px); line-height: .98; }
.hero { padding-top: clamp(124px, 12vw, 160px); }
.hero .inner { gap: 22px; }
.hero h1 { font-size: clamp(40px, 5.3vw, 80px); max-width: 15em; }
.hero .tagline { font-size: clamp(18px, 1.5vw, 21px); margin: 0; }
.hero .intro { font-size: 16.5px; }
.hero .btn-row { align-items: center; margin-top: 4px; }
.g-badge.on-hero { margin: 0 0 0 10px; padding: 12px 16px; }
.hero-foot { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 640px) { .g-badge.on-hero { margin: 6px 0 0; } }
:root { --wrap: 1320px; }
.site-header .wrap { max-width: var(--wrap); }
@media (max-width: 640px) {
  .fee-table th:nth-child(3), .fee-table td:nth-child(3) { display: table-cell; }
  .fee-table td { font-size: 15px; padding-right: 10px; }
  .fee-table td:first-child { font-size: 15px; }
  .fee-table th { font-size: 10.5px; padding-right: 10px; }
  .filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters button { padding: 12px 6px; font-size: 13px; line-height: 1.3; border-right: 1px solid var(--line); }
  .filters button .ct { display: block; margin: 2px 0 0; }
}
/* three sector boxes: stack on phones */
.sectors.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .sectors.three { grid-template-columns: 1fr; }
  .sectors.three .sector { min-height: 0; }
}
/* logo strip: static grid on phones and tablets (very long moving strips fail to draw on many phones) */
@media (max-width: 900px) {
  .marquee-mask { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gutter); }
  .marquee { animation: none !important; transform: none !important; width: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; align-items: center; justify-items: center; }
  .marquee img { height: auto; max-height: 26px; max-width: 100%; opacity: .85; }
  .marquee img.dup, .marquee img:nth-child(n+13) { display: none; }
}
/* keep photos in proportion (HTML height attributes must not fix the height) */
.portrait img { height: auto; }
.founder.compact .portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 900px) { .founder.compact .portrait { width: 160px; max-width: 160px; } }
.ct-card .lg img + img { margin-left: 4px; }
.ct-card .lg img[src*="alvogen"], .ct-card .lg img[src*="adalvo"] { height: 24px; }
