:root {
  --navy: #12263f;
  --navy-2: #1d3d5c;
  --cyan: #1aa6b3;
  --cyan-dark: #0b6e7a;
  --ink: #172b42;
  --muted: #5f7488;
  --line: #dbe5ee;
  --line-strong: #c6d4df;
  --paper: #ffffff;
  --canvas: #f5f8fb;
  --soft-cyan: #e8f7f8;
  --soft-blue: #edf4fa;
  --shadow: 0 18px 45px rgba(18, 38, 63, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid rgba(219, 229, 238, 0.9); backdrop-filter: blur(14px); transition: box-shadow 180ms ease; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(18, 38, 63, 0.09); }
.header-inner, .hero-inner, .section, .footer-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 11px; white-space: nowrap; text-decoration: none; font-weight: 750; letter-spacing: -0.02em; color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 10px; letter-spacing: 0.08em; box-shadow: inset 0 -4px 0 rgba(26, 166, 179, 0.85); }
.brand-name { font-size: 17px; }
.site-nav { display: flex; min-width: 0; align-items: center; gap: 27px; white-space: nowrap; }
.site-nav a { flex-shrink: 0; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; transition: color 160ms ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="true"] { color: var(--cyan-dark); }
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner { padding: 95px 0 86px; }
.eyebrow, .section-number { margin: 0; color: var(--cyan-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 1030px; margin: 22px 0 0; color: var(--navy); font-size: clamp(2.35rem, 5vw, 4.45rem); font-weight: 760; letter-spacing: -0.055em; line-height: 1.08; }
.hero-rule { margin-top: 40px; width: 100%; height: 5px; background: var(--soft-blue); overflow: hidden; }
.hero-rule span { display: block; width: 22%; height: 100%; background: linear-gradient(90deg, var(--cyan), #7ed7dc); }
.section { padding: 105px 0 0; scroll-margin-top: 82px; }
.section-heading { max-width: none; margin-bottom: 32px; }
.section-number { margin-bottom: 7px; color: var(--cyan); }
h2 { margin-bottom: 9px; color: var(--navy); font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 750; letter-spacing: -0.045em; line-height: 1.12; }
.section-lead { max-width: none; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.abstract-card { padding: 28px 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.abstract-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.abstract-card strong { color: var(--navy); font-weight: 750; }
.figure-card, .table-frame { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.image-link { display: flex; justify-content: center; background: #fff; outline-offset: 5px; }
.image-link:focus-visible { outline: 3px solid var(--cyan); }
.image-link img { display: block; width: 100%; height: auto; margin-inline: auto; }
figcaption { padding: 22px 25px 24px; color: var(--muted); font-size: 15px; line-height: 1.68; }
figcaption strong { color: var(--ink); font-weight: 750; }
.result-block + .result-block { margin-top: 54px; }
.result-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--navy); font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.dataset-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border: 1px solid #bfe3e7; border-radius: 999px; color: var(--cyan-dark); background: var(--soft-cyan); font-size: 12px; font-weight: 750; letter-spacing: 0.04em; white-space: nowrap; }
.table-frame { border-radius: 14px; }
.table-scroll { overflow-x: auto; outline-offset: -3px; }
.table-scroll:focus-visible { outline: 3px solid var(--cyan); }
table { width: 100%; min-width: 920px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { caption-side: top; padding: 18px 20px 16px; color: var(--muted); background: #fbfdff; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55; text-align: left; }
thead th { background: var(--soft-blue); color: var(--navy-2); font-size: 13px; font-weight: 750; line-height: 1.3; white-space: nowrap; }
th, td { padding: 13px 14px; border-bottom: 1px solid #e8eef3; text-align: center; white-space: nowrap; }
thead tr:first-child th { padding-top: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); }
thead tr:last-child th { padding-top: 10px; padding-bottom: 13px; }
th:first-child, td:first-child { padding-left: 20px; text-align: left; }
th:nth-child(2), td:nth-child(2) { text-align: center; }
tbody th { color: var(--ink); font-weight: 650; }
tbody td { color: #3f566c; font-size: 14px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr.group-break th, tbody tr.group-break td { border-top: 2px solid var(--line-strong); }
tbody tr.ours th, tbody tr.ours td { background: var(--soft-cyan); }
tbody tr.ours th { color: var(--cyan-dark); font-weight: 800; }
tbody strong { color: var(--cyan-dark); font-weight: 850; }
tbody u { text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.visual-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.visual-grid figcaption { min-height: 0; }
.video-card { margin-top: 24px; }
.project-video { display: block; width: 100%; height: auto; background: #fff; }
.site-footer { margin-top: 105px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.footer-inner span:first-child { color: var(--navy); font-weight: 750; }
@media (max-width: 760px) { .header-inner, .hero-inner, .section, .footer-inner { width: min(100% - 32px, 1180px); } .header-inner { min-height: 62px; gap: 10px; } .site-nav { flex: 1 1 auto; gap: 4px; overflow-x: auto; scrollbar-width: none; } .site-nav::-webkit-scrollbar { display: none; } .site-nav a { font-size: 11px; } .brand-name { font-size: 16px; } .brand-mark { width: 32px; height: 32px; } .hero-inner { padding: 67px 0 58px; } h1 { font-size: clamp(2.2rem, 10vw, 3.35rem); } .section { padding-top: 76px; } .section-lead { font-size: 16px; } .abstract-card { padding: 20px; } .abstract-card p { font-size: 15px; } .result-label { align-items: flex-start; flex-direction: column; gap: 8px; font-size: 18px; } figcaption { padding: 18px 18px 20px; font-size: 14px; } .visual-grid { gap: 20px; } .site-footer { margin-top: 76px; } .footer-inner { min-height: 72px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* Research-page visual system: a roadway, sparse observations, and forecast points. */
body { background: #f3f7f8; font-family: Manrope, "Segoe UI", sans-serif; }
.site-header { background: rgba(250, 253, 252, .94); border-color: #d9e7e8; }
.brand-mark { background: #10314a; box-shadow: inset 0 -4px 0 #59cbbd; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="true"] { color: #087b78; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: #f3fbfc; background: #0d2538; border-bottom: 0; }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: url("assets/recall-scene.svg") no-repeat calc(50% + 435px) center / auto 100%; opacity: .78; }
.hero-inner { position: relative; padding: 88px 0 67px; }
.eyebrow { max-width: 740px; color: #83e3d3; font-size: 12px; letter-spacing: .13em; }
h1 { max-width: 850px; margin-top: 20px; color: #f7fcfc; font-size: clamp(2.5rem, 4.65vw, 4.1rem); font-weight: 720; letter-spacing: -.047em; line-height: 1.13; text-wrap: balance; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.code-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #93d9d0; border-radius: 8px; background: #dff9f1; color: #10314a; font-size: 16px; font-weight: 700; line-height: 24px; text-decoration: none; transition: transform 300ms cubic-bezier(.22,1,.36,1), background 300ms cubic-bezier(.22,1,.36,1); }
.code-button:hover, .code-button:focus-visible { border-color: #b8f0e7; background: #f2fffa; transform: translateY(-2px); }
.code-button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.code-button svg { width: 24px; height: 24px; fill: currentColor; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; }
.hero-metrics > div { display: flex; min-width: 136px; flex-direction: column; gap: 2px; padding: 0 23px 0 0; border-right: 1px solid rgba(176, 221, 220, .24); }
.hero-metrics > div:last-child { border-right: 0; }
.hero-metrics strong { color: #ecfffb; font-size: 25px; font-weight: 720; line-height: 1.25; font-variant-numeric: tabular-nums; }
.hero-metrics span { color: #b4d2da; font-size: 13px; letter-spacing: .025em; }
.hero-rule { margin-top: 48px; height: 3px; background: rgba(156, 210, 214, .15); }
.hero-rule span { width: 25%; background: #6dd6c8; }
.section { position: relative; }
.section-number { color: #087f83; }
h2 { color: #10314a; }
.abstract-card, .figure-card, .table-frame { border-color: #d5e6e7; border-radius: 16px; box-shadow: 0 12px 34px rgba(14, 52, 66, .055); }
.abstract-card { padding: 34px 38px; }
.abstract-card p { max-width: 1050px; color: #40576a; font-size: 17px; line-height: 1.85; }
.abstract-card strong { color: #0a5261; font-weight: 720; }
.abstract-card a { color: #087b78; text-underline-offset: 3px; }
.section-lead { color: #4f6a7b; }
.figure-card > figcaption { border-top: 1px solid #e3eeee; }
figcaption { color: #4f6475; }
.result-label { color: #10314a; }
.dataset-tag { border-color: #c5e3df; border-radius: 6px; background: #eaf6f3; color: #09645f; }
caption { background: #fafdfe; }
thead th { background: #eaf3f3; }
tbody tr.ours th, tbody tr.ours td { background: #e4f4ef; }
tbody tr.ours th, tbody strong { color: #08756f; }
.site-footer { background: #eaf1f2; border-color: #d9e7e8; }
a:focus-visible { outline: 3px solid #2ab9ad; outline-offset: 3px; }
@media (max-width: 760px) {
  .hero::before { background-position: calc(50% + 205px) bottom; background-size: auto 78%; opacity: .35; }
  .hero-inner { padding: 64px 0 44px; }
  h1 { font-size: clamp(2.05rem, 8vw, 3.25rem); }
  .hero-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; margin-top: 44px; }
  .hero-metrics > div:nth-child(2n) { border-right: 0; }
  .hero-metrics > div { min-width: 110px; padding-right: 12px; }
  .hero-metrics strong { font-size: 20px; }
  .hero-metrics span { font-size: 11px; }
  .hero-rule { margin-top: 37px; }
  .abstract-card { padding: 22px; }
  .abstract-card p { font-size: 15px; }
}

/* Manuscript table synchronization. */
.metric-gain { color: #f00; font-size: .8em; }
.compact-table { min-width: 0; }
.compact-table th, .compact-table td { text-align: center; }
tbody tr.ours th, tbody tr.ours td { vertical-align: middle; }
#occupancy-forecasting table { min-width: 1080px; }
