:root {
  color-scheme: light;
  --bg: #f9faf6;
  --fg: #23302b;
  --muted: #607069;
  --line: #d8e1d9;
  --surface: #f0f4ee;
  --accent: #285e4f;
  --accent-soft: #e2eee5;
  --max: 1050px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141c18;
  --fg: #e6eee8;
  --muted: #afc0b5;
  --line: #35473c;
  --surface: #1d2a22;
  --accent: #a1dcc0;
  --accent-soft: #273e32;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { font: inherit; }
.shell { width: min(calc(100% - 44px), var(--max)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 12px; padding: 8px 12px; background: var(--surface); z-index: 100; }
.skip:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 79px; }
.brand { font-weight: 250; letter-spacing: -.035em; font-size: 22px; color: var(--fg); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--muted); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.site-nav a { text-decoration: none; font-size: 13px; color: var(--muted); }
.site-nav a:hover { color: var(--fg); text-decoration: underline; }
.theme-toggle { padding: 6px 11px; background: transparent; border: 1px solid var(--line); color: var(--fg); border-radius: 7px; font-size: 12px; cursor: pointer; }
.theme-toggle:hover { background: var(--surface); }
.hero { padding: clamp(70px, 10vw, 135px) 0 82px; border-bottom: 1px solid var(--line); }
.eyebrow, .card-kicker { font-size: 11px; letter-spacing: .145em; text-transform: uppercase; color: var(--accent); font-weight: 650; margin: 0 0 14px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { font-size: clamp(4rem, 10vw, 7.8rem); color: gold; line-height: 1.03; font-weight: 250; margin: 0 0 28px; }
.period { color: var(--accent); }
.lead { max-width: 820px; font-size: clamp(1.18rem, 2.4vw, 1.7rem); line-height: 1.5; font-weight: 350; margin: 0; }
.hero-note { color: var(--muted); max-width: 730px; margin: 22px 0 28px; }
.text-link { font-size: 14px; font-weight: 600; }
.section { padding: 64px 0 76px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 18px; margin-bottom: 28px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 350; line-height: 1.22; letter-spacing: -.04em; margin: 0; }
.section-intro { max-width: 390px; color: var(--muted); margin: 0; font-size: 14px; }
.places { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.place-card { border: 1px solid var(--line); background: var(--surface); border-radius: 11px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; min-height: 225px; }
.place-card.featured { min-height: 305px; }
.place-card h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; font-weight: 350; letter-spacing: -.045em; margin: 0 0 12px; }
.place-card p { margin: 0 0 17px; }
.place-card .card-meta { font-size: 13px; color: var(--muted); margin-top: auto; }
.card-link { display: inline-block; font-size: 13px; font-weight: 650; margin: 2px 0 10px; }
.future-path { font-size: 12px; color: var(--muted); margin-top: auto !important; }
.future-path code { font-size: 12px; }
.method-section h2 { max-width: 800px; }
.method-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; }
.method-grid h3 { font-size: 19px; font-weight: 500; margin: 5px 0; }
.method-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.method-index { color: var(--accent); font-size: 12px; font-weight: 650; }
.method-links { font-size: 13px; color: var(--muted); margin: 32px 0 0; }
.footer { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 31px 50px; font-size: 12px; color: var(--muted); }
@media (max-width: 720px) {
  .header-inner { align-items: start; padding-block: 17px; flex-direction: column; gap: 11px; }
  .site-nav { gap: 12px 18px; }
  .hero { padding: 62px 0; }
  .places, .method-grid { grid-template-columns: 1fr; }
  .place-card, .place-card.featured { min-height: 0; }
  .method-grid { gap: 25px; }
  .section { padding: 50px 0 60px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
