@font-face {
    font-family: "Source Sans 3";
    src: url("/landing/fonts/source-sans-3-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("/landing/fonts/source-sans-3-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("/landing/fonts/source-sans-3-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("/landing/fonts/source-sans-3-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Source Serif 4";
    src: url("/landing/fonts/source-serif-4-variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
}

:root {
    --blue: var(--plt-brand-primary-800);
    --blue-dark: var(--plt-brand-primary-900);
    --blue-okabe: var(--plt-data-accent-600);
    --olive: var(--plt-brand-secondary-600);
    --paper: var(--plt-canvas);
    --paper-deep: var(--plt-surface-muted);
    --ink: var(--plt-ink);
    --muted: var(--plt-muted);
    --line: var(--plt-line);
    --white: var(--plt-surface);
    --shadow: 0 24px 70px rgba(23, 32, 51, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--plt-font-interface);
    font-size: 18px;
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
}
button, a { font-family: var(--plt-font-interface); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; }
h1, h2 { font-family: var(--plt-font-editorial); font-weight: 600; }
h1 { font-size: clamp(3.2rem, 5.2vw, 5.7rem); }
h2 { font-size: clamp(2.35rem, 4vw, 4.2rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 600; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 10px; left: 10px; z-index: 2000; padding: 10px 14px;
    color: var(--white); background: var(--blue); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.section-shell { width: min(1220px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: clamp(88px, 11vw, 154px) 0; border-top: 1px solid var(--line); }
main > section[id] { scroll-margin-top: calc(var(--plotei-brandbar-height, 78px) + 8px); }
.eyebrow {
    margin-bottom: 18px; color: var(--olive); font-size: 0.83rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
}
.section-intro { max-width: 720px; margin-bottom: 74px; }
.section-intro p:last-child { max-width: 660px; color: var(--muted); }
.wide-intro { max-width: 920px; }
.wide-intro p:last-child { max-width: 760px; }
.text-link { color: var(--blue); font-weight: 650; text-decoration-thickness: 1px; }
.text-link:hover, .text-link:focus-visible { color: var(--blue-okabe); }
:focus-visible { outline: 3px solid var(--plt-focus-ring); outline-offset: 3px; }

.button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
    padding: 13px 22px; border: 1px solid var(--blue); border-radius: var(--plt-radius-control);
    color: var(--white); background: var(--blue); font-size: 1rem; font-weight: 650;
    text-decoration: none; transition: background-color 160ms ease, color 160ms ease;
}
.button:hover, .button:focus-visible { color: var(--white); background: var(--blue-dark); }
.button-small { min-height: 42px; padding: 9px 16px; font-size: 0.9rem; }
.button-light { color: var(--blue); background: var(--white); border-color: var(--white); }
.button-light:hover, .button-light:focus-visible { color: var(--white); background: transparent; }

.site-header {
    --scroll-progress: 0;
    position: fixed; inset: 0 0 auto; z-index: 1000;
    color: var(--white); background: var(--plotei-brandbar-bg, var(--blue)); transition: box-shadow 160ms ease;
}
.site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: rgba(255,255,255,0.82);
    transform: scaleX(var(--scroll-progress)); transform-origin: left center; will-change: transform;
}
.motion-ready .site-header { animation: header-arrival 620ms var(--plt-ease-expressive) both; }
.site-header.scrolled { box-shadow: 0 2px 7px rgba(5, 19, 43, 0.22); }
/* Altura, margens e logo vêm de /landing/plotei-brandbar.css (iguais ao app). */
.nav-shell {
    width: 100%; margin: 0;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.nav-menu { justify-self: center; display: flex; align-items: center; gap: 30px; }
.nav-menu a { position: relative; color: #dbe5f3; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: color 180ms ease; }
.nav-menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
    background: var(--white); transform: scaleX(0); transform-origin: right center;
    transition: transform 240ms var(--plt-ease-expressive);
}
.nav-menu a:hover, .nav-menu a:focus-visible { color: var(--white); }
.nav-menu a:hover::after, .nav-menu a:focus-visible::after, .nav-menu a[aria-current="location"]::after {
    transform: scaleX(1); transform-origin: left center;
}
.nav-menu a[aria-current="location"] { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--white); }
.nav-cta { color: var(--blue); background: var(--white); border-color: var(--white); }
.nav-cta:hover, .nav-cta:focus-visible { color: var(--white); background: transparent; }

.hero {
    min-height: min(900px, 100vh); padding: 132px max(24px, calc((100vw - 1380px) / 2)) 72px;
    display: grid; grid-template-columns: minmax(340px, 0.86fr) minmax(580px, 1.14fr);
    align-items: center; gap: clamp(48px, 5vw, 88px);
    background: radial-gradient(circle at 82% 28%, rgba(0,114,178,0.10), transparent 29%), var(--paper);
}
.hero-copy { max-width: 640px; }
.hero-copy h1 { margin-bottom: 30px; color: var(--blue); }
.hero-lead { max-width: 560px; margin-bottom: 34px; color: #3f4958; font-size: 1.25rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.hero-note { margin-top: 42px; color: var(--muted); font-size: 0.92rem; }

.hero-motion { position: relative; min-height: 760px; perspective: 1200px; transform-style: preserve-3d; isolation: isolate; }
.hero-motion::before {
    content: ""; position: absolute; left: 17%; right: 2%; bottom: 2%; height: 28%; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(23,32,51,0.14), rgba(23,32,51,0) 70%);
    filter: blur(12px); transform: rotate(-4deg); z-index: 0; pointer-events: none;
}
.motion-storyline {
    position: absolute; inset: 0 0 auto; z-index: 9; display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 9px; margin: 0; padding: 0 0 14px; list-style: none;
}
.motion-storyline::before, .motion-storyline::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
}
.motion-storyline::before { background: var(--line); }
.motion-storyline::after {
    right: auto; width: 100%; background: var(--blue-okabe);
    transform-origin: left center;
}
.motion-storyline li { min-width: 0; color: var(--muted); }
.motion-storyline span { display: block; color: var(--blue-okabe); font-size: 0.53rem; font-weight: 750; letter-spacing: 0.1em; }
.motion-storyline strong { display: block; color: var(--blue); font-size: 0.72rem; line-height: 1.15; }
.motion-storyline small { display: block; margin-top: 2px; font-size: 0.51rem; line-height: 1.15; white-space: nowrap; }
.motion-question {
    position: absolute; left: 1%; top: 13%; z-index: 7; width: min(76%, 570px); padding: 14px 16px;
    border: 1px solid rgba(12,50,111,0.16); border-top: 3px solid var(--blue-okabe); color: var(--blue); background: rgba(255,255,255,0.98);
    box-shadow: 0 15px 38px rgba(23,32,51,0.12); opacity: 0; pointer-events: none;
}
.motion-ui-header { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-bottom: 10px; }
.motion-ui-header > span { color: var(--blue); font-size: 0.72rem; font-weight: 750; }
.motion-ui-header > small { color: var(--muted); font-size: 0.52rem; }
.motion-selection-controls { display: grid; grid-template-columns: 0.7fr 0.65fr 1.2fr 1.45fr; gap: 6px; }
.motion-selection-controls label { position: relative; min-width: 0; padding: 6px 7px; border: 1px solid var(--line); background: #f8fafc; }
.motion-selection-controls label span { display: block; color: var(--muted); font-size: 0.43rem; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.05em; }
.motion-selection-controls label strong { display: block; overflow: hidden; margin-top: 2px; color: var(--ink); font-size: 0.55rem; font-weight: 650; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.motion-search-field { padding-right: 22px !important; background: var(--white) !important; }
.motion-search-field i { position: absolute; right: 7px; bottom: 5px; color: var(--blue-okabe); font-size: 0.72rem; font-style: normal; }
.motion-question-results { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.motion-question-results li { display: grid; grid-template-columns: 14px 48px minmax(0, 1fr); gap: 4px; align-items: center; min-width: 0; padding: 4px 6px; border: 1px solid #e2e7ee; }
.motion-question-results li i { display: grid; width: 12px; height: 12px; place-items: center; color: var(--white); background: var(--blue); font-size: 0.4rem; font-style: normal; }
.motion-question-results li strong { color: var(--blue); font-size: 0.51rem; }
.motion-question-results li span { overflow: hidden; color: var(--muted); font-size: 0.48rem; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.motion-analysis-card {
    position: absolute; right: 1%; top: 16%; z-index: 7; width: min(56%, 430px); padding: 15px 17px 13px;
    border: 1px solid rgba(12,50,111,0.17); border-top: 3px solid var(--olive); background: rgba(255,255,255,0.98);
    box-shadow: 0 18px 44px rgba(23,32,51,0.14); opacity: 0; pointer-events: none;
}
.motion-analysis-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.motion-analysis-card dl div { min-width: 0; padding: 6px 7px; border: 1px solid var(--line); background: #f8fafc; }
.motion-analysis-card dt { color: var(--muted); font-size: 0.45rem; text-transform: uppercase; letter-spacing: 0.04em; }
.motion-analysis-card dd { overflow: hidden; margin: 2px 0 0; color: var(--ink); font-size: 0.57rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.motion-analysis-card > p { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; padding-top: 7px; border-top: 1px solid var(--line); font-size: 0.5rem; }
.motion-analysis-card > p span { color: var(--muted); }
.motion-analysis-card > p strong { color: var(--olive); }
.motion-table-plane {
    position: absolute; left: -2%; top: 26%; width: 60%; padding: 20px 22px 18px;
    border: 1px solid rgba(12,50,111,0.16); border-radius: 5px; background: rgba(255,255,255,0.98);
    box-shadow: 0 28px 70px rgba(23,32,51,0.16); opacity: 0.3;
    transform: translate3d(-36px,118px,-76px) rotateY(-14deg) rotateX(8deg) rotateZ(-4deg) scale(0.68);
    transform-origin: 50% 50%; will-change: transform, opacity; z-index: 2;
}
.motion-table-kicker { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 9px; color: var(--muted); font-size: 0.61rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.motion-table-kicker strong { color: var(--blue); }
.motion-table { width: 100%; border-collapse: collapse; color: var(--ink); font-family: var(--plt-font-editorial); font-size: 0.7rem; font-variant-numeric: tabular-nums lining-nums; }
.motion-table caption { padding: 0 0 10px; color: var(--ink); font-family: var(--plt-font-editorial); font-size: 0.8rem; font-weight: 650; text-align: left; }
.motion-table thead { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.motion-table tbody { border-bottom: 2px solid var(--ink); }
.motion-table th, .motion-table td { padding: 7px; font-family: var(--plt-font-editorial); text-align: right; white-space: nowrap; }
.motion-table th:first-child, .motion-table td:first-child { text-align: left; }
.motion-table th { font-weight: 650; }
.motion-table .motion-total { border-top: 1px solid var(--line); font-weight: 700; }
.motion-ci-cell { position: relative; color: var(--blue); background: rgba(220,231,245,0.72); }
.motion-ci-cell::after { content: ""; position: absolute; inset: 2px 4px; border: 1px solid transparent; pointer-events: none; }
.motion-transfer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.motion-transfer i { position: absolute; left: 30%; width: 30%; height: 1px; opacity: 0; border-top: 1px dashed rgba(0,114,178,0.56); transform-origin: left center; }
.motion-transfer i::before { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-okabe); }
.motion-transfer i:nth-child(1) { top: 48%; transform: rotate(-12deg); }
.motion-transfer i:nth-child(2) { top: 55%; transform: rotate(-4deg); }
.motion-transfer i:nth-child(3) { top: 62%; transform: rotate(5deg); }
.motion-chart-card {
    position: absolute; left: -1%; bottom: 0; width: 62%; margin: 0; padding: 20px 22px 16px;
    border: 1px solid rgba(12,50,111,0.18); border-radius: 10px; background: var(--white);
    box-shadow: 0 28px 64px rgba(23,32,51,0.17); opacity: 0.94;
    transform: translate3d(0,0,28px) rotateY(-5deg) rotateZ(-1.2deg) scale(0.78);
    transform-origin: left bottom; will-change: transform, opacity; z-index: 4;
}
.motion-chart-card figcaption strong, .motion-chart-card figcaption span { display: block; }
.motion-chart-card figcaption strong { color: var(--blue); font-size: 0.79rem; }
.motion-chart-card figcaption span { margin-top: 2px; color: var(--muted); font-size: 0.58rem; }
.motion-figure-notes { margin-top: 2px; padding-top: 6px; border-top: 1px solid var(--line); }
.motion-figure-notes p { margin: 2px 0 0; color: var(--muted); font-size: 0.46rem; line-height: 1.26; }
.motion-figure-notes strong { color: #4f5866; font-weight: 700; }
.motion-footnote { padding-left: 8px; text-indent: -7px; }
.motion-forest-plot { width: 100%; height: auto; overflow: visible; }
.motion-forest-plot text { font-family: var(--plt-font-interface); }
.motion-plot-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.motion-plot-axis { stroke: var(--plt-line-strong); stroke-width: 1; }
.motion-plot-label { fill: var(--ink); font-size: 11px; }
.motion-plot-tick, .motion-plot-value { fill: var(--muted); font-size: 9px; }
.motion-plot-value { font-weight: 600; }
.motion-ci-line, .motion-ci-cap { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.motion-ci-women { stroke: var(--plt-viz-viridis-purple); }
.motion-ci-men { stroke: var(--plt-viz-viridis-green); }
.motion-ci-total { stroke: var(--plt-viz-viridis-teal); }
.motion-estimate-point { stroke: var(--white); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.motion-map-card {
    position: absolute; right: 0; bottom: 4%; z-index: 5; width: 54%; margin: 0; padding: 15px 16px 13px;
    border: 1px solid rgba(12,50,111,0.18); border-radius: 10px; background: var(--white);
    box-shadow: 0 34px 80px rgba(23,32,51,0.22);
    transform: translate3d(0,0,78px) rotateY(4deg) rotateZ(0.8deg);
    transform-origin: 50% 50%; will-change: transform, opacity;
}
.motion-map-card figcaption strong, .motion-map-card figcaption span { display: block; }
.motion-map-card figcaption strong { color: var(--blue); font-size: 0.76rem; }
.motion-map-card figcaption span { margin-top: 2px; color: var(--muted); font-size: 0.55rem; }
.motion-diabetes-map { width: 100%; height: 230px; margin-top: 8px; overflow: visible; background: var(--paper); }
.motion-diabetes-state { stroke: rgba(255,255,255,0.96); stroke-width: 0.85; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.motion-map-legend {
    display: flex; align-items: center; gap: 6px; margin: 7px 0 0; padding-top: 7px;
    border-top: 1px solid var(--line); color: var(--muted); font-size: 0.52rem;
}
.motion-map-legend strong { margin-right: auto; color: var(--ink); font-size: 0.54rem; }
.motion-map-legend i { width: 72px; height: 6px; background: linear-gradient(90deg, #440154, #3b528b, #21918c, #5ec962, #fde725); }
.motion-map-notes { margin-top: 6px; padding-top: 5px; }
.motion-bridge {
    position: absolute; left: 50%; top: 29%; z-index: 8; width: min(78%, 560px); padding: 18px 22px;
    color: var(--white); background: rgba(9,39,85,0.96); border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 24px 70px rgba(23,32,51,0.24); opacity: 0; transform: translate(-50%, 16px) scale(0.94);
    pointer-events: none;
}
.motion-bridge span { display: block; color: #b8d9ec; font-size: 0.58rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; }
.motion-bridge strong { display: block; margin: 5px 0 9px; font-family: var(--plt-font-editorial); font-size: 1.16rem; line-height: 1.1; }
.motion-bridge p { margin: 0; color: rgba(255,255,255,0.78); font-size: 0.64rem; }
.motion-bridge i { padding: 0 7px; color: var(--blue-okabe); font-style: normal; }
.motion-outcome-copy {
    position: absolute; left: 2%; top: 15%; z-index: 6; width: min(58%, 470px);
    color: var(--blue);
}
.motion-outcome-copy span { display: block; margin-bottom: 2px; color: var(--olive); font-size: 0.65rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; }
.motion-outcome-copy strong { display: block; font-family: var(--plt-font-editorial); font-size: clamp(1.15rem, 1.65vw, 1.55rem); line-height: 1.08; }
.motion-outcome-copy small { display: block; max-width: 420px; margin-top: 7px; color: var(--muted); font-size: 0.6rem; line-height: 1.25; }
.motion-replay {
    position: absolute; top: 14%; right: 1%; z-index: 10; display: grid; width: 44px; height: 44px; padding: 0; place-items: center;
    border: 1px solid var(--line); border-radius: 999px; color: var(--blue); background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 24px rgba(23,32,51,0.08); cursor: pointer;
    transition: opacity 180ms ease, transform 180ms ease, color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.motion-replay svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.motion-replay:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.hero-motion.is-playing .motion-replay { opacity: 0; pointer-events: none; transform: translateY(-7px); }

.hero-motion.is-playing::before { animation: motion-ground-shadow var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-storyline::after { animation: motion-story-progress var(--plt-motion-scene) linear both; }
.hero-motion.is-playing .motion-storyline li:nth-child(1) { animation: motion-step-choose var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-storyline li:nth-child(2) { animation: motion-step-estimate var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-storyline li:nth-child(3) { animation: motion-step-visualize var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-storyline li:nth-child(4) { animation: motion-step-publish var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-question { animation: motion-question-story var(--plt-motion-scene) var(--plt-ease-expressive) both; }
.hero-motion.is-playing .motion-analysis-card { animation: motion-analysis-story var(--plt-motion-scene) var(--plt-ease-expressive) both; }
.hero-motion.is-playing .motion-table-plane { animation: motion-table-story var(--plt-motion-scene) var(--plt-ease-expressive) both; }
.hero-motion.is-playing .motion-ci-cell { animation: motion-precision-story var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-ci-cell::after { animation: motion-ci-cell-story var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-transfer i { animation: motion-transfer-story var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-chart-card { animation: motion-chart-story var(--plt-motion-scene) var(--plt-ease-expressive) both; }
.hero-motion.is-playing .motion-bridge { animation: motion-bridge-story var(--plt-motion-scene) var(--plt-ease-expressive) both; }
.hero-motion.is-playing .motion-map-card { animation: motion-map-story var(--plt-motion-scene) var(--plt-ease-expressive) both; }
.hero-motion.is-playing .motion-outcome-copy { animation: motion-outcome-story var(--plt-motion-scene) var(--plt-ease-expressive) both; }
.hero-motion.is-playing .motion-plot-grid,
.hero-motion.is-playing .motion-plot-axis,
.hero-motion.is-playing .motion-plot-label,
.hero-motion.is-playing .motion-plot-tick { animation: motion-plot-frame-story var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-ci-line,
.hero-motion.is-playing .motion-ci-cap { animation: motion-ci-draw-story var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-estimate-point { animation: motion-point-story var(--plt-motion-scene) var(--plt-ease-expressive) both; }
.hero-motion.is-playing .motion-plot-value { animation: motion-value-story var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-playing .motion-chart-card figcaption,
.hero-motion.is-playing .motion-chart-card .motion-figure-notes { animation: motion-metadata-story var(--plt-motion-scene) var(--plt-ease-standard) both; }
.hero-motion.is-paused *, .hero-motion.is-paused::before { animation-play-state: paused !important; }

@keyframes motion-story-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes motion-step-choose { 0%, 21% { opacity: 1; transform: translateY(-2px); } 27%, 100% { opacity: 0.48; transform: none; } }
@keyframes motion-step-estimate { 0%, 18% { opacity: 0.48; } 24%, 48% { opacity: 1; transform: translateY(-2px); } 55%, 100% { opacity: 0.48; transform: none; } }
@keyframes motion-step-visualize { 0%, 48% { opacity: 0.48; } 54%, 73% { opacity: 1; transform: translateY(-2px); } 79%, 100% { opacity: 0.48; transform: none; } }
@keyframes motion-step-publish { 0%, 74% { opacity: 0.48; } 81%, 100% { opacity: 1; transform: translateY(-2px); } }
@keyframes motion-question-story {
    0% { opacity: 0; transform: translateY(10px); }
    4%, 20% { opacity: 1; transform: translateY(0); }
    26%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes motion-analysis-story {
    0%, 17% { opacity: 0; transform: translateY(12px) scale(0.96); }
    23%, 35% { opacity: 1; transform: translateY(0) scale(1); }
    42%, 100% { opacity: 0; transform: translateY(-8px) scale(0.98); }
}

@keyframes motion-ground-shadow {
    0%, 9% { opacity: 0; transform: rotate(-4deg) scale(0.7); }
    24%, 100% { opacity: 1; transform: rotate(-4deg) scale(1); }
}
@keyframes motion-table-story {
    0% { opacity: 0; transform: translate3d(-58px,94px,-120px) rotateY(-20deg) rotateX(14deg) rotateZ(-6deg) scale(0.66); }
    10% { opacity: 0.5; }
    22%, 40% { opacity: 1; transform: translate3d(0,0,30px) rotateY(-6deg) rotateX(3deg) rotateZ(-0.8deg) scale(1); }
    68%, 100% { opacity: 0.3; transform: translate3d(-36px,118px,-76px) rotateY(-14deg) rotateX(8deg) rotateZ(-4deg) scale(0.68); }
}
@keyframes motion-precision-story {
    0%, 25% { color: var(--ink); background: var(--white); }
    32%, 48% { color: var(--blue); background: var(--plt-brand-primary-100); }
    64%, 100% { color: var(--blue); background: rgba(220,231,245,0.72); }
}
@keyframes motion-ci-cell-story {
    0%, 29% { border-color: transparent; }
    35%, 49% { border-color: var(--blue-okabe); box-shadow: 0 0 0 2px rgba(0,114,178,0.12); }
    62%, 100% { border-color: transparent; box-shadow: none; }
}
@keyframes motion-transfer-story {
    0%, 42% { opacity: 0; transform: scaleX(0) rotate(-8deg); }
    55%, 68% { opacity: 0.72; transform: scaleX(1) rotate(-2deg); }
    82%, 100% { opacity: 0; transform: scaleX(1.08) rotate(0); }
}
@keyframes motion-bridge-story {
    0%, 61% { opacity: 0; transform: translate(-50%, 16px) scale(0.94); }
    66%, 72% { opacity: 1; transform: translate(-50%, 0) scale(1); }
    77%, 100% { opacity: 0; transform: translate(-50%, -12px) scale(0.98); }
}
@keyframes motion-chart-story {
    0%, 36% { opacity: 0; transform: translate3d(-150px,92px,-90px) rotateY(-12deg) rotateX(9deg) rotateZ(-4deg) scale(0.52); }
    48% { opacity: 0.32; }
    64%, 72% { opacity: 1; transform: translate3d(115px,-8px,64px) rotateY(5deg) rotateZ(0.8deg) scale(1); }
    86%, 100% { opacity: 0.94; transform: translate3d(0,0,28px) rotateY(-5deg) rotateZ(-1.2deg) scale(0.78); }
}
@keyframes motion-map-story {
    0%, 68% { opacity: 0; transform: translate3d(-130px,70px,-80px) rotateY(-10deg) rotateX(7deg) rotateZ(-3deg) scale(0.55); }
    76% { opacity: 0.28; }
    90%, 100% { opacity: 1; transform: translate3d(0,0,78px) rotateY(4deg) rotateZ(0.8deg) scale(1); }
}
@keyframes motion-outcome-story {
    0%, 78% { opacity: 0; transform: translateY(-10px); }
    90%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes motion-plot-frame-story { 0%, 46% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes motion-ci-draw-story {
    0%, 49% { opacity: 0; stroke-dasharray: 180; stroke-dashoffset: 180; }
    55% { opacity: 1; }
    69%, 100% { opacity: 1; stroke-dasharray: 180; stroke-dashoffset: 0; }
}
@keyframes motion-point-story {
    0%, 57% { opacity: 0; transform: scale(0); }
    65% { opacity: 1; transform: scale(1.28); }
    72%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes motion-value-story { 0%, 62% { opacity: 0; transform: translateX(-6px); } 71%, 100% { opacity: 1; transform: translateX(0); } }
@keyframes motion-metadata-story { 0%, 58% { opacity: 0; transform: translateY(5px); } 70%, 100% { opacity: 1; transform: translateY(0); } }

@keyframes header-arrival {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

.map-proof { padding: clamp(72px, 8vw, 112px) 0; border-top: 1px solid var(--line); background: var(--white); }
.map-proof .product-window { width: min(1100px, 100%); margin: 0 auto; }
.motion-ready .map-continuation { position: relative; overflow: hidden; perspective: 1400px; }
.motion-ready .map-continuation::before {
    content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: clamp(44px, 5vw, 72px);
    background: linear-gradient(var(--blue-okabe), rgba(0,114,178,0));
    opacity: 0; transform: scaleY(0); transform-origin: top center;
    transition: opacity 320ms ease, transform 700ms var(--plt-ease-expressive);
}
.motion-ready .map-continuation::after {
    content: ""; position: absolute; top: clamp(38px, 4.4vw, 64px); left: calc(50% - 4px); width: 8px; height: 8px;
    border: 2px solid var(--blue-okabe); border-radius: 50%; background: var(--white);
    opacity: 0; transform: scale(0); transition: opacity 220ms 480ms ease, transform 420ms 480ms var(--plt-ease-expressive);
}
.motion-ready .map-continuation .product-window {
    opacity: 0; transform: translate3d(0, -74px, -180px) rotateX(9deg) scale(0.92);
    transform-origin: 50% 0; will-change: transform, opacity;
    transition: opacity 580ms 180ms ease, transform 980ms 120ms var(--plt-ease-expressive), box-shadow 600ms 320ms ease;
    box-shadow: 0 8px 20px rgba(23,32,51,0.05);
}
.motion-ready .map-continuation.is-map-visible::before { opacity: 0.72; transform: scaleY(1); }
.motion-ready .map-continuation.is-map-visible::after { opacity: 1; transform: scale(1); }
.motion-ready .map-continuation.is-map-visible .product-window {
    opacity: 1; transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    box-shadow: 0 24px 62px rgba(23,32,51,0.13);
}
.motion-ready .map-continuation .chart-heading,
.motion-ready .map-continuation .legend-title,
.motion-ready .map-continuation .legend,
.motion-ready .map-continuation .capital-legend,
.motion-ready .map-continuation .map-publication-notes,
.motion-ready .map-continuation .map-summary {
    opacity: 0; transform: translateY(12px);
}
.motion-ready .map-continuation.is-map-visible .chart-heading,
.motion-ready .map-continuation.is-map-visible .legend-title,
.motion-ready .map-continuation.is-map-visible .legend,
.motion-ready .map-continuation.is-map-visible .capital-legend,
.motion-ready .map-continuation.is-map-visible .map-publication-notes,
.motion-ready .map-continuation.is-map-visible .map-summary {
    opacity: 1; transform: translateY(0); transition: opacity 520ms ease, transform 620ms var(--plt-ease-expressive);
}
.motion-ready .map-continuation.is-map-visible .chart-heading { transition-delay: 420ms; }
.motion-ready .map-continuation.is-map-visible .map-summary { transition-delay: 1040ms; }
.motion-ready .map-continuation.is-map-visible .legend-title { transition-delay: 1100ms; }
.motion-ready .map-continuation.is-map-visible .legend { transition-delay: 1160ms; }
.motion-ready .map-continuation.is-map-visible .capital-legend { transition-delay: 1220ms; }
.motion-ready .map-continuation.is-map-visible .map-publication-notes { transition-delay: 1280ms; }
.motion-ready .map-continuation .map-state,
.motion-ready .map-continuation .capital-marker,
.motion-ready .map-continuation .map-cartography { opacity: 0; }
.motion-ready .map-continuation.is-map-visible .map-state {
    animation: map-state-arrival 520ms var(--plt-ease-expressive) both;
    animation-delay: calc(520ms + var(--map-state-index, 0) * 24ms);
    transform-box: fill-box; transform-origin: center;
}
.motion-ready .map-continuation.is-map-visible .capital-marker {
    animation: map-marker-arrival 360ms var(--plt-ease-expressive) both;
    animation-delay: calc(1050ms + var(--map-state-index, 0) * 18ms);
    transform-box: fill-box; transform-origin: center;
}
.motion-ready .map-continuation.is-map-visible .map-cartography { animation: map-details-arrival 420ms 1320ms ease both; }
.hero-motion.has-handed-off .motion-chart-card { transition: transform 900ms var(--plt-ease-expressive), box-shadow 700ms ease; }

@keyframes map-state-arrival {
    from { opacity: 0; transform: translateY(-8px) scale(0.88); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes map-marker-arrival {
    from { opacity: 0; transform: scale(0); }
    70% { opacity: 1; transform: scale(1.35); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes map-details-arrival { from { opacity: 0; } to { opacity: 1; } }

.motion-ready .reveal-section {
    opacity: 0; transform: translateY(34px);
    transition: opacity 620ms ease, transform 820ms var(--plt-ease-expressive);
}
.motion-ready .reveal-section.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .reveal-section .reveal-item {
    opacity: 0; transform: translateY(22px);
    transition: opacity 520ms ease, transform 700ms var(--plt-ease-expressive);
    transition-delay: calc(120ms + var(--reveal-index, 0) * 65ms);
}
.motion-ready .reveal-section.is-visible .reveal-item { opacity: 1; transform: translateY(0); }

.product-window { background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(23,32,51,0.10); }
.window-bar {
    display: grid; grid-template-columns: 1fr auto; gap: 22px; padding: 13px 18px;
    color: #586170; background: #f1f3f4; border-bottom: 1px solid #cbd0d5; font-size: 0.75rem;
}
.window-content { padding: clamp(22px, 3vw, 38px); }
.chart-heading { max-width: 650px; }
.chart-heading h2 { margin-bottom: 11px; font-size: clamp(1.65rem, 2.5vw, 2.45rem); }
.chart-heading > p:last-child { margin-bottom: 14px; color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
.chart-kicker { margin-bottom: 7px; color: var(--blue-okabe); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.map-shell { position: relative; min-height: 380px; }
.map-shell-hero { min-height: clamp(330px, 36vw, 490px); }
.income-map { width: 100%; height: auto; max-height: 500px; margin: auto; overflow: visible; }
.map-state {
    stroke: #f4f5f2; stroke-width: 0.55; vector-effect: non-scaling-stroke;
    cursor: pointer; transition: stroke-width 120ms ease, filter 120ms ease;
}
.map-state:hover, .map-state:focus { stroke: #111827; stroke-width: 1.35; outline: none; filter: brightness(1.02); }
.capital-marker { pointer-events: none; }
.capital-point { fill: #111827; stroke: #fff; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.map-cartography { pointer-events: none; color: #252b34; }
.north-arrow text { fill: #252b34; font-size: 10px; font-weight: 750; }
.north-arrow path { stroke: #252b34; stroke-width: 0.8; stroke-linejoin: round; }
.north-arrow .compass-dark { fill: #252b34; }
.north-arrow .compass-light { fill: #fff; }
.north-arrow .compass-side { fill: #d9dee5; }
.north-arrow circle { fill: var(--blue-okabe); stroke: #fff; stroke-width: 0.8; }
.scale-bar text { fill: #4f5866; font-size: 9px; }
.scale-bar rect, .scale-bar line { stroke: #252b34; stroke-width: 0.7; vector-effect: non-scaling-stroke; }
.scale-dark { fill: #252b34; }
.scale-light { fill: #fff; }
.map-summary {
    position: absolute; right: 0; bottom: 6%; width: 184px; padding: 13px 15px;
    background: rgba(255,255,255,0.96); border-top: 2px solid #31688e;
}
.map-summary span, .map-summary strong { display: block; }
.map-summary-label { color: var(--muted); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; }
.map-summary-stat { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid #e2e5e7; }
.map-summary-stat span { color: var(--muted); font-size: 0.66rem; }
.map-summary-stat strong { color: var(--blue); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.map-summary-capital-row { display: none; }
.map-summary-note { color: var(--muted); font-size: 0.68rem; }
.legend-title { margin: 4px 0 5px; color: #4f5866; font-size: 0.69rem; font-weight: 650; }
.legend { display: grid; grid-template-columns: auto minmax(100px, 1fr) auto; align-items: center; gap: 10px; color: var(--muted); font-size: 0.7rem; }
.legend-ramp { height: 9px; background: linear-gradient(90deg, #440154, #3b528b, #21918c, #5ec962, #fde725); border: 1px solid #aeb5b4; }
.capital-legend { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 0.68rem; }
.capital-symbol { width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; background: #111827; box-shadow: 0 0 0 1px #111827; }
.map-publication-notes { margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); }
.map-publication-notes p, .source-line, .figure-note { margin: 4px 0 0; color: var(--muted); font-size: 0.65rem; line-height: 1.42; }
.map-publication-notes strong { color: #4f5866; font-weight: 650; }
.map-publication-notes .figure-footnote { margin-top: 8px; padding: 8px 0 0 11px; border-top: 1px dotted var(--line); font-size: 0.59rem; text-indent: -9px; }

.methodology-grid { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; }
.sticky-intro { display: grid; grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1.64fr); column-gap: clamp(36px, 8vw, 120px); max-width: none; margin-bottom: 0; }
.sticky-intro .eyebrow { grid-column: 1; grid-row: 1 / span 3; padding-top: 10px; }
.sticky-intro h2, .sticky-intro > p { grid-column: 2; }
.sticky-intro > p { max-width: 780px; }
.sticky-intro h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); }
.rank-figure { margin: 0; padding: 34px; background: var(--paper); border: 1px solid var(--line); }
.rank-figure figcaption span { display: block; color: var(--muted); font-size: 0.85rem; }
.rank-legend { display: flex; justify-content: flex-end; gap: 22px; margin-top: 24px; color: var(--muted); font-size: 0.7rem; }
.rank-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rank-swatch { width: 15px; height: 7px; }
.rank-swatch-uf { background: var(--plt-viz-viridis-purple); }
.rank-swatch-capital { background: var(--plt-viz-viridis-green); }
.rank-chart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 12px; }
.rank-panel { min-width: 0; }
.rank-columns, .rank-axis, .rank-row { display: grid; grid-template-columns: 82px minmax(105px, 1fr) 43px; gap: 8px; }
.rank-columns { min-height: 31px; padding-bottom: 6px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.54rem; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.04em; }
.rank-columns span:nth-child(2), .rank-columns span:nth-child(3) { text-align: right; }
.rank-axis { height: 19px; color: var(--muted); font-size: 0.54rem; }
.rank-axis-scale { position: relative; border-top: 1px solid var(--line); }
.rank-axis-scale span { position: absolute; top: 3px; transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rank-axis-scale span:first-child { transform: none; }
.rank-axis-scale span:last-child { transform: translateX(-100%); }
.rank-row { align-items: center; min-height: 34px; padding: 3px 0; border-bottom: 1px solid rgba(204, 201, 192, 0.58); font-size: 0.62rem; }
.rank-place, .rank-bars, .rank-values { display: grid; grid-template-rows: repeat(2, 1fr); gap: 3px; min-width: 0; }
.rank-place strong { font-weight: 700; }
.rank-place > span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.rank-track { height: 6px; background: var(--paper-deep); }
.rank-bar { display: block; height: 100%; }
.rank-bar-uf { background: var(--plt-viz-viridis-purple); }
.rank-bar-capital { background: var(--plt-viz-viridis-green); }
.rank-values { text-align: right; font-variant-numeric: tabular-nums; }
.rank-values span:first-child { font-weight: 650; }
.rank-values span:last-child { color: var(--muted); }
.axis-label { margin: 16px 0 0; color: var(--muted); font-size: 0.68rem; text-align: center; }

.research { padding-top: clamp(88px, 9vw, 128px); background: var(--white); }
.research .wide-intro { display: grid; grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1.64fr); column-gap: clamp(36px, 8vw, 120px); max-width: none; margin-bottom: 0; }
.research .wide-intro .eyebrow { padding-top: 9px; }
.research .wide-intro h2,
.research .wide-intro p:last-child { grid-column: 2; }
.research .wide-intro h2 { max-width: 920px; margin-bottom: 25px; color: var(--blue); font-size: clamp(2.35rem, 3.7vw, 3.8rem); }
.research .wide-intro p:last-child { max-width: 850px; }
.research-catalog { display: grid; grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1.64fr); gap: clamp(36px, 8vw, 120px); margin: 38px 0 0; padding: 18px 0; color: var(--blue); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.research-catalog span { color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.research-catalog strong { font-size: 0.96rem; font-weight: 700; }
.research-spread { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(46px, 6vw, 76px); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.research-profile { min-width: 0; padding: clamp(30px, 4vw, 54px) clamp(30px, 5vw, 68px) clamp(38px, 5vw, 64px) 0; background: transparent; }
.research-profile + .research-profile { padding-right: 0; padding-left: clamp(30px, 5vw, 68px); border-left: 1px solid var(--line); }
.research-profile header { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 20px; min-height: 56px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.research-code { display: flex; align-items: baseline; gap: 12px; }
.research-code span { color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.research-code strong { color: var(--blue); font-family: var(--plt-font-editorial); font-size: 1.75rem; font-weight: 600; }
.research-profile header p { margin: 0; color: var(--muted); font-size: 0.75rem; text-align: right; }
.research-profile h3 { max-width: 500px; margin: 32px 0 19px; font-family: var(--plt-font-editorial); font-size: clamp(1.65rem, 2.35vw, 2.45rem); }
.research-profile > p { color: var(--muted); }
.research-profile dl { margin: 34px 0; }
.research-profile dl div { display: grid; grid-template-columns: minmax(128px, 0.42fr) minmax(0, 1fr); gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
.research-profile dt { color: var(--muted); font-size: 0.75rem; }
.research-profile dd { margin: 0; font-size: 0.92rem; font-weight: 600; }
.research-pnad .text-link { color: var(--blue); }

.process { padding-top: clamp(88px, 9vw, 128px); background: var(--paper); }
.process-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr); gap: clamp(44px, 7vw, 96px); align-items: end; margin-bottom: 42px; }
.process-heading .section-intro { margin-bottom: 0; }
.process-heading .section-intro h2 { max-width: 680px; color: var(--blue); font-size: clamp(2.35rem, 3.7vw, 3.8rem); }
.process-note { align-self: stretch; padding: 18px 0 0; color: var(--ink); border-top: 2px solid var(--blue); }
.process-note span { display: block; margin-bottom: 9px; color: var(--blue); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.process-note strong { display: block; max-width: 390px; font-size: 1rem; font-weight: 600; line-height: 1.45; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 clamp(92px, 10vw, 132px); padding: 0; list-style: none; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.process-list li { min-height: 260px; padding: 28px clamp(20px, 2.5vw, 34px) 34px; background: transparent; }
.process-list li:first-child { padding-left: 0; }
.process-list li:last-child { padding-right: 0; }
.process-list li + li { border-left: 1px solid var(--line); }
.process-index { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 42px; }
.process-index span { color: var(--blue); font-family: var(--plt-font-editorial); font-size: 1.5rem; font-weight: 600; }
.process-index small { color: var(--muted); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.process-list h3 { margin-bottom: 12px; font-size: clamp(1.25rem, 1.7vw, 1.55rem); }
.process-list p { margin-bottom: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.tutorial-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); gap: clamp(45px, 8vw, 110px); align-items: end; padding: 0 0 34px; border: 0; }
.tutorial-heading .eyebrow { margin-bottom: 11px; }
.tutorial-heading h2 { max-width: 650px; margin-bottom: 0; color: var(--blue); font-size: clamp(2rem, 3.2vw, 3.25rem); }
.tutorial-heading > p { max-width: 510px; margin-bottom: 2px; color: var(--muted); font-size: 0.95rem; }
.tutorial-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.tutorial-study { display: flex; min-width: 0; padding: clamp(34px, 4.5vw, 58px) clamp(32px, 5vw, 68px) clamp(40px, 5vw, 64px) 0; flex-direction: column; background: transparent; }
.tutorial-study + .tutorial-study { padding-right: 0; padding-left: clamp(32px, 5vw, 68px); border-left: 1px solid var(--line); }
.tutorial-study > header { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tutorial-study > header > span { color: var(--blue); font-family: var(--plt-font-editorial); font-size: 1.65rem; font-weight: 600; line-height: 1; }
.tutorial-study header .eyebrow { margin-bottom: 0; color: var(--blue); }
.tutorial-study header small { display: block; color: var(--muted); font-size: 0.76rem; }
.tutorial-study h3 { max-width: 520px; margin: 30px 0 18px; font-family: var(--plt-font-editorial); font-size: clamp(1.6rem, 2.4vw, 2.35rem); }
.tutorial-study > p:not(.article-reference) { color: var(--muted); }
.tutorial-outcomes { margin: 8px 0 30px; padding: 0; list-style: none; color: var(--ink); font-size: 0.88rem; }
.tutorial-outcomes li { padding: 8px 0 8px 23px; border-top: 1px solid rgba(213, 208, 197, 0.8); }
.tutorial-outcomes li::before { content: "—"; display: inline-block; width: 23px; margin-left: -23px; color: var(--blue); }
.tutorial-entry { display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; width: fit-content; margin-top: auto; padding: 10px 0 2px; color: var(--blue); border-bottom: 2px solid var(--blue); font-weight: 700; text-decoration: none; }
.tutorial-entry:hover, .tutorial-entry:focus-visible { color: var(--blue-okabe); border-bottom-color: var(--blue-okabe); }
.article-reference { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 22px 0 0; color: var(--muted); font-size: 0.73rem; }
.article-reference > span { flex-basis: 100%; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; }
.article-reference a { color: var(--blue); }

.methodology { color: var(--white); background: var(--blue); border-color: rgba(255,255,255,0.18); }
.methodology .eyebrow { color: #c8d7ae; }
.methodology .section-intro > p { color: #d7dfeb; }
.method-sequence { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin: clamp(62px, 8vw, 98px) 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.62); border-bottom: 1px solid rgba(255,255,255,0.24); list-style: none; }
.method-sequence li { min-width: 0; min-height: 148px; padding: 22px clamp(10px, 1.3vw, 18px) 24px; }
.method-sequence li:first-child { padding-left: 0; }
.method-sequence li + li { border-left: 1px solid rgba(255,255,255,0.16); }
.method-sequence span, .method-sequence strong, .method-sequence small { display: block; }
.method-sequence span { margin-bottom: 28px; color: #c8d7ae; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.08em; }
.method-sequence strong { color: var(--white); font-size: 0.86rem; line-height: 1.25; }
.method-sequence small { margin-top: 5px; color: #cbd6e7; font-size: 0.68rem; line-height: 1.3; }
.method-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(52px, 7vw, 86px); border-top: 2px solid rgba(255,255,255,0.72); }
.method-details article { position: relative; min-width: 0; padding: clamp(30px, 4vw, 48px) clamp(30px, 5vw, 68px) clamp(38px, 5vw, 56px) 0; background: transparent; }
.method-details article + article:not(.method-checks) { padding-right: 0; padding-left: clamp(30px, 5vw, 68px); border-left: 1px solid rgba(255,255,255,0.18); }
.method-number { display: block; margin-bottom: 26px; color: #c8d7ae; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; }
.method-details h3 { max-width: 520px; margin-bottom: 14px; font-family: var(--plt-font-editorial); font-size: clamp(1.6rem, 2.4vw, 2.35rem); }
.method-details p { margin-bottom: 0; color: #d7dfeb; }
.method-details .method-checks { grid-column: 1 / -1; padding: clamp(38px, 5vw, 58px) 0 0; border-top: 1px solid rgba(255,255,255,0.24); }
.method-checks > h3 { max-width: none; margin-bottom: 30px; }
.method-checks ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 82px); margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.24); list-style: none; }
.method-checks li { display: grid; grid-template-columns: 118px 1fr; gap: 18px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.18); }
.method-checks strong { color: var(--white); }
.method-checks span { color: #d7dfeb; }
.method-checks .method-feature {
    margin: 0; padding-inline: 0; border-left: 0; background: transparent;
}
.rotation-figure { grid-column: 1 / -1; min-width: 0; margin: clamp(64px, 8vw, 104px) 0 0; padding-top: clamp(34px, 5vw, 58px); border-top: 1px solid rgba(255,255,255,0.35); }
.rotation-figure figcaption { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr); gap: clamp(44px, 8vw, 104px); align-items: end; margin-bottom: 34px; }
.rotation-figure figcaption .eyebrow { margin-bottom: 11px; color: #c8d7ae; }
.rotation-figure figcaption h3 { max-width: 560px; margin-bottom: 0; }
.rotation-figure figcaption > p { max-width: 620px; margin-bottom: 3px; color: #d7dfeb; }
.rotation-scroll { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; border-top: 2px solid rgba(255,255,255,0.72); border-bottom: 1px solid rgba(255,255,255,0.35); }
.rotation-table { width: 100%; min-width: 820px; border-collapse: collapse; table-layout: fixed; color: var(--white); font-variant-numeric: tabular-nums; }
.rotation-table th, .rotation-table td { height: 58px; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.16); text-align: center; }
.rotation-table thead th { height: 72px; color: #d7dfeb; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; }
.rotation-table th:first-child { width: 86px; padding-left: 16px; text-align: left; }
.rotation-table tbody th { color: #c8d7ae; font-size: 1.05rem; font-weight: 700; }
.rotation-table tbody tr:last-child th, .rotation-table tbody tr:last-child td { border-bottom: 0; }
.rotation-table td { border-left: 1px solid rgba(255,255,255,0.08); }
.rotation-table .rotation-active { background: rgba(200,215,174,0.18); }
.rotation-table .rotation-active span { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; color: var(--white); border: 1px solid rgba(255,255,255,0.58); border-radius: 50%; font-size: 0.72rem; font-weight: 650; }
.rotation-table .rotation-complete { background: rgba(230,159,0,0.3); }
.rotation-table thead .rotation-complete span, .rotation-table thead .rotation-complete small { display: block; }
.rotation-table thead .rotation-complete small { margin-top: 2px; color: var(--white); font-size: 0.55rem; font-weight: 500; letter-spacing: 0.04em; }
.rotation-note { margin: 18px 0 0; color: #d7dfeb; font-size: 0.8rem; }
.rotation-note strong { color: var(--white); }

.capabilities { padding-top: clamp(88px, 9vw, 128px); background: var(--white); }
.capabilities-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(50px, 8vw, 110px); align-items: end; padding-bottom: clamp(48px, 6vw, 74px); }
.capabilities-heading .eyebrow { margin-bottom: 13px; }
.capabilities-heading h2 { max-width: 720px; margin-bottom: 0; color: var(--blue); font-size: clamp(2.35rem, 3.7vw, 3.8rem); }
.capabilities-heading > p { max-width: 520px; margin-bottom: 6px; color: var(--muted); }
.capability-catalog { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-bottom: 0; padding: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.capability-catalog button { position: relative; display: flex; min-width: 0; min-height: 104px; padding: 20px clamp(10px, 1.5vw, 20px) 22px; border: 0; align-items: flex-start; flex-direction: column; gap: 7px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.capability-catalog button:first-child { padding-left: 0; }
.capability-catalog button + button { border-left: 1px solid var(--line); }
.capability-catalog button[aria-current="step"] { color: var(--blue); background: transparent; }
.capability-catalog button[aria-current="step"]::after { content: ""; position: absolute; left: clamp(10px, 1.5vw, 20px); right: clamp(10px, 1.5vw, 20px); bottom: -1px; height: 3px; background: var(--blue); }
.capability-catalog button:first-child[aria-current="step"]::after { left: 0; }
.capability-catalog span { color: var(--blue); font-family: var(--plt-font-editorial); font-size: 1.35rem; font-weight: 600; }
.capability-catalog strong, .capability-catalog small { display: block; }
.capability-catalog strong { font-size: 0.96rem; }
.capability-catalog small { color: var(--muted); font-size: 0.72rem; }
.capability-catalog button:hover strong, .capability-catalog button:focus-visible strong { text-decoration: underline; text-underline-offset: 0.2em; }
.capability-catalog button:focus-visible { z-index: 1; outline: 2px solid var(--blue-okabe); outline-offset: -2px; }
.capability-group[hidden], .resource-step[hidden] { display: none; }
.capability-group { --capability-accent: var(--blue); padding: clamp(70px, 7vw, 94px) 0 0; border-bottom: 1px solid var(--line); scroll-margin-top: 92px; }
.capability-group-heading { display: grid; grid-template-columns: minmax(210px, 0.44fr) minmax(0, 1.56fr); gap: clamp(40px, 6vw, 82px); align-items: start; padding-bottom: clamp(36px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.capability-group-heading > div:last-child { max-width: 760px; }
.capability-group-heading h3 { margin: 0 0 16px; color: var(--blue); font-size: clamp(2rem, 3.1vw, 3.2rem); }
.capability-group-heading > div:last-child > p { max-width: 680px; margin: 0; color: var(--muted); }
.capability-meta { display: flex; align-items: baseline; gap: 18px; margin-bottom: 34px; }
.capability-meta > span { color: var(--capability-accent); font-size: 2.6rem; font-weight: 600; line-height: 0.85; letter-spacing: -0.04em; }
.capability-meta .eyebrow { margin: 0; }
.resource-step { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); gap: clamp(46px, 6vw, 76px); align-items: stretch; padding: clamp(56px, 6vw, 78px) 0; scroll-margin-top: 92px; }
.resource-step + .resource-step { border-top: 1px solid var(--line); }
.resource-step-reverse { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); }
.resource-step-reverse .resource-step-copy { grid-column: 2; }
.resource-step-reverse .resource-step-media { grid-column: 1; grid-row: 1; }
.resource-step-copy { display: flex; max-width: 430px; padding-top: 18px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 30px; }
.resource-step-copy-main { width: 100%; }
.resource-step-number { margin: 0 0 18px; color: var(--capability-accent); font-size: 0.69rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; }
.resource-step-copy h4 { margin: 0 0 21px; color: var(--ink); font-size: clamp(1.55rem, 2.3vw, 2.25rem); line-height: 1.15; }
.resource-step-copy-main > p:not(.resource-step-number) { color: var(--muted); }
.resource-step-note { margin-top: 26px; padding-top: 19px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.resource-step-copy-main ul { margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 0.83rem; }
.resource-step-copy li { padding: 5px 0 5px 18px; }
.resource-step-copy li::before { content: "•"; display: inline-block; width: 18px; margin-left: -18px; color: var(--capability-accent); }
.resource-step-actions { display: flex; width: 100%; align-items: center; flex-wrap: wrap; gap: 12px; }
.resource-step-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: min(100%, 280px); min-height: 48px; padding: 11px 15px 11px 17px; border: 1px solid var(--blue); border-radius: 4px; color: var(--blue); background: var(--white); font-size: 0.86rem; font-weight: 700; font-family: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: color 160ms ease, background-color 160ms ease; }
.resource-step-action span { color: var(--blue); font-size: 1.25rem; line-height: 1; transition: transform 160ms ease; }
.resource-step-action:hover, .resource-step-action:focus-visible { color: var(--white); background: var(--blue); }
.resource-step-action:hover span, .resource-step-action:focus-visible span { color: var(--white); transform: translateX(3px); }
.resource-step-back { display: inline-flex; min-height: 42px; padding: 9px 4px; border: 0; align-items: center; gap: 8px; color: var(--muted); background: transparent; font-size: 0.8rem; font-weight: 650; font-family: inherit; cursor: pointer; }
.resource-step-back:hover, .resource-step-back:focus-visible { color: var(--capability-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.resource-step-media { min-width: 0; margin: 0; padding: clamp(14px, 1.8vw, 20px); border: 1px solid var(--line); border-radius: var(--plt-radius-product); background: var(--paper); box-shadow: 0 12px 28px rgba(23,32,51,0.055); align-self: start; }
.resource-step-media .demo-output-pane, .demo-zoom-wrap { position: relative; }
.resource-step-media > img,
.resource-step-media .demo-output-pane img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #f4f6f8; }
.demo-zoom-trigger { position: absolute; top: 10px; right: 10px; z-index: 2; min-height: 34px; padding: 7px 10px; border: 1px solid rgba(23, 32, 51, 0.78); border-radius: 3px; color: #fff; background: rgba(23, 32, 51, 0.88); box-shadow: 0 1px 5px rgba(23, 32, 51, 0.22); font: 700 0.7rem/1 "Source Sans 3", sans-serif; cursor: zoom-in; }
.demo-zoom-trigger:hover, .demo-zoom-trigger:focus-visible { color: var(--ink); background: #fff; outline: 2px solid var(--capability-accent); outline-offset: 2px; }
.resource-step-media figcaption { padding-top: 12px; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.resource-step-output { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.demo-output-pane { min-width: 0; }
.demo-output-label { display: block; margin-bottom: 8px; color: var(--capability-accent); font-size: 0.65rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.demo-output-arrow { display: flex; align-items: center; justify-content: center; min-height: 42px; }
.demo-output-arrow span { position: relative; display: block; width: 38px; height: 2px; background: var(--capability-accent); transform: rotate(90deg); }
.demo-output-arrow span::after { content: ""; position: absolute; top: 50%; right: 0; width: 9px; height: 9px; border-top: 2px solid var(--capability-accent); border-right: 2px solid var(--capability-accent); transform: translateY(-50%) rotate(45deg); transform-origin: center; }
.demo-zoom-dialog { width: min(1240px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 28px); padding: 0; border: 0; background: transparent; }
.demo-zoom-dialog::backdrop { background: rgba(9, 18, 33, 0.82); }
.demo-zoom-dialog-inner { max-height: calc(100dvh - 28px); padding: 14px; overflow: auto; background: #fff; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42); }
.demo-zoom-dialog-header { display: flex; min-height: 42px; margin-bottom: 12px; align-items: center; justify-content: space-between; gap: 16px; }
.demo-zoom-dialog-header p { margin: 0; color: var(--ink); font-size: 0.82rem; font-weight: 700; }
.demo-zoom-close { display: inline-flex; min-height: 36px; padding: 7px 9px; border: 1px solid var(--ink); align-items: center; gap: 8px; color: var(--ink); background: #fff; font: 700 0.76rem/1 "Source Sans 3", sans-serif; cursor: pointer; }
.demo-zoom-close span { font-size: 1.2rem; line-height: 0.7; }
.demo-zoom-close:hover, .demo-zoom-close:focus-visible { color: #fff; background: var(--ink); outline: 2px solid var(--capability-accent); outline-offset: 2px; }
.demo-zoom-dialog img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 110px); object-fit: contain; object-position: top; }
.map-state.is-selected { stroke: #172033; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.publication-piece { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.publication-piece:first-child { padding-top: 0; border-top: 0; }
.publication-image img { width: 100%; height: auto; border: 1px solid var(--line); background: var(--white); }
.publication-piece figcaption { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding-top: 11px; color: var(--muted); font-size: 0.7rem; line-height: 1.45; }
.publication-piece figcaption strong { color: var(--capability-accent); font-size: 0.67rem; letter-spacing: 0.08em; text-transform: uppercase; }
.publication-heading { padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.publication-heading > span { display: block; margin-bottom: 7px; color: var(--capability-accent); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.publication-heading h4 { margin: 0 0 5px; font-size: 1.15rem; line-height: 1.25; }
.publication-heading p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.publication-table-wrap { overflow-x: auto; }
.publication-table-piece table { width: 100%; border-collapse: collapse; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.publication-table-piece th, .publication-table-piece td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.publication-table-piece thead th { color: var(--muted); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.publication-table-piece th:first-child { padding-left: 0; text-align: left; }
.publication-table-piece td:last-child, .publication-table-piece th:last-child { padding-right: 0; }
.publication-table-piece tbody th { color: var(--ink); font-weight: 650; }
.publication-academic-table .publication-heading { padding-bottom: 14px; border-bottom-width: 1px; }
.publication-academic-table table { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.publication-academic-table th, .publication-academic-table td { padding: 8px 7px; }
.publication-academic-table thead th { color: var(--ink); font-size: 0.64rem; }
.publication-academic-table .academic-group-header th { padding-top: 11px; padding-bottom: 6px; border-bottom: 0; color: var(--capability-accent); text-align: center; }
.publication-academic-table .academic-group-header th:first-child { text-align: left; }
.publication-academic-table tbody tr:last-child th, .publication-academic-table tbody tr:last-child td { border-bottom: 0; }
.resource-evidence { padding: clamp(72px, 9vw, 112px) 0; border-bottom: 1px solid var(--line); }
.resource-evidence-heading { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); gap: clamp(44px, 8vw, 104px); align-items: end; padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 2px solid var(--ink); }
.resource-evidence-heading .eyebrow { margin-bottom: 12px; }
.resource-evidence-heading h3 { max-width: 570px; margin-bottom: 0; color: var(--blue); font-size: clamp(1.9rem, 3vw, 3rem); }
.resource-evidence-heading > p { max-width: 610px; margin-bottom: 3px; color: var(--muted); }
.resource-evidence .rank-figure { padding: clamp(30px, 4vw, 48px) 0 0; background: transparent; border: 0; }
.resource-evidence .rank-figure figcaption strong { color: var(--ink); font-size: 1.05rem; }
.continue-strip { display: grid; grid-template-columns: 0.52fr 1.48fr; gap: clamp(38px, 6vw, 80px); padding: 42px 0 0; border: 0; }
.continue-strip > div { padding: 0; }
.continue-strip .eyebrow { margin-bottom: 8px; }
.continue-strip h3 { margin-bottom: 0; }
.continue-strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 64px); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); }
.continue-strip li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.continue-strip li::before { content: "— "; color: var(--blue); }

.about { padding-top: clamp(88px, 9vw, 128px); background: var(--paper); }
.about-masthead { padding-bottom: clamp(42px, 6vw, 68px); }
.about-intro { display: grid; grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1.64fr); column-gap: clamp(36px, 8vw, 120px); align-items: start; max-width: none; padding-bottom: clamp(42px, 6vw, 68px); }
.about-intro .eyebrow { padding-top: 10px; }
.about-intro h2, .about-intro .about-deck { grid-column: 2; }
.about-identity-label { margin: 0; color: var(--muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.about-origin { display: grid; grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1.4fr); gap: clamp(38px, 8vw, 112px); align-items: center; padding: clamp(34px, 5vw, 58px) 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); background: transparent; }
.about-origin-mark { display: grid; gap: 30px; }
.about-ence-link { display: block; width: min(100%, 360px); }
.about-ence-logo { display: block; width: 100%; height: auto; }
.about-origin-copy { max-width: 720px; padding-left: 0; }
.about-origin-copy .about-label { margin-bottom: 13px; color: var(--olive); }
.about-origin-copy h3 { max-width: 580px; margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.about-origin-copy p:last-child { max-width: 590px; margin-bottom: 0; color: var(--muted); }
.about-intro h2 { margin-bottom: 28px; color: var(--blue); font-size: clamp(2.35rem, 3.7vw, 3.8rem); }
.about-deck { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.35rem); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-bottom: 1px solid var(--line); }
.about-facts > div { min-height: 0; padding: 20px clamp(24px, 4vw, 54px) 22px 0; background: transparent; }
.about-facts > div + div { padding-right: 0; padding-left: clamp(24px, 4vw, 54px); border-left: 1px solid var(--line); }
.about-facts dt { margin-bottom: 7px; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.about-facts dd { margin: 0; color: var(--ink); font-size: 1.02rem; font-weight: 650; }
.about-history { display: block; margin: clamp(56px, 7vw, 90px) 0 0; padding: 0; list-style: none; }
.about-history li { display: grid; grid-template-columns: minmax(92px, 0.26fr) minmax(0, 1.74fr); gap: clamp(28px, 7vw, 104px); min-width: 0; padding: clamp(34px, 5vw, 58px) 0; border-top: 1px solid var(--line); background: transparent; }
.about-history li:first-child { border-top: 2px solid var(--ink); }
.about-number { color: var(--blue); font-family: var(--plt-font-editorial); font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.about-chapter { max-width: 880px; padding-left: 0; }
.about-label { margin-bottom: 14px; color: var(--blue); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.about-chapter h3 { max-width: 760px; margin-bottom: 18px; font-family: var(--plt-font-editorial); font-size: clamp(1.65rem, 2.5vw, 2.5rem); }
.about-chapter p:last-child { max-width: 830px; margin-bottom: 0; color: var(--muted); font-size: 0.98rem; }
.about-source { display: grid; grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1.64fr); gap: clamp(36px, 8vw, 120px); margin: 0; padding: 26px 0 0; color: var(--muted); font-size: 0.78rem; }
.about-source strong { color: var(--ink); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.closing { padding: clamp(72px, 8vw, 104px) 0; color: var(--white); background: var(--blue); }
.closing .eyebrow { color: var(--white); opacity: 0.72; }
.closing h2 { max-width: 780px; margin-bottom: 22px; font-size: clamp(2.4rem, 4.2vw, 4.2rem); }
.closing-copy > p:last-child { max-width: 680px; margin-bottom: 0; color: rgba(255,255,255,0.82); font-size: 1.05rem; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(52px, 9vw, 130px); align-items: end; }
.closing-cta { justify-content: space-between; width: 100%; min-height: 76px; padding: 14px 16px 14px 24px; border-radius: var(--plt-radius-control); font-size: 1.08rem; }
.closing-cta-arrow { display: grid; width: 48px; height: 48px; place-items: center; color: var(--white); background: var(--blue); font-size: 1.65rem; line-height: 1; transition: transform 160ms ease; }
.closing-cta:hover .closing-cta-arrow, .closing-cta:focus-visible .closing-cta-arrow { transform: translateX(4px); }

.site-footer { color: var(--white); background: #111b2c; }
.footer-grid { display: grid; grid-template-columns: 160px 1fr auto; gap: 44px; align-items: center; padding: 62px 0 40px; }
.footer-grid img { width: 110px; filter: brightness(0) invert(1); }
.footer-grid p { margin: 0; color: #b8c0cd; }
.footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; }
.footer-grid a { color: #d8dde5; font-size: 0.85rem; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px 0 28px; border-top: 1px solid #344054; color: #8f9aaa; font-size: 0.75rem; }

.map-tooltip {
    position: fixed; z-index: 1500; display: none; min-width: 220px; padding: 12px 14px;
    pointer-events: none; color: var(--white); background: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    font-size: 0.78rem; line-height: 1.35;
}
.map-tooltip strong { display: block; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.22); font-size: 0.95rem; }
.map-tooltip span { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.map-tooltip em { color: #cbd5e1; font-style: normal; }

@media (max-width: 1120px) {
    .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 150px; }
    .hero-copy { max-width: 800px; }
    .hero-motion { width: min(820px, 100%); min-height: 780px; }
    .product-window { width: min(860px, 100%); }
    .methodology-grid { grid-template-columns: 1fr; }
    .sticky-intro { position: static; }
    .method-sequence { grid-template-columns: repeat(4, 1fr); }
    .method-sequence li:nth-child(5) { border-left: 0; }
    .method-sequence li:nth-child(n + 5) { border-top: 1px solid rgba(255,255,255,0.16); }
    .process-heading, .tutorial-heading, .capabilities-heading, .resource-evidence-heading, .rotation-figure figcaption { grid-template-columns: 1fr; }
    .capabilities-heading { gap: 32px; }
    .process-note { max-width: 520px; }
    .process-list { grid-template-columns: 1fr 1fr; }
    .process-list li:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
    .process-list li:nth-child(4) { border-top: 1px solid var(--line); }
    .capability-group-heading { grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.58fr); gap: 38px; }
    .resource-step, .resource-step-reverse { grid-template-columns: minmax(250px, 0.66fr) minmax(0, 1.34fr); gap: 38px; }
    .resource-step-reverse { grid-template-columns: minmax(0, 1.34fr) minmax(250px, 0.66fr); }
}

@media (max-width: 1100px) and (min-width: 781px) {
    .nav-shell { gap: 22px; }
    .nav-menu { gap: 20px; }
    .nav-menu a { font-size: 0.84rem; }
}

@media (max-width: 780px) {
    body { font-size: 16px; }
    .section-shell { width: min(100% - 30px, 1220px); }
    .site-header { background: var(--blue); }
    .nav-shell { grid-template-columns: auto 1fr auto; gap: 12px; }
    .nav-toggle { display: block; justify-self: end; }
    .nav-cta { display: none; }
    .nav-menu {
        position: absolute; top: var(--plotei-brandbar-height, 78px); left: 0; right: 0; display: none; padding: 20px 18px 26px;
        align-items: flex-start; flex-direction: column; gap: 17px; background: var(--blue); border-bottom: 1px solid #173f78;
    }
    .nav-menu.active { display: flex; }
    .hero { padding: 120px 15px 65px; gap: 48px; }
    h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-motion { min-height: 740px; perspective: none; }
    .hero-motion::before { left: 10%; right: 0; bottom: 0; }
    .motion-storyline { gap: 5px; }
    .motion-storyline small { display: none; }
    .motion-storyline strong { font-size: 0.66rem; }
    .motion-question { top: 13%; width: 88%; padding: 12px 14px; }
    .motion-analysis-card { top: 15%; width: 88%; padding: 12px 14px; }
    .motion-table-plane {
        left: -5%; top: 21%; width: 92%; padding: 15px 16px 13px; opacity: 0.24;
        transform: translate3d(-14px,112px,-48px) rotateY(-7deg) rotateX(4deg) rotateZ(-3deg) scale(0.62);
    }
    .motion-table-kicker span { display: none; }
    .motion-table { font-size: 0.63rem; }
    .motion-chart-card {
        left: -3%; bottom: 0; width: 84%; padding: 15px 15px 11px;
        transform: translate3d(0,0,22px) rotateY(-2deg) rotateZ(-1deg) scale(0.67);
    }
    .motion-map-card { right: -2%; bottom: 4%; width: 74%; padding: 12px 12px 10px; transform: translate3d(0,0,46px) rotateY(2deg) rotateZ(0.5deg); }
    .motion-diabetes-map { height: 215px; }
    .motion-bridge { top: 30%; width: 94%; padding: 15px 17px; }
    .motion-bridge strong { font-size: 1rem; }
    .motion-outcome-copy { left: 1%; top: 13%; width: 92%; }
    .motion-outcome-copy strong { font-size: clamp(1.15rem, 5.4vw, 1.55rem); }
    .motion-outcome-copy small { max-width: 300px; font-size: 0.55rem; }
    .motion-replay { display: none; }
    .motion-transfer { display: none; }
    .map-proof { padding: 58px 0; }
    .window-content { padding: 18px; }
    .window-bar { grid-template-columns: 1fr auto; }
    .map-summary { right: 2px; bottom: 2%; width: 126px; }
    .rank-figure { padding: 20px 14px; }
    .rank-chart { grid-template-columns: 1fr; gap: 24px; }
    .rank-columns, .rank-axis, .rank-row { grid-template-columns: 92px minmax(90px, 1fr) 48px; gap: 8px; }
    .rank-columns span:nth-child(2) { text-align: left; }
    .rank-place > span { font-size: 0.61rem; }
    .rank-legend { justify-content: flex-start; }
    .axis-label { text-align: left; }
    .research .wide-intro { grid-template-columns: 1fr; gap: 0; }
    .research .wide-intro .eyebrow,
    .research .wide-intro h2,
    .research .wide-intro p:last-child { grid-column: 1; }
    .research .wide-intro .eyebrow { padding-top: 0; }
    .research-catalog { grid-template-columns: 1fr; gap: 4px; width: 100%; margin: 28px 0 34px; padding: 14px 0; }
    .research-spread, .tutorial-ledger, .process-list { grid-template-columns: 1fr; }
    .research-profile, .research-profile + .research-profile { padding: 32px 0 38px; }
    .research-profile + .research-profile { border-top: 1px solid var(--line); border-left: 0; }
    .research-profile header { grid-template-columns: 1fr; gap: 5px; }
    .research-profile header p { text-align: left; }
    .process-heading { gap: 28px; }
    .process-note { max-width: none; }
    .process-list li, .process-list li:first-child, .process-list li:last-child { min-height: 0; padding: 25px 0 28px; }
    .process-list li + li, .process-list li:nth-child(4) { border-top: 1px solid var(--line); border-right: 0; border-bottom: 0; border-left: 0; }
    .process-index { margin-bottom: 24px; }
    .tutorial-heading { gap: 18px; padding: 0 0 28px; }
    .tutorial-heading > p { margin-bottom: 0; }
    .tutorial-study, .tutorial-study:first-child, .tutorial-study:last-child { padding: 34px 0 40px; }
    .tutorial-study + .tutorial-study { border-top: 1px solid var(--line); border-left: 0; }
    .sticky-intro { grid-template-columns: 1fr; gap: 0; }
    .sticky-intro .eyebrow, .sticky-intro h2, .sticky-intro > p { grid-column: 1; }
    .sticky-intro .eyebrow { grid-row: auto; padding-top: 0; }
    .method-sequence { grid-template-columns: 1fr 1fr; }
    .method-sequence li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .method-sequence li:nth-child(n + 3) { border-top: 1px solid rgba(255,255,255,0.16); }
    .method-details { grid-template-columns: 1fr; }
    .method-details article, .method-details article + article:not(.method-checks) { padding: 34px 0 38px; border-left: 0; }
    .method-details article + article:not(.method-checks) { border-top: 1px solid rgba(255,255,255,0.18); }
    .method-details .method-checks { grid-column: 1; padding: 36px 0 0; }
    .method-checks ul { grid-template-columns: 1fr; }
    .method-checks li { grid-template-columns: 112px 1fr; gap: 12px; }
    .capabilities-heading { gap: 20px; padding-bottom: 42px; }
    .capabilities-heading > p { margin-bottom: 0; }
    .capability-catalog { grid-template-columns: repeat(2, 1fr); }
    .capability-catalog button, .capability-catalog button:first-child { min-height: 84px; padding: 13px 12px; }
    .capability-catalog button:nth-child(odd) { padding-left: 0; border-left: 0; }
    .capability-catalog button:nth-child(even) { border-left: 1px solid var(--line); }
    .capability-catalog button:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .capability-catalog button[aria-current="step"]::after { left: 12px; right: 12px; }
    .capability-catalog button:nth-child(odd)[aria-current="step"]::after { left: 0; }
    .capability-group { padding-top: 58px; }
    .capability-group-heading { grid-template-columns: 1fr; gap: 22px; padding-bottom: 38px; }
    .capability-meta { margin-bottom: 22px; }
    .resource-step, .resource-step-reverse { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 56px; }
    .resource-step-reverse .resource-step-copy, .resource-step-reverse .resource-step-media { grid-column: 1; }
    .resource-step-reverse .resource-step-copy { grid-row: 1; }
    .resource-step-reverse .resource-step-media { grid-row: 2; }
    .resource-step-copy { max-width: 620px; padding-top: 0; }
    .resource-step-actions { align-items: stretch; flex-direction: column-reverse; }
    .resource-step-action { width: 100%; min-width: 0; }
    .resource-step-back { align-self: flex-start; }
    .resource-step-media { padding: 14px; }
    .demo-zoom-trigger { top: 8px; right: 8px; min-height: 38px; padding: 8px 10px; font-size: 0.72rem; }
    .demo-zoom-dialog { width: min(100vw - 16px, 1240px); max-height: calc(100dvh - 16px); }
    .demo-zoom-dialog-inner { max-height: calc(100dvh - 16px); padding: 10px; }
    .demo-zoom-dialog img { max-height: calc(100dvh - 94px); }
    .demo-output-arrow { min-height: 34px; padding-top: 0; }
    .demo-output-arrow span { width: 34px; transform: rotate(90deg); }
    .publication-piece figcaption { grid-template-columns: 1fr; gap: 3px; }
    .continue-strip, .closing-grid, .footer-grid { grid-template-columns: 1fr; }
    .continue-strip ul { grid-template-columns: 1fr; }
    .continue-strip { gap: 24px; }
    .continue-strip > div, .continue-strip ul { padding: 0; }
    .about-intro { grid-template-columns: 1fr; gap: 0; }
    .about-intro .eyebrow, .about-intro h2, .about-intro .about-deck { grid-column: 1; }
    .about-intro .eyebrow { padding-top: 0; }
    .about-origin { grid-template-columns: 1fr; gap: 38px; }
    .about-origin-mark { gap: 22px; }
    .about-ence-link { width: min(100%, 420px); }
    .about-origin-copy { padding-left: 0; }
    .about-facts { grid-template-columns: 1fr; }
    .about-facts > div { min-height: 0; padding: 16px 0; }
    .about-facts > div + div, .about-facts > div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
    .about-history li { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 34px 0; }
    .about-number { font-size: 1.35rem; }
    .about-chapter { padding-left: 0; border-left: 0; }
    .about-source { grid-template-columns: 1fr; gap: 6px; }
    .footer-grid { gap: 24px; }
    .footer-grid nav { grid-template-columns: 1fr 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
    .closing-cta { max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    .motion-replay { display: none; }
    .motion-ready .reveal-section,
    .motion-ready .reveal-section .reveal-item,
    .motion-ready .map-continuation .product-window,
    .motion-ready .map-continuation .chart-heading,
    .motion-ready .map-continuation .legend-title,
    .motion-ready .map-continuation .legend,
    .motion-ready .map-continuation .capital-legend,
    .motion-ready .map-continuation .map-publication-notes,
    .motion-ready .map-continuation .map-summary,
    .motion-ready .map-continuation .map-state,
    .motion-ready .map-continuation .capital-marker,
    .motion-ready .map-continuation .map-cartography {
        opacity: 1 !important; transform: none !important;
    }
}
