/* BlockCore Partners site styles
   Palette: graphite, mist, spruce. Type: Newsreader (display), IBM Plex Sans (text), IBM Plex Mono (citations). */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"), url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations"), url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #FBFBFA;
  --bg-alt: #EFF2F0;
  --surface: #FFFFFF;
  --ink: #14181D;
  --ink-2: #414B55;
  --muted: #66717C;
  --line: #D9DEDB;
  --line-strong: #B9C1BD;
  --accent: #0E6B5E;
  --accent-strong: #09544A;
  --accent-soft: #E1EFEA;
  --on-accent: #FFFFFF;
  --focus: #0E6B5E;
  --header-bg: rgba(251, 251, 250, 0.92);

  /* Dark bands (hero, CTA, footer) stay dark in both themes */
  --band: #12161B;
  --band-2: #1A2027;
  --band-ink: #F2F4F3;
  --band-ink-2: #B8C1C8;
  --band-muted: #8C97A1;
  --band-line: rgba(242, 244, 243, 0.14);
  --band-accent: #4CC3AA;
  --band-on-accent: #0B0F12;
  --hex-line: rgba(242, 244, 243, 0.07);
  --hex-fill: rgba(242, 244, 243, 0.035);
  --hex-glow: 76, 195, 170;

  --card-hex-line: rgba(20, 24, 29, 0.14);
  --card-hex-fill: rgba(14, 107, 94, 0.14);

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-text: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display: clamp(2.5rem, 1.35rem + 4.6vw, 5.4rem);
  --fs-h1: clamp(2.25rem, 1.45rem + 3.2vw, 4.25rem);
  --fs-h2: clamp(1.8rem, 1.35rem + 1.7vw, 2.9rem);
  --fs-h3: 1.2rem;
  --fs-lede: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --fs-label: 0.74rem;

  --gutter: clamp(16px, 4vw, 44px);
  --maxw: 1240px;
  --section-y: clamp(64px, 8.5vw, 124px);
  --header-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1215;
    --bg-alt: #151A1F;
    --surface: #1A2026;
    --ink: #ECEFED;
    --ink-2: #BAC3C9;
    --muted: #8F9AA4;
    --line: #29313A;
    --line-strong: #3B4550;
    --accent: #4CC3AA;
    --accent-strong: #7DD7C4;
    --accent-soft: #15302B;
    --on-accent: #0B0F12;
    --focus: #7DD7C4;
    --header-bg: rgba(15, 18, 21, 0.9);
    --band: #0B0E11;
    --band-2: #141A20;
    --card-hex-line: rgba(236, 239, 237, 0.14);
    --card-hex-fill: rgba(76, 195, 170, 0.16);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1215;
  --bg-alt: #151A1F;
  --surface: #1A2026;
  --ink: #ECEFED;
  --ink-2: #BAC3C9;
  --muted: #8F9AA4;
  --line: #29313A;
  --line-strong: #3B4550;
  --accent: #4CC3AA;
  --accent-strong: #7DD7C4;
  --accent-soft: #15302B;
  --on-accent: #0B0F12;
  --focus: #7DD7C4;
  --header-bg: rgba(15, 18, 21, 0.9);
  --band: #0B0E11;
  --band-2: #141A20;
  --card-hex-line: rgba(236, 239, 237, 0.14);
  --card-hex-fill: rgba(76, 195, 170, 0.16);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* Type */
.eyebrow { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.display { font-family: var(--font-display); font-weight: 380; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.022em; font-variation-settings: "opsz" 72; }
.h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: "opsz" 72; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.015em; font-variation-settings: "opsz" 60; }
.h3 { font-family: var(--font-text); font-weight: 600; font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.005em; }
.serif-h3 { font-family: var(--font-display); font-weight: 450; font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.9rem); line-height: 1.15; letter-spacing: -0.01em; font-variation-settings: "opsz" 36; }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 0.95rem/1 var(--font-text); letter-spacing: 0.005em; padding: 15px 20px; border: 1px solid transparent; border-radius: 2px; text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.band .btn-primary { background: var(--band-accent); color: var(--band-on-accent); }
.band .btn-primary:hover { background: #7DD7C4; }
.band .btn-ghost { border-color: var(--band-line); color: var(--band-ink); }
.band .btn-ghost:hover { border-color: var(--band-ink); }
.btn-sm { padding: 11px 16px; font-size: 0.9rem; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent); text-decoration: none; }
.text-link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover svg { transform: translateX(3px); }
.band .text-link { color: var(--band-accent); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tag { font-family: var(--font-mono); font-size: 0.74rem; line-height: 1; padding: 6px 8px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.band .tag { border-color: var(--band-line); color: var(--band-ink-2); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; display: block; }
.logo-on-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-on-light { display: none !important; } :root:not([data-theme="light"]) .logo-on-dark { display: block !important; } }
:root[data-theme="dark"] .logo-on-light { display: none !important; }
:root[data-theme="dark"] .logo-on-dark { display: block !important; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item { position: static; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 0.97rem/1 var(--font-text); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 2px; }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--accent); }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--accent); }
.nav-trigger svg { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-cta { margin-left: 12px; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(10, 14, 18, 0.25); }
.mega-inner { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(24px, 4vw, 64px); padding-block: 36px 40px; }
.mega-intro p { color: var(--ink-2); margin-top: 12px; font-size: var(--fs-small); max-width: 34ch; }
.mega-intro .text-link { margin-top: 18px; font-size: var(--fs-small); }
.mega-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 28px; list-style: none; }
.mega-links a { display: block; padding: 14px 0 16px; border-top: 1px solid var(--line); text-decoration: none; }
.mega-links a strong { display: block; font-weight: 600; font-size: 1rem; }
.mega-links a span { display: block; color: var(--muted); font-size: var(--fs-small); margin-top: 4px; line-height: 1.45; }
.mega-links a:hover strong { color: var(--accent); }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); color: var(--ink); cursor: pointer; border-radius: 2px; }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 40px; }
  .mobile-nav { display: block; border-top: 1px solid var(--line); background: var(--surface); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .mobile-nav[hidden] { display: none !important; }
  .mobile-nav .wrap { padding-block: 8px 28px; }
  .m-group { border-bottom: 1px solid var(--line); }
  .m-group > a, .m-group > button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 18px 0; font: 500 1.1rem/1.2 var(--font-text); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
  .m-group > button svg { width: 14px; height: 14px; transition: transform .2s ease; }
  .m-group > button[aria-expanded="true"] svg { transform: rotate(180deg); }
  .m-sub { list-style: none; padding-bottom: 14px; }
  .m-sub a { display: block; padding: 10px 0 10px 14px; color: var(--ink-2); text-decoration: none; border-left: 1px solid var(--line); }
  .m-sub a:hover { color: var(--accent); border-left-color: var(--accent); }
  .mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }
}

/* Dark bands */
.band { position: relative; background: var(--band); color: var(--band-ink); overflow: hidden; isolation: isolate; }
.band .lede { color: var(--band-ink-2); }
.band .eyebrow { color: var(--band-accent); }
.band .muted { color: var(--band-muted); }
.hex-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--band) 0%, color-mix(in srgb, var(--band) 82%, transparent) 38%, color-mix(in srgb, var(--band) 0%, transparent) 75%); }

.hero { padding-block: clamp(80px, 11vw, 168px) clamp(56px, 7vw, 96px); }
.hero-inner { display: grid; gap: 28px; }
.hero .display { max-width: 15ch; }
.hero .lede { max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--band-line); list-style: none; }
.hero-facts li { display: grid; gap: 6px; }
.hero-facts .k { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-ink); }
.hero-facts .v { color: var(--band-muted); font-size: var(--fs-small); line-height: 1.5; max-width: 34ch; }
@media (max-width: 720px) { .hero-facts { grid-template-columns: 1fr; gap: 18px; } }

.page-hero { padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 84px); }
.page-hero .h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 22px; }
.page-hero .cta-row { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; list-style: none; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; }
.crumbs a { color: var(--band-accent); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--band-muted); }
.crumbs [aria-current] { color: var(--band-ink-2); }

.light-hero { padding-block: clamp(56px, 7vw, 104px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.light-hero .crumbs a { color: var(--accent); }
.light-hero .crumbs li + li::before { color: var(--muted); }
.light-hero .crumbs [aria-current] { color: var(--muted); }

/* Sections */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section + .section:not(.section-alt):not(.band) { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head .h2 { max-width: 20ch; }
.section-head p { color: var(--ink-2); max-width: 54ch; }
.section-head.single { grid-template-columns: 1fr; }
.section-head .head-link { justify-self: end; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } .section-head .head-link { justify-self: start; } }

/* Services (home) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.svc { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px clamp(20px, 2.6vw, 36px) 36px 0; text-decoration: none; color: inherit; }
.svc + .svc { padding-left: clamp(20px, 2.6vw, 36px); border-left: 1px solid var(--line); }
.svc::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.svc:hover::before, .svc:focus-visible::before { transform: scaleX(1); }
.svc p { color: var(--ink-2); }
.svc .tags { margin-top: auto; padding-top: 8px; }
.svc .text-link { margin-top: 6px; }
.svc:hover .serif-h3 { color: var(--accent); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } .svc, .svc + .svc { padding: 28px 0 32px; border-left: 0; } .svc + .svc { border-top: 1px solid var(--line); } }

/* Industries list */
.ind-list { list-style: none; border-top: 1px solid var(--line-strong); }
.ind-row { display: grid; grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.3fr) 32px; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.ind-row canvas { width: 72px; height: 56px; display: block; }
.ind-row .serif-h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); }
.ind-row p { color: var(--ink-2); }
.ind-row .arrow { width: 22px; height: 22px; color: var(--muted); transition: transform .2s ease, color .2s ease; justify-self: end; }
.ind-row:hover .serif-h3, .ind-row:hover .arrow { color: var(--accent); }
.ind-row:hover .arrow { transform: translateX(4px); }
@media (max-width: 760px) { .ind-row { grid-template-columns: 56px minmax(0, 1fr) 24px; } .ind-row canvas { width: 56px; height: 44px; } .ind-row p { grid-column: 2 / 3; grid-row: 2; } .ind-row .arrow { grid-row: 1 / span 2; grid-column: 3; } }

/* Engagements */
.eng-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.eng { background: var(--surface); border: 1px solid var(--line); padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; }
.eng .eyebrow { color: var(--muted); letter-spacing: 0.06em; }
.eng h3 { font-family: var(--font-display); font-weight: 450; font-size: 1.45rem; line-height: 1.18; letter-spacing: -0.01em; }
.eng p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 980px) { .eng-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .eng-grid { grid-template-columns: 1fr; } }
.fine-print { margin-top: 20px; font-size: var(--fs-small); color: var(--muted); max-width: 70ch; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; counter-reset: step; }
.step { padding: 0 clamp(16px, 2vw, 28px) 0 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.step .num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.06em; }
.step p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } .step:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 0 0 0 20px; border-left: 1px solid var(--line); } }

/* Insight cards */
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.ins-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); height: 100%; transition: border-color .2s ease; }
.ins-card:hover { border-color: var(--line-strong); }
.ins-art { position: relative; aspect-ratio: 16 / 7; background: var(--band); overflow: hidden; }
.ins-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ins-art .ins-cat { position: absolute; left: 20px; bottom: 16px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-ink); }
.ins-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.ins-body h3 { font-family: var(--font-display); font-weight: 450; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; }
.ins-card:hover h3 { color: var(--accent); }
.ins-body p { color: var(--ink-2); font-size: 0.96rem; }
.ins-meta { margin-top: auto; padding-top: 8px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 980px) { .ins-grid { grid-template-columns: 1fr; } .ins-card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .ins-art { aspect-ratio: auto; min-height: 180px; } }
@media (max-width: 600px) { .ins-card { display: flex; } .ins-art { aspect-ratio: 16 / 7; min-height: 0; } }

/* Leadership teaser */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lead-grid blockquote { margin: 0; }
.person { display: grid; gap: 14px; }
.person .name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 450; letter-spacing: -0.01em; line-height: 1.1; }
.person .role { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }
.person p { color: var(--ink-2); }
@media (max-width: 860px) { .lead-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { padding-block: clamp(72px, 9vw, 128px); }
.cta-band .inner { display: grid; gap: 32px; justify-items: start; }
.cta-band .h2 { max-width: 18ch; }
.cta-band p { margin-top: 16px; max-width: 58ch; }

/* Detail pages */
.split { display: grid; grid-template-columns: minmax(200px, 0.7fr) minmax(0, 2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 14px; }
.split-aside p { color: var(--ink-2); font-size: var(--fs-small); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-aside { position: static; } }

.offer-list { list-style: none; border-top: 1px solid var(--line-strong); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px clamp(20px, 4vw, 48px); padding: 28px 0; border-bottom: 1px solid var(--line); }
.offer h3 { font-family: var(--font-display); font-weight: 450; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.01em; }
.offer p { color: var(--ink-2); }
.offer .tags { grid-column: 2; }
@media (max-width: 700px) { .offer { grid-template-columns: 1fr; } .offer .tags { grid-column: 1; } }

.trigger-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); list-style: none; }
.trigger-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.trigger-list svg { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }
@media (max-width: 760px) { .trigger-list { grid-template-columns: 1fr; } }

.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.model-grid li { border-top: 2px solid var(--accent); padding-top: 18px; display: grid; gap: 8px; }
.model-grid p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 760px) { .model-grid { grid-template-columns: 1fr; } }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 500; background: var(--surface); }
.chip svg { width: 14px; height: 14px; color: var(--muted); transition: transform .18s ease; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip:hover svg { transform: translateX(3px); color: var(--accent); }

.svc-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.svc-link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.svc-link h3 { font-family: var(--font-display); font-weight: 450; font-size: 1.35rem; line-height: 1.2; }
.svc-link p { color: var(--ink-2); font-size: 0.97rem; }
.svc-link .text-link { margin-top: auto; padding-top: 6px; font-size: var(--fs-small); }
.svc-link:hover { border-color: var(--accent); }
@media (max-width: 860px) { .svc-links { grid-template-columns: 1fr; } }

.issue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); list-style: none; }
.issue-grid li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.issue-grid h3 { font-family: var(--font-display); font-weight: 450; font-size: 1.35rem; line-height: 1.2; }
.issue-grid p { color: var(--ink-2); }
@media (max-width: 760px) { .issue-grid { grid-template-columns: 1fr; } }

/* Articles */
.article-hero .h1 { max-width: 22ch; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); }
.article-hero .lede { margin-top: 22px; max-width: 64ch; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 28px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); list-style: none; }
.byline li:first-child { color: var(--ink); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); font-size: 0.88rem; line-height: 1.4; text-decoration: none; }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } .toc { display: none; } }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--font-display); font-weight: 450; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.95rem); line-height: 1.2; letter-spacing: -0.01em; margin-top: 2.1em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2em; display: grid; gap: 0.55em; }
.prose ul.checklist { list-style: none; padding-left: 0; }
.prose ul.checklist li { position: relative; padding-left: 30px; }
.prose ul.checklist li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 16px; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.takeaways { max-width: 68ch; background: var(--accent-soft); padding: 26px 28px; display: grid; gap: 14px; margin-bottom: 8px; }
.takeaways ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.takeaways li { position: relative; padding-left: 22px; color: var(--ink); }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 10px; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sources { margin-top: 3em; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.sources ol { padding-left: 1.6em; display: grid; gap: 6px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.sources a { color: var(--ink-2); word-break: break-word; }
.sources a:hover { color: var(--accent); }
.disclaimer { margin-top: 28px; font-size: var(--fs-small); color: var(--muted); max-width: 68ch; }

/* Insights index */
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--surface); margin-bottom: 20px; }
.feature .ins-art { aspect-ratio: auto; min-height: 320px; }
.feature .ins-body { padding: clamp(24px, 3vw, 44px); justify-content: center; }
.feature h2 { font-family: var(--font-display); font-weight: 420; font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.015em; }
.feature:hover h2 { color: var(--accent); }
.ins-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .ins-art { min-height: 200px; } .ins-grid.two { grid-template-columns: 1fr; } }

/* About */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); }
.story .prose p:first-child { font-size: 1.15rem; color: var(--ink); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; }
.principles li { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.principles .serif-h3 { font-size: 1.6rem; }
.principles p { color: var(--ink-2); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }
.bio-grid { display: grid; grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.bio-card { background: var(--band); color: var(--band-ink); padding: 28px; display: grid; gap: 18px; position: relative; overflow: hidden; isolation: isolate; }
.bio-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.bio-card .name { font-family: var(--font-display); font-size: 2rem; line-height: 1.05; font-weight: 420; letter-spacing: -0.01em; margin-top: 64px; }
.bio-card .role { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--band-ink-2); }
.bio-card .tags { margin-top: 6px; }
.bio-card .tag { border-color: var(--band-line); color: var(--band-ink-2); background: color-mix(in srgb, var(--band) 70%, transparent); }
.bio-grid .prose p:first-child { font-size: 1.12rem; color: var(--ink); }
@media (max-width: 860px) { .bio-grid { grid-template-columns: 1fr; } }
.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.facts-row li { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.facts-row .k { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.facts-row p { color: var(--ink-2); }
@media (max-width: 760px) { .facts-row { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info { display: grid; gap: 28px; }
.contact-info dl { margin: 0; display: grid; gap: 22px; }
.contact-info dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info dd { margin: 0; color: var(--ink-2); }
.contact-info dd a { color: var(--ink); font-weight: 500; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-btn { font: 500 0.78rem/1 var(--font-mono); padding: 7px 9px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); cursor: pointer; border-radius: 2px; }
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.notice { padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--bg-alt); color: var(--ink-2); font-size: var(--fs-small); display: grid; gap: 8px; }
.form-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.92rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--font-text); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 2px; padding: 12px 13px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }
.field .err { color: #B3261E; font-size: 0.85rem; }
:root[data-theme="dark"] .field .err { color: #F2B8B5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .err { color: #F2B8B5; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.form-foot .small { color: var(--muted); max-width: 42ch; }
.form-status { margin-top: 18px; padding: 14px 16px; font-size: 0.95rem; border: 1px solid var(--line-strong); }
.form-status.ok { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.form-status.bad { border-color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Simple pages */
.simple .prose h2 { margin-top: 1.8em; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-ink-2); border-top: 1px solid var(--band-line); padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer-top { display: grid; grid-template-columns: minmax(200px, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 56px); }
.footer-brand img { height: 92px; width: auto; }
.footer-brand p { margin-top: 18px; font-size: var(--fs-small); max-width: 32ch; color: var(--band-muted); }
.footer-col h2 { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-ink); font-weight: 500; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: var(--band-ink-2); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--band-accent); }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--band-line); display: grid; gap: 10px; font-size: 0.82rem; color: var(--band-muted); }
.footer-bottom .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-bottom a { color: var(--band-ink-2); }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* 404 */
.nf { padding-block: clamp(96px, 14vw, 180px); }
.nf .cta-row { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
