/* =========================================================
   Layout & components. Colours/fonts live in theme.css.
   You rarely need to edit this file.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
em { font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark path { fill: none; stroke: var(--l1); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: var(--paper); }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.brand-phd { color: var(--muted); font-weight: 400; }

.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.nav-cta { background: var(--ink); color: var(--paper); margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--l1); color: #fff; }
.nav-toggle { display: none; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--rule); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }

/* ---------- Line navigator ---------- */
.line-nav {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: none;
}
.line-track { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 3px; background: var(--rule); border-radius: 3px; }
.line-fill { width: 100%; height: 0; background: linear-gradient(var(--l1), var(--l2), var(--l3)); border-radius: 3px; transition: height .2s linear; }
.line-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; position: relative; }
.line-nav a {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.line-nav a::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--rule); transition: all .25s;
}
.line-nav a span { opacity: 0; transform: translateX(-6px); transition: all .25s; background: var(--paper); padding: 2px 6px; border-radius: 4px; }
.line-nav:hover a span, .line-nav a.active span { opacity: 1; transform: none; }
.line-nav a.passed::before { border-color: var(--l1); }
.line-nav a.active::before { border-color: var(--ink); background: var(--l1); transform: scale(1.25); }
.line-nav a.active { color: var(--ink); }
@media (min-width: 1360px) { .line-nav { display: block; } }

/* ---------- Layout ---------- */
.section, .hero { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter); }
.section-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 28px;
}
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.stop-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); color: var(--ink); font-weight: 500; letter-spacing: 0; }
.display { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 400; }
.display em { color: var(--l1); }
.narrow { max-width: 18ch; margin-bottom: 48px; }
.focus .narrow, .partners .narrow { max-width: 22ch; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px 56px; align-items: center;
  padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: clamp(24px, 4vw, 48px);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 24px; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--l2); box-shadow: 0 0 0 0 var(--l2); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--l2) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 400; margin-bottom: 26px; }
.hero h1 em { color: var(--l1); font-weight: 500; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 52ch; }
.lede strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 500; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--l1); color: #fff; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.hero-map { margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 22px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(15, 27, 45, .25); }
.hero-map svg { width: 100%; height: auto; }
.grid-line { stroke: var(--rule); stroke-width: .6; opacity: .6; }
.coast { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 3 6; opacity: .7; }
.sea { font-family: var(--serif); font-style: italic; font-size: 15px; fill: var(--muted); }
.route { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s cubic-bezier(.6,.1,.2,1) forwards; }
.r1 { stroke: var(--l1); }
.r2 { stroke: var(--l2); animation-delay: .3s; }
.r3 { stroke: var(--l3); animation-delay: .6s; }
.r4 { stroke: var(--l1); animation-delay: .8s; }
.r5 { stroke: var(--l3); animation-delay: 1s; stroke-dasharray: 2 12; stroke-width: 5; animation: fade 1s 1.6s forwards; opacity: 0; stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.bus { fill: var(--ink); stroke: var(--card); stroke-width: 2.5; opacity: 0; animation: fade .6s 2.4s forwards; }
.stations circle { fill: var(--card); stroke: var(--ink); stroke-width: 3; }
.stations circle.hub { stroke-width: 4; }
.stations text { font-family: var(--mono); font-size: 12px; fill: var(--ink-2); }
.hero-map figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-family: var(--mono); font-size: .72rem; color: var(--muted); padding: 6px 10px 4px; }
.legend { display: inline-block; width: 18px; height: 5px; border-radius: 3px; margin-right: -8px; }
.legend.l1 { background: var(--l1); } .legend.l2 { background: var(--l2); } .legend.l3 { background: var(--l3); }

.stats {
  grid-column: 1 / -1; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.stats div { padding: 22px 20px; border-left: 1px solid var(--rule); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.stats dd { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.02em; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.portrait { position: sticky; top: 100px; }
.portrait-frame {
  position: relative; aspect-ratio: 5 / 6; border-radius: 160px 160px 18px 18px; overflow: hidden;
  background: var(--deep); display: grid; place-items: center;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; position: relative; z-index: 1; }
.monogram { font-family: var(--serif); font-size: 6rem; color: var(--deep-ink); font-weight: 300; font-style: italic; position: relative; z-index: 1; }
.portrait-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-lines path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.portrait-lines path:first-child { stroke: var(--l1); }
.portrait-lines path:last-child { stroke: var(--l2); opacity: .55; }
.portrait-caption { margin-top: 16px; font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; }
.portrait-caption span { font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.about-copy .display { margin-bottom: 28px; }
.about-copy p { color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.tags { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .85rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--l1); padding-bottom: 2px; }
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.text-link:hover { color: var(--l1); }

/* ---------- Focus ---------- */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.line-tab {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 18px; border-radius: var(--radius); border: 1.5px solid var(--rule); background: var(--card); color: var(--ink);
  font: inherit; transition: border-color .2s, transform .2s, background .2s;
}
.line-tab:hover { transform: translateY(-2px); border-color: var(--c); }
.line-tab[aria-selected="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--card)); }
.line-badge { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-family: var(--mono); font-weight: 500; font-size: .85rem; }
.line-name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; }
.panel {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px;
  padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: var(--card); border: 1px solid var(--rule);
  border-top: 6px solid var(--c); animation: rise .45s ease;
}
.panel[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 16px; }
.panel p { color: var(--ink-2); }
.stops { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 18px; align-content: center; }
.stops::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 4px; background: var(--c); border-radius: 2px; }
.stops li { position: relative; font-weight: 500; }
.stops li::before { content: ""; position: absolute; left: -26px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 4px solid var(--c); }

/* ---------- Journey ---------- */
.route-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.route-timeline::before { content: ""; position: absolute; left: 150px; top: 10px; bottom: 10px; width: 6px; border-radius: 3px; background: linear-gradient(var(--l1), var(--l2) 50%, var(--l3)); }
.route-timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 0 48px; padding-bottom: 36px; position: relative; }
.route-timeline li::before { content: ""; position: absolute; left: 141px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 5px solid var(--ink); }
.route-timeline li.terminus::before { border-radius: 6px; }
.when { font-family: var(--mono); font-size: .8rem; color: var(--muted); padding-top: 20px; padding-right: 28px; text-align: right; letter-spacing: .04em; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 26px; margin-left: 12px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateX(4px); box-shadow: 0 18px 40px -26px rgba(15,27,45,.35); }
.card h3 { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em; }
.card .org { font-family: var(--mono); font-size: .8rem; color: var(--l3); margin: 4px 0 10px; }
.card p:last-child { margin: 0; color: var(--ink-2); }

/* ---------- Research ---------- */
.research-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.research-head .narrow { margin-bottom: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-size: .88rem; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pubs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pub { display: grid; grid-template-columns: 90px 1fr 40px; gap: 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--rule); position: relative; transition: padding .25s; }
.pub:hover { padding-left: 12px; }
.pub[hidden] { display: none; }
.pub-year { font-family: var(--serif); font-size: 1.6rem; color: var(--muted); line-height: 1; padding-top: 4px; }
.pub-type { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--l2); }
.pub h3 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; margin: 4px 0 6px; }
.pub h3 a { text-decoration: none; }
.pub h3 a::after { content: ""; position: absolute; inset: 0; }
.pub p { margin: 0; color: var(--muted); font-size: .95rem; }
.pub-arrow { font-size: 1.4rem; color: var(--muted); transition: transform .25s, color .25s; justify-self: end; }
.pub:hover .pub-arrow { transform: translate(3px, -3px); color: var(--l1); }
.more { margin-top: 32px; }

/* ---------- Partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.partner { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 28px; position: relative; overflow: hidden; }
.partner::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--l1); transform: scaleX(.2); transform-origin: left; transition: transform .4s; }
.partner:nth-child(2)::after { background: var(--l2); }
.partner:nth-child(3)::after { background: var(--l3); }
.partner:hover::after { transform: scaleX(1); }
.partner-code { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; display: block; margin-bottom: 18px; }
.partner h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.partner p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.pullquote { margin: 72px auto 0; max-width: 860px; text-align: center; }
.pullquote p { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.3; font-style: italic; font-weight: 300; letter-spacing: -.01em; }
.pullquote footer { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pullquote footer::before { content: "— "; }

/* ---------- Contact ---------- */
.contact { max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
.contact-inner {
  max-width: var(--max); margin: 0 auto; background: var(--deep); color: var(--deep-ink);
  border-radius: 28px; padding: clamp(40px, 7vw, 88px); position: relative; overflow: hidden;
}
.contact-inner::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 28px solid var(--l1); opacity: .18;
}
.contact-inner::after {
  content: ""; position: absolute; right: 60px; bottom: -160px; width: 320px; height: 320px; border-radius: 50%;
  border: 20px solid var(--l2); opacity: .18;
}
.section-label.light, .section-label.light .stop-no { color: color-mix(in srgb, var(--deep-ink) 70%, transparent); border-color: var(--deep-ink); }
.section-label.light .stop-no { color: var(--deep-ink); }
.section-label.light::after { background: color-mix(in srgb, var(--deep-ink) 20%, transparent); }
.contact .display { max-width: 18ch; margin-bottom: 18px; position: relative; z-index: 1; }
.contact p { color: color-mix(in srgb, var(--deep-ink) 75%, transparent); max-width: 52ch; position: relative; z-index: 1; }
.email { display: inline-block; font-family: var(--serif); font-size: clamp(1.4rem, 3.6vw, 2.6rem); text-decoration: none; margin: 14px 0 30px; border-bottom: 3px solid var(--l1); position: relative; z-index: 1; word-break: break-all; }
.email:hover { color: var(--l1); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.socials a { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--deep-ink) 30%, transparent); text-decoration: none; font-size: .92rem; transition: all .2s; }
.socials a:hover { background: var(--deep-ink); color: var(--deep); }

/* ---------- Footer ---------- */
.site-footer { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.site-footer p { margin: 0; }
.back-top { text-decoration: none; }
.back-top:hover { color: var(--l1); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .br-lg { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { position: static; max-width: 280px; }
  .panel { grid-template-columns: 1fr; gap: 28px; }
  .partner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid; gap: 5px; align-content: center; justify-items: center;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 16px; height: 2px; background: var(--ink); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav ul {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 18px;
    display: none;
  }
  .nav ul.open { display: flex; }
  .nav a { display: block; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav a.nav-cta { margin: 12px 0 0; text-align: center; border-radius: 999px; border: 0; }
  .theme-toggle { order: 1; }
  .nav { order: 2; }
  .lines { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .route-timeline::before { left: 9px; }
  .route-timeline li { grid-template-columns: 1fr; padding-left: 40px; }
  .route-timeline li::before { left: 0; top: 2px; }
  .when { text-align: left; padding: 0 0 8px; }
  .card { margin-left: 0; }
  .pub { grid-template-columns: 1fr 24px; gap: 4px 12px; }
  .pub-year { grid-column: 1 / -1; font-size: 1.1rem; }
  .stats div { padding: 18px 12px; }
  .stats div:nth-child(odd) { padding-left: 0; }
  .brand-phd { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .bus { display: none; }
}

/* ---------- Generic text section ---------- */
.text-body { max-width: 68ch; color: var(--ink-2); font-size: 1.08rem; }
.text-body h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin: 1.4em 0 .5em; }
.text-body a { color: var(--ink); text-decoration-color: var(--l1); text-underline-offset: 3px; }
.text-body ul { padding-left: 1.2em; }

/* ---------- Standalone quote & hero without map ---------- */
.quote-section { padding-top: 0; }
.quote-section .pullquote { margin-top: 0; }
.hero.no-map { grid-template-columns: 1fr; }
.hero.no-map .hero-text { max-width: 860px; }
