/* bundle-home.css - GENERATED by scripts/build_css_bundles.py from: base.css, fonts.css, chrome.css, home.css, fifth-domain.css.
   Do not edit; change the source files and re-run the script. */

/* ===== base.css ===== */
/* base.css — shared design tokens + reset for every themed page (Section 35 HCI, Section 8.5 Design System).
   Linked first, before chrome.css and the page-family stylesheet (eaa.css, home.css).
   Dark mode: prefers-color-scheme (unless data-theme="light") or an explicit data-theme="dark" (home theme toggle). */

:root {
    --primary: #1a1a2e;      /* ink: headings, strong text */
    --panel: #1a1a2e;        /* dark panels that carry light text (badge, table head, credibility) */
    --badge-ink: #ffffff;
    --accent: #4f46e5;
    --accent-light: #6366f1;
    --on-accent: #ffffff;
    --surface: #fafaf9;      /* page */
    --surface-alt: #f5f5f4;
    --band: #ffffff;         /* home section bands */
    --band-alt: #fafaf9;
    --card: #ffffff;
    --tint: #f5f3ff;         /* chips, numbered tiles */
    --cta-bg: #1a1a2e;
    --text: #1c1917;
    --text-muted: #57534e;
    --border: #e7e5e4;
    --ok: #15803d;
    --ok-ink: #065f46;
    --success: #059669;
    --err: #b91c1c;
    --callout-bg: #fff7ed;
    --callout-border: #fed7aa;
    --callout-ink: #c2410c;
    --measure: 720px;        /* reading column */
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) {
        --primary: #f5f5f4; --panel: #2d2d44; --badge-ink: #a5b4fc;
        --accent: #818cf8; --accent-light: #a5b4fc; --on-accent: #0f0f1a;
        --surface: #0f0f1a; --surface-alt: #16162a; --band: #0f0f1a; --band-alt: #16162a;
        --card: #1e1e36; --tint: #2d2d44; --cta-bg: #16162a;
        --text: #e7e5e4; --text-muted: #a8a29e; --border: #2d2d44;
        --ok: #34d399; --ok-ink: #34d399; --success: #34d399; --err: #f87171;
        --callout-bg: #2a1f14; --callout-border: #6b4423; --callout-ink: #fdba74;
        color-scheme: dark;
    }
}
html[data-theme="dark"] {
    --primary: #f5f5f4; --panel: #2d2d44; --badge-ink: #a5b4fc;
    --accent: #818cf8; --accent-light: #a5b4fc; --on-accent: #0f0f1a;
    --surface: #0f0f1a; --surface-alt: #16162a; --band: #0f0f1a; --band-alt: #16162a;
    --card: #1e1e36; --tint: #2d2d44; --cta-bg: #16162a;
    --text: #e7e5e4; --text-muted: #a8a29e; --border: #2d2d44;
    --ok: #34d399; --ok-ink: #34d399; --success: #34d399; --err: #f87171;
    --callout-bg: #2a1f14; --callout-border: #6b4423; --callout-ink: #fdba74;
    color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== fonts.css ===== */
/* fonts.css — self-hosted Inter + Newsreader (Section 35 HCI / 8.5 Design System; performance).
   Replaces the render-blocking Google Fonts stylesheet and two third-party connections on every themed page.
   Same files Google served (latin + latin-ext subsets; other scripts fall back to the system font), so type
   renders identically. Both families are SIL Open Font License 1.1: see web/fonts/LICENSE.txt.
   Inter is one variable file for 400-700; Newsreader keeps the 400/600 + italic 400 faces the pages request.
   Critical faces are preloaded in each page's <head> (inter-latin, newsreader-latin). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(/fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap;
    src: url(/fonts/newsreader-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 600; font-display: swap;
    src: url(/fonts/newsreader-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap;
    src: url(/fonts/newsreader-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 600; font-display: swap;
    src: url(/fonts/newsreader-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
    src: url(/fonts/newsreader-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap;
    src: url(/fonts/newsreader-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== chrome.css ===== */
/* chrome.css — shared header, navigation, mobile menu, skip link (Section 35 HCI, Section 8.5).
   One source for /, /eaa/*. Markup: src/hrao/web_templates/ (header + footer) and the home header. */

.site-header { padding: 1rem 0; border-bottom: 1px solid var(--border); background: var(--card); position: relative; z-index: 1000; }
.header-content { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.logo { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 600; color: var(--primary); text-decoration: none; font-size: 1.125rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text-muted); text-decoration: none; font-size: 0.9375rem; padding: 0.5rem 0; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.current-page { color: var(--primary); font-weight: 500; position: relative; }
.nav-links a.current-page::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background: var(--primary); border-radius: 1px; }
.mobile-menu-btn { display: none; flex-direction: column; justify-content: center; width: 44px; height: 44px; border: none; background: none; cursor: pointer; padding: 8px; border-radius: 8px; transition: background-color 0.2s ease; }
.mobile-menu-btn:hover { background: var(--surface); }
.mobile-menu-btn:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.hamburger-icon { position: relative; width: 24px; height: 18px; }
.hamburger-icon span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 1px; opacity: 1; left: 0; transform: rotate(0deg); transition: all 0.25s ease; position: absolute; }
.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }
.mobile-menu-btn.active .hamburger-icon span:nth-child(1) { top: 8px; transform: rotate(135deg); }
.mobile-menu-btn.active .hamburger-icon span:nth-child(2) { opacity: 0; left: -60px; }
.mobile-menu-btn.active .hamburger-icon span:nth-child(3) { top: 8px; transform: rotate(-135deg); }
.mobile-nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); z-index: 999; }
.mobile-nav-menu.active { display: block; }
.mobile-nav-links { display: flex; flex-direction: column; max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem; }
.mobile-nav-links a { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; transition: color 0.2s ease; }
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a:hover { color: var(--primary); }
.mobile-nav-links a.current-page { color: var(--primary); font-weight: 500; }
/* Seven links (six + a per-page CTA) need ~1040px: tighten below 1180px, collapse to the hamburger below 900px. */
@media (max-width: 1180px) { .nav-links { gap: 1.25rem; } .nav-links a { font-size: 0.875rem; } .nav-links a.nav-cta { padding: 0.4rem 0.75rem; } }
@media (max-width: 900px) { .nav-links { display: none; } .mobile-menu-btn { display: flex; } .header-content { padding: 0 1rem; } }
@media (prefers-reduced-motion: reduce) { .hamburger-icon span, .mobile-menu-btn, .scroll-indicator { transition: none; animation: none; } }
@media (prefers-contrast: high) { .nav-links a, .mobile-nav-links a { border: 1px solid transparent; } .nav-links a:focus, .mobile-nav-links a:focus { border: 1px solid var(--text); } }
.skip-to-content { position: absolute; left: -9999px; top: 0; z-index: 1001; padding: 0.75rem 1rem; background: var(--accent); color: var(--on-accent); text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 600; border-radius: 0 0 8px 0; }
.skip-to-content:focus { left: 0; }

/* ===== Footer (shared by / pages that use the site-footer template) ===== */
.site-footer { border-top: 1px solid var(--border); margin-top: 3rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; font-family: 'Inter', sans-serif; }
.footer-brand-name { font-weight: 600; color: var(--primary); }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); }
.footer-col { display: flex; flex-direction: column; gap: 0.375rem; }
.footer-col h3 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; color: var(--text-muted); }
.footer-col a { color: var(--accent); text-decoration: none; font-size: 0.875rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-family: 'Inter', sans-serif; font-size: 0.8125rem; color: var(--text-muted); text-align: center; }
.footer-disclosure { margin-top: 0.5rem; font-size: 0.6875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.5rem 1.25rem; }
.footer-bottom .footer-disclosure { flex-basis: 100%; }
.footer-legal-links { display: flex; gap: 1rem; }
.footer-legal-links a { color: var(--text-muted); text-decoration: none; }
.footer-legal-links a:hover { color: var(--accent); text-decoration: underline; }

/* ===== Per-page header call to action (blog posts keep their tracked CTA verbatim) ===== */
.nav-links a.nav-cta { background: var(--accent); color: var(--on-accent); padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; }
.nav-links a.nav-cta:hover { color: var(--on-accent); opacity: 0.9; }
.mobile-nav-links a.nav-cta { color: var(--accent); font-weight: 600; }

/* ===== home.css ===== */
/* home.css — layout and components specific to the home page (/). Tokens: base.css; header/nav: chrome.css.
   Hand-authored dark overrides were removed in favour of the tokens; do not reintroduce per-selector dark blocks. */

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--surface); color: var(--text); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.hero { min-height: 90vh; display: flex; align-items: center; padding: 4rem 0; background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%); position: relative; }
.hero-content { max-width: 760px; }
.badge { display: inline-block; background: var(--panel); color: var(--badge-ink); padding: 0.375rem 1rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.hero h1 { font-family: 'Newsreader', Georgia, serif; font-size: 3.5rem; font-weight: 600; color: var(--primary); line-height: 1.15; margin-bottom: 1.5rem; }
.hero-lead { font-family: 'Newsreader', Georgia, serif; font-size: 1.375rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.hero-identity { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 1.75rem; border-radius: 8px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-light); }
.btn-secondary { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-note { font-size: 0.875rem; color: var(--text-muted); }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; cursor: pointer; transition: opacity 0.3s ease; z-index: 10; }
.scroll-indicator:hover { opacity: 0.7; }
.scroll-indicator:focus { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.scroll-text { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 0.25rem; }
.scroll-arrow { width: 44px; height: 44px; border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--card); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); animation: bounce 2s infinite; }
.scroll-arrow::after { content: ''; width: 6px; height: 6px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); margin-top: -2px; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } 60% { transform: translateY(-4px); } }
@media (max-width: 640px) { .scroll-indicator { display: none; } }
.section-block { padding: 5rem 0; background: var(--band); }
.section-block.alt { background: var(--band-alt); }
.section-block.dark { background: var(--primary); color: white; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem; }
.section-title { font-family: 'Newsreader', Georgia, serif; font-size: 2.25rem; color: var(--primary); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--text-muted); }
.section-block.dark .section-label { color: rgba(255,255,255,0.6); }
.section-block.dark .section-title { color: white; }
.section-block.dark .section-subtitle { color: rgba(255,255,255,0.7); }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-family: 'Newsreader', Georgia, serif; font-size: 1.1875rem; line-height: 1.8; margin-bottom: 1.5rem; color: var(--text); }
.prose strong { color: var(--primary); }
.prose em { font-style: italic; }
.domain-row { display: flex; flex-wrap: wrap; gap: 0.625rem; justify-content: center; margin: 2rem auto 0; max-width: 760px; }
.domain-chip { display: inline-block; padding: 0.5rem 1rem; border-radius: 100px; font-size: 0.8125rem; font-weight: 600; background: var(--tint); color: var(--text-muted); border: 1px solid var(--border); }
.domain-chip.fifth { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.layer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.layer-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.layer-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -8px rgba(0,0,0,0.12); }
.layer-num { width: 40px; height: 40px; background: var(--tint); color: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.layer-card h3 { font-family: 'Newsreader', Georgia, serif; font-size: 1.3125rem; color: var(--primary); margin-bottom: 0.625rem; }
.layer-card p { font-size: 0.9375rem; color: var(--text-muted); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.proof-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; display: flex; flex-direction: column; }
.proof-kicker { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 0.75rem; }
.proof-card h3 { font-family: 'Newsreader', Georgia, serif; font-size: 1.25rem; color: var(--primary); margin-bottom: 0.75rem; }
.proof-card p { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 1.25rem; flex-grow: 1; }
.proof-card a.proof-link { font-size: 0.875rem; font-weight: 600; color: var(--accent); text-decoration: none; margin-top: auto; }
.proof-card a.proof-link:hover { text-decoration: underline; }
.proof-card code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.8125rem; background: var(--surface); padding: 0.1rem 0.35rem; border-radius: 4px; color: var(--text); }
.credibility { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; padding: 2.5rem; }
.credibility a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }
.credibility h3 { font-family: 'Newsreader', Georgia, serif; font-size: 1.5rem; color: var(--primary); margin-bottom: 1.25rem; }
.credibility p { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.credibility p:last-child { margin-bottom: 0; }
.credibility .thesis { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 1.1875rem; color: var(--text); }
.series-list { max-width: 820px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
.series-item { display: flex; align-items: center; gap: 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1.125rem 1.5rem; }
.series-part { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); min-width: 56px; }
.series-name { flex-grow: 1; font-size: 1.0625rem; color: var(--primary); font-weight: 500; }
.series-status { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.25rem 0.625rem; border-radius: 100px; white-space: nowrap; }
.series-status.published { background: rgba(5, 150, 105, 0.12); color: var(--ok-ink); }
.series-status.coming { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.series-name a { color: var(--accent); }
.cta-band { padding: 5rem 0; background: var(--cta-bg); text-align: center; }
.cta-band h2 { font-family: 'Newsreader', Georgia, serif; font-size: 2.5rem; color: white; margin-bottom: 1rem; }
.cta-band p { font-size: 1.1875rem; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2rem; }
.cta-band .btn-secondary { background: transparent; color: white; border-color: rgba(255,255,255,0.35); }
.cta-band .btn-secondary:hover { border-color: white; color: white; }
.cta-partner { font-size: 0.9375rem !important; color: rgba(255,255,255,0.7) !important; max-width: 560px; margin: 2rem auto 0 !important; line-height: 1.6; }
.cta-partner a { color: white; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cta-partner a:hover { text-decoration: none; }
footer { padding: 3rem 0; background: var(--band-alt); border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.footer-brand { font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); max-width: 240px; }
.footer-col h3 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.625rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.375rem; }
.footer-links a, .footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.9375rem; }
.footer-links a:hover, .footer-col a:hover { color: var(--accent); }
.footer-legal { width: 100%; max-width: 1100px; margin: 1.5rem auto 0; padding: 1.5rem 1.5rem 0; border-top: 1px solid var(--border); font-size: 0.8125rem; color: var(--text-muted); text-align: center; }
@media (max-width: 900px) { .hero h1 { font-size: 2.5rem; } .layer-grid, .proof-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hero h1 { font-size: 2rem; } .hero-lead { font-size: 1.125rem; } .section-title { font-size: 1.75rem; } .credibility { padding: 1.75rem; } .hero-cta { flex-direction: column; } .hero-cta a { width: 100%; max-width: 320px; text-align: center; justify-content: center; } .series-item { flex-wrap: wrap; gap: 0.5rem; } .footer-content { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .scroll-arrow { animation: none; } .reveal-on-scroll { opacity: 1; transform: none; transition: none; } }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--accent); color: var(--on-accent); padding: 0.75rem 1rem; z-index: 10000; text-decoration: none; font-weight: 600; border-radius: 0 0 8px 0; transition: top 0.2s ease; }
.skip-link:focus { top: 0; outline: 2px solid white; outline-offset: 2px; }
.theme-toggle { background: none; border: none; cursor: pointer; font-size: 1.25rem; padding: 0.25rem 0.5rem; border-radius: 6px; transition: background 0.2s; line-height: 1; }
.theme-toggle:hover { background: rgba(0,0,0,0.05); }
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* home header variant: nav links with tap padding, mobile links carry their own padding */
.nav-links a { padding: 0.5rem 0; transition: color 0.2s ease; }
.nav-links a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.mobile-nav-links { max-width: none; padding: 0; margin: 0; }
.mobile-nav-links a { padding: 1rem 1.5rem; transition: color 0.2s ease; }

/* proof strip under the hero CTAs: the credibility signal that used to sit several screens down */
.hero-proof { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0 0 1.75rem; padding: 0; }
.hero-proof a { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 0.875rem 1rem; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--text-muted); text-decoration: none; font-size: 0.8125rem; line-height: 1.4; transition: border-color 0.2s ease; }
.hero-proof a:hover, .hero-proof a:focus-visible { border-color: var(--accent); }
.hero-proof strong { font-size: 1.125rem; font-weight: 700; color: var(--primary); letter-spacing: -0.01em; }
.hero-proof code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.75rem; }
@media (max-width: 640px) { .hero-proof { grid-template-columns: 1fr; } .hero-proof a { flex-direction: row; align-items: baseline; gap: 0.75rem; } .hero-proof strong { min-width: 4.5rem; } }

/* the scroll indicator is absolutely positioned: leave it room now that the hero carries the proof strip */
.hero { padding-bottom: 7rem; }
@media (max-width: 640px) { .hero { padding-bottom: 4rem; } }

/* ===== fifth-domain.css ===== */
/* fifth-domain.css — the "fifth domain" figure (hero of / ). Section 35 HCI, Section 8.5 Design System.
   Themed entirely from the host page's tokens (--accent, --text, --text-muted, --border, optional --card). */
.fifth-fig {
    --f-card: var(--card, #ffffff);
    --f-tint: color-mix(in srgb, var(--accent) 12%, transparent);
    margin: 0;
    width: 100%;
    max-width: 520px;
    justify-self: center;
}
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .fifth-fig { --f-card: var(--card, #1e1e36); }
}
.fifth-fig svg { display: block; width: 100%; height: auto; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.fifth-fig .ff-spine { fill: var(--f-card); stroke: var(--border); stroke-width: 1.25; }
.fifth-fig .ff-spine-label { fill: var(--text-muted); font-size: 15px; font-weight: 500; }
.fifth-fig .ff-rail { fill: none; stroke: var(--text-muted); stroke-width: 1.25; stroke-dasharray: 4 5; opacity: .55; }
.fifth-fig .ff-rail-label { fill: var(--text-muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fifth-fig .ff-block { fill: var(--f-tint); stroke: var(--accent); stroke-width: 1.75; }
.fifth-fig .ff-cell { fill: var(--f-card); stroke: var(--accent); stroke-opacity: .45; stroke-width: 1.25; }
.fifth-fig .ff-num { fill: var(--accent); font-size: 13px; font-weight: 700; }
.fifth-fig .ff-cell-label { fill: var(--text); font-size: 16px; font-weight: 600; }
.fifth-fig .ff-cell-sub { fill: var(--text-muted); font-size: 12.5px; }
.fifth-fig .ff-badge { fill: var(--accent); }
.fifth-fig .ff-badge-text { fill: var(--on-accent, #fff); font-size: 14px; font-weight: 700; }
.fifth-fig .ff-title { fill: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fifth-fig .ff-thread { stroke: var(--accent); stroke-width: 1.75; stroke-dasharray: 3 5; stroke-linecap: round; fill: none; }
.fifth-fig .ff-dot { fill: var(--accent); }
.fifth-fig .ff-thread-label { fill: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.fifth-fig figcaption { margin-top: .75rem; font-size: .875rem; line-height: 1.5; color: var(--text-muted); text-align: center; }
.fifth-fig figcaption strong { color: var(--text); font-weight: 600; }

/* one-time reveal: the fifth block, then the threads that cross the spine */
@media (prefers-reduced-motion: no-preference) {
    .fifth-fig .ff-reveal { opacity: 0; animation: ff-in .7s ease-out forwards; }
    .fifth-fig .ff-d1 { animation-delay: .15s; }
    .fifth-fig .ff-d2 { animation-delay: .55s; }
    .fifth-fig .ff-d3 { animation-delay: .95s; }
    @keyframes ff-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* hero layout: copy left, figure right */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) {
    .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; }
}

/* narrow screens: the viewBox scales to ~0.6x, so raise SVG font sizes to land near 12px and drop the least essential labels */
@media (max-width: 560px) {
    .fifth-fig .ff-cell-sub, .fifth-fig .ff-thread-label { display: none; }
    .fifth-fig .ff-cell-label { font-size: 19px; }
    .fifth-fig .ff-spine-label { font-size: 19px; }
    .fifth-fig .ff-num { font-size: 16px; }
    .fifth-fig .ff-title { font-size: 15px; letter-spacing: .08em; }
    .fifth-fig .ff-rail-label { font-size: 15px; }
    .fifth-fig .ff-badge-text { font-size: 16px; }
}

