/* GeoAFT research microsite. Scoped to .geo; shared site chrome is untouched. */
.geo {
    --geo-ink: #11182c;
    --geo-body: #374151;
    --geo-muted: #6b7280;
    --geo-rule: #dfe3e8;
    --geo-soft: #f7f8f7;
    --geo-navy: #183b63;
    --geo-teal: #00929a;
    --geo-teal-ink: #006f76;
    --geo-teal-tint: #e2f3f3;
    --geo-ochre: #c05f0c;
    --geo-ochre-ink: #93480a;
    --geo-ochre-tint: #fbeee2;
    --geo-header: 96px;
    color: var(--geo-body);
    overflow-wrap: break-word;
}
.research-content .geo { overflow-wrap: break-word; }
.geo :where(h1, h2, h3) { color: var(--geo-ink); }
.geo a:focus-visible, .geo button:focus-visible, .geo input:focus-visible, .geo [tabindex]:focus-visible {
    outline: 2px solid var(--geo-teal); outline-offset: 3px; border-radius: 3px;
}
.geo math { font-family: 'STIX Two Math', 'Cambria Math', 'Latin Modern Math', math, serif; font-size: 1.06em; }
.geo math[display="block"] { font-size: 1.12em; margin: 0; overflow-x: auto; overflow-y: hidden; max-width: 100%; padding: .2rem 0; }
.geo strong { font-weight: 600; color: var(--geo-ink); }
.geo-back { margin-bottom: 2.25rem; font-size: 1rem; }

/* ---------- Hero ---------- */
.geo-hero { display: grid; gap: 2.5rem; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid var(--geo-rule); }
@media (min-width: 1024px) { .geo-hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 3.5rem; } }
.geo-eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--geo-teal-ink); margin: 0 0 1rem; font-weight: 400; }
.geo-title.hero-title { text-align: left; text-shadow: none; padding: 0; max-width: none; font-size: clamp(3.25rem, 7vw, 5.25rem); line-height: 1; margin: 0 0 1.25rem; color: var(--geo-ink); letter-spacing: -.01em; }
.geo-deck { font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.35; color: var(--geo-ink); margin: 0 0 1.5rem; max-width: 34rem; font-weight: 300; }
.geo-lead { font-size: 1.15rem; line-height: 1.7; margin: 0 0 1rem; max-width: 36rem; }
.geo-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.geo-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.1rem; border: 1px solid #c4cad3; border-radius: 6px; color: var(--geo-navy); font-size: .98rem; line-height: 1.3; background: #fff; transition: border-color .2s, background-color .2s; }
.geo-btn:hover { border-color: var(--geo-navy); background: #f4f6f9; }
.geo-btn-primary { background: var(--geo-navy); border-color: var(--geo-navy); color: #fff; }
.geo-btn-primary:hover { background: #10294a; border-color: #10294a; color: #fff; }
.geo-btn-text { border-color: transparent; padding-left: .4rem; padding-right: .4rem; }
.geo-btn-text:hover { background: transparent; border-color: transparent; text-decoration: underline; }
.geo-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: .9rem; color: var(--geo-muted); }
.geo-hero-meta .badge { margin: 0; }
.geo-hero-meta .project-team { margin: 0; }
.geo-hero-paper { margin: 0; }
.geo-hero-figure { margin: 0; }
.geo-hero-figure svg { width: 100%; height: auto; display: block; }
.geo-hero-figure figcaption { font-size: .9rem; line-height: 1.6; color: var(--geo-muted); margin-top: .75rem; }
.geo-legend-dash, .geo-legend-solid { display: inline-block; width: 1.4rem; height: 0; vertical-align: middle; margin-right: .35rem; border-top: 3px dashed #94a3b8; }
.geo-legend-solid { border-top: 3px solid var(--geo-teal); margin-left: .25rem; }
.geo-illustrative { font-style: italic; color: var(--geo-muted); }

/* ---------- Sections ---------- */
.geo .geo-section { padding: 4.5rem 0 1.5rem; scroll-margin-top: calc(var(--geo-header) + 4rem); }
@media (min-width: 768px) { .geo .geo-section { padding-top: 6rem; } }
.geo-kicker { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--geo-teal-ink); margin: 0 0 .75rem; }
.geo-section > h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.2; margin: 0 0 1.5rem; max-width: 46rem; }
.geo-prose { max-width: 44rem; }
.geo-prose p { margin: 0 0 1.1rem; line-height: 1.75; }
.geo-prose-lg p { font-size: 1.2rem; line-height: 1.75; }
.geo-note { font-size: .98rem; color: var(--geo-muted); max-width: 46rem; margin-top: 1.25rem; }
.geo-aside { color: var(--geo-body); padding-left: 1.1rem; border-left: 2px solid var(--geo-rule); }
.geo-pull { max-width: 46rem; font-size: 1.2rem; line-height: 1.6; color: var(--geo-ink); margin: 2.5rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--geo-navy); }

/* ---------- Figures ---------- */
.geo-figure { margin: 2.5rem 0; }
.geo-figure svg.geo-svg { width: 100%; height: auto; display: block; }
.geo-figure figcaption { max-width: 48rem; font-size: .95rem; line-height: 1.65; color: #4b5563; margin-top: 1rem; }
.geo-figure figcaption strong { color: var(--geo-ink); }
.geo-figure-title { font-size: 1.05rem; color: var(--geo-ink); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.geo-tag { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem; border: 1px solid #c4cad3; border-radius: 999px; color: var(--geo-muted); }
.geo-fig-narrow { display: none; }
@media (max-width: 700px) {
    .geo-fig-wide { display: none; }
    .geo-fig-narrow { display: block; max-width: 420px; }
}

.geo-equation { margin: 1.5rem 0; padding: 1.1rem 1.25rem; background: var(--geo-soft); border-radius: 6px; overflow-x: auto; }
.geo-equation-sm { padding: .75rem .9rem; margin: .9rem 0; }
.geo-equation-sm math { font-size: .98em; }

/* ---------- Evidence ---------- */
.geo-scope { max-width: 52rem; margin: 1.5rem 0 1rem; padding: 1rem 1.25rem; background: var(--geo-soft); border-radius: 6px; font-size: .97rem; line-height: 1.65; }
.geo-scope p { margin: 0; }

/* ---------- Regimes ---------- */
.geo-regimes { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 960px) { .geo-regimes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; } }
.geo-regime { border-top: 1px solid #b9c0ca; padding-top: 1.25rem; position: relative; min-width: 0; }
.geo-regime-glyph { max-width: 260px; margin-bottom: 1rem; }
.geo-regime-glyph svg { width: 100%; height: auto; display: block; }
.geo-regime-n { position: absolute; top: -1.05rem; left: 0; background: #fff; padding-right: .6rem; font-size: 1.3rem; color: var(--geo-navy); margin: 0; }
.geo-regime :is(h3, h4) { font-size: 1.35rem; margin: 0 0 .5rem; }
.geo-regime p { line-height: 1.65; font-size: 1rem; margin: 0 0 .75rem; }
.geo-status { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem !important; letter-spacing: .02em; padding: .2rem .65rem; border-radius: 999px; margin-bottom: 1rem !important; }
.geo-status-established { background: var(--geo-navy); color: #fff; }
.geo-status-supported { background: var(--geo-teal-tint); color: var(--geo-teal-ink); border: 1px solid #9fd3d5; }
.geo-status-open { border: 1px dashed #9aa3af; color: var(--geo-muted); }

.geo-video { margin: 0; }
.geo-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0d1424; border-radius: 8px; display: block; }
.geo-video figcaption { font-size: .92rem; color: var(--geo-muted); margin-top: .75rem; line-height: 1.6; }

/* ---------- Geometry explorer (enhanced by geoaft.js) ---------- */
.geo-js-only { display: none; }
.is-live .geo-js-only { display: inline; }
.is-live .geo-nojs-only { display: none; }
.geo-explorer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin: 0 0 1rem; font-size: .95rem; }
.geo-explorer-controls label { display: flex; align-items: center; gap: .6rem; color: var(--geo-body); }
.geo-explorer-controls input[type="range"] { width: 9rem; accent-color: var(--geo-teal); }
.geo-explorer-controls output { min-width: 3.2rem; color: var(--geo-ink); font-variant-numeric: tabular-nums; }
.geo-explorer-controls button { border: 1px solid #c4cad3; border-radius: 6px; padding: .35rem .8rem; background: #fff; color: var(--geo-navy); font-size: .9rem; }
.geo-explorer-controls button:hover { border-color: var(--geo-navy); }
.geo-explorer-live svg { width: 100%; height: auto; display: block; touch-action: none; user-select: none; -webkit-user-select: none; }
.geo-explorer-live .geo-q-handle { cursor: grab; }
.geo-explorer-live.is-dragging .geo-q-handle { cursor: grabbing; }
.geo-explorer-tabs { display: none; gap: .4rem; flex-wrap: wrap; width: 100%; }
.geo-explorer.is-single .geo-explorer-tabs { display: flex; }
.geo-explorer-controls [data-play][aria-pressed="true"], .geo-explorer-tabs button[aria-pressed="true"] { background: var(--geo-navy); color: #fff; border-color: var(--geo-navy); }
.geo-explorer-readout { font-size: .9rem; color: var(--geo-muted); margin: .5rem 0 0; min-height: 1.5em; }

/* ---------- Technical details page ---------- */
.geo-details-head { display: grid; gap: .5rem 3rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--geo-rule); background: #fff; }
@media (min-width: 900px) { .geo-details-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; } }
.geo-details-head .geo-lead { margin-bottom: .5rem; max-width: none; }
.geo-details-title { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.18; margin: 0; }
.geo-details-layout { display: grid; gap: 2rem; padding-top: 2rem; }
@media (min-width: 1024px) { .geo-details-layout { grid-template-columns: 14rem minmax(0, 1fr); gap: 3.5rem; } }
.geo-details-toc { font-size: .92rem; }
@media (min-width: 1024px) { .geo-details-toc { position: sticky; top: calc(var(--geo-header) + 1.5rem); align-self: start; max-height: calc(100vh - var(--geo-header) - 3rem); overflow-y: auto; } }
.geo-toc-label { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--geo-muted); margin: 0 0 .5rem; }
.geo-details-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.geo-details-toc li { counter-increment: toc; margin: 0; }
.geo-details-toc a { display: block; padding: .3rem 0 .3rem .75rem; border-left: 2px solid var(--geo-rule); color: var(--geo-muted); line-height: 1.4; }
.geo-details-toc a::before { content: counter(toc) "  "; color: #9aa3af; }
.geo-details-toc .geo-toc-part { counter-increment: none; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--geo-muted); margin: .9rem 0 .3rem; break-after: avoid; }
.geo-details-toc .geo-toc-part:first-child { margin-top: 0; }
.geo-details-toc a:hover, .geo-details-toc a[aria-current="true"] { color: var(--geo-navy); border-left-color: var(--geo-teal); }
@media (max-width: 1023px) { .geo-details-toc ol { columns: 2; column-gap: 1.5rem; } }
@media (max-width: 520px) { .geo-details-toc ol { columns: 1; } }
.geo-details-body { min-width: 0; }
.geo-details-body > section > :is(p, ul, .geo-caveat, .geo-note, .geo-scope, .geo-pull) { max-width: 54rem; }
.geo-details-body > section { padding: 0 0 2rem; scroll-margin-top: calc(var(--geo-header) + 1.5rem); }
.geo-details-body h2 { font-size: 1.65rem; line-height: 1.3; margin: 0 0 1rem; display: flex; gap: .75rem; align-items: baseline; }
.geo-details-body h3 { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.geo-sec-n { color: var(--geo-teal-ink); font-size: 1rem; min-width: 1.5rem; }
.geo-details-body p, .geo-details-body li { line-height: 1.75; }
.geo-details-body p { margin: 0 0 1rem; }
.geo-details-body ul { padding-left: 1.25rem; list-style: disc; margin: 0 0 1rem; }
.geo-details-body li { margin-bottom: .5rem; }
.geo-caveat { padding: .85rem 1.1rem; border-left: 3px solid var(--geo-ochre); background: var(--geo-ochre-tint); border-radius: 0 6px 6px 0; font-size: .98rem; }
.geo-table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid var(--geo-rule); border-radius: 8px; }
.geo-table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.55; min-width: 36rem; }
.geo-table th, .geo-table td { text-align: left; vertical-align: top; padding: .7rem .9rem; border-bottom: 1px solid var(--geo-rule); }
.geo-table thead th { background: var(--geo-soft); color: var(--geo-ink); font-weight: 400; font-size: .85rem; letter-spacing: .02em; }
.geo-table tbody th { color: var(--geo-ink); font-weight: 400; }
.geo-table tr:last-child td, .geo-table tr:last-child th { border-bottom: 0; }
.geo-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 700px) { .geo-table .num { white-space: normal; } }
.geo-details .project-team { margin: 1rem 0 0; }
.geo-details #sources .person-section { padding: 0 0 1rem; }
.geo-details #sources .person-section h2 { font-size: 1.15rem !important; font-weight: 400 !important; }

@media (prefers-reduced-motion: reduce) {
    .geo * { transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
    html:has(.geo) { scroll-behavior: smooth; }
}
@media print {
    .geo-details-toc, .geo-explorer-controls, .geo-video { display: none !important; }
}

/* Figure text classes (also embedded in each SVG for standalone use). */
.geo .gf-t { font-family: 'QRS Frutiger', 'Frutiger', 'Segoe UI', Inter, system-ui, sans-serif; fill: #374151; font-weight: 300; }
.geo .gf-h { fill: #11182c; font-weight: 400; }
.geo .gf-m { fill: #6b7280; }
.geo .gf-strong { font-weight: 600; }
.geo .gf-x { font-family: 'STIX Two Math', 'Cambria Math', 'Latin Modern Math', 'Times New Roman', serif; font-style: italic; fill: #11182c; }
.geo .gf-xr { font-family: 'STIX Two Math', 'Cambria Math', 'Latin Modern Math', 'Times New Roman', serif; fill: #11182c; }
@media (max-width: 520px) { .geo math[display="block"] { font-size: 1em; } .geo-equation { padding: .9rem .8rem; } }
@media (max-width: 1023px) { .geo-hero-figure { max-width: 34rem; } }

/* ---------- Overview: one-page summary ---------- */
.geo-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.geo-card { padding: 1.25rem 1.4rem 1.1rem; border-top: 3px solid; background: var(--geo-soft); border-radius: 0 0 8px 8px; min-width: 0; }
.geo-card-rep { border-color: var(--geo-ochre); }
.geo-card-rel { border-color: var(--geo-teal); }
.geo-card h3 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 .6rem; }
.geo-card p { margin: 0 0 .5rem; line-height: 1.65; }
.geo-card .geo-equation { background: #fff; }
.geo-kicker .geo-tag { margin-left: .5rem; letter-spacing: .08em; }

.geo-stat-note { font-size: .93rem; color: var(--geo-muted); margin: .6rem 0 0; line-height: 1.55; }
.geo-meter { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) 4.6rem; gap: .75rem; align-items: center; margin: .45rem 0; font-size: .95rem; }
.geo-meter-track { display: block; height: 14px; border-radius: 4px; background: #eef0f3; overflow: hidden; }
.geo-bar { display: block; height: 100%; width: var(--w); min-width: 3px; border-radius: 4px; }
.geo-bar-teal { background: var(--geo-teal); }
.geo-bar-neutral { background: #8b95a3; }
.geo-meter-value { color: var(--geo-ink); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- Bars that grow in when scrolled into view ---------- */
@media (prefers-reduced-motion: no-preference) {
    .geo-anim [data-reveal] :is(.gf-bar, .geo-bar) { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1) .1s; }
    .geo-anim [data-reveal] .gf-dot { opacity: 0; transition: opacity .5s ease .5s; }
    .geo-anim [data-reveal].is-in :is(.gf-bar, .geo-bar) { transform: none; }
    .geo-anim [data-reveal].is-in .gf-dot { opacity: 1; }
    .geo-anim [data-reveal="rise"] > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 130ms); }
    .geo-anim [data-reveal="rise"].is-in > * { opacity: 1; transform: none; }
    .geo-anim [data-flow] svg > * { opacity: 0; transition: opacity .45s ease; transition-delay: calc(var(--i, 0) * 70ms); }
    .geo-anim [data-flow].is-in svg > * { opacity: 1; }
    .geo .gf-flow { stroke-dasharray: 6 5; animation: geo-flow .7s linear infinite; }
    @keyframes geo-flow { to { stroke-dashoffset: -22; } }
}
@media print {
    .geo-anim [data-reveal] :is(.gf-bar, .geo-bar) { transform: none !important; }
    .geo-anim [data-reveal] .gf-dot, .geo-anim [data-reveal="rise"] > * { opacity: 1 !important; }
    .geo-anim [data-reveal="rise"] > * { transform: none !important; }
    .geo-anim [data-flow] svg > * { opacity: 1 !important; }
    .geo-progress { display: none; }
}

.geo-details-body .geo-figure { margin: 2rem 0; }
.geo-details-body .geo-pull { margin-top: 2rem; }

/* ---------- Overview: three cards under the hero ---------- */
.geo-glance { padding: 1.75rem 0 1rem; }
.geo-glance-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .geo-glance-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.geo-card .geo-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.geo-card .geo-kicker .geo-tag { margin-left: 0; }
.geo-kicker .geo-status, h2 .geo-status { margin: 0 !important; text-transform: none; letter-spacing: .02em; font-family: 'QRS Frutiger', 'Frutiger', 'Segoe UI', Inter, system-ui, sans-serif; font-weight: 300; }
.geo-card .geo-meter { grid-template-columns: 5.6rem minmax(0, 1fr) 4.4rem; gap: .6rem; }
.geo-foot .person-section { padding: 0; }
.geo-foot .person-section h2 { font-size: .8rem !important; font-family: inherit; font-weight: 400 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--geo-teal-ink); margin-bottom: .4rem !important; }
.geo-foot .publication-title { font-size: 1rem; line-height: 1.4; }
.geo-foot .publication-authors, .geo-foot .person-list-meta { font-size: .88rem; }
.geo-fullname { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: .01em; color: var(--geo-teal-ink); margin: -.6rem 0 1.1rem; }
.geo-fullname b { font-weight: 600; color: var(--geo-ink); }
.geo-card > h3 { font-size: 1.3rem; margin: 0 0 .75rem; }
.geo-exp-split { display: grid; gap: 1.1rem 1.5rem; }
@media (min-width: 620px) { .geo-exp-split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } .geo-exp-split > div + div { border-left: 1px solid var(--geo-rule); padding-left: 1.5rem; } }
.geo-exp-split h4 { font-size: 1rem; margin: 0 0 .6rem; color: var(--geo-ink); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.geo-exp-split h4 .geo-status { margin: 0 !important; font-weight: 300; }
.geo-foot { display: grid; gap: 1.5rem 3rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--geo-rule); }
@media (min-width: 900px) { .geo-foot { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }

/* ---------- Details: reading progress ---------- */
.geo-progress { position: fixed; left: 0; right: 0; top: var(--geo-header); height: 3px; z-index: 30; pointer-events: none; }
.geo-progress span { display: block; height: 100%; background: var(--geo-teal); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Details: idea first, evidence second, technical material last ---------- */
.geo-part { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--geo-teal-ink); border-top: 1px solid var(--geo-rule); padding-top: 1.25rem; margin: .5rem 0 1.25rem !important; }
.geo-details-body > .geo-part:first-child { border-top: 0; padding-top: 0; margin-top: 0 !important; }
.geo-details-body h2 { flex-wrap: wrap; }
.geo-details-body h2 :is(.geo-tag, .geo-status) { align-self: center; font-size: .78rem !important; }
.geo-split { display: grid; gap: 1.25rem 1.75rem; margin-bottom: 1rem; }
@media (min-width: 860px) { .geo-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; } }
.geo-details-body .geo-figure-sm { max-width: 40rem; }
.geo-details-body .geo-figure figcaption { font-size: .9rem; margin-top: .6rem; }
.geo-details-body ul.geo-points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .geo-details-body ul.geo-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.geo-points li { padding-top: .75rem; border-top: 2px solid var(--geo-teal); line-height: 1.6; font-size: .95rem; margin: 0; }
.geo-points strong { display: block; margin-bottom: .25rem; }
.geo-exp-grid { display: grid; gap: 1rem; margin: 1.25rem 0; }
@media (min-width: 760px) { .geo-exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.geo-exp { border: 1px solid var(--geo-rule); border-top: 3px solid var(--geo-teal); border-radius: 0 0 8px 8px; padding: 1rem 1.1rem .6rem; min-width: 0; }
.geo-details-body .geo-exp h3 { margin: 0 0 .15rem; font-size: 1.15rem; }
.geo-details-body .geo-exp p { font-size: .93rem; line-height: 1.55; margin: 0 0 .5rem; }
.geo-details-body .geo-exp .geo-exp-target { color: var(--geo-muted); font-size: .88rem; }
.geo-meter-wide { grid-template-columns: minmax(0, 1fr) auto; margin: .6rem 0 .75rem; }
.geo-details-body .geo-regimes { margin-top: 1.25rem; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .geo-details-body .geo-regimes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.geo-details-body .geo-regime { margin: 0; }
.geo-details-body .geo-regime-glyph { max-width: 200px; }
.geo-details-body .geo-regime h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.geo-details-body .geo-regime p { font-size: .93rem; }

/* ---------- Stretching-geometry figure (overview hero, built by geoaft.js) ---------- */
.geo-live { max-width: 27rem; width: 100%; justify-self: center; }
.geo-live-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; min-height: 2.4rem; }
.geo-live-rule { color: var(--geo-ink); font-size: .98rem; line-height: 1.3; }
.geo-live-head button { border: 1px solid #c4cad3; border-radius: 6px; padding: .35rem .8rem; background: #fff; color: var(--geo-navy); font-size: .9rem; white-space: nowrap; }
.geo-live-head button:hover { border-color: var(--geo-navy); }
.geo-live-field { position: relative; aspect-ratio: 540 / 420; border: 1px solid var(--geo-rule); border-radius: 8px; overflow: hidden; }
.geo-live-field canvas, .geo-live-field svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo-live-rank { list-style: none; margin: .8rem 0 0; padding: 0; position: relative; }
.geo-live-rank li { position: absolute; left: 0; right: 0; top: 0; height: 19px; display: grid; grid-template-columns: 1.2rem minmax(0, 1fr) 2.8rem; gap: .6rem; align-items: center; font-size: .9rem; transition: transform .45s ease; }
.geo-live-rank .geo-meter-track { height: 11px; }
.geo-live-rank .geo-bar { min-width: 2px; opacity: .45; }
.geo-live-rank .is-top .geo-bar { opacity: 1; }
.geo-live-rank .is-top > span:first-child { color: var(--geo-ink); font-weight: 600; }
.geo-live .geo-illustrative { display: block; margin-top: .25rem; }
@media (prefers-reduced-motion: reduce) { .geo-live-rank li { transition: none; } }

/* ---------- Page heads fade under the content as the page scrolls ---------- */
.geo-overview .geo-hero, .geo-details-head { transform-origin: 50% 30%; will-change: opacity, transform; }
.geo-overview .geo-glance, .geo-details-layout { position: relative; z-index: 1; background: #fff; }
@media (min-width: 1024px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
    .geo-overview .geo-hero, .geo-details-head { position: sticky; top: calc(var(--geo-header) + 1rem); z-index: 0; }
}

/* ---------- Things pinned under the site navigation bar follow it when it slides away ---------- */
.geo-details-toc, .geo-progress { transition: top .3s ease; }
@media (prefers-reduced-motion: reduce) { .geo-details-toc, .geo-progress { transition: none; } }

/* ---------- Status lists and future directions ---------- */
.geo ul.geo-checks { list-style: none; padding: 0; margin: .75rem 0 0; }
.geo ul.geo-checks li { position: relative; padding-left: 1.5rem; margin: .4rem 0; line-height: 1.5; font-size: .95rem; }
.geo-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--geo-teal-ink); font-weight: 600; }
.geo-checks-open li::before { content: "○"; color: var(--geo-muted); }
.geo-board { display: grid; gap: 1.25rem; margin: 0 0 2rem; }
@media (min-width: 760px) { .geo-board { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.geo-board > div { border: 1px solid var(--geo-rule); border-radius: 8px; padding: 1rem 1.2rem; background: var(--geo-soft); }
.geo-details-body .geo-board h3 { margin: 0; font-size: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.geo-board h3 .geo-status { margin: 0 !important; font-weight: 300; }
.geo-next { margin-top: 2.25rem; }
.geo-next > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; }
.geo ol.geo-next-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; counter-reset: next; }
@media (min-width: 760px) { .geo ol.geo-next-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } .geo ol.geo-next-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.geo-next-list li { counter-increment: next; border-left: 3px solid var(--geo-navy); padding: .1rem 0 .1rem 1rem; margin: 0; }
.geo .geo-next-list h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.geo-next-list h3::before { content: counter(next) "  "; color: var(--geo-teal-ink); }
.geo .geo-next-list p { margin: 0; line-height: 1.55; font-size: .95rem; }
.geo-next > h2 .geo-tag { vertical-align: middle; margin-left: .5rem; font-family: 'QRS Frutiger', 'Frutiger', 'Segoe UI', Inter, system-ui, sans-serif; }
.geo ol.geo-next-list-1 { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.geo .geo-next-list p + p { margin-top: .5rem; }
.geo p.geo-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .4rem; font-size: .85rem; }
.geo-chips b { min-width: 2.6rem; color: var(--geo-ink); font-weight: 600; }
.geo-chip { border: 1px solid #9fd3d5; background: var(--geo-teal-tint); color: var(--geo-teal-ink); border-radius: 999px; padding: .05rem .6rem; }
.geo-chip-next { border: 1px dashed #9aa3af; background: none; color: var(--geo-muted); }
.geo ol.geo-ladder { list-style: none; padding: 0; margin: .75rem 0 1.25rem; display: grid; gap: 1rem; }
@media (min-width: 760px) { .geo ol.geo-ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.geo-ladder li { border-top: 3px dashed #b9c0ca; padding-top: .6rem; margin: 0; font-size: .92rem; line-height: 1.5; }
.geo-ladder li.is-done { border-top: 3px solid var(--geo-teal); }
.geo-ladder b { display: block; color: var(--geo-ink); font-weight: 600; font-size: 1rem; }
.geo-ladder-state { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--geo-muted); margin-bottom: .2rem; }
.geo-ladder .is-done .geo-ladder-state { color: var(--geo-teal-ink); }

/* ---------- Details: per-method scatter (built by build_figures.py, enhanced by geoaft.js) ---------- */
.geo-scatter .gf-pt { transition: opacity .2s ease; }
.geo-scatter .gf-pt.is-dim { opacity: .12; }
.geo-scatter.is-live .gf-key { cursor: pointer; }
.geo-scatter .gf-key.is-on text { font-weight: 600; text-decoration: underline; }
.geo-scatter .gf-pt:hover :is(circle, path):last-child { stroke: #11182c; stroke-width: 1.6; }
@media (prefers-reduced-motion: no-preference) {
    .geo-anim .geo-scatter[data-reveal] .gf-pt { opacity: 0; }
    .geo-anim .geo-scatter[data-reveal].is-in .gf-pt { opacity: 1; transition: opacity .6s ease .2s; }
    .geo-anim .geo-scatter[data-reveal].is-in .gf-pt.is-dim { opacity: .12; }
    .geo-anim .geo-scatter[data-reveal] .gf-frontier { stroke-dashoffset: 0; opacity: 0; transition: opacity .8s ease .7s; }
    .geo-anim .geo-scatter[data-reveal].is-in .gf-frontier { opacity: 1; }
}
@media print { .geo-anim .geo-scatter[data-reveal] :is(.gf-pt, .gf-frontier) { opacity: 1 !important; } }
