/* Locally hosted Google Fonts files; SIL OFL 1.1 texts live in ../fonts/licenses/. */
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/dm-sans-latin.aef1c6b4d4a3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/dm-sans-latin.aef1c6b4d4a3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/dm-sans-latin.aef1c6b4d4a3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/dm-sans-latin.aef1c6b4d4a3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans'; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/dm-sans-latin-italic.636cab836bc4.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.570751c5f8b4.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.570751c5f8b4.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/playfair-display-latin.6da252de0cbc.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/playfair-display-latin.6da252de0cbc.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 900; font-display: swap;
  src: url("../fonts/playfair-display-latin.6da252de0cbc.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/playfair-display-latin-italic.58b0a103adf8.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Noto Serif SC subsets (SIL OFL 1.1): glyphs limited to characters used in site headings/titles, CJK ranges only — Latin always stays on Playfair Display. */
@font-face {
  font-family: 'Noto Serif SC'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/noto-serif-sc-700.8e4fbf276ef5.woff2") format('woff2');
  unicode-range: U+2E80-2FFF, U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: 'Noto Serif SC'; font-style: normal; font-weight: 900; font-display: swap;
  src: url("../fonts/noto-serif-sc-900.0aea4e03b7a1.woff2") format('woff2');
  unicode-range: U+2E80-2FFF, U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

:root {
  --ink-deep: #07111F;
  --ink: #1a2332;
  --ink-soft: #3d4f65;
  --ink-muted: #5d6e85;
  --surface: #fafbfc;
  --surface-warm: #f5f3f0;
  --surface-card: #ffffff;
  --accent: #D5A84C;
  --accent-deep: #8f6a24;
  --dark-grid-img: linear-gradient(rgba(230,237,247,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(230,237,247,.035) 1px, transparent 1px);
  --accent-light: #F3E9D2;
  --navy: #07111F;
  --navy-mid: #12263F;
  --blue: #0B5FFF;
  --cyan: #38D5FF;
  --line: #E6EDF7;
  --line-soft: #eef1f5;
  --max-width: 1280px;
  --radius: 8px;
  --shadow: 0 10px 32px rgba(7, 17, 31, 0.05);
  --shadow-hover: 0 8px 24px rgba(7, 17, 31, 0.12);
  --dur-ui: 220ms;
  --dur-reveal: 600ms;
  --ease-ui: cubic-bezier(0.2, 0.6, 0.2, 1);
  /* Design System V3 typography scale (TOKENS_V3_DRAFT §1.2) */
  --fs-display: clamp(2.9rem, 5.4vw, 4.4rem);
  --fs-h1: clamp(2.4rem, 4.2vw, 3.4rem);
  --fs-h2: clamp(1.9rem, 3.2vw, 2.75rem);
  --fs-h3: 1.3rem;
  --fs-h4: 1.05rem;
  --fs-lead: 1.22rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-caption: 0.75rem;
  --fs-label: 0.72rem;
  --fs-micro: 0.6875rem;
  --read: 720px;
  --read-wide: 850px;
  /* Registered exception (TOKENS_V3_DRAFT §0 item 4): soft cyan used ONLY
     for research-hero eyebrow text and deco bars on navy. Not a text colour
     anywhere else; the graphics-system cyan stays var(--cyan). */
  --cyan-soft: #72d7e7;
  --font-display: 'Playfair Display', 'Noto Serif SC', 'Songti SC', 'STSong', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink-deep); line-height: 1.15; letter-spacing: 0; font-family: var(--font-display); }
/* V3 :lang split (D19): negative tracking only for Latin headings;
   CJK headings keep 0 tracking (subset font + glyph legibility). */
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { letter-spacing: -0.02em; }
html[lang="en"] .prose { overflow-wrap: break-word; }
html[lang="en"] .prose p, html[lang="en"] .prose li { hyphens: auto; }
html[lang="en"] .richtext a { overflow-wrap: anywhere; }
h1 { font-size: var(--fs-h1); font-weight: 900; line-height: 1.12; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.45; color: var(--ink-deep); font-family: var(--font-body); }
.container { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.narrow { max-width: var(--read-wide); }
.section { padding: 120px 0; }

/* Visual-opt (2026-11-13): tighter top padding where the preceding
   section already ends with cards, so the gap does not read as empty. */
.section-tight-top { padding-top: 64px; }
/* Phase 1 (F-5): pull the bottom CTA up under a short last row. */
.section-tight-bottom { padding-bottom: 64px; }
.section-light { background: var(--surface-warm); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 1000; padding: 10px 16px; color: white; background: var(--blue); border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 17, 31, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: linear-gradient(145deg, #1769e0, #0a2349); color: white; border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  border: 1px solid rgba(255,255,255,.2);
}
.brand-mark::after { display: none; }
.brand-mark span { position: relative; z-index: 1; }
.brand-copy { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.brand-copy strong { font-size: var(--fs-body); color: white; font-family: var(--font-body); font-weight: 700; }
.brand-copy span { color: rgba(255,255,255,.55); font-size: var(--fs-sm); }
.brand-copy strong, .brand-copy span { line-height: 1.2; }
.brand-image { width: auto; max-height: 40px; }
.primary-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; margin-right: 32px; }
.primary-nav a { color: rgba(255,255,255,.7); font-size: var(--fs-sm); font-weight: 400; white-space: nowrap; transition: color var(--dur-ui) var(--ease-ui); padding: 12px 2px; }
.primary-nav a::after { display: none; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: white; }
.primary-nav .nav-contact-link { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.language-switch { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: rgba(255,255,255,.5); }
.language-switch a { color: rgba(255,255,255,.5); transition: color var(--dur-ui) var(--ease-ui); padding: 10px 4px; }
.language-switch a[aria-current="true"] { color: white; font-weight: 600; }
.language-switch a:hover { color: white; }
.nav-toggle { display: none; padding: 14px 10px; border: 0; color: white; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px; background: currentColor; border-radius: 2px; }

/* === BUTTONS === */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 6px; color: white; background: var(--ink-deep);
  font-weight: 600; font-size: var(--fs-sm); line-height: 1.2;
  transition: background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui);
}
.button:hover { transform: translateY(-1px); background: var(--ink-deep); border-color: var(--accent); box-shadow: var(--shadow-hover); }
.button:active { transform: translateY(0); box-shadow: none; }
.button-small { min-height: 38px; padding-inline: 18px; font-size: var(--fs-sm); }
.button-secondary { color: var(--ink-soft); border: 1px solid var(--line); background: transparent; }
.button-secondary:hover { color: var(--ink); border-color: var(--accent); background: transparent; transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.button-secondary:active { background: var(--surface-warm); }
/* Visual-opt (2026-11-13): .button-secondary is designed for light
   backgrounds (dark text, transparent fill); inside the navy
   .cta-section it was near-invisible. Dark adaptation, scoped. */
.cta-section .button-secondary { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.cta-section .button-secondary:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }
.cta-section .button-secondary:active { background: rgba(255,255,255,.2); }
.button-light { color: var(--navy); border: 1px solid white; background: white; }
.button-light:hover { color: var(--navy); background: white; border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.button-light:active { background: var(--accent-light); }
.button-block { width: 100%; }
.button:disabled, button:disabled, .button.is-disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-deep); font-weight: 600; font-size: var(--fs-sm); transition: color var(--dur-ui) var(--ease-ui); padding-block: 2px; }
.text-link span { transition: transform var(--dur-ui) var(--ease-ui); }
.text-link:hover span { transform: translateX(4px); }
.eyebrow { margin-bottom: 16px; color: var(--accent-deep); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

/* === HERO === */
.hero {
  position: relative; overflow: hidden; padding: 140px 0 120px;
  color: var(--ink-deep); background: var(--surface);
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -100px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(213,168,76,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
/* Ambient grain texture overlay */
.hero-home::before {
  content: ''; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
/* Particle canvas */
#hero-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: .7;
}
.hero-home { min-height: auto; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 80px; min-height: auto; }
.hero h1 { max-width: 800px; margin-bottom: 28px; color: var(--ink-deep); font-size: var(--fs-display); line-height: 1.05; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--accent-deep); font-weight: 400; }
/* CJK has no true italic in the display stack — never fake-oblique Chinese headings. */
html[lang="zh-CN"] h1 em, html[lang="zh-CN"] h2 em, html[lang="zh-CN"] .positioning-quote { font-style: normal; }
.hero-intro { max-width: 560px; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero .button-secondary { color: var(--ink-soft); border-color: var(--line); }
.hero .button-secondary:hover { color: var(--ink); border-color: var(--ink-soft); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; padding: 0; margin: 56px 0 0; list-style: none; color: var(--ink-muted); font-size: var(--fs-sm); }
.hero-proof li { display: flex; align-items: center; gap: 9px; }
.hero-proof span { color: var(--accent-deep); font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 600; }
.hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.signal-sphere {
  position: relative; width: min(360px, 32vw); aspect-ratio: 1;
  border: 1px solid var(--line); border-radius: 200px 200px 20px 20px;
  background: linear-gradient(180deg, var(--surface-warm) 0%, var(--surface-card) 100%);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.signal-sphere::before, .signal-sphere::after {
  content: ''; position: absolute; border-radius: 50%;
}
.signal-sphere::before { bottom: -30px; right: -40px; width: 160px; height: 160px; border: 1px solid var(--accent-light); background: radial-gradient(circle at 30% 30%, var(--accent-light), transparent 70%); animation: pulse 4s ease-in-out infinite; }
.signal-sphere::after { top: 40px; right: -20px; width: 90px; height: 90px; border: 1px solid var(--line); border-radius: 12px; transform: rotate(12deg); background: var(--surface-card); box-shadow: 0 8px 30px rgba(7,17,31,.04); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
.sphere-core { position: absolute; inset: 30%; display: grid; place-items: center; border-radius: 16px; color: var(--ink-deep); background: var(--surface-card); box-shadow: 0 4px 20px rgba(7,17,31,.06); border: 1px solid var(--line); overflow: hidden; padding: 10%; }
.sphere-core img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.signal-sphere i { display: none; }
.signal-label { position: absolute; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-muted); background: var(--surface-card); font: 500 var(--fs-label) var(--font-mono); letter-spacing: .08em; box-shadow: 0 4px 12px rgba(7,17,31,.04); animation: labelFloat 5s ease-in-out infinite; }
.signal-label:nth-child(2) { animation-delay: -1.5s; }
.signal-label:nth-child(3) { animation-delay: -3s; }
@keyframes labelFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.label-a { top: 15%; right: -10px; }
.label-b { right: -30px; bottom: 30%; }
.label-c { bottom: 10%; left: -10px; }

/* === POSITIONING / BRAND PHILOSOPHY === */
.positioning-section {
  padding: 100px 0; background: var(--navy); color: white;
  position: relative; overflow: hidden;
}
.positioning-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23ffffff' stroke-width='.3' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.positioning-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.positioning-quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400; font-style: italic; line-height: 1.55;
  color: var(--ink); border-left: 2px solid var(--accent); padding-left: 32px;
  margin: 0;
}
.positioning-body { font-size: var(--fs-body); line-height: 1.9; color: var(--ink-soft); }
.positioning-body p + p { margin-top: 20px; }

/* === PHILOSOPHY FLOW (Entropy → Agency visual) === */
.philosophy-flow-section {
  padding: 100px 0; background: var(--surface); position: relative; overflow: hidden;
}
.philosophy-flow-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(213,168,76,.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Stagger delays for reveal */
[data-reveal-delay="100"] { transition-delay: .1s; }
[data-reveal-delay="200"] { transition-delay: .2s; }
[data-reveal-delay="300"] { transition-delay: .3s; }
[data-reveal-delay="400"] { transition-delay: .4s; }
[data-reveal-delay="500"] { transition-delay: .5s; }
[data-reveal-delay="600"] { transition-delay: .6s; }

/* === WHO WE SERVE === */
.serve-section {
  padding: 96px 0; background: #fff; position: relative; overflow: hidden;
}
.serve-section::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  pointer-events: none;
}
.serve-header { margin-bottom: 56px; position: relative; z-index: 1; }
.serve-header .section-desc { margin-bottom: 0; }
.serve-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  position: relative; z-index: 1;
}
.serve-column { position: relative; }
.serve-column-title {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  margin-bottom: 8px; color: var(--ink-deep);
}
.serve-column-subtitle {
  font-size: var(--fs-sm); color: var(--ink-muted); margin-bottom: 32px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.serve-list { list-style: none; padding: 0; margin: 0; }
.serve-list li {
  display: grid; grid-template-columns: 1fr; gap: 4px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
  transition: background-color var(--dur-ui) var(--ease-ui);
}
.serve-list li:hover { background: rgba(213,168,76,.05); }
.serve-list li:last-child { border-bottom: none; }
.serve-role {
  font-weight: 600; font-size: var(--fs-sm); color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.serve-role::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  transition: transform var(--dur-ui) var(--ease-ui);
}
.serve-list li:hover .serve-role::before { transform: scale(1.5); }
.serve-pain {
  font-size: var(--fs-sm); color: var(--ink-muted); padding-left: 16px; line-height: 1.6;
}
.serve-outcome {
  display: block; font-size: var(--fs-sm); color: var(--accent-deep); padding-left: 16px; line-height: 1.6; margin-top: 2px;
}

/* === CAPABILITIES === */
.capabilities-section { padding: 120px 0; background: var(--surface); }
.section-label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; color: var(--accent-deep); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; line-height: 1.12; color: var(--ink-deep); margin-bottom: 16px; }
.section-desc { font-size: var(--fs-body); color: var(--ink-muted); max-width: 600px; margin-bottom: 56px; }
.cap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cap-card { padding: 36px 24px; background: var(--surface-card); position: relative; display: flex; flex-direction: column; }
.cap-card::before { content: attr(data-num); position: absolute; top: 14px; right: 16px; font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--line); font-weight: 500; }
.cap-icon { width: 38px; height: 38px; margin-bottom: 18px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; font-size: 1rem; color: var(--accent-deep); background: var(--accent-light); }
.cap-card h3 { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; margin-bottom: 10px; color: var(--ink-deep); line-height: 1.3; }
.cap-card p { font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.65; margin: 0; }

/* === RESEARCH === */
.sec-head, .research-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.sec-head .section-desc, .research-header .section-desc { margin-bottom: 0; }
.sec-head .text-link, .research-header .text-link { flex: none; }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.research-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface-card); border: 1px solid var(--line-soft); transition: transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); }
.research-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.research-card:focus-within { border-color: var(--accent); box-shadow: var(--shadow); }
.research-media { display: block; line-height: 0; }
.research-media .content-cover { border-radius: 0; }
.research-tag { display: inline-block; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.research-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; margin-bottom: 10px; line-height: 1.35; overflow-wrap: break-word; }
.research-card.featured h3 { font-size: var(--fs-h3); }
.research-card p { font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
/* Visual-opt (2026-11-13): the clamp cut the featured summary mid-word ("H1" -> "HI"); show it in full. */
.research-card.featured p { -webkit-line-clamp: unset; display: block; }
.research-card time { display: block; margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-muted); }

/* === METHODOLOGY === */
.method-section { padding: 120px 0; background: var(--surface); color: var(--ink); }
.method-section .section-heading-inverse h2 { color: var(--ink-deep); }
.method-section .section-heading-inverse > p:last-child { color: var(--ink-muted); }
.method-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; position: relative; }
.method-flow::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: var(--line); }
.method-flow li { text-align: center; padding: 0 12px; position: relative; list-style: none; min-height: auto; border: none; }
.method-flow li::before { display: none; }
.method-flow .step-dot { width: 56px; height: 56px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-card); font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--accent-deep); position: relative; z-index: 1; }
.method-flow strong { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: var(--fs-body); font-weight: 700; color: var(--ink-deep); }
.method-flow p { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.6; margin: 0; }
.method-flow span { display: none; }

/* === FAQ / DIRECT ANSWERS === */
.entity-section { padding: 96px 0; background: #fff; }
.entity-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: stretch; }
.entity-facts { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 18px; margin: 34px 0 0; }
/* S10 tidy (2026-11-14): centre card content vertically — grid-auto-rows: 1fr equalises row heights, so single-line cards (Brand/Contact) carried up to 46px dead space at the bottom. */
.entity-facts div { padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--surface-warm); display: flex; flex-direction: column; justify-content: center; }
.entity-facts dt { margin-bottom: 7px; color: var(--ink-muted); font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.entity-facts dd { margin: 0; color: var(--ink-deep); font-size: .92rem; line-height: 1.55; }
.entity-facts a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* S10 tidy (2026-11-14, William 22:51): centre the panel group with a fixed gap — space-between stretched the 3 gaps to 46–72px on the 486/559px panel and looked empty. */
.intent-panel { padding: 34px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.intent-panel .section-label { color: rgba(255,255,255,.62); margin-bottom: 0; }
.intent-panel .text-link { color: #fff; }
.intent-link { display: block; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.14); color: inherit; text-decoration: none; }
.intent-link strong { display: block; margin-bottom: 7px; color: #fff; font-size: 1.05rem; transition: color var(--dur-ui) var(--ease-ui); }
.intent-link span { display: block; color: rgba(255,255,255,.67); font-size: var(--fs-sm); line-height: 1.65; }
.intent-link:hover strong { color: var(--accent-light); }
.faq-section { padding: 96px 0; background: var(--surface-warm); }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
/* Phase 1 (F-5): when the last row holds a single card (28 cards in
   3 columns), let it span the full row instead of leaving two empty
   slots. Harmless at one column (span == full width). */
.faq-grid > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.faq-item { padding: 26px 28px 28px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface-card); }
.faq-item h3 { font-size: var(--fs-h4); line-height: 1.45; margin-bottom: 14px; color: var(--ink-deep); }
.faq-item h3 a { display: block; padding: 3px 0; }
/* Visual-opt (2026-11-13): the index template uses h2, which fell back to the global size. Same treatment as h3. */
.faq-item h2 { font-size: var(--fs-h4); line-height: 1.45; margin-bottom: 14px; color: var(--ink-deep); }
.faq-item h2 a { display: block; padding: 3px 0; }
.faq-item p { margin: 0; color: var(--ink-muted); font-size: var(--fs-body); line-height: 1.78; }

/* === CTA === */
.cta-section { padding: 100px 0; background: var(--navy); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(213,168,76,.08), transparent 60%); }
/* Visual-opt (2026-11-13): reply commitment under the final-CTA intro. */
.cta-panel .cta-reply { color: #8fa1b5; font-size: var(--fs-sm); margin-top: 14px; }
.cta-panel { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.cta-panel h2 { max-width: 600px; margin-bottom: 16px; color: white; font-size: var(--fs-h2); line-height: 1.12; }
.cta-panel > div:first-child p { color: #B9C6D6; font-size: var(--fs-body); margin: 0; }
.cta-panel .eyebrow { color: var(--accent); }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-btn-main { display: block; padding: 16px 32px; background: white; color: var(--navy); border: 1px solid white; border-radius: 6px; font-weight: 700; font-size: var(--fs-sm); text-align: center; transition: background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui); }
.cta-btn-main:hover { background: white; color: var(--navy); border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.cta-btn-main:active { transform: translateY(0); box-shadow: none; }
.cta-btn-sub { display: block; padding: 14px 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: rgba(255,255,255,.75); font-weight: 500; font-size: var(--fs-sm); text-align: center; transition: background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui); }
.cta-btn-sub:hover { border-color: var(--accent); color: white; transform: translateY(-1px); }
.cta-btn-sub:active { transform: translateY(0); }
.beehiiv-embed { width: 100%; min-height: 120px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 12px; }
.beehiiv-embed iframe { width: 100%; border: 0; border-radius: 6px; }
.beehiiv-label { color: #B9C6D6; font-size: var(--fs-caption); line-height: 1.55; margin: 0 0 8px; }


/* === SECTION HEADINGS === */
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading > p:last-child { color: var(--ink-muted); font-size: var(--fs-body); }
.section-heading-inverse h2 { color: var(--ink-deep); }
.section-heading-inverse > p:last-child { color: var(--ink-muted); }
.row-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.row-heading h2 { max-width: 760px; }
.split-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.split-heading h2 { margin-bottom: 0; }
.section-lede { color: var(--ink-soft); font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.8; }

/* === SOLUTION / CASE / CONTENT PAGES (preserved) === */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); background: white; transition: transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); }
.solution-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.solution-card:focus-within { border-color: var(--accent); box-shadow: var(--shadow); }
.solution-card h2 { font-size: var(--fs-h3); margin: 0 0 10px; line-height: 1.35; overflow-wrap: break-word; }
.solution-card .u-card-body > p { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.7; }
.solution-card .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }

/* Principle grid (solutions index) */
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.principle-grid article { padding-top: 24px; border-top: 2px solid var(--navy); }
.principle-grid article span { display: block; margin-bottom: 16px; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent-deep); font-weight: 500; }
.principle-grid article h2 { font-size: var(--fs-h3); margin-bottom: 12px; }
.principle-grid article p { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.7; margin: 0; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-grid-large { grid-template-columns: repeat(2, 1fr); }
.case-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--radius); background: white; transition: transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); }
.case-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.case-card:focus-within { border-color: var(--accent); box-shadow: var(--shadow); }
.case-type { display: block; margin-bottom: 16px; color: var(--accent-deep); font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.case-industry { color: var(--ink-muted); font-size: var(--fs-sm); }
.case-card h2, .case-card h3 { font-size: var(--fs-h3); margin: 0 0 10px; line-height: 1.35; overflow-wrap: break-word; }
.case-card .u-card-body > p { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.7; }
.case-card .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.source-inline { padding-top: 18px; border-top: 1px solid var(--line-soft); }
.empty-state { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-muted); background: rgba(255,255,255,.65); }
.empty-state-wide { grid-column: 1 / -1; padding: 56px; text-align: center; }

/* === INSIGHTS (legacy, used on non-home pages) === */
.insights-section { background: white; }
.insight-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.insight-columns > div { padding-top: 24px; border-top: 2px solid var(--navy); }
.compact-item { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.compact-item time { color: var(--ink-muted); font: var(--fs-caption) var(--font-mono); }
.compact-item a { font-weight: 600; }

/* === ARTICLE / DETAIL PAGES === */
.page-hero, .article-hero { position: relative; overflow: hidden; color: white; background: var(--navy); }
.page-hero { padding: 160px 0 120px; }
.article-hero { padding: 130px 0 100px; }
.page-hero::after, .article-hero::after { content: ""; position: absolute; right: -120px; bottom: -200px; width: 500px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; }
.page-hero h1 { position: relative; z-index: 1; max-width: 780px; margin-bottom: 20px; color: white; font-size: var(--fs-h1); font-weight: 900; line-height: 1.12; text-wrap: balance; }
html[lang="en"] .page-hero h1 { letter-spacing: -0.03em; }
.article-hero h1 { position: relative; z-index: 1; margin-bottom: 24px; color: white; font-size: var(--fs-h1); text-wrap: balance; }
.page-hero .hero-desc { position: relative; z-index: 1; max-width: var(--read); margin-bottom: 0; color: #B9C6D6; font-size: var(--fs-lead); line-height: 1.8; }
/* Visual-opt (2026-11-13): hero CTA buttons sit directly after the
   description (margin-bottom 0) — give them breathing room. */
.page-hero .button { margin-top: 24px; }
/* Visual-opt (2026-11-13): solution heroes were 838px tall at 1280x720
   with the CTA 40px from the fold; tighten the padding to lift it. */
.solution-detail-hero { padding: 80px 0 96px; }
.article-hero p:not(.eyebrow) { position: relative; z-index: 1; max-width: var(--read); color: #B9C6D6; font-size: var(--fs-lead); }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--accent); line-height: 1.2; }
.article-hero .eyebrow { color: var(--accent); }
.page-hero .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.page-hero .hero-page-label { position: absolute; bottom: 30px; right: 48px; font-family: var(--font-mono); font-size: var(--fs-label); color: rgba(255,255,255,.2); letter-spacing: .1em; z-index: 1; }

/* Hero variant: Capabilities — constellation */
.page-hero.hero-capabilities {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 800px 600px at 85% 50%, rgba(213,168,76,.08), transparent),
    radial-gradient(ellipse 400px 400px at 20% 80%, rgba(23,105,224,.06), transparent);
}
.page-hero.hero-capabilities::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle 2px at 15% 25%, rgba(213,168,76,.4) 0%, transparent 100%),
    radial-gradient(circle 2px at 35% 65%, rgba(213,168,76,.3) 0%, transparent 100%),
    radial-gradient(circle 2px at 55% 35%, rgba(213,168,76,.35) 0%, transparent 100%),
    radial-gradient(circle 2px at 75% 75%, rgba(213,168,76,.25) 0%, transparent 100%),
    radial-gradient(circle 2px at 90% 20%, rgba(213,168,76,.3) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 25% 45%, rgba(255,255,255,.2) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 65% 55%, rgba(255,255,255,.15) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 80% 40%, rgba(255,255,255,.2) 0%, transparent 100%);
  animation: twinkle 8s ease-in-out infinite alternate;
}
@keyframes twinkle { 0% { opacity: .6; } 100% { opacity: 1; } }
.page-hero.hero-capabilities::after {
  content: ''; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px; border: 1px solid rgba(213,168,76,.12); border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(213,168,76,.04), 0 0 0 60px rgba(213,168,76,.03), 0 0 0 120px rgba(213,168,76,.02);
}
.hero-capabilities .deco-constellation { position: absolute; right: 80px; top: 50%; transform: translateY(-50%); width: 320px; height: 320px; opacity: .3; z-index: 0; }
.hero-capabilities .deco-constellation svg { width: 100%; height: 100%; }

/* Hero variant: Research — signal waveform */
.page-hero.hero-research {
  background: linear-gradient(165deg, #060D18 0%, #07111F 40%, #12263F 100%);
}
.page-hero.hero-research .eyebrow { color: var(--cyan-soft); }
.page-hero.hero-research::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(114,215,231,.04) 79px, rgba(114,215,231,.04) 80px),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(114,215,231,.03) 79px, rgba(114,215,231,.03) 80px);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 50%, black, transparent);
}
.page-hero.hero-research::after {
  content: ''; position: absolute; right: 60px; top: 30%; width: 400px; height: 240px;
  background: linear-gradient(180deg, transparent 0%, rgba(114,215,231,.06) 20%, rgba(114,215,231,.12) 40%, rgba(114,215,231,.08) 60%, rgba(114,215,231,.15) 80%, rgba(114,215,231,.04) 100%);
  clip-path: polygon(0% 60%, 8% 45%, 16% 55%, 24% 30%, 32% 50%, 40% 25%, 48% 40%, 56% 20%, 64% 35%, 72% 15%, 80% 30%, 88% 10%, 96% 25%, 100% 5%, 100% 100%, 0% 100%);
  animation: waveShift 12s ease-in-out infinite alternate;
}
@keyframes waveShift { 0% { transform: translateX(0); } 100% { transform: translateX(-20px); } }
.hero-research .deco-bars { position: absolute; right: 100px; bottom: 40px; display: flex; align-items: flex-end; gap: 4px; opacity: .2; z-index: 0; }
.hero-research .deco-bars span { width: 3px; background: var(--cyan-soft); border-radius: 2px; animation: barPulse 3s ease-in-out infinite; }
.hero-research .deco-bars span:nth-child(1) { height: 20px; animation-delay: 0s; }
.hero-research .deco-bars span:nth-child(2) { height: 35px; animation-delay: .2s; }
.hero-research .deco-bars span:nth-child(3) { height: 25px; animation-delay: .4s; }
.hero-research .deco-bars span:nth-child(4) { height: 45px; animation-delay: .6s; }
.hero-research .deco-bars span:nth-child(5) { height: 30px; animation-delay: .8s; }
.hero-research .deco-bars span:nth-child(6) { height: 55px; animation-delay: 1s; }
.hero-research .deco-bars span:nth-child(7) { height: 40px; animation-delay: 1.2s; }
.hero-research .deco-bars span:nth-child(8) { height: 60px; animation-delay: 1.4s; }
@keyframes barPulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

/* Hero variant: Cases — verification matrix */
.page-hero.hero-cases {
  background: var(--ink-deep);
  background-image: radial-gradient(ellipse 600px 500px at 80% 60%, rgba(213,168,76,.06), transparent);
}
.page-hero.hero-cases::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 70% at 75% 50%, black 20%, transparent 70%);
}
.hero-cases .deco-matrix { position: absolute; right: 80px; top: 50%; transform: translateY(-50%); display: grid; grid-template-columns: repeat(4, 48px); grid-template-rows: repeat(3, 48px); gap: 12px; z-index: 0; }
.hero-cases .deco-matrix span { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; }
.hero-cases .deco-matrix span.lit { border-color: rgba(213,168,76,.3); background: rgba(213,168,76,.06); box-shadow: 0 0 20px rgba(213,168,76,.08); }
.hero-cases .deco-matrix span.lit-bright { border-color: rgba(213,168,76,.5); background: rgba(213,168,76,.12); box-shadow: 0 0 30px rgba(213,168,76,.15); }

/* Hero variant: About — entropy-to-agency visual */
.page-hero.hero-about {
  background: linear-gradient(135deg, #07111F 0%, #0B1B30 50%, #12263F 100%);
}
.page-hero.hero-about .eyebrow { color: rgba(255,255,255,.5); }
.page-hero.hero-about::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 300px 600px at 90% 50%, rgba(213,168,76,.05), transparent),
    radial-gradient(ellipse 200px 400px at 60% 30%, rgba(100,130,180,.04), transparent);
}
.page-hero.hero-about::after { content: none; }
.hero-about .deco-curves { position: absolute; right: 0; top: 0; width: 55%; height: 100%; opacity: .15; overflow: hidden; z-index: 0; }
.hero-about .deco-curves svg { width: 100%; height: 100%; }
.detail-hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 70px; }
.detail-symbol { position: relative; width: min(320px, 32vw); aspect-ratio: 1; justify-self: center; border: 1px solid rgba(213,168,76,.3); border-radius: 50%; background: radial-gradient(circle, rgba(213,168,76,.1), transparent 64%); }
.detail-symbol span { position: absolute; inset: 31%; display: grid; place-items: center; border-radius: 20%; color: white; background: var(--navy-mid); font-size: 3.5rem; font-weight: 850; font-family: var(--font-display); }
.detail-symbol i { position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; transform: scaleY(.36) rotate(40deg); }
.detail-symbol i:last-child { transform: scaleY(.4) rotate(-40deg); }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: 72px; }
.article-aside { position: sticky; top: 100px; align-self: start; padding: 24px; border-left: 2px solid var(--accent); background: var(--surface-warm); border-radius: 0 8px 8px 0; }
.article-aside ol { padding-left: 20px; margin-bottom: 0; }
.article-aside li { padding: 7px 0; font-size: .88rem; }
/* Visual-opt (2026-11-13): sticky mini CTA inside the solution aside —
   the left column was empty below the principles for the whole ~7000px
   article. The aside follows the scroll, so the CTA stays reachable. */
.aside-cta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.aside-cta .eyebrow { margin-bottom: 12px; }
.aside-cta .button { width: 100%; padding-inline: 12px; }
.prose { max-width: var(--read); color: var(--ink-soft); font-size: 1.04rem; }
.prose h2 { margin-top: 2.5em; font-size: 1.8rem; line-height: 1.3; }
.prose h3 { margin-top: 2em; font-size: var(--fs-h3); line-height: 1.35; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.4em; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 2em 0; padding: 20px 28px; border-left: 3px solid var(--accent); color: var(--ink); background: var(--surface-warm); border-radius: 0 8px 8px 0; }
.hero-manifesto h1 { font-size: clamp(2.9rem, 6.5vw, 4.6rem); line-height: 1.05; }
.hero-manifesto .hero-desc { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.6; max-width: 44ch; }
.hero-slogan { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 700; color: var(--accent); margin-top: 28px; letter-spacing: .01em; }
.prose.manifesto { font-size: 1.1rem; line-height: 1.95; }
.prose .lede { font-size: var(--fs-lead); color: var(--ink); }
.prose p.pullquote { text-align: center; font-size: clamp(1.5rem, 3.1vw, 2.05rem); font-weight: 700; line-height: 1.5; color: var(--ink-deep); border: none; padding: .4em .6em; margin: 2.4em auto; max-width: 25em; }
.prose p.pullquote::before { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin: 0 auto .8em; }
.prose.manifesto h2 { scroll-margin-top: 96px; margin-top: 3.4em; padding-top: .9em; border-top: 1px solid var(--line); font-size: 1.9rem; }
.sec-num { display: block; font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--accent); margin-bottom: .18em; }
.story-toc { position: sticky; top: 96px; margin-top: 28px; }
.story-toc-title { margin-bottom: 10px; color: var(--accent-deep); font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.story-toc-list { list-style: none; padding: 0; margin: 0; }
.article-aside .story-toc-list { padding-left: 0; }
.story-toc-list li { padding: 0; }
.story-toc-list a { display: block; padding: 4px 0; color: var(--ink-soft); text-decoration: none; font-size: .88rem; transition: color var(--dur-ui) var(--ease-ui); }
.story-toc-list a:hover { color: var(--accent-deep); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-tabs a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-muted); font-size: .85rem; transition: background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui); }
.filter-tabs a:hover { color: var(--ink); border-color: var(--accent); }
.filter-tabs a[aria-current="page"] { color: white; border-color: var(--navy); background: var(--navy); }
.disclosure { max-width: 900px; }
/* Phase 1 (C-P2-03): flagship cover beside the original-research
   text — same cover treatment as the reports page. */
.case-research-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.case-research-split .v21-figcover { margin: 0; }
.case-research-split .v21-figcover .fc-img { height: 320px; }
/* Phase 1 (C-P2-04): verified flagship-report numbers (30 audited,
   median 80, 17/30 without JSON-LD) + CTA in the research-edge zone. */
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.case-stats strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--ink-deep); }
.case-stats span { display: block; margin-top: 6px; font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.6; }
@media (max-width: 850px) {
  .case-research-split { grid-template-columns: 1fr; gap: 28px; }
  .case-stats { grid-template-columns: 1fr; gap: 16px; }
}
.benchmark-notice { position: relative; z-index: 1; margin-top: 24px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); }
.case-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 70px; }
.case-detail-grid article { padding-top: 24px; border-top: 2px solid var(--navy); }
.capability-panel { padding: 28px !important; border: 0 !important; border-radius: var(--radius); color: white; background: var(--navy); }
.capability-panel .eyebrow { color: var(--accent); }
.capability-panel p:last-child { margin-bottom: 0; }
.source-panel { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.source-panel > div { max-width: 700px; }
.source-panel h2 { font-size: 1.8rem; }

/* === CONTENT CARDS (news/report index) === */
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Phase 4 (R-P2-04): journal grids stretch the last row to fill the
   final line — one orphan card goes full width, two share the row
   (1 + 2). Scoped to .v21-journal so related-items grids are untouched. */
.v21-journal .content-grid > .content-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.v21-journal .content-grid > .content-card:last-child:nth-child(3n+2) { grid-column: span 2; }
.content-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--radius); background: white; transition: transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); }
.content-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.content-card:focus-within { border-color: var(--accent); box-shadow: var(--shadow); }
.content-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cover-placeholder { display: grid; place-items: center; color: white; background: var(--navy); }
.cover-placeholder span { font-size: 2rem; font-weight: 850; letter-spacing: .08em; font-family: var(--font-display); }
.report-placeholder { background: linear-gradient(145deg, var(--navy), var(--navy-mid)); }
.content-card h2 { font-size: var(--fs-h3); margin: 0 0 10px; line-height: 1.35; overflow-wrap: break-word; }
.content-card h2 a::after { content: ""; position: absolute; }
.content-card-body > p:not(.content-meta) { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.7; }
.content-card .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.content-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-muted); font: var(--fs-label) var(--font-mono); letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; margin-bottom: 18px; }
.content-meta span { color: var(--accent-deep); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 48px; }
.pagination a { color: var(--accent-deep); font-weight: 600; }
.article-summary { font-size: 1.2rem !important; }
.article-cover { margin-top: 50px; }
.article-cover img { width: 100%; border-radius: var(--radius); }
.article-body { margin-inline: auto; }
.img-credit { font-size: var(--fs-caption); opacity: .62; }

/* === PHOTO BAND (HOME) + BODY PHOTOS === */
.photo-band { position: relative; margin: 0; overflow: hidden; }
.photo-band img { width: 100%; height: 40vh; min-height: 240px; max-height: 420px; object-fit: cover; }
/* Phase 4 (H-P2-11): title overlaid on the port photograph. The frame
   anchors the title to the image (not the figcaption below it); the
   gradient keeps the text readable over the night sky. */
.photo-band-frame { position: relative; }
.photo-band-frame picture, .photo-band-frame img { display: block; }
.photo-band-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 0 24px; background: linear-gradient(180deg, transparent, rgba(7, 17, 31, .78)); color: #fff; }
.photo-band-title span { display: block; width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; }
.photo-band figcaption { font-size: var(--fs-caption); color: var(--ink-muted); line-height: 1.55; margin-top: 8px; text-align: right; }
.prose figure.body-photo { margin: 1.6em 0; }
.prose figure.body-photo img { width: 100%; border-radius: var(--radius); }
.prose figure.body-photo figcaption { font-size: var(--fs-caption); color: var(--ink-muted); margin-top: 6px; }
.case-card .content-cover, .solution-card .content-cover { border-radius: var(--radius); margin-bottom: 14px; }
.detail-photo { margin: 0; }
.detail-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); }
.detail-photo .img-credit { margin-top: 6px; }

/* === REPORT DETAIL === */
.report-detail-hero .detail-hero-grid { grid-template-columns: 1fr 320px; }
.report-cover-large { position: relative; z-index: 1; overflow: hidden; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.report-cover-large img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.report-cover-large.cover-placeholder { display: grid; min-height: 380px; text-align: center; }
.report-cover-large.cover-placeholder span { font-size: 1.2rem; letter-spacing: .14em; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: start; gap: 72px; }
.lead-form-panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.lead-form-panel h2 { font-size: 1.5rem; }
.lead-form-panel > p { color: var(--ink-muted); }
/* Visual-opt (2026-11-13): what the portal contains, under the login card. */
.portal-after { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.portal-after p { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 10px; }
.portal-after ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.portal-after li { font-size: var(--fs-sm); color: var(--ink-soft); }
.portal-after li::before { content: "\2014  "; color: var(--accent); }
/* Phase 4 (P-1): the login page ended at the hero — a section on GEO
   Monitor below it, reusing the launch article's own sentences. */
.portal-about { padding: 72px 0; background: #fff; }
.portal-about h2 { margin: 0 0 16px; }
.portal-about p { max-width: 720px; }
.portal-about p + p { margin-top: 14px; }
.portal-about a { color: var(--blue); text-decoration: underline; }
@media (max-width: 600px) { .portal-about { padding: 56px 0; } }

/* === FORMS === */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.field label span, .consent-field label span { color: #c11b32; }
.field input, .field textarea, .field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; transition: border-color var(--dur-ui) var(--ease-ui); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: none; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.field input:disabled, .field textarea:disabled, .field select:disabled { background: var(--surface-warm); color: var(--ink-muted); cursor: not-allowed; }
.consent-field { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 8px 0 20px; align-items: start; }
.consent-field input { width: 18px; height: 18px; margin-top: 1px; }
.consent-field label { color: var(--ink-muted); font-size: var(--fs-caption); }
.errorlist { padding: 0; margin: 6px 0 0; color: #b20f2b; font-size: var(--fs-caption); list-style: none; }
.form-errors { margin-bottom: 16px; padding: 12px; border-radius: 8px; color: #8d1025; background: #fff0f3; }
.success-message { text-align: center; padding: 30px 10px; }
.success-message > span { display: grid; place-items: center; width: 52px; margin: 0 auto 16px; aspect-ratio: 1; border-radius: 50%; color: white; background: #1a6b52; font-size: 1.6rem; }

/* === CONTACT === */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-copy h2 { font-size: 2.2rem; }
.contact-copy > p { color: var(--ink-muted); }
.contact-copy dl { margin-top: 44px; }
.contact-copy dl div { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-copy dt { color: var(--ink-muted); font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-mono); }
.contact-copy dd { margin: 5px 0 0; font-weight: 600; }
/* Phase 1 (T-P2-02): "what happens next" steps + first-look links
   fill the contact left column (steps reuse .screening-steps). */
.contact-copy h3 { margin: 40px 0 4px; font-size: 1.15rem; color: var(--ink-deep); }
.contact-alt { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-alt a { color: var(--blue); text-decoration: underline; }
/* Visual-opt (2026-11-13): keep the contact intro visible while the form scrolls. Desktop only. */
@media (min-width: 851px) { .contact-layout-sticky.contact-copy { position: sticky; top: 100px; } }

/* === ERROR PAGES === */
.error-page { display: grid; min-height: 70vh; align-items: center; padding: 100px 0; text-align: center; }
.error-page p:not(.eyebrow) { color: var(--ink-muted); font-size: 1.05rem; }
.error-page .button { margin-top: 20px; }

/* === FOOTER === */
.site-footer { padding-top: 64px; color: rgba(255,255,255,.5); background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-brand p { max-width: 360px; margin-top: 16px; font-size: var(--fs-sm); line-height: 1.7; }
/* Visual-opt (2026-11-13): global links have no underline, so these
   inline links were indistinguishable from plain text. */
.footer-brand ul a { text-decoration: underline; }
/* Symmetry (2026-11-14): LinkedIn gets an inline "in" mark; the underline
   stays on the text only. */
.footer-brand a.social-link { text-decoration: none; }
.footer-brand a.social-link span { text-decoration: underline; }
.footer-brand .social-icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 7px; }
.lead-form-panel p a, .contact-copy dl a { color: var(--blue); text-decoration: underline; }
.brand-footer { color: white; }
.brand-footer .brand-copy strong { color: white; }
.brand-footer .brand-copy span { color: rgba(255,255,255,.5); }
.site-footer h2 { margin-bottom: 16px; color: rgba(255,255,255,.55); font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin: 8px 0; font-size: var(--fs-sm); }
.site-footer a { transition: color var(--dur-ui) var(--ease-ui); }
.site-footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 20px 0; font-size: var(--fs-caption); }
.footer-bottom button#cookie-settings { background: none; border: 0; padding: 4px 2px; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }

/* === SCROLL REVEAL === */
.reveal-enabled [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-enabled [data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1020px) {
  .primary-nav { gap: 16px; }
  .primary-nav a { font-size: var(--fs-sm); }
  .hero-grid { grid-template-columns: 1fr .7fr; gap: 50px; }
  .hero-visual { min-height: 360px; }
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .research-card.featured { grid-column: 1 / -1; }
  .method-flow { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .method-flow::before { display: none; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  /* Phase 4 (R-P2-04): two-column reset + orphan stretch. */
  .v21-journal .content-grid > .content-card:last-child:nth-child(3n+1),
  .v21-journal .content-grid > .content-card:last-child:nth-child(3n+2) { grid-column: auto; }
  .v21-journal .content-grid > .content-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .positioning-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-panel { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .serve-grid { grid-template-columns: 1fr; gap: 48px; }
  .serve-section::after { display: none; }
  .entity-grid { grid-template-columns: 1fr; gap: 38px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-home { grid-template-columns: 1fr; }
  .fq-parts { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 16px 24px 24px; background: var(--ink-deep); border-top: 1px solid rgba(255,255,255,.06); margin: 0; }
  .primary-nav[data-open="true"] { display: flex; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .primary-nav .nav-contact-link { display: block; color: white; font-weight: 600; }
  .header-actions .button { display: none; }
  .hero, .hero-grid { min-height: auto; padding-top: 100px; padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .signal-sphere { width: 280px; }
  .split-heading, .detail-hero-grid, .report-detail-hero .detail-hero-grid, .article-layout, .report-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .solution-grid, .case-detail-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid { grid-template-columns: 1fr; gap: 28px; }
  .insight-columns { gap: 30px; }
  .detail-symbol { width: 280px; }
  .article-aside { position: static; }
  .story-toc { position: static; }
  .report-cover-large { width: min(300px, 100%); justify-self: center; order: -1; }
  .report-layout .lead-form-panel { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-cases .deco-matrix { right: 16px; transform: translateY(-50%) scale(.55); transform-origin: right center; opacity: .5; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .header-inner { min-height: 64px; }
  .primary-nav { top: 64px; }
  .brand-copy strong { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: clamp(1.95rem, 7.9vw, 2.6rem); }
  h1 { font-size: clamp(2rem, 8.6vw, 2.7rem); }
  .hero-visual { min-height: 240px; }
  .signal-sphere { width: 220px; }
  .signal-label { display: none; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 10px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .case-grid, .case-grid-large, .content-grid { grid-template-columns: 1fr; }
  /* Phase 4 (R-P2-04): single column — all last-row spans reset. */
  .v21-journal .content-grid > .content-card:last-child:nth-child(3n+1),
  .v21-journal .content-grid > .content-card:last-child:nth-child(3n+2),
  .v21-journal .content-grid > .content-card:last-child:nth-child(odd) { grid-column: auto; }
  .research-grid { grid-template-columns: 1fr; }
  .method-flow { grid-template-columns: 1fr 1fr; gap: 20px; }
  .entity-facts { grid-template-columns: 1fr; }
  .intent-panel { padding: 26px 22px; }
  .faq-item { padding: 24px 20px; }
  .row-heading, .cta-panel, .source-panel { align-items: flex-start; flex-direction: column; }
  .cta-actions .cta-btn-main, .cta-actions .cta-btn-sub { width: 100%; }
  .page-hero, .article-hero { padding: 90px 0 60px; }
  .page-hero h1, .article-hero h1 { font-size: 2.2rem; }
  .page-hero.hero-research::after { right: -230px; top: 18%; opacity: .65; }
  .hero-research .deco-bars { right: 20px; bottom: 20px; }
  .hero-cases .deco-matrix { right: -150px; opacity: .45; }
  .detail-symbol { width: 220px; }
  .case-detail-grid { gap: 30px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .lead-form-panel { padding: 24px 18px; }
  .contact-copy h2 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .positioning-quote { font-size: 1.2rem; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* === Live data band: real numbers, no decoration-only stats === */
.stats-band { background: var(--surface-warm); border-top: 2px solid var(--ink-deep); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.stats-band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.stats-band-item { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.stats-band-value { font-family: var(--font-display); font-size: clamp(2.4rem, 3.4vw, 3.3rem); font-weight: 700; color: var(--ink-deep); line-height: 1.1; }
.stats-band-label { color: var(--ink-muted); font-size: var(--fs-sm); }
.stats-band-note { margin: 26px 0 0; color: var(--ink-muted); font-size: var(--fs-caption); }
.stats-band-cta { margin: 20px 0 0; font-size: var(--fs-body); color: var(--ink); }
.stats-band-cta a { color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.stats-band-cta a:hover { text-decoration: underline; }
.method-block { margin-top: 88px; }
.method-block-title { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
@media (max-width: 850px) {
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
  .hero-manifesto h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
}

/* === Design v2 (2026-11): editorial system — folio labels, label hairlines === */
.section-label .folio { color: var(--ink-deep); font-weight: 700; margin-right: 4px; }

/* === Cookie consent banner === */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: var(--ink-deep); color: #e8ecf3; border-top: 3px solid var(--accent); box-shadow: 0 -8px 30px rgba(7, 17, 31, .35); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.cookie-banner-text { margin: 0; font-size: .92rem; line-height: 1.65; flex: 1; }
.cookie-banner-text a { color: var(--accent-light, #e3b98c); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
@media (max-width: 850px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner-actions { justify-content: flex-end; }
}

/* === Home hero (legacy pre-V2.1): density layout + Intelligence System panel === */
.hero.hero-home { padding: 58px 0 52px; }
.hero-home .container { width: min(calc(100% - 48px), 1360px); }
.hero-home .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.hero-home h1 { font-size: clamp(2.6rem, 4.6vw, 3.9rem); line-height: 1.1; max-width: 700px; margin-bottom: 22px; }
.hero-home .hero-intro { font-size: 1.04rem; line-height: 1.75; max-width: 580px; }
.hero-home .hero-actions { margin-top: 32px; align-items: center; }
.hero-text-link { color: var(--accent-deep); font-weight: 600; font-size: .95rem; }
.hero-text-link:hover { color: var(--ink-deep); }
.hero-home .hero-proof { margin-top: 40px; }

.intel-panel { background: linear-gradient(155deg, #101827 0%, var(--ink-deep) 78%); color: #e8ecf3; border-radius: 8px; padding: 26px 28px 20px; box-shadow: 0 18px 44px rgba(7, 17, 31, .18); border: 1px solid rgba(213, 168, 76, .25); }
.intel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.intel-title { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; color: var(--accent-light); }
.intel-badge { font-size: var(--fs-label); color: #101827; background: var(--accent); border-radius: 4px; padding: 3px 10px; font-weight: 600; white-space: nowrap; }
.intel-chain { display: flex; list-style: none; margin: 0 0 22px; padding: 0; position: relative; }
.intel-chain::before { content: ''; position: absolute; top: 5px; left: 6px; right: 6px; height: 1px; background: linear-gradient(90deg, rgba(213,168,76,.15), rgba(213,168,76,.75), rgba(213,168,76,.15)); background-size: 200% 100%; animation: intelFlow 5s linear infinite; }
@keyframes intelFlow { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.intel-chain li { flex: 1; min-width: 0; position: relative; padding-top: 16px; animation: intelIn .55s ease both; }
.intel-chain li:nth-child(2) { animation-delay: .12s; }
.intel-chain li:nth-child(3) { animation-delay: .24s; }
.intel-chain li:nth-child(4) { animation-delay: .36s; }
.intel-chain li:nth-child(5) { animation-delay: .48s; }
@keyframes intelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.intel-chain li::before { content: ''; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: #101827; border: 2px solid var(--accent); }
.intel-chain strong { display: block; font-size: .8rem; font-weight: 700; color: #fff; letter-spacing: .01em; }
.intel-chain span { display: block; font-size: var(--fs-caption); color: rgba(232, 236, 243, .62); margin-top: 3px; line-height: 1.45; }
.intel-tabs { display: flex; gap: 8px; border-top: 1px solid rgba(255,255,255,.09); padding-top: 18px; margin-bottom: 6px; }
.intel-tab { background: none; border: 0; border-bottom: 2px solid transparent; color: rgba(232,236,243,.6); font: inherit; font-size: .86rem; font-weight: 600; padding: 6px 4px 8px; cursor: pointer; transition: color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); }
.intel-tab:active { color: var(--accent); }
.intel-tab:disabled { opacity: .45; cursor: not-allowed; }
.intel-tab:hover { color: #fff; }
.intel-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.intel-steps { list-style: none; margin: 6px 0 0; padding: 0; }
.intel-steps li { position: relative; padding: 9px 0 9px 22px; }
.intel-steps li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.intel-steps li::after { content: ''; position: absolute; left: 7px; top: 28px; bottom: -4px; width: 1px; background: rgba(213,168,76,.3); }
.intel-steps li:last-child::after { display: none; }
.intel-steps strong { font-size: .94rem; color: #fff; margin-right: 10px; }
.intel-steps p { display: inline; font-size: .86rem; color: rgba(232,236,243,.72); line-height: 1.6; }
.intel-note { margin: 14px 0 0; font-size: var(--fs-label); color: rgba(232,236,243,.45); }

.evidence-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; border-top: 1px solid var(--line); margin-top: 46px; padding-top: 24px; }
.evidence-item { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.evidence-item strong { color: var(--ink-deep); font-size: .95rem; transition: color var(--dur-ui) var(--ease-ui); }
.evidence-item span { color: var(--ink-muted); font-size: .85rem; }
.evidence-item:hover strong { color: var(--accent-deep); }

@media (max-width: 1020px) {
  .hero-home .hero-grid { grid-template-columns: 1fr .85fr; gap: 38px; }
  .intel-panel { padding: 22px 20px 16px; }
}
@media (max-width: 850px) {
  .hero.hero-home { padding: 38px 0 42px; }
  .hero-home h1 { font-size: clamp(1.95rem, 7.9vw, 2.6rem); line-height: 1.14; }
  .hero-home .hero-grid { grid-template-columns: 1fr; padding-top: 0; padding-bottom: 0; }
  .evidence-strip { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .intel-chain { flex-wrap: wrap; row-gap: 14px; }
  .intel-chain li { flex: 1 1 30%; }
  .intel-chain::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .intel-chain::before { animation: none; }
  .intel-chain li { animation: none; }
}

/* ---- Research hubs + related ---- */
.hub-section { padding-bottom: 0; }
.hub-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hub-card { display: flex; flex-direction: column; gap: 7px; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: border-color var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui); }
.hub-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.hub-card:active { transform: translateY(0); }
.hub-card:focus-visible { border-color: var(--accent); }
.hub-card.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.hub-card strong { font-size: var(--fs-body); }
.hub-card span { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.55; flex: 1; }
.hub-card em { font-style: normal; color: var(--accent-deep); font-size: var(--fs-caption); font-weight: 700; }
.related-section { padding-top: 8px; }
.related-title { font-size: var(--fs-h3); margin: 0 0 20px; }
@media (max-width: 1020px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .hub-grid { grid-template-columns: 1fr 1fr; } }

/* Client portal dashboard table (2026-11-08) */
.portal-table-wrap { overflow-x: auto; margin: 18px 0 10px; }
.portal-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface-card); }
.portal-table th, .portal-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.portal-table thead th { font-size: .82rem; letter-spacing: .02em; color: var(--ink-soft); border-bottom: 2px solid var(--line); white-space: nowrap; }
.portal-table th.num, .portal-table td.num { text-align: right; white-space: nowrap; }
.portal-table td.notes { min-width: 260px; color: var(--ink-soft); }
.portal-table td:first-child { white-space: nowrap; }

.conversion-cta { border-top: 1px solid var(--line); }
.conversion-cta p { color: var(--ink-soft); }
.conversion-cta a { color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.conversion-cta a:hover { text-decoration: underline; }
/* Visual-opt (2026-11-13): the CTA links sit inside a sentence and
   were plain gold text with no underline; make them pills. */
.conversion-cta .cta-pill { display: inline-block; padding: 6px 14px; border: 1px solid var(--accent-deep); border-radius: 999px; color: var(--accent-deep); text-decoration: none; }
.conversion-cta .cta-pill:hover { background: var(--accent-deep); color: #fff; text-decoration: none; }

/* ============================================================
   Design System V2.1 components (2026-11-11) — tokens only from :root.
   Blue: links/focus/data graphics. Cyan: graphic system only.
   ============================================================ */
/* ---------- 01 hero ---------- */
.v21-hero { position: relative; background: var(--navy); color: #E9EEF5; padding: 84px 0 56px; overflow: hidden; }
.v21-kicker { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .3em; color: var(--accent); text-transform: uppercase; margin: 0 0 26px; }
.v21-hero h1 { color: #fff; max-width: 920px; font-size: var(--fs-display); line-height: 1.12; margin: 0 0 24px; text-wrap: balance; }
.v21-hero h1 em { font-style: normal; color: var(--accent); }
.v21-lede { font-size: var(--fs-lead); color: #B9C6D6; max-width: var(--read); margin: 0; }
.v21-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin: 34px 0 8px; align-items: center; }
.v21-btn-o { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 6px; font-size: .98rem; font-weight: 500; border: 1px solid rgba(255,255,255,.45); color: #fff; transition: background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui); }
.v21-btn-o:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.v21-btn-o:active { transform: translateY(0); box-shadow: none; }
.v21-chips { display: flex; flex-wrap: wrap; list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(230,237,247,.16); }
.v21-chips li { flex: 1 1 0; padding: 18px 16px 4px 0; margin-right: 0; font-size: .95rem; color: #D8E1EC; }
.v21-chips li span { font-family: var(--font-mono); color: var(--accent); font-size: var(--fs-caption); display: block; margin-top: 6px; }
.v21-graphic { margin-top: 18px; border-top: 1px solid rgba(230,237,247,.14); }
.v21-graphic svg { width: 100%; height: auto; display: block; }
.v21-graphic svg.hero-svg-m { display: none; }
/* ---------- 01b hero carousel (homepage-fixes 2026-11-13) ----------
   Slides stack in one grid cell: container height = tallest slide, so
   switching never shifts layout (no CLS). Inactive slides are
   visibility:hidden (also in critical CSS) — safe with JS disabled. */
.v21-hero-slides { display: grid; }
.v21-hero-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.v21-hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.v21-hero h2.v21-hero-title { color: #fff; font-size: var(--fs-display); line-height: 1.12; margin: 0 0 24px; text-wrap: balance; }
.v21-hero h2.v21-hero-title em { font-style: normal; color: var(--accent); }
.v21-hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.v21-hero-split .v21-lede { max-width: none; }
.v21-hero-visual { min-width: 0; }
.v21-viz { border: 1px solid rgba(230,237,247,.18); border-radius: var(--radius); background: var(--navy); padding: 20px 22px; }
.v21-viz-cap { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .18em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.v21-viz-layers ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.v21-viz-layers li { display: flex; gap: 12px; align-items: baseline; border: 1px solid rgba(230,237,247,.12); border-radius: 6px; padding: 7px 12px; font-size: var(--fs-sm); color: #D8E1EC; }
.v21-viz-layers li span { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--accent); flex: none; }
.v21-viz-layers li.v21-viz-gov { border-color: rgba(213,168,76,.55); }
.v21-viz-chain ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v21-viz-chain li { display: flex; gap: 10px; align-items: baseline; border: 1px solid rgba(230,237,247,.12); border-radius: 6px; padding: 10px 12px; font-size: var(--fs-sm); color: #D8E1EC; }
.v21-viz-chain li b { font-family: var(--font-mono); font-weight: 500; color: var(--accent); flex: none; }
.v21-viz-chain li.v21-viz-gate { border-color: var(--accent); }
.v21-edge-nodes { display: flex; align-items: stretch; gap: 8px; }
.v21-edge-node { flex: 1 1 0; min-width: 0; border: 1px solid rgba(230,237,247,.12); border-radius: 6px; padding: 12px 8px; text-align: center; }
.v21-edge-node b { display: block; color: #fff; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.v21-edge-node span { display: block; margin-top: 4px; font-size: var(--fs-caption); color: #9FB0C4; }
.v21-edge-arrow { color: var(--accent); align-self: center; flex: none; }
.v21-viz-note { font-size: var(--fs-caption); color: #8fa1b5; margin: 14px 0 0; }
.v21-viz-bars { display: grid; gap: 14px; }
.v21-viz-bar-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.v21-viz-bar-row span { font-size: var(--fs-sm); color: #D8E1EC; }
.v21-viz-bar-row b { font-family: var(--font-mono); font-weight: 500; color: #fff; }
.v21-viz-bar i { display: block; height: 6px; background: rgba(230,237,247,.14); border-radius: 3px; position: relative; margin-top: 8px; }
.v21-viz-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); background: var(--accent); border-radius: 3px; }
.v21-hero-controls { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.v21-hero-controls[hidden] { display: none; }
.v21-hero-arrow { appearance: none; background: transparent; border: 1px solid rgba(230,237,247,.35); color: #E9EEF5; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.05rem; line-height: 1; padding: 0; transition: border-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui); }
.v21-hero-arrow:hover, .v21-hero-arrow:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.v21-hero-dots { display: flex; gap: 4px; }
.v21-hero-dot { appearance: none; background: transparent; border: 0; padding: 8px 5px; cursor: pointer; }
.v21-hero-dot i { display: block; width: 22px; height: 3px; background: rgba(230,237,247,.35); border-radius: 2px; transition: background var(--dur-ui) var(--ease-ui); }
.v21-hero-dot:hover i { background: rgba(230,237,247,.65); }
.v21-hero-dot[aria-current="true"] i { background: var(--accent); }
.v21-hero-dot:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.v21-hero-count { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .15em; color: #8fa1b5; }
@media (prefers-reduced-motion: reduce) {
  .v21-hero-slide { transition: none; }
}
.graphic-caption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .18em; color: #93A5BC; padding: 10px 0 4px; text-transform: uppercase; }
.v21-strip { border-top: 1px solid rgba(230,237,247,.16); }
.v21-strip .evidence-item strong { color: #fff; }
.v21-strip .evidence-item span { color: #9FB0C4; }
.v21-strip .evidence-item:hover strong { color: var(--accent); }
/* ---------- section scaffolding ---------- */
.v21-sec { padding: 72px 0; }
.v21-alt-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v21-alt-warm { background: var(--surface-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v21-label { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .24em; color: var(--ink-muted); text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 44px; }
.v21-label .no { color: var(--accent-deep); font-size: .85rem; letter-spacing: .1em; }
.v21-label .rule { flex: 1; height: 1px; background: var(--line); }
@media (max-width: 640px) {
  /* Visual-opt (2026-11-13): FIG labels wrapped mid-word at 390px
     ("FIG. A / Seven-Layer Architecture" broke across lines). Keep the
     number + title on one line; drop the ruler and the right-side
     context text (it duplicates the section heading). */
  .v21-label { flex-wrap: wrap; }
  .v21-label .rule { display: none; }
  .v21-label > span:last-child { display: none; }
  .v21-label .no { white-space: nowrap; }
}
.v21-head { max-width: 760px; margin-bottom: 56px; }
.v21-head h2 { margin-bottom: 16px; line-height: 1.12; }
.v21-head p { color: var(--ink-muted); font-size: var(--fs-body); max-width: 600px; margin: 0; }
.v21-subhead { margin-top: 72px; }
/* ---------- 02 value chain ---------- */
.v21-chain { display: grid; grid-template-columns: repeat(5, 1fr); }
.v21-node { padding: 26px 22px; border: 1px solid var(--line); background: var(--surface-card); position: relative; }
.v21-node + .v21-node { border-left: none; }
.v21-node .idx { font-family: var(--font-mono); font-size: .7rem; color: var(--accent-deep); letter-spacing: .15em; }
.v21-node h3 { font-size: var(--fs-h3); margin: 10px 0 4px; }
.v21-node .en { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; color: var(--ink-muted); text-transform: uppercase; }
.v21-node p { font-size: var(--fs-sm); color: var(--ink-muted); margin: 10px 0 0; }
.v21-node::after { content: "\2192"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); z-index: 2; font-family: var(--font-mono); color: var(--accent-deep); background: var(--surface); padding: 2px; }
.v21-node:last-child { padding-right: 46px; }
.v21-node:last-child::after { content: "\21BA"; color: var(--blue); right: 12px; background: var(--surface-card); width: 22px; text-align: center; line-height: 1; }
.v21-quote-grid { margin-top: 72px; }
/* ---------- 03 solutions ---------- */
.v21-sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v21-sol { background: var(--surface-card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 28px 28px; position: relative; transition: transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); display: flex; flex-direction: column; }
.v21-sol .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.v21-sol:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.v21-sol:focus-within { border-color: var(--accent); box-shadow: var(--shadow); }
.v21-sol h3 { font-size: var(--fs-h3); margin: 0 0 10px; line-height: 1.35; overflow-wrap: break-word; }
.v21-sol > p:not(.v21-sol-foot) { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.7; }
@media (min-width: 1021px) {
  .article-layout .richtext > p:last-of-type:has(> a ~ a) a { white-space: nowrap; }
}
/* ---------- 04 product in action ---------- */
.v21-pia { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: stretch; }
.v21-ui { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.v21-chrome { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.v21-chrome .cdot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.v21-chrome .curl { margin-left: 10px; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-muted); border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px; background: #fff; }
.v21-uitag { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .18em; color: var(--accent-deep); border: 1px solid var(--accent); border-radius: 6px; padding: 3px 9px; text-transform: uppercase; white-space: nowrap; }
.v21-uitag-dark { margin-left: 0; align-self: flex-start; }
.v21-uibody { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.v21-uirow { display: flex; gap: 10px; flex-wrap: wrap; }
.v21-uiinput { flex: 1; min-width: 200px; border: 1px solid var(--line); border-radius: 6px; padding: 11px 14px; font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--ink-muted); }
.v21-uiinput:hover { border-color: var(--accent-deep); color: var(--ink-soft); }
.v21-uibtn { padding: 11px 20px; min-height: 0; }
.v21-score { margin: 20px 0; }
.v21-sr-head { display: flex; justify-content: space-between; font-size: var(--fs-sm); margin-bottom: 7px; }
.v21-sr-head .dim { font-weight: 500; color: var(--ink-deep); }
.v21-sr-head .val { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--ink-muted); }
.v21-bar { height: 8px; background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.v21-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 4px; }
.v21-bar.gold i { background: linear-gradient(90deg, var(--accent-deep), var(--accent)); }
.v21-uinote { font-size: var(--fs-sm); color: var(--ink-muted); border-top: 1px dashed var(--line); padding-top: 14px; margin: 6px 0 0; }
.v21-flow { background: var(--navy); border-radius: var(--radius); padding: 28px; color: #D8E1EC; display: flex; flex-direction: column; }
.v21-flow h3 { color: #fff; margin: 16px 0 0; }
.v21-fsteps { display: flex; flex-direction: column; margin-top: 14px; }
.v21-fs { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(230,237,247,.12); }
.v21-fs:last-child { border-bottom: none; }
.v21-fs .fi { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent); border: 1px solid rgba(213,168,76,.5); border-radius: 50%; width: 26px; height: 26px; flex: none; display: flex; align-items: center; justify-content: center; }
.v21-fs b { color: #fff; font-weight: 500; }
.v21-fs span { display: block; font-size: var(--fs-sm); color: #9FB0C4; }
.v21-fs.gate .fi { border-radius: 4px; transform: rotate(45deg); }
.v21-fs.gate .fi i { transform: rotate(-45deg); font-style: normal; }
/* ---------- 05 evidence ---------- */
.v21-evspread { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: stretch; }
.v21-evquad { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 34px; border-top: 2px solid var(--ink-deep); height: 100%; grid-template-rows: 1fr 1fr; }
.v21-evcell { padding: 30px 6px 8px 0; display: flex; flex-direction: column; justify-content: center; }
.v21-evcell .fig { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; color: var(--blue); text-transform: uppercase; }
.v21-evnum { font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 700; color: var(--ink-deep); line-height: 1.05; margin: 8px 0 6px; white-space: nowrap; }
.v21-evunit { font-size: .45em; color: var(--accent-deep); margin-left: .08em; }
.v21-evnum small { font-size: .45em; color: var(--accent-deep); }
.v21-evnum-sm { font-size: clamp(2.2rem, 3.4vw, 2.9rem); }
.v21-evcell p { font-size: var(--fs-sm); color: var(--ink-muted); margin: 0; }
.v21-dmbox { background: #fff; border: 1px solid var(--line-soft); border-top: 2px solid var(--ink-deep); border-radius: var(--radius); padding: 26px 28px 20px; }
.v21-dmbox svg { width: 100%; height: auto; display: block; }
.v21-figlabel { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; color: var(--blue); text-transform: uppercase; margin-bottom: 8px; }
.v21-dmtakeaway { font-size: var(--fs-sm); color: var(--ink-deep); margin: 0 0 12px; line-height: 1.6; border-left: 2px solid var(--accent-deep); padding-left: 10px; }
.v21-dmlegend { font-size: var(--fs-sm); color: var(--ink-muted); border-top: 1px dashed var(--line); padding-top: 12px; margin: 10px 0 0; }
/* ---------- 06 journal cards ---------- */
.v21-jcard { box-shadow: none; }
.v21-jcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.v21-jcard:focus-within { border-color: var(--accent); box-shadow: var(--shadow); }
.v21-jcover { position: relative; display: block; height: 188px; overflow: hidden; background: var(--navy); }
.v21-jcover img { width: 100%; height: 100%; object-fit: cover; }
.v21-credit { position: absolute; right: 10px; bottom: 8px; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .06em; color: rgba(255,255,255,.92); background: rgba(7,17,31,.55); padding: 2px 8px; border-radius: 6px; }
/* ---------- 07 timeline + manifesto band ---------- */
.v21-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; margin-top: 6px; }
.v21-timeline::before { content: ""; position: absolute; top: 7px; left: 6px; right: 6px; height: 1px; background: var(--line); }
.v21-tl { position: relative; padding-top: 34px; }
.v21-tl .dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--accent-deep); }
.v21-tl .dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.v21-tl .t-no { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink-deep); line-height: 1; }
.v21-tl .s-no { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent-deep); letter-spacing: .14em; display: block; margin-top: 8px; }
.v21-tl h3 { margin: 8px 0 6px; }
.v21-tl p { font-size: var(--fs-sm); color: var(--ink-muted); margin: 0; }
/* D26 (verified 2026-11-11): the manifesto band is a plain full-bleed
   divider with NO overlap margin — the -24px offset in the phase-1
   measurements was a reveal-animation artefact, not a spec. Do not
   add pull-up margins here without a fresh settled-state measurement. */
.v21-band { background: var(--navy); color: #E9EEF5; padding: 72px 0; border-bottom: 1px solid var(--accent-deep); }
.v21-band-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .26em; color: var(--accent); text-transform: uppercase; margin-bottom: 28px; }
.v21-mq { font-family: var(--font-display); font-size: clamp(1.5rem, 2.9vw, 2.4rem); line-height: 1.5; font-weight: 700; margin: 0; color: #fff; text-wrap: balance; }
.v21-mq em { font-style: normal; color: var(--accent); }
.v21-band-sign { margin-top: 26px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .18em; color: #93A5BC; }
.v21-mq .mq-br { display: none; }
.v21-mq .mq-br-always { display: block; }
@media (max-width: 720px) {
  .v21-mq .mq-br { display: block; }
}
@media (max-width: 600px) {
  .v21-mq { font-size: 1.35rem; }
}
@media (max-width: 380px) {
  .v21-mq { font-size: 1.15rem; }
}

/* ---------- 08 final CTA ---------- */
.cta-section.v21-final { background: var(--navy); }
.v21-final .cta-panel { background: transparent; border: none; box-shadow: none; }
/* Symmetry (2026-11-14): home final CTA goes single-column centred —
   the two-column split left the left half empty below the copy. Scoped
   to .v21-final; other pages keep the generic two-column CTA. */
.v21-final .cta-panel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.v21-final .cta-panel h2 { max-width: 720px; margin-inline: auto; }
.v21-final .cta-panel > div:first-child p { max-width: 700px; margin-inline: auto; }
.v21-final .cta-actions { width: 100%; max-width: 520px; align-items: center; gap: 16px; }
.v21-final .cta-btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.v21-final .cta-btn-row .cta-btn-main, .v21-final .cta-btn-row .cta-btn-sub { width: auto; min-width: 200px; }
.v21-final .beehiiv-label { text-align: center; }


/* ---------- V2.3 hero background (direction C: editorial type) ----------
   Grid = CSS tiled layer (never crops). Artwork = inline SVG, meet +
   top-anchored, per-language viewBox heights matched to measured hero
   heights (ZH 1310/1517, EN 1494/1764) so edge elements never crop. */
.v21-hero > .container { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: var(--dark-grid-img); background-size: 36px 36px; }
.hero-bg svg { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.hero-bg .bg-m { display: none; }
@media (max-width: 600px) {
  .hero-bg::before { background-size: 30px 30px; }
  .hero-bg .bg-d { display: none; }
  .hero-bg .bg-m { display: block; }
}
/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .v21-chain { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .v21-node + .v21-node { border-left: 1px solid var(--line); }
  /* stacked chain: arrows turn downward into the gap (V2.4 A6 merged here) */
  .v21-node::after { display: block; content: "\2193"; left: 50%; right: auto; top: auto; bottom: -13px; transform: translateX(-50%); font-size: 13px; line-height: 1; }
  .v21-node:last-child::after { content: "\21BA"; left: auto; right: 12px; top: 50%; bottom: auto; transform: translateY(-50%); font-size: 16px; }
  .v21-pia, .v21-sol-grid, .v21-evspread { grid-template-columns: 1fr; }
  .v21-timeline { grid-template-columns: repeat(2, 1fr); }
  .v21-hero-split { grid-template-columns: 1fr; gap: 28px; }
  .v21-hero-slide-chips { display: none; }
}
@media (max-width: 600px) {
  .v21-sec { padding: 64px 0; }
  .v21-hero { padding: 56px 0 40px; }
  .v21-graphic svg.hero-svg-d { display: none; }
  .v21-graphic svg.hero-svg-m { display: block; }
  .v21-chain, .v21-timeline, .v21-evquad { grid-template-columns: 1fr; }
  .v21-timeline::before { display: none; }
  .v21-chips li { margin-right: 0; padding-right: 10px; }
  .graphic-caption { flex-wrap: wrap; gap: 4px; }
  .v21-viz-layers ol { grid-template-columns: 1fr 1fr; }
  .v21-viz-layers li { font-size: var(--fs-caption); }
  .v21-viz-layers li.v21-viz-gov { grid-column: 1 / -1; }
  .v21-hero-controls { margin-top: 28px; gap: 14px; }
}

/* ---------- V2.1 step 2: solution page components ---------- */
.v21-terrain-sec, .v21-chainband-sec { padding: 0 0 96px; }
.terrain-band { background: var(--navy); border-radius: var(--radius); padding: 14px 20px 8px; overflow-x: auto; }
.terrain-band svg { width: 100%; min-width: 640px; height: auto; display: block; }
.terrain-band .tb-cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .16em; color: #93A5BC; padding: 6px 0 8px; text-transform: uppercase; }
.v21-chainband { background: var(--navy); border-radius: var(--radius); color: #D8E1EC; padding: 40px 38px; display: grid; grid-template-columns: repeat(6, 1fr); }
.v21-cbstep { padding: 2px 20px 2px 0; margin-right: 20px; border-right: 1px solid rgba(230,237,247,.12); }
.v21-cbstep:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.v21-cbstep .idx { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent); letter-spacing: .15em; }
.v21-cbstep h3 { color: #fff; font-size: var(--fs-h4); margin: 10px 0 4px; }
.v21-cbstep .en { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .13em; color: #93A5BC; text-transform: uppercase; }
.v21-cbstep p { font-size: var(--fs-sm); color: #9FB0C4; margin: 10px 0 0; }
.v21-cbdiamond { width: 58px; height: 58px; transform: rotate(45deg); border: 1.6px solid var(--accent); background: rgba(213,168,76,.15); display: flex; align-items: center; justify-content: center; margin: 2px 0 20px 8px; }
.v21-cbdiamond span { transform: rotate(-45deg); font-family: var(--font-mono); font-size: .8rem; color: var(--accent); }
.v21-cbstep.gate h3 { color: var(--accent); }
@media (max-width: 1020px) { .v21-chainband { grid-template-columns: repeat(2, 1fr); gap: 28px; } .v21-cbstep { border-right: none; margin-right: 0; } }
@media (max-width: 600px) { .v21-chainband { grid-template-columns: 1fr; padding: 32px 26px; } .v21-terrain-sec, .v21-chainband-sec { padding-bottom: 64px; } }

/* ---------- V2.1 step 3: research journal + about photo ---------- */
.v21-journal-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink-deep); padding-bottom: 14px; margin-bottom: 34px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .2em; color: var(--ink-muted); text-transform: uppercase; }
.v21-feature-sec { padding: 72px 0 8px; }
.v21-figcover { margin: 0 0 40px; }
.v21-figcover .fc-img { height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.v21-figcover img { width: 100%; height: 100%; object-fit: cover; }
.v21-figcover figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .14em; color: var(--ink-muted); padding-top: 10px; text-transform: uppercase; }
.v21-feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: stretch; }
.v21-feature-title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 10px 0 18px; }
.v21-abstract { background: #fff; border: 1px solid var(--line-soft); border-left: 3px solid var(--accent); padding: 24px 26px; border-radius: 0 var(--radius) var(--radius) 0; }
.v21-abstract .a-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .2em; color: var(--accent-deep); text-transform: uppercase; margin: 0 0 10px; }
.v21-abstract p { color: var(--ink-soft); font-size: var(--fs-body); margin: 0; }
.v21-feature-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.v21-btn-o-dark { color: var(--ink-deep); border-color: var(--ink-soft); }
.v21-btn-o-dark:hover { border-color: var(--ink-deep); color: var(--ink-deep); }
.v21-figbox { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 28px; display: flex; flex-direction: column; height: 100%; }
.v21-figbox .v21-uinote { margin-top: auto; padding-top: 14px; }
.v21-figbox .fig-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; color: var(--blue); text-transform: uppercase; margin: 0 0 16px; }
.v21-about-photo-sec { padding: 72px 0 0; }
.v21-about-photo { margin: 0; }
.v21-about-photo .ap-img { border-radius: var(--radius); overflow: hidden; background: var(--navy); height: 420px; }
.v21-about-photo img { width: 100%; height: 100%; object-fit: cover; }
.v21-about-photo figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .12em; color: var(--ink-muted); padding-top: 10px; text-transform: uppercase; }
@media (max-width: 1020px) { .v21-feature-grid { grid-template-columns: 1fr; } .v21-figcover .fc-img { height: 300px; } .v21-about-photo .ap-img { height: 320px; } }


/* ============================================================
   Design System V2.3 detail convergence (2026-11-11)
   ============================================================ */
/* #3 hero primary keeps a gold edge so it outranks the outline buttons */
.v21-hero .button-light { border-color: var(--accent); }
/* #2 ZH headline: accent phrase never breaks mid-phrase; small screens
   size the h1 so both semantic lines fit whole (Latin wraps at spaces). */
html[lang^="zh"] .v21-hero h1 em { white-space: nowrap; }
html[lang^="zh"] .v21-hero h2.v21-hero-title em { white-space: nowrap; }
@media (max-width: 600px) {
  html[lang^="zh"] .v21-hero h1 { font-size: 7.5vw; }
  html[lang^="zh"] .v21-hero h2.v21-hero-title { font-size: 7.5vw; }
}
/* 340px micro-band retained by exception: CJK hero headline fit on
   320px devices (Design V3 cascade plan, D8 exception register). */
@media (max-width: 340px) {
  html[lang^="zh"] .v21-hero h1 { font-size: 7.2vw; }
  html[lang^="zh"] .v21-hero h2.v21-hero-title { font-size: 7.2vw; }
}
/* #4 chips: three equal columns (numbers dropped in template; Fig. system stays) */
/* #5 on-dark section label component */
.section-label.on-dark { color: #93A5BC; border-bottom-color: rgba(230,237,247,.18); }
.section-label.on-dark .folio { color: var(--accent); }
/* #6 chain loop-back arrow fully inside the last node */
/* #8 solution ghost number one step deeper so it reads as decoration */
/* #8 feature-card data footnote */
.v21-sol-foot { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .06em; color: var(--ink-muted); border-top: 1px solid var(--line-soft); padding-top: 14px; margin: 18px 0 0; }
/* #9 product ui-card real-entry footer row */
.v21-uifoot { border-top: 1px solid var(--line-soft); margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* #10 dot matrix: horizontal scroll on small screens, legend floor 12px */
@media (max-width: 600px) {
  .v21-dmbox { min-width: 0; }
  .v21-dmscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .v21-dmscroll svg { min-width: 560px; }
  .v21-dmlegend { font-size: var(--fs-caption); }
}
/* #13 beehiiv embed: framed to sit on the navy CTA band (form itself is third-party) */
/* #14 footer legal row: legal group left, privacy/cookie stay right */
.footer-bottom > span:nth-child(2) { margin-right: auto; }
/* #15 section spacing tiers */
.v21-sec-loose { padding: 96px 0; }
.v21-sec-tight { padding: 56px 0; }
@media (max-width: 600px) {
  .v21-sec-loose { padding: 72px 0; }
  .v21-sec-tight { padding: 44px 0; }
}

/* Design System V2.4 alignment convergence: every geometry fix
   (A1-A6/B1-B5/C1-C2 + V2.4.1) was merged back into its base rule
   by Design V3 group 3 (2026-11-11); no tail overrides remain. */

/* ============================================================
   Design System V2.4 — Work B: compliant tech texture
   (Brand Book v2.0: restrained, research-grade; no particles.)
   ============================================================ */
/* B-1: one dark-grid texture for every dark band. The hero tile
   now reads from the same token so the system has one source. */
.dark-grid { background-image: var(--dark-grid-img); background-size: 36px 36px; }
.cta-section.v21-final.dark-grid { background-image: var(--dark-grid-img); background-size: 36px 36px; }
@media (max-width: 600px) {
  .dark-grid, .cta-section.v21-final.dark-grid { background-size: 30px 30px; }
}
/* B-2: instrument framing — tick strip on figure boxes and a
   0/50/100 scale under the report bars. */
.fig-ticks { height: 8px; margin-bottom: 14px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 24px); background-size: 100% 6px; background-repeat: no-repeat; background-position: bottom left; border-bottom: 1px solid var(--line); }
.v21-dmsource { font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .1em; color: var(--ink-muted); text-transform: uppercase; margin: 12px 0 0; }
.fig-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .1em; color: var(--ink-muted); border-top: 1px solid var(--line); margin-top: 12px; padding-top: 6px; background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 24px); background-size: 100% 5px; background-repeat: no-repeat; background-position: top left; }
/* B-3: ruler variant of the section label — ticked rule plus an
   optional mono data point (sourced figures only). */
.v21-label.has-ruler .rule { height: 7px; background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat, repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px); }
.v21-rdata { color: var(--accent-deep); letter-spacing: .14em; white-space: nowrap; }
.v21-journal-head.has-ruler { background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px); background-size: 100% 6px; background-position: 0 calc(100% - 4px); background-repeat: no-repeat; padding-bottom: 20px; }

/* ============================================================
   Design System V3 group 4 (2026-11-11): accessibility + mobile
   D5: --ink-muted #6b7d94 -> #5d6e85 (white 4.21 -> 5.21, tint
   3.99 -> 4.94, palest tint 4.66); --accent-deep #A97F2F ->
   #8f6a24 (white 3.64 -> 4.94, tint 4.68). Photo-band caption
   scrim deepened; prose photo captions lost their opacity wash.
   D24: EN home overflowed at 320px by 23px (scrollW 343) via
   .v21-ui / .v21-flow in the product-in-action row — PIA grid
   items and chain nodes may now shrink below EN min-content,
   and the mock input ellipsises like a real input field.
   D27: footer links padded past the WCAG 2.2 AA 24px floor;
   primary nav, language switch and nav toggle sized up in
   their base rules above (nav links ~44px).
   ============================================================ */
.footer-grid li a { display: inline-block; padding: 4px 0; }
.footer-bottom a { display: inline-block; padding: 4px 2px; }
.v21-pia > * { min-width: 0; }
.v21-uiinput { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v21-node { min-width: 0; }
.v21-node p, .v21-node .en { overflow-wrap: break-word; }

/* ============================================================
   Design System V3 group 5 (2026-11-11): structure + components
   D9: research-article components per TOKENS_V3_DRAFT §1.5 —
   Chapter numbering, lede, Key Finding, Figure, Pull Quote
   (promoted from the hand-written .prose p.pullquote class),
   References. D17: maturity badge (BRAND_SYSTEM_V2 four tiers).
   ============================================================ */
.prose-structured { counter-reset: chapter; }
.prose-structured h2 { counter-increment: chapter; scroll-margin-top: 96px; }
.prose-structured h2::before { content: counter(chapter, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; color: var(--accent-deep); margin-bottom: 8px; }
.article-lede { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-soft); }
.key-finding { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface-card); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 22px; margin: 30px 0; }
.key-finding .kf-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 8px; }
.key-finding .kf-value { font-size: var(--fs-lead); font-weight: 600; line-height: 1.5; color: var(--ink); margin: 0; }
.key-finding p:last-child { margin-bottom: 0; }
.article-figure { margin-block: 30px; }
.report-figure { margin: 0; }
.article-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.article-figure figcaption { font-size: var(--fs-caption); color: var(--ink-muted); line-height: 1.55; margin-top: 8px; }
.pull-quote { text-align: center; font-size: clamp(1.5rem, 3.1vw, 2.05rem); font-weight: 700; line-height: 1.5; color: var(--ink-deep); padding: .4em .6em; margin: 2.4em auto; max-width: 25em; }
.pull-quote::before { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin: 0 auto .8em; }
.references { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 22px; }
.references .ref-title { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 14px; }
.references ol { padding-left: 22px; margin: 0; }
.references li { font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-soft); margin-bottom: 10px; }
.references .ref-source { display: block; font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--ink-muted); letter-spacing: .04em; margin-top: 2px; }
/* D17: maturity badge — Research / Prototype / Pilot / Production */
.maturity-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; background: var(--surface-card); white-space: nowrap; }
.maturity-badge .mb-dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink-muted); flex: none; }
/* Visual-opt (2026-11-13): inside the column-flex .v21-flow the badge was stretched full-card-width on desktop. */
.v21-flow .maturity-badge { display: flex; width: fit-content; margin-top: 8px; }
.maturity-production .mb-dot { background: var(--accent); border-color: var(--accent-deep); }
.maturity-pilot .mb-dot { background: var(--ink-muted); border-color: var(--ink-muted); }
.maturity-prototype .mb-dot { background: linear-gradient(90deg, var(--ink-muted) 50%, transparent 50%); }
.v21-chrome-tags { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 600px) {
  /* the Agent-chain badge takes its own line on small screens —
     inline next to the chain tag it overflowed 320px (D24 re-check);
     the chain tag itself may wrap (its EN label is nowrap + tracked
     wide and alone exceeded the 320px column by 27px) */
  .v21-flow .maturity-badge { display: flex; width: fit-content; margin-top: 8px; }
  .v21-flow .v21-uitag { white-space: normal; }
}
/* D10 (group 7): hero exit de-densification — the research exit is a
   text link, not a third button (it duplicates the evidence strip). */
.v21-cta-text { display: inline-flex; align-items: center; color: #E6EDF7; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(230,237,247,.4); padding: 12px 4px; transition: color var(--dur-ui) var(--ease-ui), text-decoration-color var(--dur-ui) var(--ease-ui); }
.v21-cta-text:hover { color: #fff; text-decoration-color: var(--accent); }
.v21-cta-text:active { color: var(--accent-light); }
/* D16: real audit capture inside the product-in-action card */
.v21-uishot { margin: 18px 0 0; }
.v21-uishot img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 10px; }
.v21-uishot figcaption { font-size: var(--fs-caption); color: var(--ink-muted); line-height: 1.55; margin-top: 8px; }
/* --- PIA dimension strip (2026-11-12, William fix: fill left card with the
   real 11 Nov 2026 run) — one bar colour; gold marks the flagged item only. */
.v21-uidims { margin: 18px 0; border-top: 1px solid var(--line-soft); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.v21-uidim { display: grid; grid-template-columns: minmax(0, auto) 1fr 34px; gap: 12px; align-items: center; font-size: var(--fs-caption); }
.v21-uidim-name { color: var(--ink); white-space: nowrap; }
.v21-uidim-bar { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.v21-uidim-bar i { display: block; height: 100%; background: var(--ink-deep); border-radius: 3px; }
.v21-uidim.flag .v21-uidim-bar i { background: var(--accent-deep); }
.v21-uidim-score { font-family: var(--font-mono); text-align: right; color: var(--ink-deep); }
.v21-uidim.flag .v21-uidim-score { color: var(--accent-deep); font-weight: 700; }
.v21-uidim-note { font-size: var(--fs-caption); color: var(--ink-muted); margin: 2px 0 0; line-height: 1.55; }


/* ============================================================
   Design System V3 group 8 (2026-11-12): style unification
   Sample: home Research & Knowledge cards (.research-card).
   One card system: every content card shares the shell values
   (unified in place at each card's own rule above) and the
   shared body / meta / foot classes below. New cards use these
   classes; never per-card patches. Section headers share
   .sec-head (.research-header is its alias).
   ============================================================ */
.u-card-body, .research-card-body, .content-card-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.u-card-meta, .v21-jmeta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; color: var(--ink-muted); text-transform: uppercase; border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; margin-bottom: 18px; }
.u-card-meta .cat, .v21-jmeta .cat { color: var(--accent-deep); overflow-wrap: break-word; }
.u-card-meta time, .v21-jmeta time { margin: 0; padding: 0; font-size: var(--fs-label); }
.u-card-foot, .v21-jfoot { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-muted); margin-top: auto; padding-top: 18px; }
/* Card covers share the sample's 188px slot (16:9 source, cover-cropped),
   so mixed 2/3-column grids keep one cover height. */
.content-card > .content-cover, .case-card > .content-cover, .solution-card > .content-cover { height: 188px; }
@media (max-width: 600px) {
  .sec-head, .research-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ============================================================
   FAQ V3.0 (group 9, 2026-11-12): FAQ page layout repair +
   figure / structure-diagram components + related-reading strip.
   Root cause (evidence: visual-qa/20261111-design-v3/faq/README.md):
   .article-layout is a 2-column grid (240px aside + 720px article)
   built for pages that render an <aside class="article-aside">;
   faq_page.html rendered the article WITHOUT the aside, so grid
   auto-placement put the whole body in the 240px first column
   (measured: 204px left, 240px wide at 1440px viewport). FAQ pages
   now use .container.narrow — the same 850px box as the hero — so
   the article's left edge aligns with the H1, and .prose caps
   itself at the 720px reading width. The :has() guard below keeps
   any other single-child .article-layout (privacy, diagnostic)
   from collapsing the same way.
   Only :root tokens are referenced; no new colours or type scale.
   ============================================================ */

/* Single-child .article-layout guard (desktop only — the
   max-width:850px rule already collapses the grid to 1fr). */
@media (min-width: 851px) {
  .article-layout:has(> article:only-child) { grid-template-columns: minmax(0, var(--read-wide)); }
  .article-layout:has(> article:only-child) > article { justify-self: start; }
}

/* FAQ figure: same 720px reading column as the prose, so the
   figure's left edge aligns with the text and the H1. */
.faq-figure { margin: 4px 0 34px; max-width: var(--read); }
.faq-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.faq-figure.ff-crop img { aspect-ratio: 16 / 9; object-fit: cover; }
.faq-figure figcaption { font-size: var(--fs-caption); color: var(--ink-muted); line-height: 1.55; margin-top: 8px; }
.faq-figure .ff-credit { display: block; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .06em; margin-top: 4px; }

/* Structure diagram: the page's own H2 headings as a numbered
   flow, in the instrument style (.fig-ticks ruler on top). */
.faq-diagram { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px 16px; background: var(--surface-card); }
.faq-diagram .ff-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 12px; }
.faq-steps { list-style: none; margin: 0; padding: 0; }
.faq-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); }
.faq-step:first-child { border-top: 0; }
.faq-step-num { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent-deep); letter-spacing: .08em; }
.faq-step-text { color: var(--ink); font-weight: 600; line-height: 1.5; overflow-wrap: break-word; }
.faq-diagram figcaption { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; }

/* Custom explanatory graphics (FAQ revamp Batch 0): hand-built
   diagrams rendered in code, not images. Same instrument frame as
   .faq-diagram; the content explains the page's core concept. */
.faq-graphic { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px 16px; background: var(--surface-card); }
.faq-graphic .ff-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 14px; }
.faq-graphic figcaption { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 14px; }
.fq-layers { list-style: none; margin: 0; padding: 0; }
.fq-layer { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.fq-layer:first-child { border-top: 0; padding-top: 2px; }
.fq-layer-num { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent-deep); letter-spacing: .08em; }
.fq-layer-body h4 { margin: 0 0 2px; font-size: var(--fs-body); line-height: 1.45; color: var(--ink-deep); }
.fq-layer-body p { margin: 0; font-size: var(--fs-caption); line-height: 1.55; color: var(--ink-muted); }
.fq-layer-score { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--ink-muted); white-space: nowrap; }
.fq-layer-score strong { font-size: var(--fs-h4); color: var(--ink-deep); }
.fq-layer-score-text { font-family: var(--font-sans); font-size: var(--fs-caption); color: var(--ink-muted); }
.fq-layer-bar { grid-column: 2 / 4; height: 4px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.fq-layer-bar i { display: block; height: 100%; background: var(--ink-soft); border-radius: 2px; }
.fq-layer-weak .fq-layer-bar i { background: var(--accent-deep); }
.fq-layer-weak .fq-layer-score strong { color: var(--accent-deep); }
.fq-layer-flag { grid-column: 2 / 4; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.fq-flow { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.fq-flow-step { font-size: var(--fs-caption); font-weight: 600; color: var(--ink); }
.fq-flow-step b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-mono); font-size: var(--fs-micro); }
.fq-flow-arrow { color: var(--ink-muted); }
/* llms.txt anatomy: code sample + annotated parts. */
.fq-code { margin: 0 0 14px; padding: 16px 18px; background: var(--navy); border-radius: 8px; overflow-x: auto; }
.fq-code code { font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: #D7E0EC; white-space: pre-wrap; overflow-wrap: anywhere; }
.fq-parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.fq-parts li { padding: 10px 0 0; border-top: 1px solid var(--line); }
.fq-parts b { display: block; font-size: var(--fs-caption); color: var(--ink-deep); margin-bottom: 2px; }
.fq-parts span { font-size: var(--fs-caption); color: var(--ink-muted); line-height: 1.55; }

/* "本文依据 / Sources" block after the article body. */
.faq-sources { margin: 36px 0 8px; padding: 20px 24px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-warm); }
.faq-sources .ff-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 10px; }
.faq-sources ol { margin: 0; padding-left: 20px; }
.faq-sources li { font-size: var(--fs-caption); line-height: 1.6; color: var(--ink-soft); padding: 3px 0; }
.faq-sources-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--fs-caption); color: var(--ink-muted); line-height: 1.55; }

/* Homepage FAQ redesign (Batch 0): one featured card + compact list.
   Replaces the six equal-weight text cards. */
.faq-home { display: grid; grid-template-columns: 5fr 6fr; gap: 24px; align-items: stretch; }
.faq-featured { padding: 36px 36px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy); color: #E8EDF3; display: flex; flex-direction: column; }
.faq-featured-tag { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.faq-featured h3 { font-size: var(--fs-h3); line-height: 1.5; margin: 0 0 16px; color: #fff; }
.faq-featured h3 a { color: #fff; }
.faq-featured-summary { margin: 0 0 24px; font-size: var(--fs-body); line-height: 1.85; color: #B9C6D6; }
.faq-featured-layers { list-style: none; margin: 0 0 10px; padding: 0; }
.faq-featured-layers li { display: grid; grid-template-columns: 110px 1fr max-content; gap: 10px; align-items: center; padding: 6px 0; font-size: var(--fs-caption); }
.faq-featured-layers span { color: #B9C6D6; }
.faq-featured-layers i { display: block; height: 4px; background: var(--accent); border-radius: 2px; }
.faq-featured-layers i.fq-bar-open { background: transparent; border: 1px dashed rgba(255,255,255,.35); }
.faq-featured-layers b { font-family: var(--font-mono); font-weight: 600; color: #fff; text-align: right; font-size: var(--fs-caption); }
.faq-featured-note { margin: 0 0 18px; font-size: var(--fs-caption); color: #8A99AD; line-height: 1.55; }
.faq-featured .text-link { color: #fff; margin-top: auto; }
.faq-home-list { display: flex; flex-direction: column; gap: 12px; }
.faq-compact { padding: 14px 22px 12px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface-card); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.faq-compact-tag { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 6px; }
.faq-compact h3 { font-size: var(--fs-body); line-height: 1.5; margin: 0 0 4px; color: var(--ink-deep); }
.faq-compact p { margin: 0; font-size: var(--fs-caption); line-height: 1.6; color: var(--ink-muted); }

/* Curated related-reading strip below the article. */
.faq-reading { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 22px; }
.faq-reading-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 12px; }
.faq-reading ul { list-style: none; margin: 0; padding: 0; }
.faq-reading li { margin-bottom: 8px; }
.faq-reading a { color: var(--ink-deep); font-weight: 600; text-decoration: none; }
.faq-reading a:hover, .faq-reading a:focus-visible { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.faq-reading a::after { content: " \2192"; color: var(--accent-deep); }

@media (max-width: 600px) {
  .faq-diagram { padding: 18px 16px 14px; }
  .faq-step { grid-template-columns: 28px 1fr; gap: 8px; }
}

/* V3.1 LCP (2026-11-12): skip style/layout/paint for below-fold home sections
   until they approach the viewport. Live Lighthouse showed render delay at
   84-87% of LCP (ZH 2.94s / EN 2.45s), driven by style/layout work (1.1-1.9s)
   across the full page. All targets already carry data-reveal; the
   IntersectionObserver forces rendering on approach, so reveal animations
   still play. Hero is deliberately excluded. contain-intrinsic-size reserves
   approximate height to keep scroll position stable. */
.v21-sec,
.serve-section,
.entity-section,
.faq-section,
.cta-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 850px;
}
/* FAQ revamp Batch 1: generic explanatory-graphic components.
   Reused by all Batch 1-4 custom graphics. Only :root tokens. */

/* Two-column comparison: one dimension per row, the two sides
   side-by-side below the dimension name; stacks on narrow screens. */
.fq-compare { margin: 0; padding: 0; }
.fq-compare-row { padding: 12px 0; border-top: 1px solid var(--line); }
.fq-compare-row:first-child { border-top: 0; padding-top: 2px; }
.fq-compare-dim { margin: 0 0 8px; font-size: var(--fs-caption); font-weight: 700; color: var(--ink-deep); }
.fq-compare-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.fq-compare-cell { margin: 0; padding: 10px 12px; background: var(--surface-warm); border-radius: var(--radius); }
.fq-compare-cell p { margin: 0; font-size: var(--fs-caption); line-height: 1.6; color: var(--ink-soft); }
.fq-compare-col { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.fq-compare-cell.fq-compare-hi { background: var(--accent-light); }

/* Mini-card grid (2 cols): agency types, use-case matrix, industry points. */
.fq-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fq-cards li { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-card); }
.fq-cards h4 { margin: 0 0 4px; font-size: var(--fs-caption); line-height: 1.45; color: var(--ink-deep); }
.fq-cards p { margin: 0; font-size: var(--fs-caption); line-height: 1.6; color: var(--ink-muted); }
.fq-cards .fq-card-tag { display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }

/* Checklist: grouped items with a check mark. */
.fq-check { list-style: none; margin: 0; padding: 0; }
.fq-check-group { padding: 12px 0 4px; border-top: 1px solid var(--line); font-size: var(--fs-caption); font-weight: 700; color: var(--ink-deep); }
.fq-check-group:first-child { border-top: 0; padding-top: 2px; }
.fq-check li:not(.fq-check-group) { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: baseline; padding: 5px 0 5px 2px; font-size: var(--fs-caption); line-height: 1.6; color: var(--ink-soft); }
.fq-check-mark { font-family: var(--font-mono); color: var(--accent-deep); font-weight: 700; }
.fq-check-note { display: block; color: var(--ink-muted); }

/* Vertical timeline: time label + event. */
.fq-timeline { list-style: none; margin: 0; padding: 0; }.fq-timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.fq-timeline li:first-child { border-top: 0; padding-top: 2px; }
.fq-timeline-when { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--accent-deep); white-space: nowrap; }
.fq-timeline-what { margin: 0; font-size: var(--fs-caption); line-height: 1.6; color: var(--ink-soft); }
.fq-timeline-what b { color: var(--ink-deep); }

/* Small data note under a layer row (spans the body + score columns). */
.fq-layer-note { grid-column: 2 / 4; font-size: var(--fs-caption); color: var(--ink-muted); }

/* "下一步 / Next step" block after the sources list. */
/* Phase 4 (F-4): dark CTA card — the next step is a destination, not a
   footnote. The inline link is kept (it completes the lead sentence);
   the two buttons are the paths. */
.faq-next { margin: 24px 0 8px; padding: 28px 28px 30px; border: 1px solid var(--navy); border-radius: var(--radius); background: var(--navy); color: #fff; }
.faq-next .ff-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.faq-next p { margin: 0; font-size: var(--fs-body); line-height: 1.65; color: rgba(255, 255, 255, .85); }
.faq-next p a { font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.faq-next-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.faq-next .button { border-color: var(--accent); }
.faq-next .button-secondary { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.faq-next .button-secondary:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .12); }

@media (max-width: 640px) {
  .fq-compare-cells { grid-template-columns: 1fr; }
  .fq-cards { grid-template-columns: 1fr; }
  .fq-timeline li { grid-template-columns: 1fr; gap: 2px; }
  .fq-parts { grid-template-columns: 1fr; }
}

/* ---------- V2.0 Batch 1 (B03): seven-layer enterprise AI system architecture ----------
   Code-rendered diagram (details/summary per layer): expanded by default,
   collapsible on mobile. Tokens only from :root. */
.arch-diagram { max-width: var(--read-wide); margin: 0 auto; }
.arch-layer { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.arch-layer + .arch-conn { margin-top: 0; }
.arch-conn { text-align: center; color: var(--accent-deep); font-size: 1rem; line-height: 1; padding: 6px 0; }
.arch-layer summary { display: flex; align-items: baseline; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; }
.arch-layer summary::-webkit-details-marker { display: none; }
.arch-layer summary::after { content: "\2212"; color: var(--ink-muted); font-family: var(--font-mono); font-size: 1rem; line-height: 1; margin-left: 6px; }
.arch-layer:not([open]) summary::after { content: "+"; }
.arch-layer summary:hover .arch-name { color: var(--accent-deep); }
.arch-no { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent-deep); letter-spacing: .1em; flex: 0 0 auto; }
.arch-name { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--ink-deep); }
.arch-role { font-size: var(--fs-sm); color: var(--ink-muted); margin-left: auto; text-align: right; }
.arch-body { border-top: 1px solid var(--line-soft); padding: 16px 22px 20px 22px; }
.arch-mods { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 12px; padding: 0; }
.arch-mods li { font-size: var(--fs-sm); color: var(--ink-soft); background: var(--surface-warm); border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.arch-note { margin: 0; font-size: var(--fs-body); color: var(--ink-soft); line-height: 1.7; }
.arch-layer-cross { border-style: dashed; border-color: var(--accent); background: var(--surface-warm); }
.arch-layer-cross .arch-no { color: var(--accent-deep); }
/* Visual-opt (2026-11-13): layer-07 chips shared the card's warm
   background and vanished; give them a white fill. */
.arch-layer-cross .arch-mods li { background: #fff; }
.arch-foot { margin: 22px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); text-align: center; }
@media (max-width: 600px) {
  .arch-layer summary { flex-wrap: wrap; gap: 6px 10px; padding: 14px 40px 14px 16px; position: relative; }
  .arch-layer summary::after { position: absolute; top: 14px; right: 16px; }
  .arch-role { flex-basis: 100%; margin-left: 0; text-align: left; font-size: var(--fs-caption); }
  .arch-body { padding: 14px 16px 16px; }
}

/* V2.0 Batch 3: AI-scenario screening (assessment page). */
.screening-steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0; display: grid; gap: 16px; }
.screening-steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.screening-steps li::before { content: "0" counter(step); font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--accent-deep); letter-spacing: .1em; padding-top: 3px; }
.screening-steps li strong { display: block; grid-column: 2; color: var(--ink-deep); margin-bottom: 2px; }
.screening-steps li span { grid-column: 2; color: var(--ink-soft); font-size: var(--fs-body); }
.screening-note { border-top: 1px solid var(--line); padding-top: 16px; color: var(--ink-muted); font-size: var(--fs-caption); }
.field-label { display: block; font-weight: 600; color: var(--ink-deep); margin-bottom: 8px; }
.radio-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.radio-list label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; color: var(--ink-soft); font-weight: 400; }
.radio-list label:has(input:checked) { border-color: var(--accent); background: var(--accent-light); color: var(--ink-deep); }
.radio-list input { width: auto; min-height: 0; padding: 0; border: none; flex: none; accent-color: var(--accent-deep); }
.field-hint { color: var(--ink-muted); font-size: var(--fs-caption); margin: 6px 0 0; }
.assessment-result { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
.assessment-result h3 { margin-bottom: 8px; }
.result-disclaimer { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--accent-deep); border: 1px dashed var(--accent); border-radius: 6px; padding: 10px 12px; margin: 16px 0; }
.result-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.result-followup { color: var(--ink-muted); font-size: var(--fs-caption); }
@media (max-width: 600px) {
  .screening-steps li { grid-template-columns: 26px 1fr; gap: 8px; }
  .result-links { flex-direction: column; }
  .result-links .button { text-align: center; }
}
/* V2.0 Batch 4: Engineering Lab (code-rendered flow diagrams, no images). */
.lab-note { border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin-bottom: 40px; color: var(--ink-soft); }
.lab-note strong { color: var(--ink-deep); }
/* Visual-opt (2026-11-13): the evidence-standard box was one dense
   paragraph; tier rows make the three levels scannable. */
.lab-std { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.lab-std li { padding-left: 14px; border-left: 2px solid var(--accent); }
/* Visual-opt (2026-11-13): anchor index for the long Lab / Ecosystem
   pages — tiers and samples are a 9000px scroll apart. */
.lab-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.lab-index a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); color: var(--ink-soft); background: var(--surface-card); }
.lab-index a:hover { border-color: var(--accent); color: var(--ink-deep); }
.lab-sample + .lab-sample { border-top: 1px solid var(--line); padding-top: 40px; margin-top: 48px; }
.lab-badge { display: inline-block; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-muted); background: var(--surface-warm); }
.lab-badge-prototype { color: var(--accent-deep); border-color: var(--accent); background: var(--accent-light); }
.lab-flow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin: 20px 0; }
.lab-flow li { position: relative; border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--ink-deep); background: var(--surface-card); }
.lab-flow li:not(:last-child) { margin-right: 14px; }
.lab-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); color: var(--accent-deep); }
@media (max-width: 600px) {
  .lab-flow li:not(:last-child) { margin-right: 0; }
  .lab-flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -19px; transform: translateX(-50%); }
  .lab-flow { flex-direction: column; align-items: stretch; gap: 22px; }
  .lab-flow li { text-align: center; }
}

/* Code-rendered news cover art (2026-11-13): one theme per company news
   story, built from verified facts only. Replaces the identical logo
   placeholder on items that carry a cover_theme. */
.cover-art { display: flex; flex-direction: column; justify-content: center; gap: .45rem; padding: .8rem 1.1rem; background: var(--navy); color: #fff; overflow: hidden; }
.v21-jcover .cover-art { height: 100%; aspect-ratio: auto; }
.cover-art-kicker { margin: 0; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); font-weight: 800; }
.cover-art-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .22rem; }
.cover-art-bars li { display: grid; grid-template-columns: 7.5rem 1fr 2.4rem; align-items: center; gap: .5rem; font-size: .74rem; }
.cover-art-bars li span { color: rgba(255,255,255,.85); white-space: nowrap; }
.cover-art-bars i { display: block; height: .4rem; background: var(--blue); border-radius: 2px; }
.cover-art-bars b { font-variant-numeric: tabular-nums; text-align: right; font-weight: 700; }
.cover-art-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.cover-art-steps li { flex: 1; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; font-size: .82rem; font-weight: 700; border-top: 2px solid rgba(255,255,255,.3); padding-top: .5rem; }
.cover-art-step-num { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 800; font-size: .78rem; }
.cover-art-foot { margin: 0; font-size: .76rem; line-height: 1.5; color: rgba(255,255,255,.72); }
.cover-art-swatches { display: flex; gap: .5rem; }
.cover-art-swatches span { flex: 1; padding: .55rem .5rem; font-size: .7rem; line-height: 1.45; font-weight: 700; border-radius: 4px; }
.cover-art-swatches .sw-navy { background: #07111f; color: #fff; outline: 1px solid rgba(255,255,255,.4); }
.cover-art-swatches .sw-blue { background: #0b5fff; color: #fff; }
.cover-art-swatches .sw-gold { background: #d5a84c; color: #07111f; }
.cover-art-lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.cover-art-lines li { font-size: .8rem; font-weight: 700; line-height: 1.35; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: .45rem .55rem; }
/* Guide covers (2026-11-13): three-column variant for the vendor theme
   (three criteria in one row), compact chips for the six/seven-item
   themes, and a stacked-layer list for the four-layer RAG theme
   (foundation widest at the bottom). Only :root tokens; no imagery. */
.cover-art-lines.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cover-art-lines.compact li { font-size: .72rem; padding: .32rem .45rem; }
.cover-art-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.cover-art-stack li { font-size: .78rem; font-weight: 700; line-height: 1.3; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: .4rem .55rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-art-stack li span { font-weight: 400; color: rgba(255,255,255,.72); font-size: .72rem; }

/* V2.1 Batch 2 (FIX-004/FIX-005): first-project cards on AI Systems, reference scenarios on Agent. Code-rendered, no imagery. Only :root tokens. */
.v21-firstproj-sec, .v21-scenarios-sec { padding: 0 0 96px; }
.v21-firstproj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.v21-firstproj-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: white; transition: transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); }
.v21-firstproj-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.v21-fp-no { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .15em; color: var(--accent-deep); }
.v21-firstproj-card h3 { font-size: var(--fs-h3); margin: 12px 0; line-height: 1.35; }
.v21-fp-fit { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.7; margin: 0 0 18px; }
.v21-firstproj-card h4 { font-size: var(--fs-sm); margin: 0 0 10px; }
.v21-firstproj-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.v21-firstproj-card ul li { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.6; padding-left: 18px; position: relative; }
.v21-firstproj-card ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.v21-fp-deliver { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.7; border-top: 1px solid var(--line-soft); padding-top: 16px; margin: 0 0 20px; }
.v21-firstproj-card .button { margin-top: auto; align-self: flex-start; }
.v21-fp-pricing { margin-top: 24px; color: var(--ink-muted); font-size: var(--fs-sm); }
.v21-scen + .v21-scen { border-top: 1px solid var(--line); padding-top: 40px; margin-top: 48px; }
.v21-scen-note { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--accent-deep); border: 1px dashed var(--accent); border-radius: 6px; padding: 10px 12px; margin: 0 0 32px; }
.v21-scen h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.v21-scen-lede { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.7; margin: 0 0 20px; }
.v21-scen-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; margin: 28px 0; }
.v21-scen-detail div h4 { font-size: var(--fs-sm); margin: 0 0 6px; }
.v21-scen-detail div p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.7; margin: 0; }
.v21-scen-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 1020px) {
  .v21-firstproj-grid { grid-template-columns: 1fr 1fr; }
  /* Symmetry batch: .faq-home must collapse here. The identical rule in
     the 1020px block near line 862 is dead code — the base .faq-home rule
     (line ~1642) comes later in the file and wins the cascade, so without
     this the homepage FAQ stays two columns even at 390px. */
  .faq-home { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .v21-firstproj-grid, .v21-scen-detail { grid-template-columns: 1fr; }
  .v21-scen-links { flex-direction: column; }
  .v21-scen-links .button { text-align: center; }
}
/* V2.1 Batch 4 (FIX-007/FIX-008): Lab evidence tiers + Forge run evidence. */
.lab-tier + .lab-tier { border-top: 2px solid var(--line); padding-top: 36px; margin-top: 56px; }
.lab-tier-desc { color: var(--ink-soft); margin: 0 0 28px; }
.lab-evidence { border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin: 28px 0; background: var(--surface-card); }
.lab-evidence h3 { margin-top: 0; }
.lab-evidence ul { margin: 12px 0; }
.lab-evidence li + li { margin-top: 6px; }
/* Lab content upgrade (2026-11-13): positioning, Forge glance strip,
   14-node DAG figure, sample tables, methodology section. */
.lab-position { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 0 0 32px; }
.lab-position p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }
.lab-position p + p { margin-top: 10px; }
.lab-glance { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lab-glance li { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--surface-card); }
.lab-glance b { display: block; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .08em; color: var(--ink-muted); text-transform: uppercase; margin-bottom: 4px; }
.lab-glance span { display: block; font-size: var(--fs-sm); color: var(--ink-deep); line-height: 1.5; }
/* Lab glance dates (2026-11-14): keep dates unbroken — the 174px cards split 2026-11-12 at the hyphen. */
.lab-glance time { white-space: nowrap; }
.lab-glance-note { font-size: var(--fs-sm); color: var(--ink-muted); margin: -12px 0 24px; }
.lab-dag-box { margin: 24px 0; }
.lab-dag { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.lab-dag li { border: 1px solid var(--line); border-radius: 6px; padding: 10px 8px; background: var(--surface-card); font-size: var(--fs-sm); color: var(--ink-deep); text-align: center; line-height: 1.4; }
.lab-dag-num { display: block; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .1em; color: var(--accent-deep); margin-bottom: 4px; }
.lab-dag-note { font-size: var(--fs-caption); color: var(--ink-muted); margin-top: 12px; line-height: 1.55; }
.lab-tables { margin-top: 28px; }
.lab-tables h3 { margin-top: 28px; }
.lab-table-wrap { overflow-x: auto; margin: 14px 0 8px; -webkit-overflow-scrolling: touch; }
.lab-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--surface-card); }
.lab-table th, .lab-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.lab-table thead th { font-size: .8rem; color: var(--ink-soft); border-bottom: 2px solid var(--line); white-space: nowrap; }
.lab-table-note { font-size: var(--fs-sm); color: var(--ink-muted); margin: 6px 0 18px; }
.lab-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; margin-top: 8px; }
.lab-method-grid h3 { margin-bottom: 6px; }
@media (max-width: 1020px) { .lab-glance { grid-template-columns: repeat(2, 1fr); } .lab-dag { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .lab-method-grid { grid-template-columns: 1fr; } .lab-dag { grid-template-columns: repeat(2, 1fr); } }

/* Industrial vision solution page (2026-11-13): cross-link line under
   the Lab sample-3 heading, and the method-section lead note. Tables
   reuse .lab-table/.lab-tables; the architecture figure reuses the
   agent chainband (.v21-chainband). */
.lab-xlink { margin: -6px 0 18px; color: var(--ink-soft); font-size: 0.98rem; }
.vision-method-note { color: var(--ink-soft); margin: 0 0 24px; max-width: 72ch; }
/* Technology ecosystem selection matrix (V2.1 Batch 5, FIX-011) */
.eco-matrix-wrap { overflow-x: auto; margin: 18px 0 10px; -webkit-overflow-scrolling: touch; }
.eco-table { width: 100%; min-width: 960px; border-collapse: collapse; font-size: .88rem; background: var(--surface-card); }
.eco-table th, .eco-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.eco-table thead th { font-size: .78rem; letter-spacing: .02em; color: var(--ink-soft); border-bottom: 2px solid var(--line); white-space: nowrap; }
.eco-table td:first-child { white-space: nowrap; }
.eco-table td.eco-tested, .eco-table td.eco-date { white-space: nowrap; }
.eco-table td.eco-tested { color: var(--ink-muted); }
.eco-matrix-note { color: var(--ink-soft); font-size: .92rem; }
/* ============================================================
   V2.1 Batch 6 (FIX-013–FIX-015): first-engagement cards, Forge
   evidence card, GEO disclaimer, 3-number evidence row, per-layer
   architecture links. Tokens only from :root; no new imagery.
   ============================================================ */
/* ---------- FIX-013 first engagement ---------- */
.v21-start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v21-start-card { background: var(--surface-card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 28px 28px; display: flex; flex-direction: column; transition: transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); }
.v21-start-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.v21-start-card h3 { font-size: var(--fs-h3); margin: 0 0 14px; line-height: 1.35; }
/* Phase 4 (H-P2-14): code-drawn linear icons — diagnostic (magnifier +
   check), proof of concept (flask), integration (connected nodes). */
.v21-start-icon { margin: 0 0 16px; color: var(--accent-deep); }
.v21-start-icon svg { display: block; width: 44px; height: 44px; }
.v21-start-card .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.v21-start-dl { margin: 0 0 8px; }
.v21-start-dl > div { padding: 10px 0; border-top: 1px solid var(--line-soft); }
.v21-start-dl > div:first-child { border-top: none; padding-top: 0; }
.v21-start-dl dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.v21-start-dl dd { margin: 0; font-size: var(--fs-sm); line-height: 1.7; color: var(--ink-soft); }
.v21-start-note { margin: 24px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); border-top: 1px solid var(--line-soft); padding-top: 18px; }
/* ---------- FIX-014 Forge evidence card ---------- */
.v21-forge { background: var(--surface-card); border: 1px solid var(--line-soft); border-top: 2px solid var(--ink-deep); border-radius: var(--radius); padding: 28px 30px 30px; margin-bottom: 24px; }
.v21-forge h3 { font-size: var(--fs-h3); margin: 0 0 10px; }
.v21-forge-sub { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.7; margin: 0; max-width: 880px; }
.v21-forge .lab-flow { margin: 22px 0 8px; }
.v21-forge-facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 34px; }
.v21-forge-facts li { padding: 12px 0; border-top: 1px solid var(--line-soft); }
.v21-forge-facts b { display: block; font-weight: 600; color: var(--ink-deep); }
.v21-forge-facts span { display: block; font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.6; }
.v21-forge-note { margin: 20px 0 14px; font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.7; }
.v21-forge-note .maturity-badge { margin-right: 6px; }
.v21-uidisclaimer { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--accent-deep); border: 1px dashed var(--accent); border-radius: 6px; padding: 10px 12px; margin: 14px 0 0; }
.v21-flow-link { margin-top: auto; padding-top: 18px; color: #fff; }
.v21-flow-link:hover { color: var(--accent); }
/* ---------- FIX-015 evidence trim + arch summary links ---------- */
.v21-evquad-3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; height: auto; }
.arch-link { margin: 10px 0 0; font-size: var(--fs-sm); }
.arch-link a { color: var(--blue); }
@media (max-width: 1021px) {
  .v21-start-grid { grid-template-columns: 1fr; }
  .v21-evquad-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .v21-forge { padding: 22px 20px 24px; }
  .v21-forge-facts { grid-template-columns: 1fr; }
  .v21-evquad-3 { grid-template-columns: 1fr; }
}

/* ================= Phase 2 (2026-11-13): page revamp batch =================
   FAQ search/filter + hero category index; stepped assessment form +
   sample result card; about aside facts + anchor nav; home solution
   covers + Lab module; research FIG.1 five bars + hero distribution
   chart; Lab numbered flow chains; hero anchors for FAQ / portal /
   assessment / ecosystem / research. All classes are Phase 2-only. */

/* --- Shared hero anchor card (dark card on the navy hero) --- */
.hero-anchor { position: relative; z-index: 1; margin: 0; padding: 22px 24px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.hero-anchor-title { margin: 0 0 12px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* --- FAQ hero category index (item 8) --- */
.faq-cat-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.faq-cat-index a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; color: #E6EDF7; text-decoration: none; font-size: var(--fs-body); }
.faq-cat-index a:hover { background: rgba(255,255,255,.1); color: #fff; }
.faq-cat-index a[aria-current="true"] { background: rgba(255,255,255,.12); color: #fff; font-weight: 600; }
.faq-cat-index a em { font-style: normal; font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent); }

/* --- FAQ search + filter pills + card badge (item 2) --- */
.faq-filter { margin-bottom: 32px; }
.faq-search { display: flex; gap: 10px; margin-bottom: 16px; }
.faq-search input[type="search"] { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-body); color: var(--ink); background: white; }
.faq-search input[type="search"]:focus { border-color: var(--blue); outline: 3px solid var(--blue); outline-offset: 2px; }
.faq-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-pill { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); color: var(--ink-soft); background: var(--surface-card); text-decoration: none; }
.faq-pill:hover { border-color: var(--accent); color: var(--ink-deep); }
.faq-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-result-count { margin: 16px 0 0; color: var(--ink-muted); font-size: var(--fs-sm); }
.faq-result-count a { color: var(--blue); }
.faq-item p.faq-item-cat { margin: 0 0 10px; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }

/* --- Assessment hero mini-steps (item 8) --- */
.assess-mini-steps { list-style: none; display: grid; gap: 16px; }
.assess-mini-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.assess-mini-steps li > span { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent); padding-top: 2px; }
.assess-mini-steps li b { display: block; color: #fff; font-size: var(--fs-body); margin-bottom: 2px; }
.assess-mini-steps li i { display: block; color: #B9C6D6; font-size: var(--fs-sm); font-style: normal; }

/* --- Assessment stepped form (item 3). No-JS default: all steps visible;
   JS adds .assess-js and shows one step at a time. --- */
.assess-step { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.assess-step legend.field-label { display: block; width: 100%; padding: 0; }
.assess-subfield { margin-top: 18px; }
.radio-list.radio-cols { grid-template-columns: 1fr 1fr; }
.assess-progress { display: none; margin-bottom: 24px; }
.assess-progress-track { height: 6px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.assess-progress-bar { height: 100%; width: 16.66%; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.assess-progress-label { margin: 10px 0 0; font-size: var(--fs-sm); color: var(--ink-muted); }
.assess-nav { display: none; }
form.assess-js .assess-progress { display: block; }
form.assess-js .assess-step:not(.is-active) { display: none; }
form.assess-js .assess-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; }
form.assess-js:not(.assess-last) .assess-submit { display: none; }

/* --- Assessment sample result card (item 11, A-3) --- */
.assess-sample { margin: 24px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-warm); }
.assess-sample-tag { display: inline-block; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .12em; color: var(--accent-deep); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 10px; margin: 0 0 10px; }
.assess-sample h3 { margin: 0 0 6px; font-size: 1.1rem; }
.assess-sample-note { color: var(--ink-muted); font-size: var(--fs-sm); margin: 0 0 14px; }
.contact-copy .assess-sample dl { margin-top: 0; display: grid; gap: 12px; }
.contact-copy .assess-sample dl div { padding: 0; border-top: 0; }
.contact-copy .assess-sample dt { color: var(--ink-deep); font-size: var(--fs-sm); font-family: inherit; text-transform: none; letter-spacing: 0; font-weight: 600; }
.contact-copy .assess-sample dd { margin: 2px 0 0; color: var(--ink-soft); font-size: var(--fs-sm); font-weight: 400; line-height: 1.6; }

/* --- About aside facts card (item 1) --- */
.about-facts { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.about-facts-title { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 12px; }
.about-facts dl { margin: 0; display: grid; gap: 10px; }
.about-facts dl div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; font-size: .88rem; }
.about-facts dt { color: var(--ink-muted); }
.about-facts dd { margin: 0; color: var(--ink-deep); overflow-wrap: anywhere; }
.about-facts dd a { color: var(--blue); }

/* --- Home solution card covers (item 4) --- */
.v21-sol-cover { width: calc(100% + 56px); max-width: none; flex: 0 0 auto; aspect-ratio: 16/9; object-fit: cover; margin: -26px -28px 18px; border-radius: var(--radius) var(--radius) 0 0; }

/* --- Home Engineering Lab module (item 9) --- */
.v21-labmod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v21-labmod { background: var(--surface-card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 28px; display: flex; flex-direction: column; }
.v21-labmod > p:first-child { margin: 0 0 14px; }
.v21-labmod h3 { font-size: var(--fs-h4); margin: 0 0 10px; line-height: 1.35; }
.v21-labmod > p:not(:first-child) { color: var(--ink-muted); font-size: var(--fs-sm); line-height: 1.7; }
.v21-labmod .text-link { margin-top: auto; padding-top: 16px; align-self: flex-start; }
.v21-labmod-cta { margin-top: 28px; }

/* --- Research hero distribution chart (item 5, R-P2-01) --- */
.hero-dist-rows { display: grid; gap: 10px; margin: 4px 0 12px; }
.hero-dist-row { display: grid; grid-template-columns: 52px 1fr 28px; align-items: center; gap: 10px; }
.hero-dist-range { font-family: var(--font-mono); font-size: var(--fs-sm); color: #E6EDF7; text-align: right; }
.hero-dist-track { display: block; height: 10px; background: rgba(255,255,255,.14); border-radius: 999px; overflow: hidden; }
.hero-dist-track i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.hero-dist-row:nth-child(2) .hero-dist-track i { background: var(--cyan-soft); }
.hero-dist-count { font-family: var(--font-mono); font-size: var(--fs-body); font-weight: 700; color: #fff; text-align: right; }
.hero-dist figcaption { font-size: var(--fs-sm); color: #B9C6D6; line-height: 1.6; margin: 0; }

/* Bar widths as classes, not inline styles: the site CSP
   (style-src 'self' + nonce, no 'unsafe-inline') blocks every inline
   style attribute, so style="width:..%" bars all render at 100%.
   Used by the reports hero distribution (41/100/35) and Fig. 1
   (91/87/82/71/69). */
.bar-w35 { width: 35%; }
.bar-w41 { width: 41%; }
.bar-w69 { width: 69%; }
.bar-w71 { width: 71%; }
.bar-w82 { width: 82%; }
.bar-w87 { width: 87%; }
.bar-w91 { width: 91%; }
.bar-w100 { width: 100%; }

.bar-w64 { width: 64%; }
.bar-w76 { width: 76%; }
.bar-w80 { width: 80%; }
.bar-w88 { width: 88%; }

/* Homepage Fig. 2 fills: the fill is the <i>::after, so the width
   classes must target the pseudo-element, not the <i> itself. */
.v21-viz-bar i.viz-fill-100::after { width: 100%; }
.v21-viz-bar i.viz-fill-68-5::after { width: 68.5%; }
.v21-viz-bar i.viz-fill-33-3::after { width: 33.3%; }

/* Replaces style="margin-top: 14px" on FAQ graphic lists. */
.u-mt14 { margin-top: 14px; }

/* Dot-matrix SVG sizing (was an inline style on the <svg>). */
.dotmatrix-svg { width: 100%; height: auto; display: block; }

/* Audit result page (was all inline styles; the bar fill width is
   dynamic, so it comes from a nonce'd <style> block in the template). */
.audit-total-score { font-size: 2.2em; }
.audit-bar { height: 8px; background: #e8e2d9; border-radius: 4px; }
.audit-bar-fill { height: 8px; border-radius: 4px; background: #b4713b; }

/* --- Ecosystem hero module index (item 8; also the E-3 anchor index) --- */
.eco-module-index ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.eco-module-index a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #E6EDF7; text-decoration: none; font-size: var(--fs-sm); }
.eco-module-index a:hover { border-color: var(--accent); color: #fff; }
.eco-module-index a span { font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--accent); }

/* --- Portal login card inside the hero (item 8) --- */
.page-hero .lead-form-panel { position: relative; z-index: 1; }
.page-hero .portal-after { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.page-hero .portal-after p { color: rgba(255,255,255,.6); }
.page-hero .portal-after li { color: #B9C6D6; }

/* --- Lab flow chains: numbered, larger; vertical steps on the Lab page (item 6, L-4).
   The home Forge card keeps the horizontal pill chain (with numbers). --- */
.lab-flow { counter-reset: flow-step; }
.lab-flow li { font-size: var(--fs-body); counter-increment: flow-step; }
.lab-flow li::before { content: "0" counter(flow-step); font-family: var(--font-mono); font-size: var(--fs-caption); color: var(--accent-deep); letter-spacing: .08em; margin-right: 10px; }
.lab-sample .lab-flow { flex-direction: column; align-items: stretch; gap: 0; }
.lab-sample .lab-flow li { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; padding: 12px 16px; }
.lab-sample .lab-flow li:last-child { margin-bottom: 0; }
.lab-sample .lab-flow li::before { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-deep); background: var(--surface-warm); margin-right: 0; transform: translateY(7px); }
.lab-sample .lab-flow li:not(:last-child)::after { content: ""; position: absolute; left: 29px; top: 100%; right: auto; width: 2px; height: 18px; background: var(--line); transform: none; }

@media (max-width: 850px) {
  .v21-labmod-grid { grid-template-columns: 1fr; }
  .eco-module-index ul { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .radio-list.radio-cols { grid-template-columns: 1fr; }
  .faq-search { flex-direction: column; }
  .faq-search .button { width: 100%; }
}

/* Phase 2: .button sets display:inline-flex, which beats the UA [hidden]
   rule — hide stepped-form nav buttons explicitly when hidden. */
.assess-nav button[hidden] { display: none; }

/* Flagship report Top 10 table (GEO F06, 2026-11-14). Table pattern
   follows .eco-table; the section sits between the hero and the body. */
.report-top10-section { padding-top: 8px; }
.report-top10-lede { color: var(--ink-soft); max-width: 72ch; }
.report-top10-wrap { overflow-x: auto; margin: 18px 0 10px; -webkit-overflow-scrolling: touch; }
.report-top10-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .92rem; background: var(--surface-card); }
.report-top10-table th, .report-top10-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.report-top10-table thead th { font-size: .8rem; letter-spacing: .02em; color: var(--ink-soft); border-bottom: 2px solid var(--line); white-space: nowrap; }
.report-top10-table th.num, .report-top10-table td.num { text-align: right; white-space: nowrap; }
.report-top10-table tbody th { white-space: nowrap; }
.report-top10-stats { margin: 12px 0 8px; }
.report-top10-stats li { margin-bottom: 6px; }
.report-top10-note { color: var(--ink-soft); }
/* ================= Lane B (fullspeed-b, 2026-11-14): audit P1/P2 fixes =================
   G-1/A-P2-01 about hero facts card; A-P1-01 aside cities reuse .about-facts;
   A-P2-02 about body lists; G-1 cases hero group index; F-4 FAQ dark end CTA;
   portal news-card info overlay. L-2 lab photo reuses .v21-figcover. */

/* --- About hero facts card (dark card; mirrors .about-facts layout) --- */
.about-hero-facts dl { margin: 0; display: grid; gap: 10px; }
.about-hero-facts dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: .88rem; }
.about-hero-facts dt { color: #B9C6D6; }
.about-hero-facts dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.about-hero-facts dd a { color: #fff; }

/* --- About body lists: gold markers + breathing room (A-P2-02) --- */
.about-body ul { list-style: none; padding-left: 0; }
.about-body ul li { position: relative; padding-left: 22px; margin-bottom: 10px; line-height: 1.75; }
.about-body ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.about-body ul li:last-child { margin-bottom: 0; }

/* --- Cases hero group index (G-1): four anchor links with descriptors --- */
.case-group-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.case-group-index a { display: block; padding: 9px 12px; border-radius: 8px; color: #E6EDF7; text-decoration: none; }
.case-group-index a:hover { background: rgba(255,255,255,.1); color: #fff; }
.case-group-index a b { display: block; font-size: var(--fs-body); font-weight: 600; }
.case-group-index a i { display: block; color: #B9C6D6; font-size: var(--fs-sm); font-style: normal; margin-top: 2px; }

/* --- Portal news-card info overlay (scheme B): the logged-in dashboard
   screenshot reads empty at card size; the overlay fills its empty
   lower band with the portal's own after-sign-in list. --- */
.news-cover-wrap { position: relative; }
.news-cover-wrap .content-cover { display: block; }
.news-cover-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(7,17,31,.94) 48%); color: #E6EDF7; }
.news-cover-overlay-label { margin: 0 0 4px; font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.news-cover-overlay-items { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: #fff; }
