:root {
  --navy: #15345b;
  --navy-deep: #0e2746;
  --blue: #1768ff;
  --blue-soft: #eaf2ff;
  --line: #d7e2f2;
  --text: #10274f;
  --muted: #597095;
  --paper: #f8fafd;
  --surface: #fbfcfe;
  --max: 1440px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f8fafd; color: var(--text); line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .24; background-image: linear-gradient(rgba(118,128,142,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(118,128,142,.16) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .2em; }
a:hover { color: var(--blue); }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--navy); color: white; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { min-height: 76px; padding: 0 clamp(1rem, 3vw, 3.25rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; background: rgba(248,250,253,.97); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 1rem; color: var(--navy); text-decoration: none; flex-shrink: 0; }
.brand-name { font-size: clamp(1.2rem, 1.5vw, 1.55rem); font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.brand-divider { width: 1px; height: 42px; background: var(--blue); }
.brand-meta { font-size: .72rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.site-nav a { position: relative; padding: 1.75rem 0; color: var(--navy-deep); text-decoration: none; font-size: .94rem; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--blue); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; width: 48px; height: 48px; background: transparent; border: 0; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 6px 0; }

main { min-height: 70vh; background: #f8fafd; }
.loading, .error { padding: 8rem 1.5rem; text-align: center; }
.eyebrow, .section-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .24em; }
.rule { height: 1px; background: #9fb8dc; }

.home-hero { display: grid; grid-template-columns: minmax(0, 57%) minmax(340px, 43%); min-height: 560px; max-width: var(--max); margin: 0 auto; border-bottom: 1px solid var(--line); background: transparent; box-shadow: 0 18px 60px rgba(9,41,104,.05); }
.hero-portrait { overflow: hidden; background: #e8e2da; }
.hero-portrait img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center 24%; filter: sepia(.14) saturate(.8); }
.hero-copy { position: relative; padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 6rem); border-right: 1px solid var(--line); overflow: hidden; }
.hero-copy::after { content: ""; position: absolute; right: -8rem; bottom: -9rem; width: 24rem; height: 24rem; opacity: .32; background-image: linear-gradient(#b9cbe6 1px, transparent 1px), linear-gradient(90deg, #b9cbe6 1px, transparent 1px); background-size: 30px 30px; transform: rotate(-8deg); pointer-events: none; }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy h1 { margin: 2.2rem 0 .5rem; font-size: clamp(3.25rem, 5.2vw, 5.8rem); line-height: .96; letter-spacing: -.065em; color: var(--navy); }
.hero-role { margin: 1.25rem 0 2.25rem; font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.3; color: #284a80; }
.hero-focus { color: #5e82b5; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; }

.numbered-section { max-width: var(--max); margin: 0 auto; padding: 2.25rem clamp(1.5rem, 4vw, 4rem); border-bottom: 1px solid var(--line); background: transparent; }
.section-heading { grid-template-columns: auto 1fr auto auto; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.15rem); letter-spacing: -.045em; text-transform: none; color: var(--navy); font-weight: 500; }
.news-list { margin-top: 1rem; }
.news-list article { display: grid; grid-template-columns: 150px 1fr; gap: 2rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.news-list time { color: var(--muted); font-variant-numeric: tabular-nums; }
.news-list h3 { margin: 0 0 .25rem; font-size: 1.15rem; color: var(--navy); }
.news-list p { margin: 0; color: var(--muted); }

.route-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: transparent; }
.route-grid a { position: relative; min-height: 170px; padding: 2rem 3.5rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); color: var(--navy); text-decoration: none; transition: background .2s ease; }
.route-grid a::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 6px; background: var(--blue); }
.route-grid a:hover { background: var(--surface); }
.route-grid a:last-child { border-right: 0; }
.route-grid span { font-size: .72rem; color: #6e8fbc; letter-spacing: .16em; }
.route-grid strong { margin: .75rem 0 .25rem; font-size: clamp(1.5rem, 2.1vw, 2.2rem); font-weight: 500; letter-spacing: -.04em; }
.route-grid small { color: var(--muted); text-transform: uppercase; letter-spacing: .15em; }
.route-grid b { position: absolute; right: 2.5rem; top: 50%; font-size: 2rem; font-weight: 300; transform: translateY(-50%); }

.network-strip { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr 2fr; border-bottom: 1px solid var(--line); background: transparent; }
.network-label { padding: 2.5rem; display: flex; align-items: center; color: var(--muted); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.network { padding: 1.5rem 2rem; display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 1.5rem; border-left: 1px solid var(--line); color: var(--text); text-decoration: none; }
.network img { width: 145px; max-height: 110px; object-fit: contain; }
.network span { font-size: .95rem; }
.network b { display: inline-block; margin-top: .75rem; color: var(--blue); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.page-hero { position: relative; max-width: var(--max); min-height: 390px; margin: 0 auto; display: grid; grid-template-columns: minmax(300px, 39%) minmax(0, 61%); overflow: hidden; border-bottom: 1px solid var(--line); background: transparent; box-shadow: 0 18px 60px rgba(9,41,104,.05); }
.page-visual { min-height: 390px; overflow: hidden; border-right: 1px solid var(--line); background: linear-gradient(135deg, #eef4fd, #dce8f9); }
.page-visual img { width: 100%; height: 100%; min-height: 390px; display: block; object-fit: cover; object-position: center; filter: saturate(.82) contrast(.98); }
.page-visual.is-contain { display: grid; place-items: center; padding: 2rem; background: linear-gradient(145deg, #edf3fc, #d9e5f7); }
.page-visual.is-contain img { width: auto; height: min(326px, 84%); min-height: 0; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(9,41,104,.18)); }
.page-hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6rem); overflow: hidden; }
.page-hero-copy::after { content: ""; position: absolute; right: -8rem; bottom: -10rem; width: 30rem; height: 30rem; opacity: .32; background-image: linear-gradient(#b9cbe6 1px, transparent 1px), linear-gradient(90deg, #b9cbe6 1px, transparent 1px), linear-gradient(30deg, transparent 49.7%, #9eb8dd 50%, transparent 50.3%); background-size: 34px 34px, 34px 34px, 100% 100%; transform: rotate(-7deg); pointer-events: none; }
.page-hero .eyebrow { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { position: relative; z-index: 1; margin: 2.5rem 0 0; color: var(--navy); font-size: clamp(3rem, 6vw, 6rem); line-height: 1; letter-spacing: -.06em; }

.content-shell { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); border-bottom: 1px solid var(--line); background: transparent; }
.content-shell > aside { padding: 3rem 2rem; border-right: 1px solid var(--line); color: var(--muted); }
.content-shell > aside span { display: block; margin-bottom: 1rem; color: var(--blue); font-size: .75rem; letter-spacing: .18em; }
.content-shell > aside strong { color: var(--navy); font-size: 1.1rem; font-weight: 500; }
.legacy-content { min-width: 0; padding: clamp(2.5rem, 5vw, 5rem); counter-reset: section; }
.legacy-content > h1:first-child { display: none; }
.legacy-content h1, .legacy-content h2, .legacy-content h3 { color: var(--navy); line-height: 1.18; letter-spacing: -.035em; }
.legacy-content h2 { margin: 4rem 0 1.5rem; padding-top: 1rem; display: grid; grid-template-columns: minmax(0, auto) 1fr; align-items: center; gap: 1rem; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; }
.legacy-content h2:first-child { margin-top: 0; }
.legacy-content h2::after { content: ""; height: 1px; background: var(--line); }
.legacy-content h3 { margin: 2.5rem 0 1rem; font-size: 1.35rem; }
.legacy-content p, .legacy-content li { font-size: 1rem; color: #344d73; }
.legacy-content p { margin: 0 0 1.15rem; }
.legacy-content ul, .legacy-content ol { margin: 1.25rem 0 2rem; padding-left: 1.25rem; }
.legacy-content li { margin: .65rem 0; padding-left: .35rem; }
.legacy-content a { color: #0c5fe9; font-weight: 600; overflow-wrap: anywhere; }
.legacy-content img { margin: 1rem 1rem 1rem 0; max-height: 420px; object-fit: contain; }
.legacy-content blockquote { margin: 2rem 0; padding: 1.5rem 2rem; border-left: 4px solid var(--blue); background: var(--surface); }
.legacy-content .dated-list { list-style: none; margin: 1.25rem 0 2rem; padding: 0; display: grid; gap: 1.05rem; }
.legacy-content .dated-entry { display: grid; grid-template-columns: 7.25rem minmax(0, 1fr); column-gap: 1.1rem; align-items: start; margin: 0; padding: 0; }
.dated-date { color: #617994; font-size: .95rem; font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: .14rem; }
.dated-detail { min-width: 0; overflow-wrap: anywhere; }
.dated-detail p { margin: 0; }
.dated-detail p + p { margin-top: .4rem; }
.home-details { margin-top: 0; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 2.5rem clamp(1.5rem, 4vw, 4rem); display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: .9rem; border-top: 5px solid var(--navy); background: #f0f3f8; }
.site-footer strong { color: var(--navy); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

@media (max-width: 1280px) {
  .site-header { min-height: 88px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .75rem 1.5rem 1.5rem; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: #f8fafd; box-shadow: 0 16px 35px rgba(9,41,104,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 1050px) {
  .site-header { min-height: 88px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .75rem 1.5rem 1.5rem; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: #f8fafd; box-shadow: 0 16px 35px rgba(9,41,104,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { order: 1; padding-bottom: 2.5rem; }
  .hero-portrait { order: 2; margin: 0 clamp(1.5rem, 5vw, 4rem) 3rem; }
  .hero-portrait img { min-height: 360px; max-height: 500px; object-position: center 28%; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .route-grid a:nth-child(2) { border-right: 0; }
  .route-grid a:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .network-strip { grid-template-columns: 1fr 1fr; }
  .network-label { grid-column: 1 / -1; padding: 1.5rem 2rem; border-bottom: 1px solid var(--line); }
  .network:first-of-type { border-left: 0; }
  .content-shell { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 850px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-visual { min-height: 320px; height: 42vw; max-height: 430px; border-right: 0; border-bottom: 1px solid var(--line); }
  .page-visual img { min-height: 320px; }
  .page-visual.is-contain { height: 360px; }
  .page-visual.is-contain img { min-height: 0; }
}

@media (max-width: 700px) {
  .site-header { min-height: 72px; padding: 0 1rem; }
  .brand { gap: .7rem; }
  .brand-name { font-size: 1.35rem; }
  .brand-divider, .brand-meta { display: none; }
  .hero-copy { padding: 2.25rem 1.25rem 1.75rem; }
  .hero-copy h1 { margin-top: 1.5rem; font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-role { font-size: 1.25rem; }
  .hero-focus { font-size: .68rem; letter-spacing: .16em; }
  .hero-portrait { margin: 0 1.25rem 2rem; }
  .hero-portrait img { min-height: 300px; height: 58vw; max-height: 430px; }
  .numbered-section { padding: 1.75rem 1.25rem; }
  .section-heading { gap: .75rem; }
  .section-heading h2 { font-size: 2.25rem; }
  .news-list article { grid-template-columns: 1fr; gap: .4rem; }
  .route-grid { grid-template-columns: 1fr; }
  .route-grid a, .route-grid a:nth-child(2), .route-grid a:nth-child(3) { grid-column: auto; border-right: 0; border-top: 1px solid var(--line); min-height: 145px; padding: 1.5rem 3.5rem 1.5rem 2.25rem; }
  .route-grid a:first-child { border-top: 0; }
  .route-grid b { right: 1.25rem; }
  .network-strip { grid-template-columns: 1fr; }
  .network { grid-template-columns: 100px 1fr; border-left: 0; border-top: 1px solid var(--line); padding: 1.25rem; }
  .network img { width: 100px; max-height: 85px; }
  .page-hero { min-height: 260px; background: transparent; }
  .page-visual { min-height: 250px; height: 68vw; max-height: 340px; }
  .page-visual img { min-height: 250px; }
  .page-visual.is-contain { height: 320px; min-height: 320px; }
  .page-visual.is-contain img { min-height: 0; }
  .page-hero-copy { padding: 3rem 1.25rem; }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.25rem); overflow-wrap: anywhere; }
  .content-shell { display: block; }
  .content-shell > aside { padding: 1.5rem 1.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .content-shell > aside span { display: inline-block; margin: 0 1rem 0 0; }
  .legacy-content { padding: 2.5rem 1.25rem; }
  .legacy-content h2 { margin-top: 3rem; font-size: 2rem; grid-template-columns: 1fr; }
  .legacy-content h2::after { display: none; }
  .site-footer { flex-direction: column; padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Preserve the complete source news and its linked cover on every screen size. */
.news-source { display: flow-root; margin-top: 1.5rem; }
.news-source > a:first-child { float: right; width: min(24%, 160px); margin: 0 0 1.5rem 2rem; }
.news-source > a:first-child img { width: 100%; height: auto; }
.legacy-content a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 600px) { .news-source > a:first-child { width: 100px; margin-left: 1rem; } }

/* Aquarell edition: an airy architectural drawing language across all routes. */
:root {
  --navy: #10274a;
  --navy-deep: #0a1f3e;
  --blue: #4b7fb1;
  --blue-soft: #edf4f9;
  --line: #dce5ec;
  --text: #193454;
  --muted: #61738c;
  --paper: #f9fbfd;
  --surface: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

body, main { background: var(--paper); }
body::before { opacity: .07; background-size: 80px 80px; }
.site-header { min-height: 92px; background: rgba(250, 252, 254, .97); box-shadow: 0 3px 18px rgba(12, 39, 75, .025); }
.brand-name { font-weight: 600; letter-spacing: -.035em; }
.brand-divider { background: #afc9df; }
.brand-meta { font-size: .66rem; letter-spacing: .17em; line-height: 1.3; }
.site-nav a { color: var(--navy-deep); font-weight: 500; }
.site-nav a::after { height: 2px; background: #6a9dc6; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #173c6a; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }

.home-hero { grid-template-columns: minmax(0, 58%) minmax(0, 42%); min-height: 505px; background: #fcfdfe; box-shadow: none; }
.hero-copy { border-right-color: var(--line); }
.hero-copy::after { right: -6rem; bottom: -5rem; width: 36rem; height: 25rem; opacity: .11; background: url('/assets/watercolor-research.jpg') center / contain no-repeat; transform: none; }
.hero-copy h1 { color: var(--navy-deep); letter-spacing: -.06em; }
.hero-role { color: #355777; }
.hero-focus { color: #5b7b9c; }
.hero-portrait { display: flex; align-items: center; justify-content: center; padding: 2rem 2.3rem; background: #fcfdfe; }
.hero-portrait img { width: 100%; height: auto; min-height: 0; max-height: 440px; object-fit: contain; object-position: center; filter: none; mix-blend-mode: multiply; }

.numbered-section { padding-top: 3rem; padding-bottom: 3rem; }
.section-heading h2 { color: var(--navy-deep); }
.news-list h3 { color: var(--navy-deep); }
.news-source { max-width: none; }

.route-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fcfdfe; }
.route-grid a { display: block; min-height: 0; padding: 0 0 1.7rem; border-right: 1px solid var(--line); overflow: hidden; background: #fcfdfe; }
.route-grid a::before, .route-grid b { display: none; }
.route-grid a:last-child { border-right: 0; }
.route-grid a:hover { background: #f3f7fa; }
.route-grid img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: center; margin-bottom: 1.25rem; background: #f7fafc; transition: transform .25s ease; }
.route-grid a:hover img { transform: scale(1.025); }
.route-grid span, .route-grid strong, .route-grid small { display: block; margin-left: 1.5rem; margin-right: 1.5rem; }
.route-grid span { color: #6686a8; font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.route-grid strong { margin-top: .55rem; margin-bottom: .35rem; font-size: clamp(1.38rem, 1.8vw, 1.95rem); font-weight: 550; color: var(--navy-deep); }
.route-grid small { font-size: .69rem; letter-spacing: .12em; line-height: 1.55; }

.page-hero { min-height: 520px; grid-template-columns: minmax(0, 54%) minmax(0, 46%); background: #fcfdfe; box-shadow: none; }
.page-visual, .page-visual.is-contain { min-height: 520px; height: auto; border-right-color: var(--line); background: #fcfdfe; padding: 0; }
.page-visual img, .page-visual.is-contain img { width: 100%; height: 100%; min-height: 520px; max-height: none; object-fit: cover; object-position: center; filter: none; }
.page-visual.is-watercolor { background: #fcfdfe; }
.page-visual.is-watercolor img { mix-blend-mode: multiply; }
.page-hero-copy { padding: clamp(3rem, 5vw, 5.5rem); }
.page-hero-copy::after { opacity: .14; right: -8rem; bottom: -11rem; }
.page-hero h1 { margin-top: 2.1rem; font-weight: 550; font-size: clamp(3.5rem, 5.9vw, 5.9rem); color: var(--navy-deep); }
.page-intro { position: relative; z-index: 1; max-width: 37rem; margin: 2.2rem 0 0; padding-top: 1.4rem; border-top: 1px solid #a9c7dd; font-size: clamp(1.04rem, 1.4vw, 1.33rem); line-height: 1.5; color: #5a7190; }
.page-hero .eyebrow { font-size: .68rem; }

.content-shell { grid-template-columns: minmax(190px, 24%) minmax(0, 1fr); background: #fcfdfe; }
.section-aside { padding: 3.25rem clamp(1.5rem, 3vw, 3.8rem) !important; border-right: 1px solid var(--line); }
.section-aside > span { color: #6a9dc6 !important; }
.section-aside > strong { display: block; max-width: 12rem; padding-top: .7rem; border-top: 1px solid #a9c7dd; font-size: .77rem !important; font-weight: 600 !important; letter-spacing: .17em; text-transform: uppercase; }
.section-aside nav { margin-top: 2.75rem; display: grid; gap: .25rem; }
.section-aside nav a { display: block; padding: .55rem 0 .55rem .9rem; border-left: 2px solid #d9e5ee; color: #6d7e94; text-decoration: none; font-size: .89rem; line-height: 1.35; }
.section-aside nav a:hover { border-left-color: #6a9dc6; color: var(--navy-deep); }
.legacy-content { padding: clamp(3rem, 5vw, 5.5rem); }
.legacy-content h1, .legacy-content h2, .legacy-content h3 { color: var(--navy-deep); }
.legacy-content h2 { margin-top: 4.3rem; padding-top: 0; font-size: clamp(1.85rem, 2.7vw, 2.65rem); font-weight: 550; scroll-margin-top: 7rem; }
.legacy-content h2:first-child { margin-top: 0; }
.legacy-content h3 { font-weight: 600; }
.legacy-content p, .legacy-content li { color: #415a75; font-size: 1.02rem; line-height: 1.7; }
.legacy-content li { margin: .52rem 0; }
.legacy-content a { color: #205e9a; }
.legacy-content img { border: 1px solid #e6ecf1; background: #fff; }
.legacy-content blockquote { border-left-color: #8eb2d2; }

.site-footer { border-top: 1px solid #d7e3ec; background: #eef3f7; color: #576e89; }
.site-footer strong { color: var(--navy-deep); }
.design-comparison { display: inline-block; margin-top: .7rem; font-size: .78rem; color: #496986; }

@media (max-width: 1280px) {
  .site-nav { background: #fbfcfe; }
  .home-hero { grid-template-columns: minmax(0, 59%) minmax(0, 41%); }
  .hero-copy { order: 0; }
  .hero-portrait { order: 1; margin: 0; padding: 1.5rem; }
  .hero-portrait img { min-height: 0; max-height: 385px; }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-grid a:nth-child(2) { border-right: 0; }
  .route-grid a:nth-child(3) { grid-column: auto; border-top: 1px solid var(--line); }
  .route-grid a:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 850px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-visual, .page-visual.is-contain { min-height: 0; height: min(55vw, 420px); border-right: 0; border-bottom: 1px solid var(--line); }
  .page-visual img, .page-visual.is-contain img { min-height: 0; object-fit: contain; }
  .page-hero-copy { min-height: 290px; padding: 2.6rem clamp(1.25rem, 5vw, 3rem); }
  .page-hero h1 { font-size: clamp(3.15rem, 10vw, 5.1rem); }
  .page-intro { margin-top: 1.4rem; }
}

@media (max-width: 700px) {
  .site-header { min-height: 74px; }
  .brand-name { max-width: 250px; white-space: normal; font-size: clamp(1rem, 4.7vw, 1.25rem); line-height: 1.08; }
  .home-hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy::after { width: 18rem; height: 15rem; right: -5rem; bottom: -3rem; opacity: .08; }
  .hero-portrait { order: 2; width: min(100% - 2.5rem, 420px); margin: 0 auto 1.5rem; padding: .5rem; }
  .hero-portrait img { width: 100%; height: auto; min-height: 0; max-height: 300px; object-fit: contain; }
  .route-grid { grid-template-columns: 1fr; }
  .route-grid a, .route-grid a:nth-child(2), .route-grid a:nth-child(3), .route-grid a:nth-child(4) { grid-column: auto; border-right: 0; border-top: 1px solid var(--line); min-height: 0; padding: 0 0 1.5rem; }
  .route-grid a:first-child { border-top: 0; }
  .route-grid img { height: 190px; margin-bottom: 1rem; }
  .page-visual, .page-visual.is-contain { height: 68vw; max-height: 340px; }
  .page-hero-copy { min-height: 250px; }
  .page-hero h1 { margin-top: 1.4rem; font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .page-intro { font-size: 1rem; }
  .section-aside { padding: 1.5rem 1.25rem !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-aside > span { display: inline-block; margin-right: 1rem; }
  .section-aside > strong { display: inline-block; max-width: none; padding: 0; border: 0; }
  .section-aside nav { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin-top: 1rem; }
  .section-aside nav a { padding: .2rem 0 .2rem .5rem; font-size: .79rem; }
  .legacy-content { padding: 2.5rem 1.25rem; }
  .legacy-content h2 { margin-top: 3rem; }
  .legacy-content .dated-entry { grid-template-columns: 6rem minmax(0, 1fr); column-gap: .7rem; }
  .dated-date { font-size: .86rem; }
}

/* Home: watercolor portrait flows into the page instead of sitting in a framed panel. */
.home-hero { position: relative; display: block; min-height: 520px; overflow: hidden; background: #fcfdfe; }
.hero-copy { z-index: 2; width: min(64%, 760px); min-height: 520px; box-sizing: border-box; border-right: 0; overflow: visible; }
.hero-copy::after { display: none; }
.hero-portrait { position: absolute; z-index: 1; inset: 0 0 0 auto; display: block; width: 63%; height: 100%; margin: 0; padding: 0; overflow: hidden; background: transparent; pointer-events: none; }
.hero-portrait img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 54% 46%; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 25%, #000 55%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 25%, #000 55%); }

/* Compact routes: illustrations lead on the left, titles remain readable on the right. */
.route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.route-grid a, .route-grid a:nth-child(2), .route-grid a:nth-child(3), .route-grid a:nth-child(4) { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 62%); align-items: center; min-height: 158px; padding: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.route-grid a:nth-child(-n+2) { border-top: 0; }
.route-grid a:nth-child(even) { border-right: 0; }
.route-grid img { width: 100%; height: 158px; margin: 0; object-fit: cover; }
.route-grid .route-card-copy { display: block; min-width: 0; margin: 0; padding: 1.1rem clamp(1rem, 2vw, 2rem); }
.route-grid .route-card-copy > span, .route-grid .route-card-copy > strong, .route-grid .route-card-copy > small { display: block; margin-left: 0; margin-right: 0; }
.route-grid .route-card-copy > strong { overflow-wrap: anywhere; font-size: clamp(1.28rem, 1.9vw, 1.8rem); line-height: 1.1; }
.route-grid .route-card-copy > small { line-height: 1.4; }

/* The preview is an OSM map; the whole map opens the address in Google Maps. */
.contact-map-wrap { width: min(100%, 760px); margin: 1.3rem 0 0; }
.contact-map-preview { position: relative; height: clamp(220px, 31vw, 300px); overflow: hidden; border: 1px solid #c8d9e8; background: #e9f0f6; }
.contact-map-preview iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.contact-map { position: absolute; inset: 0; display: block; }
.contact-map > span { position: absolute; right: 1rem; bottom: 1rem; padding: .65rem .9rem; background: rgba(250,252,254,.96); border: 1px solid #c8d9e8; color: var(--navy-deep); font-size: .88rem; font-weight: 600; box-shadow: 0 4px 16px rgba(12,39,75,.1); }
.contact-map-wrap > small { display: block; margin-top: .45rem; color: #6d7e94; font-size: .74rem; }

@media (max-width: 900px) {
  .home-hero { min-height: 500px; }
  .hero-copy { width: 67%; min-height: 500px; }
  .hero-portrait { width: 66%; }
  .hero-portrait img { object-position: 60% 50%; }
}

@media (max-width: 700px) {
  .home-hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { width: 100%; min-height: 0; padding-bottom: 0; }
  .hero-portrait { position: relative; inset: auto; width: 100%; height: min(72vw, 340px); margin: -.35rem 0 0; }
  .hero-portrait img { width: 100%; height: 100%; object-position: 58% 42%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 82%, transparent 100%); }
  .route-grid { grid-template-columns: 1fr; }
  .route-grid a, .route-grid a:nth-child(2), .route-grid a:nth-child(3), .route-grid a:nth-child(4) { grid-template-columns: minmax(0, 35%) minmax(0, 65%); min-height: 128px; border-top: 1px solid var(--line); border-right: 0; }
  .route-grid a:first-child { border-top: 0; }
  .route-grid img { height: 128px; }
  .route-grid .route-card-copy { padding: .8rem 1rem; }
  .route-grid .route-card-copy > span { font-size: .62rem; }
  .route-grid .route-card-copy > strong { font-size: clamp(1.2rem, 5vw, 1.55rem); }
  .route-grid .route-card-copy > small { font-size: .65rem; }
}

/* Research: each subject has a standalone pictogram, not a photo crop. */
.research-book-feature { display: grid; grid-template-columns: minmax(110px, 155px) minmax(0, 1fr); align-items: start; gap: 1.5rem; margin-bottom: 2rem; }
.research-book-cover a { display: block; }
.research-book-cover img { display: block; width: 100%; max-height: 230px; margin: 0; object-fit: contain; object-position: top left; }
.research-book-copy { min-width: 0; }
.research-book-copy p:last-child { margin-bottom: 0; }
.research-visual { display: flex; align-items: center; justify-content: center; }
.research-illustration { position: relative; width: 100%; aspect-ratio: 3 / 2; }
.research-illustration img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.research-note { position: absolute; padding: .08rem .28rem; color: #385d7b; background: rgba(250,252,253,.74); font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; font-size: clamp(.52rem, .75vw, .77rem); line-height: 1.05; white-space: nowrap; transform: rotate(-3deg); pointer-events: none; }
.note-condition { left: 12%; top: 11%; }
.note-service { left: 13%; top: 48%; }
.note-lifecycle { left: 12%; bottom: 9%; }
.note-components { right: 7%; top: 13%; }
.note-planning { right: 6%; top: 40%; }
.note-budget { right: 13%; bottom: 8%; }
.note-pabi { right: 22%; bottom: 16%; }
.note-staff { right: 4%; bottom: 1%; }
.research-hero-symbol { position: absolute; display: grid; place-items: center; width: 5.4%; aspect-ratio: 1; border: 1px solid #3d688c; border-radius: 50%; background: rgba(248,251,253,.93); box-shadow: 0 2px 7px rgba(23,55,83,.09); pointer-events: none; }
.research-hero-symbol img { display: block; width: 82%; height: 82%; min-height: 0; max-height: none; margin: 0; border: 0; background: transparent; object-fit: contain; }
.hero-condition { left: 4.2%; top: 12.8%; }
.hero-components { right: 12.5%; top: 5.2%; }
.hero-planning { right: 12.5%; top: 28%; }
.hero-lifecycle { left: 2.85%; top: 75%; background: #f7f9fa; }
.hero-pabi { left: 52.9%; top: 80.25%; background: #f7f9fa; }
.research-topics { padding-left: 0 !important; list-style: none; }
.research-topics li { display: flex; align-items: center; gap: .9rem; min-height: 56px; margin: .6rem 0 !important; padding-left: 0 !important; }
.research-topics li > span:last-child { min-width: 0; }
.research-topic-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #c4d4df; border-radius: 50%; background: radial-gradient(circle at 30% 22%, #fafdff, #e9f2f8); box-shadow: 0 2px 8px rgba(25,58,86,.08); }
.research-topic-icon img { display: block; width: 43px; height: 43px; max-height: none; margin: 0; border: 0; background: transparent; object-fit: contain; }

@media (max-width: 850px) {
  .research-illustration { width: min(100%, 82.5vw, 630px); }
}
@media (max-width: 700px) {
  .research-book-feature { grid-template-columns: 1fr; gap: 1rem; }
  .research-book-cover { width: min(155px, 55vw); }
  .research-illustration { width: 100%; }
  .research-note { font-size: .47rem; padding: 0 .12rem; }
  .research-topic-icon { width: 44px; height: 44px; }
  .research-topic-icon img { width: 37px; height: 37px; }
}

/* Talks imported with separate paragraphs should have the same title spacing as talks using a line break. */
.talks-content .dated-detail p + p { margin-top: 0; }
