:root {
  color-scheme: light;
  --canvas: #f4f6f3;
  --surface: #fff;
  --ink: #192b23;
  --muted: #56675d;
  --line: #cbd6ce;
  --line-light: #e1e8e1;
  --accent: #116844;
  --accent-dark: #0c4d33;
  --accent-soft: #e4f0e8;
  --radius: 4px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: var(--accent); }
button:focus-visible, input:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.page-shell { width: min(100%, 1440px); margin: 0 auto; padding: 0 clamp(18px, 4vw, 64px); }

.site-header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 25px; font-weight: 800; letter-spacing: -.07em; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 580; text-decoration: none; }
.site-nav a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 5px; }

.intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(32px, 6vw, 100px); align-items: end; padding: clamp(42px, 6vw, 82px) 0 58px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 20px; color: var(--accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.intro h1 { max-width: 900px; margin: 0; font-size: clamp(48px, 5.3vw, 88px); font-weight: 760; letter-spacing: -.075em; line-height: 1.03; text-wrap: balance; }
.intro-lead { max-width: 48ch; margin: 26px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.search-panel { padding: 8px 0 2px clamp(30px, 4.1vw, 62px); border-left: 1px solid var(--line); }
.search-panel h2 { margin: 0 0 20px; font-size: 22px; font-weight: 680; letter-spacing: -.035em; }
form { display: flex; gap: 8px; align-items: stretch; }
input[type="search"] { min-width: 0; min-height: 52px; flex: 1; padding: 0 16px; border: 1px solid #8b9d90; border-radius: var(--radius); background: var(--surface); color: var(--ink); outline: none; }
input[type="search"]::placeholder { color: #6e7d72; opacity: 1; }
input[type="search"]:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
form button { min-height: 52px; padding: 0 22px; border: 1px solid var(--accent-dark); border-radius: var(--radius); background: var(--accent-dark); color: #fff; font-weight: 650; white-space: nowrap; }
form button:hover { background: var(--accent); border-color: var(--accent); }
form button:active, .quiet-button:active, .card button:active { transform: translateY(1px); }
.search-help { max-width: 42ch; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.search-results:empty { display: none; }
.search-results { max-height: 294px; margin-top: 14px; overflow-y: auto; border-top: 1px solid var(--line); }
.search-results .result { width: 100%; display: block; padding: 11px 2px; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0; background: transparent; color: var(--ink); text-align: left; font-size: 14px; }
.search-results .result:hover, .search-results .result:focus-visible { padding-left: 10px; background: var(--accent-soft); color: var(--accent-dark); }
.search-results p { margin: 12px 0; color: var(--muted); font-size: 14px; }

body.has-profile .intro { display: block; padding: 17px 0 18px; }
body.has-profile .intro-copy, body.has-profile .search-help { display: none; }
body.has-profile .search-panel { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 14px 22px; align-items: center; padding: 0; border: 0; }
body.has-profile .search-panel h2 { margin: 0; font-size: 15px; letter-spacing: 0; }
body.has-profile .search-results { grid-column: 1 / -1; margin-top: 0; }

#status { margin: 0; color: var(--muted); font-size: 13px; }
#status:not(:empty) { min-height: 43px; display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-light); }
#status[data-tone="error"] { color: #8a332e; }
#status[data-tone="success"] { color: var(--accent-dark); }
#status[data-tone="loading"]::before { content: ""; width: 18px; height: 3px; margin-right: 10px; background: var(--accent); }

.profile { padding-top: 26px; }
.profile-overview { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: 25px; }
.profile-heading { min-width: 0; }
.profile-identity .eyebrow { margin-bottom: 8px; }
#institution-name { margin: 0; max-width: 24ch; font-size: clamp(34px, 4.1vw, 58px); line-height: 1.1; letter-spacing: -.065em; font-weight: 730; overflow-wrap: anywhere; }
#institution-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 13px 0 0; color: var(--muted); font-size: 15px; }
#institution-meta span { white-space: normal; }
#institution-meta a { font-weight: 650; }
.quiet-button { min-height: 40px; margin-top: 19px; padding: 0 15px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--accent-dark); font-size: 13px; font-weight: 650; white-space: nowrap; }
.quiet-button:hover { border-color: var(--accent); background: var(--accent-soft); }
.profile-summary { margin: 0 0 16px; color: #33483b; font-size: 16px; line-height: 1.65; }
.profile-meta { margin: 0; color: var(--muted); font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
#warnings:not(:empty) { margin: 14px 0 23px; padding: 12px 16px; border-left: 3px solid #a95733; background: #f7ece6; color: #703b29; font-size: 14px; }
#warnings p { margin: 3px 0; }

.visual-workspace { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(28px, 3.5vw, 56px); padding: 32px 0 0; border-top: 1px solid var(--line); }
.workspace-sidebar { min-width: 0; padding-right: 18px; border-right: 1px solid var(--line); }
.sidebar-sticky { position: sticky; top: 24px; }
.workspace-sidebar h3 { margin: 0 0 13px; font-size: 12px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.filters { display: flex; flex-direction: column; }
.filters button { width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 9px 10px 12px; border: 0; border-left: 2px solid transparent; border-bottom: 1px solid var(--line-light); border-radius: 0; background: transparent; color: #405246; text-align: left; font-size: 14px; }
.filters button:hover { background: #edf2ed; color: var(--accent-dark); }
.filters button[aria-pressed="true"] { border-left-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); font-weight: 720; }
.filters .filter-count { color: var(--muted); font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.filters button[aria-pressed="true"] .filter-count { color: var(--accent-dark); }
.sidebar-note { max-width: 24ch; margin: 23px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.workspace-main { min-width: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.section-heading h2, .section-heading h3 { margin: 0; font-size: clamp(25px, 2.5vw, 34px); font-weight: 720; letter-spacing: -.055em; line-height: 1.12; }
.section-heading p { max-width: 68ch; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.section-count { flex: 0 0 auto; color: var(--muted); font: 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; align-items: start; }
.card { min-width: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.card:first-child { grid-column: span 2; }
.card img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; border-radius: var(--radius); background: #e3eae3; }
.card:first-child img { aspect-ratio: 16 / 9; }
.image-fallback { display: flex; min-height: 180px; aspect-ratio: 4 / 3; align-items: center; padding: 20px; border-radius: var(--radius); background: #e3eae3; color: var(--muted); font-size: 13px; }
.card:first-child .image-fallback { aspect-ratio: 16 / 9; }
.card-body { padding-top: 10px; }
.card-topline { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 7px; }
.card-type, .card .pill { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.card .pill.city_context { color: var(--accent-dark); }
.card h4 { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.34; overflow-wrap: anywhere; }
.card-meta { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.card-credit { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.card button { margin-top: 12px; padding: 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--accent-dark); font-size: 13px; font-weight: 680; text-align: left; }
.card button:hover { color: var(--accent); }
.gallery-empty { grid-column: 1 / -1; margin: 0; padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

.insights-section, .context-section { margin-top: 86px; padding-top: 32px; border-top: 1px solid var(--line); }
.voices-section { margin-top: 86px; padding-top: 32px; border-top: 1px solid var(--line); }
.student-voices { max-width: 1050px; }
.voices-summary { max-width: 74ch; margin: 0 0 23px; color: #33483b; font-size: 18px; line-height: 1.65; }
.voice-themes { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.voice-themes article { min-width: 0; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line-light); }
.voice-themes article + article { padding-left: 20px; border-left: 1px solid var(--line-light); }
.voice-themes h4, .voice-sources h4 { margin: 0 0 9px; font-size: 16px; letter-spacing: -.025em; }
.voice-themes p { margin: 0; color: #425348; font-size: 14px; line-height: 1.55; }
.voice-themes .hint { margin-top: 14px; }
.voice-sources { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.voice-sources a { font-size: 13px; line-height: 1.9; }
.insights-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 78px); }
.insight-column + .insight-column { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }
.insight-column h4 { margin: 0 0 18px; font-size: 17px; font-weight: 680; letter-spacing: -.02em; }
.coverage-table, .compare-table { width: 100%; border-collapse: collapse; text-align: left; }
.coverage-table th, .compare-table th { padding: 0 12px 11px 0; color: var(--muted); font-size: 10px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.coverage-table td, .compare-table td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line-light); font-size: 13px; vertical-align: top; }
.coverage-table td:nth-child(2) { min-width: 92px; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.coverage-table td:nth-child(3) { color: var(--muted); font-size: 12px; }
.bar { height: 5px; margin: 7px 0 0; background: #dfe8df; }
.bar span { height: 100%; display: block; background: var(--accent); }
#evidence-funnel p { margin: 0; }
#evidence-funnel .funnel-row { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; padding: 11px 0; border-top: 1px solid var(--line-light); font-size: 13px; }
#evidence-funnel .funnel-row .bar { grid-column: 1 / -1; margin-top: 2px; }
#evidence-funnel .funnel-value { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.hint, #evidence-funnel .hint { color: var(--muted); font-size: 12px; line-height: 1.6; }
#evidence-funnel .hint { margin-top: 15px; }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.extras article { min-width: 0; padding: 17px 0 22px; border-top: 1px solid var(--line-light); }
.extras article h4 { margin: 0 0 13px; font-size: 18px; font-weight: 680; letter-spacing: -.035em; }
.extras article p { margin: 8px 0; color: #425348; font-size: 14px; }
.extras article .hint { color: var(--muted); font-size: 12px; }
.extras article a { font-size: 13px; }
.extras article .bar { max-width: 360px; margin: 5px 0 11px; }
.extras > .hint { margin-top: 0; }

.compare-section { margin-top: 100px; padding: 40px 0 48px; border-top: 1px solid var(--line); }
.compare-section form { max-width: 720px; }
.compare-section .search-results { max-width: 720px; }
#compare-result { margin-top: 24px; overflow-x: auto; }
.compare-table th:not(:first-child), .compare-table td:not(:first-child) { text-align: right; }
.compare-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.methodology { border-top: 1px solid var(--line); }
.methodology summary { position: relative; padding: 25px 35px 25px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 680; }
.methodology summary::-webkit-details-marker { display: none; }
.methodology summary::after { content: "+"; position: absolute; right: 4px; top: 21px; color: var(--accent); font-size: 24px; font-weight: 400; }
.methodology[open] summary::after { content: "−"; }
.methodology-body { max-width: 80ch; padding: 0 0 30px; color: var(--muted); font-size: 14px; }
.methodology-body p { margin: 0 0 16px; }
.site-footer { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer span:first-child { color: var(--ink); font-size: 16px; font-weight: 750; letter-spacing: -.04em; }

dialog { width: min(760px, calc(100vw - 32px)); max-height: min(90dvh, 900px); padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 24px 70px rgba(12, 49, 31, .19); overflow-y: auto; }
dialog::backdrop { background: rgba(12, 34, 24, .58); }
dialog form { display: block; text-align: right; }
dialog .eyebrow { margin: 0 0 8px; }
dialog h2 { margin: 0 0 24px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.055em; }
dialog h3 { margin: 0 0 20px; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
dialog h4 { margin: 23px 0 11px; font-size: 15px; }
dialog dl { display: grid; grid-template-columns: minmax(125px, 180px) 1fr; margin: 0; }
dialog dt, dialog dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line-light); font-size: 13px; overflow-wrap: anywhere; }
dialog dt { color: var(--muted); }
dialog dd { font-weight: 580; }
dialog ul { padding-left: 20px; font-size: 13px; }
dialog li { margin: 6px 0; }
dialog .close { display: inline-block; width: auto; min-height: auto; margin: 0 0 12px; padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--accent-dark); font-size: 13px; font-weight: 650; }

@media (max-width: 1100px) {
  .intro { grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr); gap: 30px; }
  .intro h1 { font-size: clamp(45px, 5.8vw, 68px); }
  .visual-workspace { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 64px; }
  .site-nav { gap: 16px; }
  .intro { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
  .search-panel { padding: 0; border: 0; }
  .intro h1 { font-size: clamp(44px, 9vw, 67px); }
  body.has-profile .search-panel { grid-template-columns: 1fr; gap: 8px; }
  .profile-overview { grid-template-columns: 1fr; gap: 20px; }
  .visual-workspace { display: block; }
  .workspace-sidebar { margin-bottom: 27px; padding: 0; border: 0; }
  .sidebar-sticky { position: static; }
  .filters { flex-direction: row; gap: 0; overflow-x: auto; padding-bottom: 5px; }
  .filters button { width: auto; flex: 0 0 auto; border-left: 0; border-bottom: 2px solid transparent; padding: 10px 12px; white-space: nowrap; }
  .filters button[aria-pressed="true"] { border-left: 0; border-bottom-color: var(--accent); }
  .filters .filter-count { margin-left: 8px; }
  .sidebar-note { max-width: 65ch; margin: 9px 0 0; }
  .insights-grid { grid-template-columns: 1fr; gap: 32px; }
  .insight-column + .insight-column { padding-left: 0; border: 0; }
  .extras { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .page-shell { padding: 0 16px; }
  .brand { font-size: 22px; }
  .site-nav a { font-size: 12px; }
  .intro h1 { font-size: 44px; }
  form { display: grid; grid-template-columns: 1fr; }
  form button { width: 100%; }
  .quiet-button { margin: 18px 0 0; }
  .gallery { grid-template-columns: 1fr; gap: 25px; }
  .card:first-child { grid-column: auto; }
  .card:first-child img { aspect-ratio: 4 / 3; }
  .section-heading { align-items: start; }
  .section-count { align-self: start; margin-top: 7px; }
  .coverage-table td:nth-child(3), .coverage-table th:nth-child(3) { display: none; }
  .site-footer { display: block; padding: 25px 0; }
  .site-footer span { display: block; margin: 4px 0; }
  dialog dl { grid-template-columns: 115px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Atlas evolution: native CSS, one light theme and preserved CampusTrace green. */
:root { --canvas:#f7f9f7; --line:#d4ddd7; --line-light:#e6ece7; --radius:6px; }
body { font-family:"Avenir Next",Avenir,"Segoe UI",sans-serif; }
.page-shell { width:min(100%,1600px); padding-inline:clamp(18px,3.4vw,56px); }
.site-header { min-height:72px; }
.brand { letter-spacing:-.055em; }
.intro { grid-template-columns:1.05fr 1fr; gap:60px; padding:40px 0 34px; border:0; }
.intro h1 { font-size:clamp(35px,3.7vw,58px); letter-spacing:-.055em; line-height:1.08; }
.intro .eyebrow { margin-bottom:14px; }
.intro-lead { margin-top:17px; max-width:47ch; font-size:16px; }
.search-panel { padding:0 0 0 32px; }
.search-panel h2 { margin-bottom:12px; font-size:18px; }
.search-help { font-size:12px; max-width:60ch; }
button, a, input, select { -webkit-tap-highlight-color:transparent; }
button { transition:background .16s ease,border-color .16s ease,transform .16s ease; }
button:disabled { cursor:not-allowed; opacity:.48; }
button:disabled:hover { transform:none; }
select { min-height:42px; max-width:100%; width:100%; padding:8px 30px 8px 11px; border:1px solid #91a497; border-radius:var(--radius); color:var(--ink); background:var(--surface); font:inherit; font-size:13px; }
select:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.atlas-section { margin:0 0 44px; border:1px solid var(--line); border-radius:10px; background:var(--surface); overflow:hidden; }
.atlas-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:19px 22px; border-bottom:1px solid var(--line); }
.atlas-heading h2 { margin:0; font-size:24px; line-height:1.2; letter-spacing:-.035em; }
.atlas-heading p { margin:5px 0 0; color:var(--muted); font-size:13px; }
.map-modes { display:flex; flex-shrink:0; border:1px solid var(--line); border-radius:var(--radius); padding:3px; background:var(--canvas); }
.map-modes button { padding:7px 16px; border:0; border-radius:4px; background:transparent; color:var(--muted); font-size:13px; font-weight:650; }
.map-modes button[aria-pressed="true"] { background:var(--accent-dark); color:white; }
.atlas-workspace { display:grid; grid-template-columns:minmax(0,1fr) 292px; }
.map-stage { position:relative; min-width:0; background:#e8efea; }
#atlas-map { width:100%; height:490px; min-height:370px; }
#atlas-map canvas { outline-offset:-4px; }
.map-caption { min-height:47px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:11px 16px; background:#f1f5f2; border-top:1px solid var(--line); font-size:11px; color:var(--muted); }
.map-caption a { flex-shrink:0; font-weight:650; }
.atlas-tools { min-width:0; padding:21px 20px; border-left:1px solid var(--line); }
.campus-control>label { display:block; font-size:13px; font-weight:700; margin-bottom:9px; }
.campus-control .hint { margin:9px 0 18px; }
.tool-disclosure { border-top:1px solid var(--line-light); padding-top:14px; }
.tool-disclosure summary { cursor:pointer; font-size:13px; font-weight:700; }
.map-layers { display:grid; gap:11px; margin-top:16px; }
.map-layers label { display:flex; align-items:center; gap:9px; color:#3d5446; font-size:12px; cursor:pointer; }
.map-layers input { flex:0 0 auto; width:15px; height:15px; margin:0; accent-color:var(--accent); }
.map-legend { margin-top:14px; color:var(--muted); font-size:11px; }
.place-panel { border-top:1px solid var(--line-light); margin-top:20px; padding-top:17px; }
.place-panel h3 { margin:0 0 7px; font-size:15px; letter-spacing:-.02em; }
#place-evidence { max-height:250px; overflow-y:auto; overflow-wrap:anywhere; }
#place-evidence h4 { margin:8px 0; font-size:14px; }
#place-evidence p,#place-evidence a,#place-evidence li { font-size:12px; }
#place-evidence img { max-width:100%; border-radius:var(--radius); }
.nearby-photo { width:100%; margin-top:8px; padding:8px 10px; border:1px solid var(--line); border-radius:var(--radius); background:var(--canvas); color:var(--accent-dark); font-size:12px; font-weight:650; text-align:left; }
.nearby-photo:hover { border-color:var(--accent); background:var(--accent-soft); }
.atlas-scenarios { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); }
.atlas-scenarios>section { padding:23px; min-width:0; }
.atlas-scenarios>section+section { border-left:1px solid var(--line); }
.scenario-heading h3 { font-size:18px; margin:0; letter-spacing:-.03em; }
.scenario-heading p { margin:5px 0 17px; font-size:12px; color:var(--muted); }
.scenario-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.scenario-actions button,.reachability-controls button { min-height:40px; padding:9px 13px; border:1px solid var(--accent-dark); border-radius:var(--radius); background:var(--accent-dark); color:white; font-size:12px; font-weight:650; white-space:nowrap; }
.scenario-actions .secondary-button { color:var(--accent-dark); background:var(--surface); border-color:var(--line); }
.scenario-actions .text-button { color:var(--muted); background:transparent; border-color:transparent; padding-inline:5px; }
.reachability-controls { display:flex; align-items:end; gap:9px; }
.reachability-controls label { display:grid; gap:5px; color:var(--muted); font-size:11px; flex:1; min-width:0; }
.reachability-controls select { min-height:40px; }
#walk-steps { display:grid; gap:7px; font-size:12px; }
#walk-steps button { padding:8px 10px; color:var(--accent-dark); border:1px solid var(--line); border-radius:var(--radius); background:var(--canvas); text-align:left; }
#walk-steps button[aria-current="true"] { background:var(--accent-soft); border-color:var(--accent); }
#reachability-details:empty,#walk-steps:empty { display:none; }
body.has-profile .intro { border-bottom:1px solid var(--line); margin-bottom:18px; }
body.has-profile .atlas-section { margin-bottom:32px; }
.profile { padding-top:0; }
.profile-overview { padding:10px 0 28px; }
#institution-name { font-size:clamp(31px,3.5vw,49px); letter-spacing:-.05em; }
.profile-summary { font-size:15px; }
.insights-section,.context-section { margin-top:55px; }
.compare-section { margin-top:48px; }
.card { transition:transform .16s ease; }
.card:hover { transform:translateY(-2px); }
.card img { border:1px solid var(--line-light); }
.bar { background:transparent; }
.bar span { border-radius:2px; }
.maplibregl-popup-content { color:var(--ink); border-radius:var(--radius)!important; font-family:inherit!important; padding:15px!important; }
.maplibregl-popup-content button { color:var(--accent-dark); }
.maplibregl-ctrl-attrib { font-size:10px!important; }
@media (max-width:1100px) {
 .intro { gap:26px; grid-template-columns:1fr 1fr; }
 .intro h1 { font-size:38px; }
 .search-panel { padding-left:24px; }
 .atlas-workspace { grid-template-columns:minmax(0,1fr) 260px; }
 .atlas-tools { padding:18px 16px; }
 .reachability-controls { flex-wrap:wrap; }
 .reachability-controls button { flex:1 0 100%; }
}
@media (max-width:760px) {
 .intro { grid-template-columns:1fr; gap:23px; padding:29px 0; }
 .intro h1 { font-size:clamp(34px,6.2vw,44px); }
 .intro-lead { font-size:15px; }
 .search-panel { padding:0; }
 .atlas-heading { padding:16px; align-items:start; }
 .atlas-heading h2 { font-size:20px; }
 .map-modes button { padding:7px 11px; }
 .atlas-workspace { grid-template-columns:1fr; }
 #atlas-map { height:380px; min-height:320px; }
 .atlas-tools { border-left:0; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; gap:16px; }
 .campus-control .hint { margin-bottom:0; }
 .tool-disclosure { border:0; padding-top:0; }
 .place-panel { grid-column:1/-1; margin-top:0; }
 .atlas-scenarios { grid-template-columns:1fr; }
 .atlas-scenarios>section { padding:20px 16px; }
 .atlas-scenarios>section+section { border-left:0; border-top:1px solid var(--line); }
 .reachability-controls { flex-wrap:nowrap; }
 .reachability-controls button { flex:0 0 auto; }
 .voice-themes { grid-template-columns:1fr 1fr; }
}
@media (max-width:520px) {
 .site-nav { gap:12px; }
 .site-nav a { font-size:11px; }
 .intro h1 { font-size:34px; }
 #search-form { grid-template-columns:minmax(0,1fr) auto; }
 #search-form button { padding:0 17px; }
 .atlas-heading { flex-wrap:wrap; gap:13px; }
 .atlas-heading>div:first-child { width:100%; }
 #atlas-map { height:350px; }
 .atlas-tools { grid-template-columns:1fr; }
 .tool-disclosure { border-top:1px solid var(--line-light); padding-top:14px; }
 .map-layers { grid-template-columns:1fr 1fr; gap:12px; }
 .map-layers label { font-size:11px; align-items:start; }
 .map-caption { align-items:start; }
 .reachability-controls { flex-wrap:wrap; }
 .reachability-controls button { flex:1 0 100%; }
 .scenario-actions button { font-size:11px; }
 .voice-themes { grid-template-columns:1fr; }
 .voice-themes article + article { padding-left:0; border-left:0; }
 .section-heading h3,.section-heading h2 { font-size:27px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* Field atlas: typography-led chrome, continuous map workspace, compact route strip. */
:root { --canvas:#f5f7f4; --surface:#fff; --ink:#18372b; --muted:#52685a; --line:#ccd7ce; --radius:5px; }
body { font-family:"Helvetica Neue",Helvetica,"Segoe UI",Arial,sans-serif; }
.site-header { min-height:70px; }
.brand { font-weight:800; font-size:26px; }
.site-nav a { font-weight:600; }
.intro { padding:33px 0 29px; align-items:center; grid-template-columns:1.16fr 1fr; }
.intro h1 { font-size:clamp(36px,3.8vw,59px); font-weight:650; letter-spacing:-.065em; }
.intro-lead { font-size:15px; margin-top:15px; }
.intro .eyebrow { font-size:10px; letter-spacing:.18em; }
.search-panel { border-left:0; padding-left:24px; }
.search-panel h2 { font-size:14px; letter-spacing:0; }
#search-form { gap:0; background:white; border:1px solid #769581; border-radius:7px; padding:5px; }
#search-form input { border:0; box-shadow:none; min-height:43px; padding-inline:12px; background:transparent; }
#search-form button { min-height:43px; padding-inline:22px; border-radius:4px; }
#search-form:focus-within { outline:2px solid var(--accent); outline-offset:3px; }
.search-results .result { padding:14px 10px; line-height:1.45; }
.search-results .result:hover { padding-left:14px; }
.atlas-section { border:1px solid #bccfc1; border-radius:9px; box-shadow:0 10px 35px #244d3010; }
.atlas-heading { padding:18px 22px; background:#edf3ed; align-items:center; }
.atlas-heading h2 { font-size:25px; font-weight:650; letter-spacing:-.055em; }
.atlas-heading p { margin-top:6px; font-size:12px; line-height:1.5; }
.map-modes { background:#e2ebe3; border-color:#cad8cd; }
.map-modes button { min-height:34px; padding:7px 19px; }
.atlas-workspace { grid-template-columns:minmax(0,1fr) 296px; }
#atlas-map { height:520px; }
.atlas-tools { padding:20px; background:#fcfdfb; }
.map-caption { background:#f5f8f3; font-size:11px; padding:10px 16px; }
.map-caption span { max-width:78ch; }
.campus-control label { font-size:11px; }
.campus-control select { font-weight:600; font-size:12px; min-height:40px; border-color:#c0cfc3; }
select:disabled { opacity:1; background:#f0f5ef; color:#52685a; }
#map-precision { font-size:11px; line-height:1.55; }
.map-layers label { min-height:22px; }
.map-layers { gap:8px; }
.tool-disclosure summary { font-size:12px; }
.place-panel { margin-top:15px; padding-top:15px; }
.place-panel h3 { font-size:17px; font-weight:650; letter-spacing:-.04em; }
#place-evidence { max-height:250px; padding-right:4px; }
#place-evidence h4 { font-size:14px; line-height:1.35; }
#place-evidence .hint { font-size:11px; line-height:1.65; }
#place-evidence a { display:inline-block; margin:3px 0; font-weight:600; }
.atlas-scenarios { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); background:#fbfcfa; }
.atlas-scenarios>section { padding:24px; }
.scenario-heading h3 { font-size:22px; font-weight:600; letter-spacing:-.045em; }
.scenario-heading p { margin-top:7px; }
.scenario-actions button,.reachability-controls button { font-size:11px; min-height:38px; }
#walk-steps { display:flex; gap:8px; overflow-x:auto; scroll-snap-type:x proximity; padding:4px 0 12px; scrollbar-color:#adc4b5 transparent; scrollbar-width:thin; }
#walk-steps button { flex:0 0 172px; min-height:62px; scroll-snap-align:start; font-size:12px; line-height:1.5; padding:12px; border:1px solid #cad9ce; background:white; border-left:3px solid #9dbca6; }
#walk-steps button[aria-current="true"] { background:#e4f0e6; border-color:#3f7b55; color:#123e26; }
#walk-status,#reachability-status { font-size:11px; line-height:1.65; }
.reachability-controls select { font-size:12px; border-color:#c0cfc3; }
#reachability-details { padding:0; font-size:11px; line-height:1.65; }
.profile-overview { border-bottom:1px solid var(--line); padding-bottom:28px; gap:45px; }
.profile-identity .eyebrow { font-size:10px; }
#institution-name { font-weight:600; }
.profile-description { padding-top:5px; }
.profile-summary { font-size:14px; }
.visual-workspace { border-top:0; }
.section-heading h2,.section-heading h3 { font-weight:600; letter-spacing:-.045em; }
.workspace-sidebar h3 { text-transform:none; letter-spacing:0; font-size:14px; }
.filters button { border-bottom:0; padding-block:12px; }
.gallery { gap:26px 21px; }
.card:first-child { grid-column:span 2; }
.card h4 { font-size:14px; font-weight:600; }
.card-type,.card .pill { font-size:10px; letter-spacing:.035em; }
.card-credit { font-size:11px; }
.compare-section { padding:30px; background:#eaf1e9; border:1px solid var(--line); border-radius:9px; margin-bottom:40px; }
.compare-section .section-heading { margin-bottom:20px; }
.compare-table td { padding-block:13px; }
.compare-table th { font-size:11px; text-transform:none; letter-spacing:0; }
.coverage-table th { font-size:11px; text-transform:none; letter-spacing:0; }
@media(min-width:1101px) { .reachability-controls { flex-wrap:wrap; } .reachability-controls button { flex:0 0 auto; } }
@media(max-width:1100px) { .atlas-workspace { grid-template-columns:minmax(0,1fr) 270px; } .intro h1 { font-size:43px; } .atlas-scenarios { grid-template-columns:1fr 1fr; } }
@media(max-width:760px) {
 .intro { grid-template-columns:1fr; gap:23px; padding:28px 0; }
 .intro h1 { font-size:40px; }
 .search-panel { padding-left:0; }
 .atlas-workspace { grid-template-columns:1fr; }
 #atlas-map { height:420px; }
 .atlas-tools { grid-template-columns:1fr 1fr; padding:18px; }
 .atlas-scenarios { grid-template-columns:1fr; }
 .atlas-scenarios>section { padding:22px 18px; }
 .compare-section { padding:24px 18px; }
 .card:first-child { grid-column:span 2; }
}

/* Minimal dark discovery screen. */
.landing { display:block; min-height:100svh; background:#080809; color:#f7f7f8; }
.landing::before { inset:0; z-index:-3; background:radial-gradient(ellipse 65% 50% at 50% 88%,rgba(54,54,59,.3),transparent 68%),#080809; }
.landing::after { display:none; }
.landing-header { display:none; }
.landing-orbit { display:none; }
.discovery-globe { width:min(86vw,1040px); height:min(86vw,1040px); min-width:0; min-height:0; right:auto; left:50%; top:auto; bottom:clamp(-500px,-33vw,-320px); z-index:0; transform:translateX(-50%); }
.landing-copy { position:absolute; inset:0; z-index:2; width:100%; padding:0; transform:translateZ(1px); }
.landing-kicker { display:none; }
.landing h1 { position:absolute; top:clamp(70px,11vh,132px); left:50%; width:100%; margin:0; transform:translateX(-50%); color:transparent; background:linear-gradient(180deg,#fbfbfc 0%,#c6c6c9 46%,#5e5e64 100%); background-clip:text; -webkit-background-clip:text; font-size:clamp(56px,9.2vw,140px); font-weight:700; letter-spacing:-.09em; line-height:.84; text-align:center; }
.landing-lead { display:none; }
.home-search-form { position:absolute; z-index:3; bottom:clamp(28px,5vh,58px); left:50%; width:min(620px,calc(100vw - 40px)); transform:translateX(-50%); }
.home-ai-input { min-height:62px; padding-left:19px; border-color:rgba(255,255,255,.16); border-radius:16px; background:rgba(28,28,31,.88); box-shadow:0 13px 38px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.05); backdrop-filter:blur(16px); }
.home-ai-input:focus-within { border-color:rgba(255,255,255,.44); background:#202024; box-shadow:0 0 0 3px rgba(255,255,255,.09),0 13px 38px rgba(0,0,0,.35); }
.home-ai-input textarea { color:#f5f5f6; font-size:15px; }
.home-ai-input textarea::placeholder { color:#929298; }
.home-mic { background:transparent; color:#b8b8be; }
.home-ai-input textarea { padding-right:52px; }
.home-ai-input.has-value textarea { padding-right:82px; }
.home-mic { right:9px; }
.home-ai-input.has-value .home-mic { right:54px; }
.home-send { background:#f2f2f3; color:#121214; border-radius:10px; }
.home-search-results { position:absolute; z-index:4; bottom:calc(clamp(28px,5vh,58px) + 74px); left:50%; width:min(620px,calc(100vw - 40px)); margin:0; transform:translateX(-50%); border:1px solid rgba(255,255,255,.13); background:rgba(26,26,29,.97); box-shadow:0 18px 42px rgba(0,0,0,.45); }
.home-search-results .result { border-color:rgba(255,255,255,.09); color:#f3f3f4; }
.home-search-results .result:hover { background:#303034; }
.home-search-results small { color:#a3a3aa; }
.landing-footnote { position:absolute; bottom:clamp(10px,2vh,22px); left:50%; z-index:3; width:100%; margin:0; transform:translateX(-50%); color:#7e7e85; text-align:center; font-size:11px; }
.landing-drag { display:none; }
@media(max-width:760px) {
  .landing h1 { top:clamp(58px,10vh,90px); font-size:clamp(49px,15vw,76px); }
  .discovery-globe { width:128vw; height:128vw; bottom:-57vw; }
  .home-search-form { width:calc(100vw - 32px); bottom:42px; }
  .landing-footnote { display:none; }
}

/* Reserve the second control only after a query is present. */
.home-ai-input textarea { padding-right:52px; }
.home-ai-input.has-value textarea { padding-right:82px; }
.home-mic { right:9px; }
.home-ai-input.has-value .home-mic { right:54px; }

/* Visible globe when an embedded browser blocks WebGL for file previews. */
.globe-fallback { position:absolute; z-index:0; width:min(86vw,1040px); height:min(86vw,1040px); right:auto; left:50%; bottom:clamp(-500px,-33vw,-320px); overflow:hidden; border-radius:50%; transform:translateX(-50%); background:radial-gradient(circle at 40% 28%,#fff 0,#e8e8ea 43%,#b3b3b8 72%,#fff 74%,#101012 76%); box-shadow:0 0 38px 8px rgba(255,255,255,.56),0 0 130px rgba(255,255,255,.18); }
.globe-fallback::before { content:""; position:absolute; inset:8%; border-radius:50%; background-image:radial-gradient(circle,rgba(10,10,12,.78) 0 1.3px,transparent 1.8px); background-size:12px 12px; -webkit-mask-image:radial-gradient(ellipse at 57% 45%,#000 0 31%,transparent 66%); mask-image:radial-gradient(ellipse at 57% 45%,#000 0 31%,transparent 66%); opacity:.7; transform:rotate(-14deg); }
.cobe-ready .globe-fallback { display:none; }
.discovery-globe.globe-unavailable { display:none; }
@media(max-width:760px) { .globe-fallback { width:128vw; height:128vw; bottom:-57vw; } }
html.file-preview .discovery-globe { display:none !important; }
html.file-preview .globe-fallback { display:block; }
@media(max-width:520px) {
 .brand { font-size:23px; }
 .site-header { min-height:64px; gap:12px; }
 .intro h1 { font-size:34px; }
 .intro-lead { font-size:14px; }
 .search-help { font-size:11px; }
 #search-form { display:flex; }
 #search-form input { width:0; font-size:13px; }
 #search-form button { width:auto; padding-inline:16px; font-size:13px; }
 .atlas-heading { padding:15px; gap:12px; }
 .atlas-heading h2 { font-size:23px; }
 .atlas-heading p { font-size:11px; }
 .atlas-heading>div:first-child { width:auto; flex:1 0 100%; }
 .map-modes { width:100%; }
 .map-modes button { flex:1; }
 #atlas-map { height:370px; }
 .atlas-tools { grid-template-columns:1fr; }
 .map-layers { gap:8px 12px; }
 .map-layers label { font-size:11px; }
 .map-caption { flex-wrap:wrap; gap:5px; }
 .map-caption span { flex:1 0 100%; }
 .card:first-child { grid-column:auto; }
 .scenario-heading h3 { font-size:22px; }
 .scenario-actions { gap:7px; }
 .scenario-actions button { padding-inline:10px; }
 .reachability-controls { flex-wrap:wrap; }
 .reachability-controls button { flex:1 0 100%; }
 .profile-overview { gap:20px; }
}
.search-results .result strong,.search-results .result small { display:block; }
.search-results .result strong { font-weight:650; line-height:1.45; }
.search-results .result small { margin-top:3px; color:var(--muted); font-size:11px; line-height:1.5; }
.card-body .photo-map-button { color:var(--accent-dark); background:var(--accent-soft); margin-bottom:7px; }

/* Discovery landing and the research hand-off. */
.landing { position:relative; min-height:100svh; overflow:hidden; display:grid; align-content:center; isolation:isolate; }
.landing::before { content:""; position:absolute; inset:0 -6vw; z-index:-3; background:linear-gradient(112deg,#f5f7f1 0%,#edf4eb 44%,#d7eadb 100%); }
.landing::after { content:""; position:absolute; z-index:-2; width:72vw; height:72vw; right:-30vw; top:-26vw; border-radius:50%; background:radial-gradient(circle,rgba(87,157,108,.18),rgba(87,157,108,0) 66%); }
.landing-header { position:absolute; z-index:2; inset:0 0 auto; height:76px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(25,72,45,.18); transform:translateZ(1px); }
.landing-header p { margin:0; color:#557060; font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; }
.discovery-globe { position:absolute; z-index:0; width:min(58vw,660px); height:min(58vw,660px); min-width:520px; min-height:520px; right:clamp(-75px,-3vw,16px); top:50%; transform:translateY(-48%); touch-action:none; cursor:grab; }
.discovery-globe.is-dragging { cursor:grabbing; }
.landing-orbit { position:absolute; z-index:-2; width:min(61vw,720px); height:28px; right:clamp(-220px,-10vw,-60px); top:50%; border:1px solid rgba(23,102,62,.22); border-radius:50%; transform:rotate(-22deg); }
.landing-orbit-two { width:min(51vw,640px); right:clamp(-170px,-5vw,-25px); top:60%; transform:rotate(49deg); opacity:.62; }
.landing-copy { position:relative; z-index:2; width:min(690px,56vw); padding:74px 0 34px; transform:translateZ(1px); }
.landing-kicker { margin:0 0 19px; color:#17653f; font:700 11px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; }
.landing h1 { max-width:760px; margin:0; color:#143d29; font-size:clamp(48px,6.15vw,100px); font-weight:650; letter-spacing:-.078em; line-height:.94; text-wrap:balance; }
.landing-lead { max-width:43ch; margin:27px 0 28px; color:#486453; font-size:17px; line-height:1.6; }
.home-search-form { width:min(585px,100%); display:block; }
.home-ai-input { position:relative; display:flex; align-items:center; min-height:64px; padding:7px 9px 7px 20px; border:1px solid #9cb6a2; border-radius:32px; background:rgba(255,255,255,.68); box-shadow:0 14px 34px rgba(27,78,47,.08); transition:border-color .2s,box-shadow .2s,background .2s; }
.home-ai-input:focus-within { border-color:#247a50; background:#fff; box-shadow:0 0 0 3px rgba(43,121,78,.12),0 14px 34px rgba(27,78,47,.08); }
.home-ai-input textarea { width:100%; min-height:28px; max-height:118px; padding:4px 82px 4px 0; border:0; outline:0; resize:none; overflow-y:auto; background:transparent; color:var(--ink); font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif; }
.home-ai-input textarea::placeholder { color:#668071; opacity:1; }
.home-ai-input .home-mic,.home-ai-input .home-send { position:absolute; display:grid; place-items:center; width:38px; height:38px; min-height:0; padding:0; border:0; border-radius:12px; }
.home-ai-input svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.home-mic { right:54px; background:rgba(24,76,49,.06); color:#416352; transition:right .18s,opacity .18s,transform .18s; }
.home-send { right:9px; background:#115d3d; color:#fff; opacity:0; pointer-events:none; transform:scale(.82); transition:opacity .18s,transform .18s; }
.home-ai-input.has-value .home-mic { right:54px; }
.home-ai-input.has-value .home-send { opacity:1; pointer-events:auto; transform:scale(1); }
.home-search-results { width:min(585px,100%); max-height:260px; overflow:auto; margin-top:9px; border-radius:7px; background:rgba(255,255,255,.94); box-shadow:0 14px 33px rgba(27,78,47,.12); }
.home-search-results:empty { display:none; }
.home-search-results .result { width:100%; display:block; padding:13px 17px; border:0; border-bottom:1px solid #e0e9e1; border-radius:0; background:transparent; color:var(--ink); text-align:left; }
.home-search-results .result:last-child { border:0; }
.home-search-results .result:hover { background:#eaf4ec; }
.home-search-results strong,.home-search-results small { display:block; }
.home-search-results small { margin-top:3px; color:var(--muted); }
.landing-footnote { margin:16px 0 0; color:#6c8172; font-size:12px; }
.landing-drag { position:absolute; z-index:2; right:0; bottom:33px; margin:0; color:#52705c; font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.12em; writing-mode:vertical-rl; transform:translateZ(1px); }
.landing-drag span { margin-top:12px; color:var(--accent); font-size:17px; }
@media(max-width:760px) {
  .landing { min-height:100svh; align-content:end; padding-bottom:62px; }
  .landing-header { height:66px; } .landing-header p { font-size:8px; }
  .landing-copy { width:100%; padding:100px 0 0; }
  .landing h1 { font-size:clamp(47px,13vw,70px); }
  .landing-lead { max-width:34ch; margin:20px 0 24px; font-size:14px; }
  .discovery-globe { width:102vw; height:102vw; min-width:0; min-height:0; right:-6vw; top:8%; transform:none; opacity:.9; }
  .landing-orbit { width:96vw; right:-17vw; top:26%; } .landing-orbit-two { width:82vw; right:-4vw; top:29%; }
  .landing-drag { display:none; }
  .home-ai-input { min-height:58px; padding-left:17px; } .home-ai-input textarea { font-size:14px; } .home-ai-input .home-mic,.home-ai-input .home-send { width:36px; height:36px; } .home-mic { right:51px; } .home-send { right:8px; }
}

/* Final landing composition: intentionally declared last to override the atlas theme. */
/* The opening screen is a viewport, not a card inside the desktop content column. */
body:not(.has-profile) { background:#080809; }
body:not(.has-profile) .page-shell { width:100%; max-width:none; min-height:100svh; margin:0; padding:0; }
.landing { display:block; min-height:100svh; padding:0; background:#080809; color:#f7f7f8; }
.landing::before { inset:0; z-index:-3; background:radial-gradient(ellipse 65% 50% at 50% 88%,rgba(54,54,59,.3),transparent 68%),#080809; }
.landing::after,.landing-header,.landing-orbit,.landing-drag { display:none; }
.discovery-globe { width:min(86vw,1040px); height:min(86vw,1040px); min-width:0; min-height:0; right:auto; left:50%; top:auto; bottom:clamp(-500px,-33vw,-320px); z-index:0; transform:translateX(-50%); }
.landing-copy { position:absolute; inset:0; z-index:2; width:100%; padding:0; transform:translateZ(1px); }
.landing-kicker,.landing-lead { display:none; }
.landing h1 { position:absolute; top:clamp(70px,11vh,132px); left:50%; width:100%; max-width:none; margin:0; transform:translateX(-50%); color:transparent; background:linear-gradient(180deg,#fbfbfc 0%,#c6c6c9 46%,#5e5e64 100%); background-clip:text; -webkit-background-clip:text; font-size:clamp(56px,9.2vw,140px); font-weight:700; letter-spacing:-.09em; line-height:.84; text-align:center; }
.home-search-form { position:absolute; z-index:3; bottom:clamp(28px,5vh,58px); left:50%; width:min(620px,calc(100vw - 40px)); transform:translateX(-50%); }
.home-ai-input { min-height:62px; padding-left:19px; border-color:rgba(255,255,255,.16); border-radius:16px; background:rgba(28,28,31,.88); box-shadow:0 13px 38px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.05); backdrop-filter:blur(16px); }
.home-ai-input:focus-within { border-color:rgba(255,255,255,.44); background:#202024; box-shadow:0 0 0 3px rgba(255,255,255,.09),0 13px 38px rgba(0,0,0,.35); }
.home-ai-input textarea { color:#f5f5f6; font-size:15px; }
.home-ai-input textarea::placeholder { color:#929298; }
.home-mic { background:transparent; color:#b8b8be; }
.home-send { background:#f2f2f3; color:#121214; border-radius:10px; }
.home-search-results { position:absolute; z-index:4; bottom:calc(clamp(28px,5vh,58px) + 74px); left:50%; width:min(620px,calc(100vw - 40px)); margin:0; transform:translateX(-50%); border:1px solid rgba(255,255,255,.13); background:rgba(26,26,29,.97); box-shadow:0 18px 42px rgba(0,0,0,.45); }
.home-search-results .result { border-color:rgba(255,255,255,.09); color:#f3f3f4; }
.home-search-results .result:hover { background:#303034; }
.home-search-results small { color:#a3a3aa; }
.landing-footnote { position:absolute; bottom:clamp(10px,2vh,22px); left:50%; z-index:3; width:100%; margin:0; transform:translateX(-50%); color:#7e7e85; text-align:center; font-size:11px; }
@media(max-width:760px) {
  .landing { padding:0; }
  .landing h1 { top:clamp(58px,10vh,90px); font-size:clamp(49px,15vw,76px); }
  .discovery-globe { width:128vw; height:128vw; bottom:-57vw; transform:translateX(-50%); }
  .home-search-form { width:calc(100vw - 32px); bottom:42px; }
  .landing-footnote { display:none; }
}

/* Final control alignment, after every responsive rule above. */
.home-ai-input textarea { padding-right:52px; }
.home-ai-input.has-value textarea { padding-right:82px; }
.home-mic { right:9px; }
.home-ai-input.has-value .home-mic { right:54px; }
.search-message { padding:16px; margin:0; font-size:14px; line-height:1.5; }
.search-more { display:block; width:100%; padding:14px; border:0; border-radius:0; font-size:14px; }
.home-search-results .search-more { background:#303034; color:#fff; }
.home-search-results .search-message { color:#eee; }
.discussion-card { padding:20px 0; border-bottom:1px solid var(--line,#ddd); }
.discussion-card a { font-size:17px; font-weight:600; line-height:1.4; }
.discussion-card blockquote { margin:14px 0 0; padding-left:16px; border-left:2px solid var(--accent,#aaa); font-size:14px; line-height:1.7; color:var(--muted,#666); }
.voice-themes article a { display:inline-block; margin:8px 12px 0 0; font-size:13px; }
.campus-video { width:100%; aspect-ratio:16/9; border:0; margin:12px 0; border-radius:8px; }

/* ============================================================================
   Unified dark theme (v2)
   ----------------------------------------------------------------------------
   The landing page was already a deep near-black surface while the results and
   profile screens were a light green one, so the product visibly changed skin
   halfway through the flow. This block is the single place where the palette
   now lives: one near-black canvas, flat accent colours with no gradient fills,
   high contrast text, and thin borders instead of drop shadows. Earlier rules
   are left untouched on purpose — this section only redefines the tokens and
   overrides the handful of places that hardcoded a light colour.
   ========================================================================== */
:root {
  --canvas:#0a0a0b;          /* page background */
  --surface:#131316;         /* cards, panels */
  --surface-2:#191a1d;       /* nested surfaces, inputs */
  --surface-3:#202126;       /* hover */
  --ink:#f2f2f4;             /* primary text */
  --muted:#9d9daa;           /* secondary text, AA on --surface */
  --line:#2c2d33;            /* structural borders */
  --line-light:#232429;      /* hairlines inside cards */
  --accent:#43d98c;          /* flat green, no gradients */
  --accent-dark:#6ae6a6;     /* used as text/link colour: lighter on dark */
  --accent-soft:#12251c;     /* tinted fill */
  --on-accent:#05130c;       /* text placed on an accent fill */
  --warn-line:#c8823c;
  --warn-fill:#251a0e;
  --warn-ink:#f0c795;
  --radius:6px;
  color-scheme: dark;
}
body { background:var(--canvas); color:var(--ink); }
a { color:var(--accent-dark); }
a:hover { color:var(--accent); }
.brand { color:var(--ink); }
.brand span { color:var(--accent); }

/* Controls -------------------------------------------------------------- */
input[type="search"] { border:1px solid var(--line); background:var(--surface-2); color:var(--ink); }
input[type="search"]::placeholder { color:#6f707b; }
input[type="search"]:focus { border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-soft); }
#search-form { background:var(--surface-2); border:1px solid var(--line); }
form button { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
form button:hover { background:var(--accent-dark); border-color:var(--accent-dark); }
.quiet-button { border-color:var(--line); color:var(--accent-dark); background:transparent; }
.quiet-button:hover { border-color:var(--accent); background:var(--accent-soft); }
select, .campus-control select, .reachability-controls select {
  border:1px solid var(--line); background:var(--surface-2); color:var(--ink);
}
select:disabled { background:var(--surface); color:var(--muted); }
.map-layers input { accent-color:var(--accent); }

/* Structure ------------------------------------------------------------- */
.site-header, .site-footer { border-color:var(--line); }
.search-results .result { color:var(--ink); border-bottom-color:var(--line-light); }
.search-results .result:hover, .search-results .result:focus-visible { background:var(--accent-soft); color:var(--accent-dark); }
.filters button:hover { background:var(--surface-3); color:var(--accent-dark); }
.filters button[aria-pressed="true"] { background:var(--accent-soft); color:var(--accent-dark); border-left-color:var(--accent); }

#warnings:not(:empty) { border-left:3px solid var(--warn-line); background:var(--warn-fill); color:var(--warn-ink); }

/* Profile status banner: complete vs partial is a load-bearing distinction,
   so it gets its own colour rather than another grey box. */
.profile-status { display:flex; flex-direction:column; gap:6px; margin:18px 0 0; padding:14px 16px;
  border:1px solid var(--line); border-left-width:3px; border-radius:var(--radius);
  background:var(--surface); font-size:13px; color:var(--muted); }
.profile-status strong { color:var(--ink); font-size:14px; }
.profile-status[data-state="complete"] { border-left-color:var(--accent); }
.profile-status[data-state="partial"] { border-left-color:var(--warn-line); }

/* Cards ----------------------------------------------------------------- */
.card { border-color:var(--line); background:var(--surface); box-shadow:none; }
.card img, .image-fallback { background:var(--surface-2); }
.image-fallback { color:var(--muted); }
.card .pill { border:1px solid var(--line); background:var(--surface-2); color:var(--muted); }
.card .pill.probable { color:var(--accent-dark); border-color:#2b4d3b; }
.card .pill.city_context { color:#8fb7e6; border-color:#28405c; }
.card .pill.unknown { color:var(--warn-ink); border-color:#4a3a22; }
.card-credit { color:var(--muted); font-size:12px; line-height:1.6; }
.card-credit a { color:var(--accent-dark); }
.card button { color:var(--accent-dark); }
.card button:hover { color:var(--accent); }
.card-body .photo-map-button { color:var(--accent-dark); background:var(--accent-soft); }

/* The visual classifier is a second opinion, so its badge reads as evidence,
   never as decoration: agreement, disagreement and vision-only look different. */
.vision-badge { margin:8px 0 0; padding:6px 9px; border-radius:var(--radius);
  border:1px solid var(--line); background:var(--surface-2); font-size:12px; line-height:1.5; }
.vision-badge.confirmed { border-color:#2b4d3b; color:var(--accent-dark); }
.vision-badge.conflict { border-color:#4a3a22; color:var(--warn-ink); }
.vision-badge.partial { color:var(--muted); }

/* Data displays --------------------------------------------------------- */
.bar { background:var(--line-light); }
.bar span { background:var(--accent); }
.coverage-table th, .compare-table th { color:var(--muted); border-bottom-color:var(--line); }
.coverage-table td, .compare-table td { border-bottom-color:var(--line-light); }
.coverage-unknown td { color:var(--warn-ink); }
.compare-gap { color:var(--warn-ink); }
.compare-warning { color:var(--warn-ink); }
.compare-section { background:var(--surface); border-color:var(--line); }

.campus-facts { display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); margin:18px 0 0; }
.fact-card { padding:14px 16px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.fact-card h4 { margin:0 0 8px; font-size:13px; letter-spacing:.02em; color:var(--accent-dark); text-transform:uppercase; }
.fact-card ul { margin:0; padding-left:18px; font-size:13px; line-height:1.7; }
.description-section { margin:0 0 40px; }
.geo-agreement { margin:10px 0 4px; font-size:12px; font-weight:650; }
.geo-agreement.confirmed { color:var(--accent-dark); }
.geo-agreement.conflict { color:var(--warn-ink); }
.geo-agreement.single_source { color:var(--muted); }
.geo-points { margin:0; padding-left:18px; font-size:12px; line-height:1.8; color:var(--muted); }

/* Atlas ----------------------------------------------------------------- */
.atlas-section { border-color:var(--line); background:var(--surface); }
.atlas-heading { background:var(--surface-2); }
.map-stage { background:#0d0d0f; }
.map-caption { background:var(--surface-2); border-top-color:var(--line); color:var(--muted); }
.map-modes { background:var(--surface); border-color:var(--line); }
.map-modes button { color:var(--muted); }
.map-modes button[aria-pressed="true"] { background:var(--accent); color:var(--on-accent); }
.atlas-tools { background:var(--surface-2); }
.atlas-scenarios { background:var(--surface); }
.scenario-actions button, .reachability-controls button { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.scenario-actions .secondary-button { background:var(--surface-2); border-color:var(--line); color:var(--accent-dark); }
#walk-steps button { background:var(--surface-2); border-color:var(--line); border-left-color:#315a43; color:var(--ink); }
#walk-steps button[aria-current="true"] { background:var(--accent-soft); border-color:var(--accent); color:var(--accent-dark); }
.nearby-photo { background:var(--surface-2); border-color:var(--line); color:var(--accent-dark); }
.nearby-photo:hover { border-color:var(--accent); background:var(--accent-soft); }
.maplibregl-popup-content { background:var(--surface)!important; color:var(--ink)!important; border:1px solid var(--line); }
.maplibregl-popup-content button { color:var(--accent-dark); }
.maplibregl-popup-tip { border-top-color:var(--surface)!important; border-bottom-color:var(--surface)!important; }

/* Dialog and misc ------------------------------------------------------- */
dialog { border:1px solid var(--line); background:var(--surface); color:var(--ink); box-shadow:none; }
dialog::backdrop { background:rgba(4,4,6,.72); }
dialog .close { color:var(--accent-dark); }
dialog dt { color:var(--muted); }
.methodology { border-color:var(--line); }
.methodology summary::after { color:var(--accent); }
.discussion-card { border-bottom-color:var(--line-light); }
.discussion-card blockquote { border-left-color:var(--accent); color:var(--muted); }
#status[data-tone="success"] { color:var(--accent-dark); }
#status[data-tone="error"] { color:#f0968a; }
#status[data-tone="loading"]::before { background:var(--accent); }

/* Shadows are replaced by borders throughout, per the flat dark language. */
.card, .search-panel, .insights-section, .context-section, .voices-section,
.atlas-section, .compare-section, .profile-status { box-shadow:none; }

/* Once a profile is open the oversized hero is dead weight above the gallery:
   the compact search panel is kept, the marketing headline is not. */
body.has-profile .intro-copy { display:none; }
body.has-profile .intro { display:block; margin-bottom:26px; }
body.has-profile .search-panel { border:1px solid var(--line); background:var(--surface); }
.search-panel { border:1px solid var(--line); background:var(--surface); }

/* v0.7 — photo links to its source; evidence chips (counts, not probabilities) */
.card-photo { display: block; border-radius: var(--radius); }
.card-photo:hover img { opacity: .92; }
.evidence-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 12px; }
.evidence-chips li { padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.evidence-chips .evidence-count { border-color: var(--accent); color: var(--ink); font-weight: 650; }
.evidence-chips a { color: inherit; }
.evidence-chips .reliability-high { border-color: var(--accent); }
.evidence-chips .reliability-medium { border-color: #b8891f; }
.evidence-chips .reliability-low { border-color: #b4574f; }

/* Landing, final pass: sized by the viewport's *height* as well as its width,
   so a 1366x657 or 1536x730 Windows laptop keeps heading, globe and search in
   one composition. The fallback globe shows until WebGL has drawn a frame. */
.landing { --globe: min(92vw, 150svh, 1080px); }
.discovery-globe, .globe-fallback {
  width: var(--globe); height: var(--globe); min-width: 0; min-height: 0;
  left: 50%; right: auto; top: auto; bottom: calc(var(--globe) * -0.56); transform: translateX(-50%);
}
.globe-fallback { display: block; }
.landing.cobe-ready .globe-fallback { display: none; }
.discovery-globe { opacity: 0; transition: opacity .6s ease; }
.landing.cobe-ready .discovery-globe { opacity: 1; }
.landing h1 {
  font-family: "Inter", "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(44px, min(8.2vw, 13.5svh), 128px); font-weight: 800;
  letter-spacing: -0.045em; line-height: .92; top: clamp(44px, 9svh, 120px);
  padding: 0 16px; box-sizing: border-box; text-wrap: balance;
}
.home-search-form, .home-search-results { width: min(640px, calc(100% - 40px)); }
.landing-footnote { font-size: 12px; color: #9a9aa2; }
@media (max-height: 700px) and (min-width: 761px) {
  .home-search-form { bottom: 36px; }
  .home-search-results { bottom: 108px; max-height: calc(100svh - 260px); overflow-y: auto; }
  .landing-footnote { bottom: 10px; }
}
@media (max-width: 760px) {
  .landing { --globe: min(128vw, 120svh); }
  .landing h1 { font-size: clamp(40px, 13vw, 72px); }
}
.discovery-globe, .globe-fallback { bottom: calc(var(--globe) * -0.5); }
.landing-footnote { width: auto; padding: 4px 12px; border-radius: 999px; background: rgba(8, 8, 9, .72); color: #c4c4cb; white-space: nowrap; }
/* overflow:hidden still lets the browser scroll the landing to reveal a focused
   field (the globe overhangs the bottom), which pushed the heading off-screen on
   short laptop viewports. clip never scrolls. */
.landing { overflow: clip; height: 100svh; }
.home-search-results { max-height: calc(100svh - 240px); overflow-y: auto; }

/* Brand display face on the landing too (Unbounded, Cyrillic). It is wider
   than Inter, so the size scale is reduced to keep two lines on laptops. */
.landing h1 { font-family: "Unbounded", "Onest", "Segoe UI", sans-serif; font-weight: 700;
  font-size: clamp(34px, min(6.4vw, 11svh), 104px); letter-spacing: -0.035em; line-height: 1.02; }
@media (max-width: 760px) { .landing h1 { font-size: clamp(30px, 9.6vw, 52px); } }
