/* Digital Bridges 2026 / Milestone 08 local review build
   Original interface styling. No external fonts, frameworks, or analytics. */
:root {
  /* M08-D Phase 1: static Neural Plasma. Cyan is decorative on light surfaces;
     use the darker teal for text. Solid surfaces keep reading contrast stable. */
  --midnight: #071326;
  --cyan: #00d7ff;
  --violet: #9c76fc;
  --text-on-dark: #f2f7ff;
  --ink: #10243a;
  --deep: var(--midnight);
  --deep2: #102740;
  --slate: #465b70;
  --muted: #586b80;
  --aqua: var(--cyan);
  --aqua-dark: #075e75;
  --gold: #e5b66e;
  --white: #fff;
  --cloud: #f0f5fa;
  --line: #cbdbe6;
  --surface: linear-gradient(145deg, #fff 15%, #f3f7fd 100%);
  --surface-dark: linear-gradient(145deg, #142d46, #0b1c33 85%);
  --edge-dark: #44667f;
  --focus: #075e75;
  --focus-gap: #fff;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(7, 19, 38, .06), inset 0 1px 0 #fff;
  --shadow-dark: 0 12px 28px rgba(2, 11, 25, .15), inset 0 1px 0 rgba(156, 118, 252, .14);
  --container: 1170px;
  --motion-fast: 180ms;
  --motion-edge: 650ms;
  --motion-ease: cubic-bezier(.22,1,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: calc(var(--header-height, 85px) + 16px); }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.67 system-ui,-apple-system,"Segoe UI",Arial,sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
/* A solid offset ring remains visible on both surface families. */
:focus-visible, video:focus-within { outline: 3px solid var(--focus); outline-offset: 4px; box-shadow: 0 0 0 2px var(--focus-gap); }
.site-header, .hero, .section-ink, .site-footer {
  --focus: var(--cyan);
  --focus-gap: var(--midnight);
}
button { font: inherit; cursor: pointer; }
p,h1,h2,h3,h4 { margin-top: 0; }
h1,h2,h3,h4 { line-height: 1.16; }
h1,h2 { letter-spacing: -.045em; }
h2,h3 { overflow-wrap: anywhere; }
.container { width: min(var(--container),calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: -90px; left: max(20px, env(safe-area-inset-left)); background: white; color: #102943; padding: 12px 18px; border-radius: 8px; }
.skip:focus { top: max(12px, env(safe-area-inset-top)); }
.status-strip { background: var(--midnight); color: #c4e7eb; border-bottom: 1px solid rgba(125,232,235,.13); min-height: 30px; }
.status-inner { display: flex; align-items: center; gap: 9px; min-height: 30px; font-size: 11px; letter-spacing: .055em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px #d1b37577; flex: none; }
.site-header { position: relative; z-index: 20; background: var(--midnight); color: var(--text-on-dark); border-bottom: 1px solid rgba(177,232,246,.1); padding-top: env(safe-area-inset-top); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
/* Without the controller, the fully expanded native navigation stays in flow. */
.scroll-nav-ready .site-header { position: sticky; top: 0; max-height: calc(100vh - var(--header-start, 4rem)); max-height: calc(100dvh - var(--header-start, 4rem)); overflow-y: auto; }
/* Transform leaves the sticky header's original space in document flow. */
.site-header.is-hidden { transform: translateY(-100%); }
.site-header:focus-within { transform: none; transition: none; }
@media (prefers-reduced-motion: no-preference) {
 .site-header { transition: transform 200ms ease; }
 .site-header:focus-within { transition: none; }
}
.header-grid { display: grid; grid-template-columns: minmax(190px,1fr) auto auto; gap: 28px; align-items: center; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; line-height: 1.15; }
.brand strong { display: block; font-size: 13px; letter-spacing: .11em; font-weight: 800; }
.brand small { display: block; color: #8eb8c9; font-size: 9px; margin-top: 6px; letter-spacing: .16em; }
.brand-mark { display: block; width: 40px; height: 36px; position: relative; border: 1px solid #3d718e; border-radius: 11px; }
.brand-mark::before { content: ''; position: absolute; width: 24px; height: 13px; border-top: 2px solid #4cdde9; border-radius: 70% 50% 0 0; top: 12px; left: 8px; transform: rotate(-13deg); }
.brand-mark i { width: 5px; height: 5px; background: var(--aqua); border-radius: 50%; position: absolute; }
.brand-mark i:first-child { top: 22px; left: 7px; }
.brand-mark i:nth-child(2) { top: 10px; left: 18px; background: var(--gold); }
.brand-mark i:last-child { top: 14px; right: 6px; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { color: #c4d2df; font-size: 12px; font-weight: 600; text-decoration: none; white-space: normal; text-underline-offset: 6px; }
.main-nav a:hover { color: var(--cyan); text-decoration: underline; }
.language-switch { display: inline-flex; padding: 3px; border: 1px solid #37546b; background: #0c2a42; border-radius: 100px; }
.language-switch button { color: #bed5df; background: transparent; border: 0; font-size: 11px; font-weight: 800; letter-spacing: .05em; width: 36px; min-height: 32px; border-radius: 100px; }
.language-switch button[aria-pressed="true"] { background: var(--cyan); color: var(--midnight); }
.menu-button { display: none; color: #d5f4fa; border: 1px solid #345c78; background: #12314b; border-radius: 8px; padding: 7px 10px; font-size: 13px; }
/* hero */
.hero { background: linear-gradient(155deg, var(--midnight) 10%, #0c233b 65%, var(--midnight)); color: var(--text-on-dark); position: relative; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: url("../img/neural-foundation.svg") center / cover no-repeat; }
.hero-grid { display: grid; grid-template-columns: 52% 48%; align-items: center; min-height: 650px; padding-block: 65px 40px; position: relative; z-index: 1; }
.hero-copy { padding-bottom: 35px; position: relative; z-index: 2; }
.eyebrow { font-weight: 800; font-size: 11px; line-height: 1.3; letter-spacing: .18em; color: var(--aqua-dark); margin: 0 0 24px; text-transform: uppercase; }
.eyebrow.light { color: var(--cyan); }
.eyebrow-rule { display: inline-block; height: 1px; width: 27px; background: var(--violet); vertical-align: middle; margin: 0 13px 3px 0; }
.hero h1 { font-size: clamp(66px,7.2vw,105px); line-height: .98; margin-bottom: 28px; font-weight: 800; letter-spacing: -.065em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--cyan); font-style: normal; margin-top: 5px; }
.hero-tagline { color: #fff; font-size: clamp(20px,2vw,27px); letter-spacing: -.02em; margin-bottom: 5px; line-height: 1.3; font-weight: 650; }
.hero-tagline-secondary { color: #bad4e3; font-size: 14px; margin-bottom: 25px; }
.hero-lede { color: #bdd2de; font-size: 15px; max-width: 510px; line-height: 1.9; margin-bottom: 31px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn { border: 1px solid transparent; min-height: 49px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 23px; border-radius: 11px; text-decoration: none; font-size: 13px; font-weight: 800; line-height: 1.35; }
.btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn.primary { background: var(--cyan); color: var(--midnight); }
.btn.primary:hover { background: #b0fdff; }
.btn.ghost { border-color: #456580; color: #e8f8ff; background: #0d2941aa; }
.btn.ghost:hover { border-color: #93dfe8; }
.btn.dark { color: #fff; background: #0b314c; }
.btn.dark:hover { background: #105173; }
.hero-meta { color: #a6bdcf; font-size: 11px; display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.meta-divider { width: 3px; height: 3px; border-radius: 50%; background: #577e94; }
.hero-visual { position: relative; width: 112%; margin-left: -8%; }
.hero-visual img { width: 100%; filter: drop-shadow(0 15px 45px rgba(20,119,158,.1)); }
.visual-label { position: absolute; font-size: 10px; letter-spacing: .21em; color: #a2e3ef; }
.visual-label span { color: var(--gold); }
.label-top { right: 5%; top: 7%; }
.label-bottom { right: 0; bottom: 11%; font-size: 9px; }
.hero-disclosure { position: relative; z-index: 2; padding: 19px 0 23px; border-top: 1px solid rgba(140,212,228,.16); display: flex; gap: 12px; align-items: flex-start; max-width: none; color: #a4bacb; font-size: 11px; line-height: 1.7; }
.disclosure-icon { color: #f0c27b; font-size: 19px; flex: none; line-height: 1; margin-top: 1px; }
/* sections */
.section { padding-block: 100px; }
.section-white { background: #fbfcff; }
.section-cloud { background: var(--cloud); }
.section-ink { background: var(--midnight); color: var(--text-on-dark); }
.section-heading { max-width: 800px; margin-bottom: 44px; }
.section-heading.compact { margin-bottom: 40px; }
.section h2 { font-size: clamp(36px,3.7vw,53px); font-weight: 760; line-height: 1.14; max-width: 790px; margin: 0 0 20px; }
.section-intro { font-size: 16px; color: #56697a; line-height: 1.9; margin: 0; max-width: 750px; }
.inverse .section-intro { color: #aabfce; }
.section-ink .eyebrow { color: #74dbe6; }
/* strategy */
.strategy-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.problem-panel { background: var(--surface-dark); border: 1px solid var(--edge-dark); box-shadow: var(--shadow-dark); border-radius: var(--radius); padding: 40px; color: white; min-height: 346px; display: flex; flex-direction: column; }
.panel-kicker, .small-label { font-weight: 800; letter-spacing: .16em; font-size: 10px; color: #80dce7; }
.problem-panel h3 { margin: 25px 0 17px; font-size: 29px; letter-spacing: -.035em; }
.problem-panel p { color: #b8cdda; font-size: 14px; line-height: 1.85; }
.problem-line { display: flex; align-items: flex-start; gap: 10px; color: #9eb7c7; font-size: 11px; border-top: 1px solid #35516a; margin-top: auto; padding-top: 20px; }
.pulse { width: 7px; height: 7px; flex: none; margin-top: 5px; border-radius: 50%; background: #e8bd6c; }
.principles-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.principle { padding: 26px; border: 1px solid #e1e9ed; border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.numeral { display: block; font-size: 13px; font-weight: 800; color: var(--aqua-dark); margin-bottom: 16px; letter-spacing: .08em; }
.principle h3 { font-size: 20px; letter-spacing: -.025em; margin-bottom: 9px; }
.principle p { font-size: 13px; color: var(--slate); margin: 0; line-height: 1.7; }
/* audience */
.audience-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.audience-card { padding: 30px 34px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 15px; }
.audience-card.primary-audience { border-top: 3px solid var(--aqua-dark); }
.audience-card .small-label { color: #167a8e; }
.audience-card h3 { margin: 18px 0 10px; font-size: 21px; }
.audience-card p { font-size: 13px; color: var(--slate); margin: 0; }
.journey { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 22px; gap: 14px; }
.journey-step { border-radius: 13px; border: 1px solid var(--line); background: var(--surface); padding: 25px 24px; position: relative; overflow: hidden; }
.journey-step:not(:last-of-type)::after { content: '→'; position: absolute; right: 14px; top: 16px; color: #9cb9c8; }
.journey-step>span { font-size: 12px; font-weight: 800; color: var(--aqua-dark); }
.journey-step h3 { font-size: 20px; margin: 17px 0 9px; }
.journey-step p { color: var(--slate); font-size: 13px; margin: 0; }
.scope-note { font-size: 12px; color: var(--muted); margin: 20px 0 0; max-width: 970px; }
/* verification */
.split-heading { display: grid; grid-template-columns: 1fr .9fr; gap: 85px; align-items: center; }
.text-link { display: inline-flex; gap: 20px; align-items: center; font-size: 13px; font-weight: 800; color: #075f77; margin-top: 24px; text-decoration-color: #76bfcb; text-underline-offset: 5px; }
.verification-list { counter-reset: verify; border: 1px solid #dae6ea; border-radius: 17px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.verification-list>div { display: flex; padding: 20px 24px; gap: 17px; align-items: center; border-bottom: 1px solid #e1e9ed; }
.verification-list>div:last-child { border-bottom: 0; }
.step-circle { width: 32px; height: 32px; line-height: 32px; border-radius: 50%; background: #dceff3; color: #0c7187; text-align: center; font-weight: 800; font-size: 13px; flex: none; }
.verification-list p { margin: 0; font-size: 14px; font-weight: 600; color: #334a5c; }
/* media */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.media-panel { padding: 25px; border: 1px solid var(--edge-dark); border-radius: 17px; background: #102c45; min-width: 0; }
.media-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.media-panel-head h3 { margin: 8px 0 0; font-size: 21px; }
.micro-label { font-size: 10px; font-weight: 750; letter-spacing: .14em; color: #7bc9d7; }
.hold-tag { font-size: 9px; letter-spacing: .09em; font-weight: 800; white-space: nowrap; color: #d4e8f0; padding: 7px 10px; border: 1px solid #49677b; border-radius: 6px; }
.slide-stage { background: radial-gradient(ellipse at 63% 20%,#175b75 0%,transparent 50%),linear-gradient(140deg,#082039,#113954); border: 1px solid #42758a; position: relative; height: 365px; border-radius: 11px; overflow: hidden; display: flex; align-items: center; padding: 35px; }
.slide-stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#97dcef0c 1px,transparent 1px),linear-gradient(90deg,#97dcef0c 1px,transparent 1px); background-size: 40px 40px; }
.slide-glow { width: 220px; height: 220px; border-radius: 50%; position: absolute; right: -50px; bottom: -50px; background: radial-gradient(#36e5ea3e, transparent 70%); }
.slide-stage-inner { z-index: 1; position: relative; max-width: 330px; }
.stage-topline { color: #85d5e5; letter-spacing: .16em; font-size: 9px; font-weight: 800; }
.stage-number { font-size: 78px; color: #4eb4d1; opacity: .24; font-weight: 800; line-height: .9; margin-top: 9px; }
.slide-stage h4 { font-size: 27px; line-height: 1.15; letter-spacing: -.04em; color: #f4fdff; margin: 0 0 10px; }
.slide-stage p { color: #bddeeb; line-height: 1.65; font-size: 13px; margin: 0; }
.slide-index { position: absolute; right: 21px; top: 17px; color: #ccf6fb; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.stage-watermark { position: absolute; bottom: 15px; left: 22px; z-index: 2; color: #b5d2e2; font-size: 9px; letter-spacing: .12em; }
.slide-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 12px; }
.circle-btn { background: #1f425a; color: #efffff; border: 1px solid #4b6f82; width: 44px; height: 44px; border-radius: 100px; flex: none; font-size: 19px; }
.circle-btn:hover { background: #295f78; }
.slide-dots { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }
.dot-btn { border: 1px solid #5d8193; background: #1a3a53; color: #ccdfec; width: 28px; height: 28px; font-size: 10px; border-radius: 50%; line-height: 1; padding: 0; }
.dot-btn[aria-pressed="true"] { background: #8be8eb; border-color: #8be8eb; color: #0e3144; font-weight: 900; }
.media-footnote { font-size: 11px; color: #a4bece; line-height: 1.7; margin: 17px 0 0; }
.video-stage { height: 365px; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center,#19435f,#0a1e32 70%); border: 1px solid #416783; border-radius: 11px; overflow: hidden; }
.video-frame { position: relative; overflow: hidden; height: 96%; max-height: 350px; aspect-ratio: 9 / 16; border: 1px solid #5f8fa7; background: linear-gradient(156deg,#123d59,#091f39 60%,#26324d); box-shadow: 0 4px 22px #040f2299; border-radius: 8px; }
.video-frame::before { content: ''; position: absolute; inset: 0; opacity: .6; background: repeating-linear-gradient(90deg,transparent 0 30px,#8ed6fa10 31px 32px); }
.video-orbit { border: 1.5px solid #5bcee4; opacity: .5; border-radius: 50%; position: absolute; left: 50%; top: 39%; transform: translate(-50%,-50%) rotate(-25deg); }
.orb-one { width: 200px; height: 105px; }
.orb-two { width: 140px; height: 170px; border-color: #e9bc77; opacity: .34; }
.video-motif { position: absolute; top: 33%; left: 10%; right: 10%; display: flex; align-items: center; gap: 7px; }
.motif-line { width: 48%; height: 2px; background: linear-gradient(90deg,transparent,#50dbe9); }
.motif-line:last-child { transform: rotate(12deg); background: linear-gradient(90deg,#50dbe9,transparent); }
.motif-point { width: 11px; height: 11px; border-radius: 50%; background: #78ebec; box-shadow: 0 0 18px #74f4ed; }
.video-ghost-label { position: absolute; top: 13px; right: 12px; font-size: 9px; color: #9cd7e6; letter-spacing: .16em; }
.video-overlay { position: absolute; bottom: 28px; left: 10px; right: 10px; display: flex; flex-direction: column; align-items: center; text-align: center; color: #f5fbff; }
.play-symbol { display: grid; place-items: center; font-size: 12px; color: #95e7ef; width: 32px; height: 32px; border: 1px solid #80d9e6; border-radius: 50%; margin-bottom: 12px; }
.video-overlay strong { font-size: 13px; }
.video-overlay small { font-size: 9px; line-height: 1.45; color: #bed1df; }
.media-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.media-specs span { font-size: 10px; border-radius: 5px; border: 1px solid #436177; padding: 6px 9px; color: #d2e7ee; }
/* social */
.social-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.social-card { background: var(--surface); box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); border-radius: 15px; }
.social-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.social-platform { color: #0b6d84; font-size: 11px; letter-spacing: .1em; font-weight: 800; }
.sample-tag { font-size: 9px; font-weight: 700; border-radius: 3px; color: #536c7d; background: #edf3f6; padding: 5px 7px; }
.social-card h3 { font-size: 22px; letter-spacing: -.025em; margin: 16px 0 17px; }
.caption-pair { display: grid; gap: 15px; }
.caption-pair>div:not(:last-child) { border-bottom: 1px solid #e5edf0; padding-bottom: 14px; }
.language-label { display: block; font-size: 9px; letter-spacing: .13em; color: var(--aqua-dark); font-weight: 800; margin-bottom: 7px; }
.caption-pair p { font-size: 13px; line-height: 1.7; color: #43566a; margin: 0; }
.caption-pair a { color: #006c8a; text-decoration: underline; text-underline-offset: 3px; }
/* crisis */
.crisis-flow { display: grid; grid-template-columns: repeat(5,1fr); gap: 9px; margin-bottom: 25px; }
.crisis-flow>div { padding: 23px 16px; background: #0d2e48; color: white; border-radius: 10px; position: relative; }
.crisis-flow>div:not(:last-of-type)::after { content: '→'; position: absolute; right: -8px; top: 35px; z-index: 2; background: #a5edf1; color: #0b2c41; font-size: 14px; border-radius: 50%; width: 18px; height: 18px; line-height: 18px; text-align: center; }
.crisis-flow span { display: block; color: #80dce8; font-size: 10px; font-weight: 800; margin-bottom: 11px; }
.crisis-flow strong { font-size: 14px; line-height: 1.3; display: block; }
.crisis-copy { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #dce5ea; border-radius: 16px; overflow: hidden; }
.crisis-copy>div { padding: 28px; background: #f4f9fb; }
.crisis-copy>div:nth-child(2) { background: #eef5f7; border-left: 1px solid #dce5ea; }
.crisis-copy p { color: #344f63; font-size: 14px; line-height: 1.85; margin: 0; }
.crisis-copy a { color: #056983; font-weight: 700; }
/* measurement */
.kpi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.kpi-card { background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 15px; padding: 30px 27px; display: flex; flex-direction: column; min-height: 285px; }
.kpi-value { display: block; color: #0c5d76; font-size: clamp(47px,5vw,74px); letter-spacing: -.08em; font-weight: 780; line-height: 1; margin-bottom: 20px; }
.kpi-value span { font-size: .38em; margin-left: 3px; font-weight: 700; }
.kpi-card h3 { font-size: 20px; margin-bottom: 9px; }
.kpi-card p { color: #566878; font-size: 13px; line-height: 1.75; margin-bottom: 20px; }
.kpi-caption { color: #197b8b; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-top: auto; }
.measurement-rail { background: var(--surface-dark); border: 1px solid var(--edge-dark); box-shadow: var(--shadow-dark); color: white; padding: 26px 32px; margin-top: 20px; border-radius: 15px; }
.rail-title { color: #7cdeeb; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.rail-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 15px 0 10px; font-size: 14px; font-weight: 760; }
.rail-steps b { color: #e3b77e; font-weight: 400; }
.measurement-rail p { font-size: 12px; color: #afc9d7; margin: 0; }
/* governance */
.governance-grid { display: grid; grid-template-columns: 1.13fr .87fr; gap: 22px; align-items: stretch; }
.gate-list { border: 1px solid #dce7eb; border-radius: 14px; overflow: hidden; }
.gate-row { display: flex; gap: 18px; padding: 20px 23px; border-bottom: 1px solid #e3ebee; align-items: flex-start; }
.gate-row:last-child { border-bottom: 0; }
.gate-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; flex: none; font-weight: 900; }
.gate-mark.pass { background: #e3f2ec; color: #167457; }
.gate-mark.hold { background: #f8efdf; color: #906220; }
.gate-row strong { display: block; font-size: 14px; line-height: 1.35; margin-bottom: 5px; }
.gate-row small { display: block; color: var(--muted); line-height: 1.6; font-size: 12px; }
.pdf-card { display: grid; grid-template-columns: 43% 57%; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; min-height: 430px; }
.pdf-card img { height: 100%; width: 100%; object-fit: cover; object-position: 50% 0; box-shadow: 12px 0 25px #1b3c5214; }
.pdf-card-copy { padding: 32px 25px; display: flex; flex-direction: column; justify-content: center; }
.pdf-card-copy .small-label { color: #1b7584; }
.pdf-card-copy h3 { font-size: 24px; margin: 18px 0 13px; letter-spacing: -.035em; }
.pdf-card-copy p { font-size: 13px; color: #596c79; line-height: 1.7; }
.pdf-card-copy .btn { margin-top: 16px; font-size: 12px; }
/* sources */
.sources-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 100px; }
.sources-grid h2 { color: #f5fcff; }
.sources-grid p { font-size: 14px; line-height: 1.85; color: #b7d1df; }
.author-name { font-weight: 800; color: #f3fcff !important; margin: 29px 0 0; font-size: 17px !important; }
.author-role { font-size: 12px !important; margin-top: 3px; }
.source-links { background: var(--surface-dark); border: 1px solid var(--edge-dark); box-shadow: var(--shadow-dark); border-radius: 16px; padding: 27px; }
.source-links h3 { font-size: 18px; margin-bottom: 16px; }
.source-links a { display: flex; justify-content: space-between; gap: 17px; border-top: 1px solid #33526a; padding: 17px 0; color: #cde6ed; font-size: 13px; line-height: 1.45; text-decoration: none; }
.source-links a:hover { color: #79e2ec; }
.source-links a span { color: #6ed4de; }
.source-links .source-footnote { font-size: 11px; color: #a7c1d0; line-height: 1.65; margin: 12px 0 0; }
.site-footer { background: var(--midnight); color: #a6c0cf; padding: 35px 0; border-top: 1px solid #1b4258; }
.footer-content { display: flex; justify-content: space-between; gap: 30px; }
.footer-content strong { color: #f4fbff; font-size: 12px; letter-spacing: .11em; }
.footer-content p { font-size: 11px; margin: 8px 0 0; }
.footer-content>div:last-child { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; font-size: 11px; text-align: right; }
.footer-content a { color: #8ee4e8; text-decoration: none; font-weight: 800; }
.noscript-note { padding: 15px 25px; background: #f8f0de; color: #543f1c; margin: 0; font-size: 12px; }
@media (max-width: 1100px) {
 .container { width: min(var(--container),calc(100% - 48px)); }
 .header-grid { gap: 14px; }
 .main-nav { gap: 14px; }
 .main-nav a { font-size: 11px; }
 .hero-grid { grid-template-columns: 53% 47%; min-height: 585px; }
 .hero-visual { width: 123%; margin-left: -12%; }
 .split-heading { gap: 45px; }
 .governance-grid { grid-template-columns: 1fr; }
 .pdf-card { grid-template-columns: 27% 73%; min-height: 295px; }
 .pdf-card-copy { padding: 27px 38px; }
 .pdf-card img { max-height: 330px; object-position: 50% 0; }
}
/* M08-C R2: fit the complete PDF cover without stretching the desktop card.
   Keep the existing single-column mobile presentation unchanged. */
@media (min-width: 561px) {
 .pdf-card { min-height: 0; align-self: start; align-items: center; }
 .pdf-card img { height: auto; object-fit: contain; }
}
@media (max-width: 780px) {
 html { scroll-padding-top: calc(var(--header-height, 74px) + 16px); }
 .container { width: calc(100% - 38px); }
 .header-grid { grid-template-columns: minmax(0,1fr) auto auto; min-height: 73px; }
 .brand { min-width: 0; }
 .brand > span:last-child { min-width: 0; overflow-wrap: anywhere; }
 .menu-button { display: inline-block; grid-column: 2; }
 .language-switch { grid-column: 3; }
 .main-nav { grid-column: 1 / -1; order: 5; display: none; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
 .main-nav.is-open { display: flex; }
 .main-nav a { padding: 13px 5px; border-top: 1px solid #25435b; font-size: 13px; }
 .hero-grid { grid-template-columns: 1fr; padding: 75px 0 15px; min-height: 0; }
 .hero-glow { background-size: auto 680px; background-position: center bottom; opacity: .6; }
 .hero-copy { padding-bottom: 0; }
 .hero h1 { font-size: clamp(65px,11vw,92px); }
 .hero-visual { width: 100%; margin: -20px auto -38px; max-width: 630px; }
 .label-top { right: 0; top: 12%; }
 .label-bottom { right: 0; bottom: 13%; }
 .section { padding-block: 76px; }
 .strategy-layout, .split-heading, .media-grid, .sources-grid { grid-template-columns: 1fr; }
 .split-heading { gap: 30px; }
 .problem-panel { min-height: 300px; }
 .journey { grid-template-columns: repeat(2,1fr); }
 .social-grid, .crisis-copy { grid-template-columns: 1fr; }
 .crisis-copy>div:nth-child(2) { border-left: 0; border-top: 1px solid #dce5ea; }
 .sources-grid { gap: 30px; }
 /* Two readable columns at tablet widths; one below 561px. */
 .kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .kpi-card { padding: 25px 18px; }
 .kpi-value { font-size: 51px; }
 .crisis-flow>div { padding: 18px 12px; }
 .crisis-flow strong { font-size: 12px; }
}
@media (max-width: 560px) {
 .container { width: calc(100% - 32px); }
 .status-inner { font-size: 9px; line-height: 1.35; padding: 5px 0; }
 .header-grid { gap: 9px; }
 .brand { gap: 8px; }
 .brand-mark { width: 35px; height: 33px; flex: none; }
 .brand strong { font-size: 10px; letter-spacing: .07em; }
 .brand small { font-size: 8px; }
 .menu-button { padding: 6px 8px; font-size: 11px; }
 .menu-button span:first-child { font-size: 13px; }
 .language-switch button { width: 31px; min-height: 32px; font-size: 10px; }
 .hero-grid { padding-top: 55px; }
 .hero h1 { font-size: clamp(60px,16vw,78px); margin-bottom: 23px; }
 .hero-tagline { font-size: 20px; }
 .hero-lede { font-size: 14px; line-height: 1.8; }
 .hero-actions .btn { width: 100%; justify-content: space-between; }
 .hero-visual { margin-top: 0; margin-bottom: -15px; }
 .visual-label { display: none; }
 .hero-disclosure { font-size: 10px; }
 .section { padding-block: 64px; }
 .section h2 { font-size: 36px; }
 .section-heading { margin-bottom: 31px; }
 .section-intro { font-size: 14px; }
 .principles-grid, .audience-row, .kpi-grid { grid-template-columns: 1fr; }
 .principle { padding: 25px; }
 .problem-panel { padding: 29px; }
 .problem-panel h3 { font-size: 25px; }
 .audience-card { padding: 24px; }
 .journey { gap: 10px; }
 .journey-step { padding: 20px 14px; min-height: 158px; }
 .journey-step h3 { font-size: 17px; }
 .journey-step p { font-size: 12px; }
 .verification-list>div { padding: 17px; }
 .media-panel { padding: 16px; }
 .media-panel-head { flex-wrap: wrap; }
 .slide-stage { height: 315px; padding: 25px; }
 .slide-stage h4 { font-size: 24px; }
 .slide-stage p { font-size: 12px; }
 .video-stage { height: 340px; }
 .social-card { padding: 22px; }
 .crisis-flow { grid-template-columns: 1fr 1fr; }
 .crisis-flow>div:not(:last-of-type)::after { display: none; }
 .crisis-copy>div { padding: 22px; }
 .kpi-card { min-height: 210px; }
 .kpi-value { font-size: 63px; }
 .measurement-rail { padding: 23px; }
 .rail-steps { gap: 8px; font-size: 12px; }
 .pdf-card { grid-template-columns: 1fr; }
 .pdf-card img { max-height: 320px; object-fit: contain; background: #ddeaf0; }
 .pdf-card-copy { padding: 26px; }
 .source-links { padding: 24px; }
 .footer-content { flex-direction: column; }
 .footer-content>div:last-child { align-items: flex-start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Verified bilateral context, separate from hypothetical campaign outcomes */
.bilateral-section { padding-top: 88px; padding-bottom: 88px; }
.bilateral-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.bilateral-card { border-radius: 15px; padding: 28px 30px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 3px solid #6950a6; }
.bilateral-card>span { display: block; color: #18798c; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.bilateral-card h3 { font-size: 21px; letter-spacing: -.025em; margin: 14px 0 11px; }
.bilateral-card p { font-size: 13px; line-height: 1.7; color: #566b7a; }
.bilateral-card a { color: #0a6e83; font-size: 12px; font-weight: 800; text-underline-offset: 4px; }
.reading-copy-link { display: inline-block; font-size: 12px; color: #075f78; margin-top: 16px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .bilateral-grid { grid-template-columns: 1fr; } .bilateral-card { padding: 25px; } }
.workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; border-radius: 16px; padding: 30px 34px; background: var(--surface); border: 1px solid var(--line); margin-top: 21px; }
.workflow h3 { margin: 12px 0 12px; font-size: 23px; }
.workflow p { margin: 0; color: #5a6e7b; font-size: 13px; line-height: 1.8; }
.workflow ol { margin: 0; padding-left: 21px; color: #344e5e; font-size: 13px; line-height: 1.8; }
.workflow li { padding: 5px 0; }
@media (max-width: 780px) { .workflow { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .workflow { padding: 25px 22px; } }

/* M08-B: dark-on-light governance kicker; the original pale cyan remains on dark panels. */
.workflow .small-label { color: #126b82; }

/* M08-C authentic media exhibition. Original M08-B shell and Neural Plasma palette retained. */
.approved-slide-stage { margin: 0; background: #071b31; border: 1px solid #42758a; border-radius: 12px; padding: 13px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.approved-slide-stage img { display: block; width: min(100%, 430px); height: auto; aspect-ratio: 4/5; object-fit: contain; border-radius: 5px; background: #06192c; }
.approved-slide-caption { width: 100%; color: #f0faff; min-height: 105px; }
.approved-slide-caption .stage-topline { display: block; line-height: 1.55; letter-spacing: .06em; font-size: 10px; color: #9adee8; }
.slide-caption-row { display: flex; gap: 13px; align-items: baseline; padding-top: 9px; }
.slide-counter { flex: none; color: #9cecf4; font-size: 12px; font-weight: 800; }
.approved-slide-caption h4 { font-size: clamp(16px, 1.8vw, 21px); margin: 0; }
.approved-slide-caption p { margin: 7px 0 0; color: #c0dbe8; font-size: 12px; line-height: 1.7; }
.editorial-index { margin-top: 18px; background: #0a253c; border: 1px solid #3b607a; border-radius: 10px; padding: 12px 15px; color: #dceef5; font-size: 12px; }
.editorial-index summary { cursor: pointer; font-weight: 750; color: #b9f2f5; line-height: 1.6; }
.editorial-index ol { padding-left: 20px; margin: 12px 0 0; line-height: 1.75; }
.editorial-index li { padding-bottom: 5px; }
.approved-video-stage { height: auto; padding: 14px; min-height: 360px; }
.approved-video-stage video { display: block; width: min(100%, 340px); max-height: 610px; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #051427; border: 1px solid #50869a; border-radius: 8px; }
.media-file-link { color: #b6eff6; font-size: 12px; line-height: 1.7; font-weight: 750; display: inline-block; margin-top: 17px; text-decoration: underline; text-underline-offset: 4px; }
.subtitle-cues { max-height: 245px; overflow-y: auto; padding-right: 8px; }
.cue-time { font-variant-numeric: tabular-nums; color: #9de6ec; font-size: 11px; margin-right: 5px; }
@media (max-width: 560px) { .approved-slide-stage { padding: 9px; } .approved-video-stage { padding: 10px; } .slide-caption-row { gap: 9px; } .media-panel-head .hold-tag { white-space: normal; } }


/* M08-C R1: observed Firefox desktop media repair, local review only.
   Match media-stage heights, avoid stretched/empty twin cards, preserve 4:5 and 9:16.
   No edits to the approved image/video assets or the original design tokens. */
.media-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: start;
  gap: clamp(16px, 2vw, 24px);
}
.media-panel {
  align-self: start;
  overflow: hidden;
  background: var(--surface-dark);
  box-shadow: var(--shadow-dark);
}
/* Deliberately fixed viewport for the media, not fixed size for the actual file. */
.approved-slide-stage,
.approved-video-stage {
  height: 525px;
  min-height: 0;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 12%, rgba(43, 169, 193, .14), transparent 55%),
    linear-gradient(150deg, #07172c, #0b304b 65%, #07172c);
  border: 1px solid #356784;
  overflow: hidden;
}
.approved-slide-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-content: stretch;
  padding: 13px;
  gap: 11px;
}
.approved-slide-stage #approved-slide-image {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 8, 30, .27);
}
.approved-slide-caption {
  min-height: 0;
  width: 100%;
  padding: 11px 13px;
  background: rgba(5, 23, 40, .78);
  border: 1px solid rgba(96, 196, 218, .21);
  border-radius: 9px;
}
.approved-slide-caption .stage-topline { font-size: 9px; }
.approved-slide-caption .slide-caption-row { padding-top: 5px; }
.approved-slide-caption h4 { font-size: 17px; }
.approved-slide-caption p { line-height: 1.5; margin-top: 5px; }
.approved-video-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
}
.approved-video-stage #campaign-video {
  display: block;
  flex: none;
  height: 100%;
  width: auto;
  max-height: 100%;
  max-width: 100%;
  min-height: 0;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center center;
  background: #06172a;
  border: 1px solid #4d8ea3;
  border-radius: 8px;
}
.media-panel .media-footnote { max-width: 58ch; }
.slide-fullsize-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 13px;
  color: #c9f8fd;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 780px) {
  .media-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .approved-slide-stage, .approved-video-stage { height: 490px; }
  .media-panel { width: 100%; }
}
@media (max-width: 560px) {
  .approved-slide-stage, .approved-video-stage { height: 440px; padding: 9px; }
  .approved-slide-stage { gap: 8px; }
  .approved-slide-caption { padding: 9px; }
  .approved-slide-caption h4 { font-size: 15px; }
  .approved-slide-caption p { font-size: 11px; }
  .approved-slide-caption .stage-topline { font-size: 8px; }
}
@media (max-width: 350px) {
  .approved-slide-stage, .approved-video-stage { height: 410px; }
  .approved-slide-caption { padding: 7px; }
}

/* M08-D Phase 2: readable type and bounded, one-time activation. */
.hero-lede { font-size: clamp(15px,1.1vw,17px); line-height: 1.75; }
.problem-panel p, .principle p, .audience-card p, .bilateral-card p,
.workflow p, .workflow li, .kpi-card p, .social-card p, .pdf-card-copy p {
  font-size: clamp(14px,1vw,16px); line-height: 1.72;
}
.hero-meta, .hero-disclosure, .problem-line, .scope-note, .media-footnote {
  font-size: clamp(12px,.88vw,14px); line-height: 1.65;
}
.small-label, .micro-label, .panel-kicker, .hold-tag, .sample-tag, .social-platform, .kpi-caption { font-size: clamp(11px,.8vw,12px); line-height: 1.45; }
.knowledge-art { max-width: 960px; margin: 0 auto 36px; border: 1px solid var(--edge-dark); border-radius: 19px; overflow: hidden; background: #0b1b34; }
.problem-panel, .knowledge-art { position: relative; overflow: hidden; }
.problem-panel::before, .knowledge-art::before { content: ''; position: absolute; top: 0; left: 0; z-index: 2; width: 100%; height: 2px; pointer-events: none; background: linear-gradient(90deg,transparent,#00d7ff,transparent); transform: translateX(-105%); }
.knowledge-art img { display: block; width: 100%; height: auto; }
.knowledge-art figcaption { padding: 12px 18px; color: #d2e5f0; font-size: clamp(12px,.9vw,14px); line-height: 1.55; }
@media (prefers-reduced-motion: no-preference) {
  .btn, .principle, .audience-card, .media-panel, .guide-launcher { transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, background-color var(--motion-fast) ease; }
  .principle:hover, .audience-card:hover, .media-panel:hover { border-color: #6ebdce; box-shadow: 0 12px 32px rgba(7,19,38,.1), inset 0 1px 0 #fff; }
  .problem-panel:hover { border-color: #7ddcea; }
}

.neural-comet { position: fixed; z-index: 1000; top: 0; left: 0; height: 2px; width: 25px; pointer-events: none; opacity: 0; transform-origin: 0 50%; background: linear-gradient(90deg, #00d7ff 0%, rgba(0,215,255,.45) 50%, transparent 100%); border-radius: 2px; transition: opacity 160ms ease; }
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) { .neural-comet { display: none !important; } }

/* Small nonmodal guide. Content above it remains reachable; no focus trap. */
.portfolio-guide { display: none; position: fixed; z-index: 50; right: 18px; bottom: 18px; width: min(380px,calc(100% - 24px)); font-size: 14px; }
.guide-ready .portfolio-guide { display: flex; flex-direction: column-reverse; align-items: stretch; }
.guide-launcher { display: flex; align-items: center; gap: 10px; margin-left: auto; min-height: 48px; padding: 7px 14px 7px 8px; color: #f2f7ff; background: #0b2943; border: 1px solid #80dbea; border-radius: 999px; box-shadow: 0 7px 22px rgba(2,11,25,.24); font-weight: 700; }
.guide-launcher:hover { background: #15405b; }
.guide-orb { display: block; width: 32px; height: 32px; border: 2px solid #85e6f1; border-radius: 50%; background: radial-gradient(circle at 35% 30%,#ecffff 0 7%,#20d3ed 9% 27%,#5350a4 59%,#11263d 78%); box-shadow: inset -3px -3px 5px #09182b; }
.guide-panel[hidden] { display: none; }
.guide-panel { max-height: min(580px,calc(100dvh - 94px)); overflow-y: auto; overscroll-behavior: contain; margin-bottom: 9px; padding: 16px; color: #f2f7ff; background: #0c2038; border: 1px solid #5fa4bb; border-radius: 16px; box-shadow: 0 15px 42px rgba(2,11,25,.32); }
.guide-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.guide-kicker { color: #8de8f0; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.guide-head h2 { margin: 3px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.guide-close { flex: none; width: 40px; height: 40px; color: #fff; background: #163956; border: 1px solid #6296ad; border-radius: 9px; font-size: 26px; line-height: 1; }
.guide-disclosure { color: #d0e2ed; font-size: 12px; line-height: 1.55; margin: 0 0 12px; }
.guide-answer { min-height: 72px; padding: 12px; background: #15334d; border-left: 3px solid #00d7ff; border-radius: 8px; line-height: 1.55; }
.guide-answer p { margin: 0; }
.guide-answer a { display: inline-block; margin-top: 8px; color: #99f2fb; font-weight: 700; text-underline-offset: 3px; }
.guide-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.guide-suggestions button { color: #e4f7fb; background: #183c58; border: 1px solid #6495a8; border-radius: 8px; padding: 6px 8px; font-size: 12px; line-height: 1.35; }
.guide-suggestions button:hover { border-color: #9ceaf5; }
.guide-form label { display: block; margin-bottom: 5px; font-weight: 700; }
.guide-form>div { display: flex; gap: 6px; }
.guide-form input { min-width: 0; flex: 1; height: 42px; padding: 8px 10px; border: 1px solid #8fb8c8; border-radius: 8px; color: #11253c; background: #fff; font: inherit; }
.guide-form button { color: #071326; background: #00d7ff; border: 0; border-radius: 8px; padding: 8px 12px; font-weight: 800; }
.guide-motion-setting { display: flex; gap: 8px; align-items: center; margin-top: 11px; color: #d0e2ed; font-size: 12px; }
.guide-motion-setting input { width: 18px; height: 18px; accent-color: #00d7ff; }
.guide-motion-setting[hidden] { display: none; }
.portfolio-guide :focus-visible { outline: 3px solid #00d7ff; outline-offset: 2px; box-shadow: 0 0 0 2px #071326; }
@media (max-width: 560px) {
  .portfolio-guide { right: 12px; bottom: 12px; }
  .guide-panel { max-height: min(520px,64dvh); }
  .guide-launcher { width: 48px; height: 48px; padding: 6px; justify-content: center; }
  .guide-launcher>span:not(.guide-orb) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .approved-slide-caption p { font-size: 12px; }
  .approved-slide-caption .stage-topline { font-size: 9px; letter-spacing: .03em; }
}

/* R4 hierarchy: signature activations → decorative ambient loops → stable reference content.
   Static HTML is the settled state; all motion is progressive enhancement. */
:root {
  --neural-total: 1400ms;
  --neural-title: 420ms;
  --neural-copy: 420ms;
  --neural-ease: cubic-bezier(.22,.75,.25,1);
}
.neural-card, .neural-sequence, .hero-copy { position: relative; }
.neural-card { --neural-delay: 0ms; }
.neural-feature::before, .neural-creative::before {
  content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 2px;
  pointer-events: none; opacity: 0; z-index: 2;
  background: linear-gradient(90deg,transparent 5%,#00d7ff 60%,#b4f9ff 75%,transparent);
}
.neural-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; opacity: 0; }
.neural-route path { fill: none; stroke: #68edff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 12 112; stroke-dashoffset: 12; }
.neural-sequence > .neural-route { z-index: 2; }
/* Seven small SVG accents; the original external image stays intact and readable. */
.knowledge-ambient { position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 12 / 5; pointer-events: none; overflow: hidden; }
.knowledge-ambient > * { fill: none; stroke: #9af3ff; stroke-width: 2; opacity: 0; }
.knowledge-ambient .ambient-node { fill: #46dfff; stroke: none; transform-box: fill-box; transform-origin: center; }
.ambient-toggle { display: block; margin: 14px 18px 0; padding: 8px 12px; border: 1px solid #63899f; border-radius: 6px; color: #e1f6ff; background: #142f46; font: inherit; font-size: 12px; cursor: pointer; }
.ambient-toggle[hidden] { display: none; }
.ambient-toggle:focus-visible { outline: 3px solid #68edff; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .neural-card.neural-active, .neural-sequence.neural-active > .neural-card {
    animation: neural-panel var(--neural-total) var(--neural-delay) var(--neural-ease);
  }
  .neural-medium { --neural-total: 720ms; --neural-title: 280ms; --neural-copy: 280ms; }
  .neural-medium.neural-active { animation-name: neural-secondary; }
  .neural-card.neural-active > h3, .neural-sequence.neural-active h3 {
    animation: neural-title var(--neural-title) calc(var(--neural-delay) + 320ms) var(--neural-ease) backwards;
  }
  .neural-card.neural-active > p, .neural-sequence.neural-active .neural-card > p {
    animation: neural-copy var(--neural-copy) calc(var(--neural-delay) + 580ms) var(--neural-ease) backwards;
  }
  .neural-medium.neural-active > h3, .neural-medium.neural-active > p {
    animation: neural-secondary 280ms calc(var(--neural-delay) + 130ms) var(--neural-ease) backwards;
  }
  .neural-feature.neural-active::before, .neural-sequence.neural-active > .neural-card::before,
  .neural-creative.neural-active::before, .neural-creative.neural-active .knowledge-art::before {
    animation: neural-arrival 540ms var(--neural-delay,0ms) ease-in-out;
  }
  /* Animate only the featured art panel, section title and short introduction. */
  .neural-creative.neural-active { animation: none; }
  .neural-creative.neural-active .knowledge-art { animation: neural-panel 1400ms var(--neural-ease); }
  .neural-creative.neural-active h2 { animation: neural-title 420ms 320ms var(--neural-ease) backwards; }
  .neural-creative.neural-active .section-intro { animation: neural-copy 420ms 580ms var(--neural-ease) backwards; }
  .neural-hero.neural-active h1 { animation: neural-title 720ms 260ms var(--neural-ease) backwards; }
  .neural-hero.neural-active .hero-tagline, .neural-hero.neural-active .hero-tagline-secondary { animation: neural-copy 420ms 540ms var(--neural-ease) backwards; }
  .neural-hero.neural-active .hero-lede { animation: neural-copy 500ms 700ms var(--neural-ease) backwards; }
  .neural-active .neural-route { animation: neural-route-visible 2200ms linear; }
  .neural-active .neural-route path { animation: neural-travel 2100ms ease-in-out; }
  .neural-active .neural-route path:nth-child(2) { animation-delay: 180ms; }
  .neural-sequence.neural-active .neural-route { animation-duration: 2100ms; }
  .neural-sequence.neural-active .neural-route path { animation-duration: 2050ms; }
  @keyframes neural-arrival { 0% { opacity: 0; transform: scaleX(.02); transform-origin: left; } 24% { opacity: 1; } 80% { opacity: .8; } 100% { opacity: 0; transform: scaleX(1); transform-origin: left; } }
  @keyframes neural-panel {
    0%,10% { transform: translateY(14px); }
    18% { border-color: #56c8e6; box-shadow: inset 2px 0 #00d7ff; }
    42% { transform: translateY(0); border-color: #8deafb; box-shadow: inset 0 0 0 1px #5ec8df, inset 0 12px 28px #7371d51c, 0 4px 16px #00bbdd20; }
    72% { transform: none; border-color: #77dced; box-shadow: inset 0 0 0 1px #5ec8df88; }
    100% { transform: none; }
  }
  @keyframes neural-title { from { transform: translateY(18px); opacity: .24; } to { transform: none; opacity: 1; } }
  @keyframes neural-secondary { from { transform: translateY(4px); opacity: .9; } to { transform: none; opacity: 1; } }
  @keyframes neural-copy { from { transform: translateY(10px); opacity: .4; } to { transform: none; opacity: 1; } }
  @keyframes neural-travel { from { stroke-dashoffset: 12; } to { stroke-dashoffset: -100; } }
  @keyframes neural-route-visible { 0%,100% { opacity: 0; } 10%,85% { opacity: 1; } }
  /* Matching dash offsets plus gentle endpoint fades prevent visible loop resets. */
  .ambient-pulse { stroke-dasharray: 5 95; animation: ambient-travel 6400ms linear infinite; }
  .ambient-bridge { animation-duration: 7800ms; animation-delay: -2800ms; stroke-width: 3; }
  .ambient-node { animation: ambient-breathe 4800ms ease-in-out infinite; }
  .ambient-node:nth-of-type(2) { animation-delay: -1600ms; }
  .ambient-node:nth-of-type(3) { animation-delay: -3200ms; }
  .ambient-core { stroke-dasharray: 14 86; animation: ambient-circulate 5600ms linear infinite; }
  .ambient-shimmer { stroke-dasharray: 10 90; animation: ambient-shimmer 9600ms linear infinite; }
  .knowledge-ambient > * { animation-play-state: paused; }
  .ambient-running .knowledge-ambient > * { animation-play-state: running; }
  @keyframes ambient-travel { 0% { stroke-dashoffset: 5; opacity: 0; } 12%,82% { opacity: .75; } 100% { stroke-dashoffset: -95; opacity: 0; } }
  @keyframes ambient-breathe { 0%,100% { opacity: .12; transform: scale(.82); } 50% { opacity: .32; transform: scale(1.18); } }
  @keyframes ambient-circulate { from { stroke-dashoffset: 0; opacity: .45; } to { stroke-dashoffset: -100; opacity: .45; } }
  @keyframes ambient-shimmer { 0%,20%,100% { opacity: 0; } 40%,68% { opacity: .55; } 0% { stroke-dashoffset: 10; } 100% { stroke-dashoffset: -90; } }
}
@media (max-width: 600px) {
  .neural-route path { stroke-width: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .knowledge-ambient, .ambient-toggle { display: none; }
}

/* Section 06: comfortable reading and a quiet end to the five-step sequence. */
#crisis .section-intro { font-size: 16px; }
#crisis .crisis-flow strong { font-size: 14px; line-height: 1.4; }
#crisis .crisis-copy p { font-size: 16px; line-height: 1.75; }
#crisis .scope-note { font-size: 14px; line-height: 1.7; }
#crisis .crisis-flow > div:last-child::after {
  content: ''; position: absolute; top: 35px; right: 15px; bottom: auto; left: auto;
  width: 9px; height: 9px; border: 1px solid #a5edf1; border-radius: 50%;
  background: #54cce0; box-shadow: 0 0 8px rgba(84, 204, 224, .65);
  pointer-events: none;
}
