/* VOICE   personal page for a working scientist: calm, precise, a little proud of the craft
   IDEA    a survey map sheet with a classified lidar profile across it
   PICTURE full-width point cloud cross-section: ground, trees and buildings as points,
           the bare-earth line traced in magenta
   COLOUR  land white, ink #13242e, contour brown (ground), leaf green, roof slate, magenta accent; night #0d1c24
   TYPE    Overpass 800 for headings, Overpass for text
   LAYOUT  name and links across the top, profile full bleed beneath; sections below as
           heading-left / content-right rows; stacked under 720px */

:root {
  color-scheme: light dark;
  --bg: light-dark(#ffffff, #0d1c24);
  --ink: light-dark(#13242e, #e6eef2);
  --soft: light-dark(#4d5f69, #a9bcc6);
  --tint: light-dark(#eef6f9, #12262f);
  --rule: light-dark(#cfdde3, #23404c);
  --sky: light-dark(#dff0f6, #102631);
  --ground: light-dark(#a8551b, #d98a4e);
  --veg: light-dark(#3f8a3a, #6cbf5f);
  --bldg: light-dark(#5b6b78, #93a6b4);
  --accent: light-dark(#d6127e, #ff5cb0);
}
:root[data-theme=light] { color-scheme: light; }
:root[data-theme=dark] { color-scheme: dark; }

* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Overpass, system-ui, sans-serif; overflow-x: clip; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-weight: 800; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 17px; margin-bottom: 8px; }
p { margin: 0 0 14px; }

.band { padding-block: clamp(28px, 4vw, 56px); padding-inline: max(5vw, 16px); }
.band > * { max-width: 1240px; margin-inline: auto; }

.top { background: var(--sky); padding-bottom: 20px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; font-size: 15px; margin-bottom: clamp(24px, 4vw, 48px); }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.intro { display: grid; gap: 12px; }
.lede { font-size: clamp(18px, 2vw, 21px); max-width: 40em; color: var(--ink); margin: 8px 0 4px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; margin: 0; }
.links a { padding: 8px 0; }

.profile { margin: 0; height: clamp(200px, 30vw, 360px); background: linear-gradient(var(--sky), var(--bg)); }
.profile svg { display: block; width: 100%; height: 100%; }
.caption { padding-block: 10px 0; font-size: 14px; color: var(--soft); }
.key { white-space: nowrap; margin-left: 12px; }
.key::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--c); }
.k-ground { --c: var(--ground); }
.k-veg { --c: var(--veg); }
.k-bldg { --c: var(--bldg); }
.k-line::before { width: 16px; height: 3px; border-radius: 0; vertical-align: middle; }
.k-line { --c: var(--accent); }

.split { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 12px 48px; max-width: calc(1240px + 10vw); margin-inline: auto; }
.split > * { margin: 0; max-width: none; }
.split h2 { padding-top: 4px; }
.tint { background: var(--tint); max-width: none; }
.tint.split { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); padding-inline: max(5vw, 16px, calc((100vw - 1240px) / 2)); }
.prose { max-width: 42em; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.timeline li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; border-top: 2px solid var(--rule); padding-top: 14px; }
.timeline li:first-child { border-top-color: var(--ground); }
.yr { font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ground); line-height: 1.3; }

.refs { margin: 0; padding-left: 1.4em; display: grid; gap: 14px; max-width: 52em; }
.refs li::marker { color: var(--ground); font-weight: 800; }
.refs a { white-space: nowrap; font-weight: 600; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 24px 40px; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plain a { display: inline-block; padding: 4px 0; }

.foot { border-top: 4px solid var(--ground); font-size: 15px; color: var(--soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot > * { margin: 0; max-width: none; }
.foot a { color: var(--ink); }

@media (max-width: 720px) {
  .split, .tint.split { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: 4.6rem minmax(0, 1fr); gap: 12px; }
  .yr { font-size: 17px; }
}
@media print {
  .profile, .caption, .nav { display: none; }
  .top, .tint { background: none; }
}
