/*
Theme Name: Baikalsee.info 2026
Theme URI: https://www.baikalsee.info/
Description: Eigenständiges Theme für baikalsee.info – Design „Expeditionsatlas“: Kartenpapier und Tinte, eigene Atlaskarte des Sees, Bahnlinien-Navigation mit sieben Stationen, Abbildungen als nummerierte Tafeln. Alegreya-Familie lokal eingebunden. Bausteine für Antwortkapsel, Steckbrief, Fragenbox mit FAQPage-Schema, Lagekarte und zentralen Lagehinweis.
Author: Triplemind GmbH
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: baikalsee-info-2026
*/

/* =====================================================================
   The single design stylesheet of this theme (theme-relaunch rule 4).
   Fonts are self-hosted (rule 2), templates carry no inline styles (rule 3).
   Cartographic research atlas: paper + ink, isobath bands, rail-line nav.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Fonts: Alegreya family, SIL Open Font License 1.1 (assets/fonts/OFL-*.txt)
   --------------------------------------------------------------------- */
@font-face{font-family:"Alegreya";font-style:normal;font-weight:400 900;font-display:swap;src:url("assets/fonts/alegreya-latin-wght-normal.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Alegreya";font-style:italic;font-weight:400 900;font-display:swap;src:url("assets/fonts/alegreya-latin-wght-italic.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Alegreya Sans";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/alegreya-sans-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Alegreya Sans";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/alegreya-sans-latin-500-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Alegreya Sans";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/alegreya-sans-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Alegreya Sans SC";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/alegreya-sans-sc-latin-500-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Alegreya Sans SC";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/alegreya-sans-sc-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Alegreya";font-style:normal;font-weight:400 900;font-display:swap;src:url("assets/fonts/alegreya-latin-ext-wght-normal.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Alegreya";font-style:italic;font-weight:400 900;font-display:swap;src:url("assets/fonts/alegreya-latin-ext-wght-italic.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Alegreya Sans";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/alegreya-sans-latin-ext-400-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Alegreya Sans";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/alegreya-sans-latin-ext-500-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Alegreya Sans";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/alegreya-sans-latin-ext-700-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Alegreya Sans SC";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/alegreya-sans-sc-latin-ext-500-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Alegreya Sans SC";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/alegreya-sans-sc-latin-ext-700-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ---------------------------------------------------------------------
   Tokens
   --------------------------------------------------------------------- */
:root {
  /* palette */
  --paper: #EEE8D8;        /* map paper */
  --ink: #1F2A36;          /* ink */
  --isobath: #3F7192;      /* isobath blue */
  --deep: #173B57;         /* deep water */
  --rail: #A1312B;         /* railway red */
  --pencil: #8C8573;       /* pencil (lines only, never small text) */

  /* derived tones */
  --paper-2: #E5DDC8;      /* slightly darker paper for panels */
  --paper-3: #F5F1E6;      /* lighter paper for figures */
  --ink-2: #47505A;        /* secondary text, AA on paper */
  --line: rgba(31, 42, 54, .28);
  --grid: rgba(63, 113, 146, .07);

  /* depth bands of the atlas (schematic) */
  --band-1: #C9D7DC;
  --band-2: #9FBACB;
  --band-3: #6E96B0;
  --band-4: #3F7192;
  --band-5: #26557A;

  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", "Helvetica Neue", Arial, sans-serif;
  --caps: "Alegreya Sans SC", "Alegreya Sans", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: 40px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--paper);
  /* faint graticule on the paper */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--deep); text-decoration-color: rgba(23, 59, 87, .35); text-underline-offset: 3px; }
a:hover { color: var(--rail); text-decoration-color: var(--rail); }
:focus-visible { outline: 2px solid var(--rail); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon .solid { fill: currentColor; stroke: none; }

.caps { font-family: var(--caps); font-weight: 500; letter-spacing: .08em; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 14px; font-family: var(--caps); }
.skip:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------------------------------------------------------------------
   Header: coordinate strip, masthead, rail-line navigation
   --------------------------------------------------------------------- */
.topline {
  border-bottom: 1px solid var(--line);
  font-family: var(--caps);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--ink-2);
}
.topline .wrap { display: flex; justify-content: space-between; gap: 24px; padding-top: 8px; padding-bottom: 8px; }

.masthead .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 14px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; color: var(--rail); stroke-width: 1.3; }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: 34px; letter-spacing: -.01em; line-height: 1; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--isobath); }
.brand-sub { display: block; font-family: var(--caps); font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--ink-2); margin-top: 4px; }

.mast-tools { display: flex; align-items: center; gap: 10px; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--caps); font-size: 15px; font-weight: 500; letter-spacing: .08em;
  text-decoration: none; cursor: pointer;
}
.tool-btn:hover { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-menu { display: none; }
.menu-open .menu-btn .i-close { display: inline-block; }

/* search panel below the masthead */
.searchbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-3); }
.searchbar[hidden] { display: none; }
.searchbar .wrap { padding-top: 16px; padding-bottom: 16px; }

.search-form { display: flex; gap: 10px; max-width: 640px; }
.search-form label { flex: 1; }
.search-field {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--ink); background: var(--paper-3); color: var(--ink);
  font-family: var(--serif); font-size: 18px; border-radius: 0;
}
.search-submit { height: 46px; }

/* railway nav: cartographic railway symbol (alternating dashes) with stations */
.railnav { padding: 6px 0 30px; }
.railnav ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, 1fr);
  position: relative;
}
.railnav ol::before {
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 6px;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--ink) 0 22px, var(--paper) 22px 44px);
}
.railnav li { position: relative; padding-top: 30px; }
.railnav li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--paper); border: 3px solid var(--ink);
}
.railnav li.is-current::before { background: var(--rail); border-color: var(--rail); }
.railnav a, .railnav .is-planned {
  font-family: var(--caps); font-weight: 700; font-size: 16px; letter-spacing: .06em;
  color: var(--ink); text-decoration: none; display: block; line-height: 1.25; padding-right: 10px;
}
.railnav a:hover { color: var(--rail); }
.railnav small { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--ink-2); font-weight: 400; margin-top: 3px; }

/* mobile drawer (hidden by default) */
.drawer { display: none; }

/* ---------------------------------------------------------------------
   Shared figure + caption style ("plates": thin frame, field-note caption)
   --------------------------------------------------------------------- */
.plate {
  margin: 0;
  background: var(--paper-3);
  border: 1px solid var(--ink);
  padding: 10px;
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--line);
  max-width: 100%;
}
.plate img { width: 100%; }
.plate figcaption {
  font-family: var(--sans); font-size: 15px; line-height: 1.45; color: var(--ink-2);
  padding: 10px 2px 2px;
}
.plate figcaption b { font-family: var(--caps); font-weight: 700; letter-spacing: .08em; color: var(--rail); margin-right: 6px; }

.kicker {
  font-family: var(--caps); font-weight: 700; font-size: 15px; letter-spacing: .14em;
  color: var(--rail); margin: 0 0 10px; display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--rail); flex: none; }

.section { padding: 84px 0; }
.section-head { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: end; margin-bottom: 44px; border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 46px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 19px; max-width: 60ch; }

/* ---------------------------------------------------------------------
   Home: hero = atlas map
   --------------------------------------------------------------------- */
.hero { padding: 18px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }

.atlas {
  margin: 0; position: relative;
  background: var(--paper-3);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7.5px var(--ink);
  padding: 14px 14px 10px;
}
.atlas-note { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 26px 0 0; max-width: 62ch; padding-left: 14px; border-left: 2px solid var(--pencil); }
.atlas-note b { font-family: var(--caps); font-weight: 700; letter-spacing: .06em; color: var(--ink); }
.atlas-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--caps); font-size: 14px; font-weight: 500; letter-spacing: .1em; color: var(--ink-2);
  border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 6px;
}
.atlas-head strong { color: var(--ink); font-weight: 700; }
.atlas svg { width: 100%; height: auto; display: block; }

.atlas-legend {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 8px 0 0; padding: 10px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--sans); font-size: 14px; color: var(--ink-2); list-style: none;
}
.atlas-legend li { display: flex; align-items: center; gap: 8px; }
.lg { display: inline-block; flex: none; }
.lg-bands { width: 34px; height: 12px; background: linear-gradient(90deg, var(--band-1) 0 25%, var(--band-2) 25% 50%, var(--band-3) 50% 75%, var(--band-5) 75%); border: 1px solid var(--ink); }
.lg-rail { width: 34px; height: 6px; border-top: 1.2px solid var(--rail); border-bottom: 1.2px solid var(--rail); background: repeating-linear-gradient(90deg, var(--rail) 0 6px, var(--paper-3) 6px 12px); }
.lg-cbb { width: 34px; height: 0; border-top: 2px dotted var(--rail); }
.lg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }

/* map element styles (inline SVG, geometry in inc/map-data.php) */
.map-grat line { stroke: var(--isobath); stroke-width: .5; stroke-dasharray: 2 3; opacity: .55; }
.map-grat text { font-family: var(--caps); font-size: 10px; fill: var(--ink-2); letter-spacing: .06em; }
.map-frame { fill: none; stroke: var(--ink); stroke-width: .8; }
.map-band-0 { fill: var(--band-5); fill-rule: evenodd; }
.map-band { fill: none; }
.map-band-edge { stroke: rgba(31, 42, 54, .38); }
.map-band-1 { stroke: var(--band-4); }
.map-band-2 { stroke: var(--band-3); }
.map-band-3 { stroke: var(--band-2); }
.map-band-4 { stroke: var(--band-1); }
.map-w-1e { stroke-width: 41.4; }
.map-w-1 { stroke-width: 40; }
.map-w-2e { stroke-width: 27.4; }
.map-w-2 { stroke-width: 26; }
.map-w-3e { stroke-width: 15.4; }
.map-w-3 { stroke-width: 14; }
.map-w-4e { stroke-width: 7.4; }
.map-w-4 { stroke-width: 6; }
.map-shore { fill: none; fill-rule: evenodd; stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; }
.map-river { fill: none; stroke: var(--isobath); stroke-width: 1.3; stroke-linecap: round; }
.map-rail-a { fill: none; stroke: var(--rail); stroke-width: 4.2; stroke-linejoin: round; stroke-linecap: butt; }
.map-rail-b { fill: none; stroke: var(--paper-3); stroke-width: 2.2; stroke-dasharray: 6 6; stroke-linejoin: round; }
.map-cbb { fill: none; stroke: var(--rail); stroke-width: 2; stroke-dasharray: .5 3.6; stroke-linecap: round; }
.map-place circle { fill: var(--paper-3); stroke: var(--ink); stroke-width: 2.2; }
.map-place.is-city circle { fill: var(--ink); }
.map-place text, .map-label {
  font-family: var(--caps); font-weight: 700; font-size: 13px; letter-spacing: .06em; fill: var(--ink);
  paint-order: stroke; stroke: var(--paper-3); stroke-width: 3.5px; stroke-linejoin: round;
}
.map-rail-label { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 12px; fill: var(--rail); paint-order: stroke; stroke: var(--paper-3); stroke-width: 3px; }
.map-water { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: .32em; fill: var(--paper-3); }
.map-water--river { font-size: 11px; letter-spacing: .14em; fill: var(--isobath); paint-order: stroke; stroke: var(--paper-3); stroke-width: 3px; }
.map-scale rect { stroke: var(--ink); stroke-width: .8; }
.map-scale .s-dark { fill: var(--ink); }
.map-scale .s-light { fill: var(--paper-3); }
.map-scale text, .map-north text { font-family: var(--caps); font-size: 10px; fill: var(--ink); letter-spacing: .06em; }
.map-north path { fill: var(--ink); }
.map-north .n-light { fill: var(--paper-3); stroke: var(--ink); stroke-width: .8; }
.map-mark circle { fill: var(--rail); stroke: var(--paper-3); stroke-width: 2; }
.map-mark .ring { fill: none; stroke: var(--rail); stroke-width: 1.4; }
.map-mark .leader { fill: none; stroke: var(--rail); stroke-width: 1.2; }
.map-mark text { font-family: var(--caps); font-weight: 700; font-size: 13px; fill: var(--rail); letter-spacing: .05em; paint-order: stroke; stroke: var(--paper-3); stroke-width: 3.5px; }
.minimap .map-mark text { font-size: 22px; }
.minimap .map-place text { font-size: 19px; stroke-width: 4px; }
.minimap .map-grat text { font-size: 14px; }

.hero-text h1 { font-size: 64px; line-height: 1.02; letter-spacing: -.015em; font-weight: 800; margin: 6px 0 18px; }
.hero-text h1 em { font-weight: 500; color: var(--isobath); }
.hero-lead { font-size: 21px; line-height: 1.55; margin: 0 0 22px; max-width: 34ch; }
.hero-coords { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin: 0 0 30px; }
.hero-coords div { padding: 10px 12px 10px 0; }
.hero-coords div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.hero-coords dt { font-family: var(--caps); font-size: 13px; letter-spacing: .1em; color: var(--ink-2); font-weight: 500; }
.hero-coords dd { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 1.5px solid var(--ink);
  font-family: var(--caps); font-weight: 700; font-size: 16px; letter-spacing: .08em;
  text-decoration: none; color: var(--ink); background: transparent; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--deep); border-color: var(--deep); color: var(--paper); }
.btn-solid:hover { background: var(--rail); border-color: var(--rail); color: var(--paper); }

/* ---------------------------------------------------------------------
   Home: stations (sections of the portal) along a vertical rail
   --------------------------------------------------------------------- */
.stations-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.stations-grid--solo { grid-template-columns: minmax(0, 1fr); }
.stations-aside .plate { position: sticky; top: 24px; }
.stations-aside p.note { font-size: 17px; color: var(--ink-2); margin: 26px 0 0; }

.stations { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; }
.stations::before {
  content: ""; position: absolute; left: 8px; top: 14px; bottom: 30px; width: 6px;
  border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink);
  background: repeating-linear-gradient(180deg, var(--ink) 0 22px, var(--paper) 22px 44px);
}
.station { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 6px 0 30px; }
.station + .station { border-top: 1px solid var(--line); padding-top: 26px; }
.station::before {
  content: ""; position: absolute; left: -45px; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 3.5px solid var(--ink);
}
.station + .station::before { top: 32px; }
.station h3 { margin: 0; font-size: 31px; line-height: 1.15; font-weight: 800; }
.station h3 a, .station h3 .is-planned { color: var(--ink); text-decoration: none; display: inline-flex; gap: 12px; align-items: center; }
.station h3 a:hover { color: var(--rail); }
.station h3 .icon { width: 30px; height: 30px; color: var(--isobath); stroke-width: 1.5; }
.station p { margin: 0; font-size: 18px; }
.station .topics { grid-column: 2; font-family: var(--caps); font-weight: 500; font-size: 14px; letter-spacing: .08em; color: var(--isobath); margin-top: 4px; }
.station .note-travel { grid-column: 2; margin-top: 8px; }

/* travel advisory note: calm, legible, never dominant (central text: inc/content.php) */
.note-travel {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px dashed var(--ink-2); background: rgba(245, 241, 230, .7);
  padding: 12px 16px; font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink);
}
.note-travel .icon { width: 22px; height: 22px; color: var(--rail); margin-top: 1px; }
.note-travel a { white-space: nowrap; }
.note-travel strong { font-family: var(--caps); font-weight: 700; letter-spacing: .08em; margin-right: 4px; }
.note-travel .note-date { color: var(--ink-2); }

/* ---------------------------------------------------------------------
   Home: legend (facts) on deep water
   --------------------------------------------------------------------- */
.legend { background: var(--deep); color: var(--paper); padding: 84px 0 90px; position: relative; }
.legend::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--rail) 0 22px, var(--paper) 22px 44px);
}
.legend .section-head { border-bottom: 0; padding-bottom: 0; }
.legend .section-head p { color: #C9D2D6; }
.legend .kicker { color: #E9B3A6; }
.legend .kicker::before { background: #E9B3A6; }
.legend a { color: #fff; }

.measures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(238, 232, 216, .5); border-bottom: 1px solid rgba(238, 232, 216, .5); }
.measure { padding: 26px 24px 26px 0; }
.measure + .measure { padding-left: 24px; border-left: 1px solid rgba(238, 232, 216, .25); }
.measure .val { display: block; font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.measure .val small { font-size: 26px; font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.measure .lab { display: block; font-family: var(--caps); font-weight: 700; letter-spacing: .1em; font-size: 15px; margin-top: 14px; color: #fff; }
.measure p { font-family: var(--sans); font-size: 15px; line-height: 1.45; color: #C9D2D6; margin: 6px 0 0; }

.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 36px 0 0; padding: 0; }
.ledger div { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(238, 232, 216, .18); font-size: 18px; }
.ledger dt { flex: none; }
.ledger dd { margin: 0 0 0 auto; font-weight: 700; text-align: right; }
.ledger .lead { flex: 1; border-bottom: 1.5px dotted rgba(238, 232, 216, .45); transform: translateY(-5px); min-width: 20px; }
.legend-foot { font-family: var(--sans); font-size: 14px; color: #B7C2C8; margin: 22px 0 0; }

/* ---------------------------------------------------------------------
   Home: introduction (editable front page text) and gazetteer
   --------------------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.intro-grid .entry { max-width: 760px; }
.intro-title { margin: 0; font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }

.gazetteer-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.gazetteer-grid--solo { grid-template-columns: minmax(0, 1fr); }
.gaz { list-style: none; margin: 0; padding: 0; }
.gaz li { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 4px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.gaz li:first-child { border-top: 1px solid var(--ink); }
.gaz h3 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 800; }
.gaz h3 a { color: var(--ink); text-decoration: none; }
.gaz h3 a:hover { color: var(--rail); }
.gaz .coord { display: block; font-family: var(--caps); font-size: 14px; letter-spacing: .08em; color: var(--isobath); font-weight: 500; margin-top: 2px; }
.gaz p { margin: 0; font-size: 18px; }

/* ---------------------------------------------------------------------
   Home: field reports (magazine)
   --------------------------------------------------------------------- */
.reports { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px 40px; }
.report { margin: 0; }
.report--lead { grid-column: span 7; }
.report-stack { grid-column: span 5; display: flex; flex-direction: column; gap: 40px; }
.report--side { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: start; }
.report--wide { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; border-top: 1px solid var(--ink); padding-top: 34px; }
.report--solo { grid-column: span 12; }
.report .meta { font-family: var(--caps); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--rail); margin: 16px 0 6px; }
.report--side .meta { margin-top: 0; }
.report h3 { margin: 0 0 8px; font-size: 26px; line-height: 1.18; font-weight: 800; }
.report--lead h3 { font-size: 38px; }
.report h3 a { color: var(--ink); text-decoration: none; }
.report h3 a:hover { color: var(--rail); }
.report p { margin: 0; font-size: 18px; }
.report p.more { margin-top: 22px; }
.report .plate { padding: 7px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-foot { background: var(--ink); color: var(--paper); margin-top: 0; position: relative; padding: 70px 0 30px; }
.site-foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 22px, var(--ink) 22px 44px);
  border-bottom: 1px solid var(--paper);
}
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 48px; }
.site-foot .brand { color: var(--paper); }
.site-foot .brand-name em { color: #9DBBD0; }
.site-foot .brand-sub { color: #C3C7CB; }
.site-foot p { font-family: var(--sans); font-size: 16px; color: #C9CDD1; max-width: 46ch; }
.site-foot h2 { font-family: var(--caps); font-weight: 700; letter-spacing: .12em; font-size: 15px; margin: 6px 0 14px; color: #E9B3A6; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0 0 8px; }
.site-foot a { color: var(--paper); text-decoration: none; font-family: var(--sans); font-size: 17px; }
.site-foot a:hover { color: #E9B3A6; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(238, 232, 216, .25); margin-top: 48px; padding-top: 18px; font-family: var(--caps); font-size: 14px; letter-spacing: .08em; color: #C3C7CB; }
.foot-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bottom a { font-family: var(--caps); font-size: 14px; letter-spacing: .08em; }

/* ---------------------------------------------------------------------
   Pages and posts: research sheet
   --------------------------------------------------------------------- */
.crumbs { font-family: var(--caps); font-weight: 500; font-size: 14px; letter-spacing: .08em; color: var(--ink-2); padding: 4px 0 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--pencil); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--rail); }

.sheet-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-bottom: 40px; }
.sheet-head--text { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.sheet-head h1 { font-size: 66px; line-height: 1.02; letter-spacing: -.015em; font-weight: 800; margin: 4px 0 14px; overflow-wrap: break-word; hyphens: auto; }
.sheet-head .sub { font-size: 24px; line-height: 1.35; font-style: italic; margin: 0 0 22px; color: var(--deep); }
.taxon { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 0; margin: 0; font-size: 17px; }
.taxon dt { font-family: var(--caps); font-weight: 500; font-size: 14px; letter-spacing: .1em; color: var(--ink-2); padding-top: 2px; }
.taxon dd { margin: 0; }
.taxon i { font-weight: 500; }
.taxon a { color: var(--ink); }

.sheet { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; align-items: start; padding: 20px 0 80px; }
.sheet--single { grid-template-columns: minmax(0, 1fr); }
.sheet-main { max-width: 760px; }
.sheet-main h2 { font-size: 36px; line-height: 1.15; font-weight: 800; margin: 56px 0 14px; letter-spacing: -.005em; scroll-margin-top: 24px; }
.sheet-main h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--rail); margin-bottom: 16px; }
.sheet-main h3 { font-size: 25px; line-height: 1.2; font-weight: 800; margin: 36px 0 10px; }
.sheet-main p { margin: 0 0 18px; }

/* running text inside .entry (content from the editor) */
.entry ul, .entry ol { margin: 0 0 18px; padding-left: 1.3em; }
.entry li { margin: 0 0 6px; }
.entry li::marker { color: var(--rail); }
.entry blockquote { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--isobath); font-style: italic; font-size: 21px; color: var(--deep); }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.entry table { width: 100%; border-collapse: collapse; margin: 26px 0 30px; font-family: var(--sans); font-size: 16.5px; line-height: 1.4; background: var(--paper-3); border: 1px solid var(--ink); }
.entry caption { caption-side: top; text-align: left; font-family: var(--caps); font-weight: 700; letter-spacing: .1em; font-size: 15px; color: var(--rail); padding: 0 0 8px; }
.entry th, .entry td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry thead th { font-family: var(--caps); font-weight: 700; letter-spacing: .08em; font-size: 14px; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.entry .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry .alignleft { float: left; margin: 6px 26px 14px 0; max-width: 50%; }
.entry .alignright { float: right; margin: 6px 0 14px 26px; max-width: 50%; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.entry iframe, .entry video { max-width: 100%; }

.capsule {
  position: relative; margin: 0 0 10px; padding: 26px 28px 24px;
  background: var(--paper-3); border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--paper-2), 6px 6px 0 1px var(--line);
}
.capsule .label { position: absolute; top: -13px; left: 20px; background: var(--paper); padding: 0 10px; font-family: var(--caps); font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--rail); }
.sheet-main .capsule p, .capsule p { margin: 0; font-size: 21px; line-height: 1.55; }

.content-figure { margin: 36px 0 30px; }
.content-figure.alignleft, .content-figure.alignright { margin-top: 10px; }

.field-note {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--ink); border-left: 6px solid var(--isobath);
  background: var(--paper-3); padding: 16px 20px; margin: 30px 0;
  font-family: var(--sans); font-size: 17px; line-height: 1.5;
}
.field-note .icon { width: 24px; height: 24px; color: var(--isobath); margin-top: 1px; }
.field-note strong:first-child { display: block; font-family: var(--caps); letter-spacing: .1em; font-size: 15px; margin-bottom: 2px; }
.field-note p { margin: 0 0 8px; }
.field-note p:last-child { margin-bottom: 0; }
.sheet-main .note-travel { margin: 30px 0; }
.sheet-main .note-travel p { margin: 0; }

.faq { margin: 64px 0 0; border-top: 3px double var(--ink); padding-top: 10px; }
.sheet-main .faq h2::before { display: none; }
.faq h2 { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 16px 0; font-weight: 700; font-size: 21px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 26px; height: 26px; color: var(--rail); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; font-size: 18px; max-width: 64ch; }
.faq .faq-a { padding: 0 0 4px; }

.further { margin: 56px 0 0; }
.sheet-main .further h2 { font-size: 26px; margin-top: 0; }
.sheet-main .further h2::before { display: none; }
.further ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.further ol::before {
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 6px;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--ink) 0 22px, var(--paper) 22px 44px);
}
.further li { position: relative; padding: 32px 12px 0 0; }
.further li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.further a { font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; line-height: 1.25; display: block; }
.further a:hover { color: var(--rail); }
.further span { display: block; font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin-top: 2px; }

.sources { font-family: var(--sans); font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 44px; padding-top: 14px; }
.sheet-main .sources { margin: 44px 0 0; }

/* hub pages: list of the pages of a section along a rail */
.hub-list { margin: 64px 0 0; }
.sheet-main .hub-list h2::before { display: none; }
.hub-list .stations { margin-top: 26px; }
.hub-list .station { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-bottom: 22px; }
.hub-list .station + .station { padding-top: 20px; }
.hub-list .station + .station::before { top: 26px; }
.hub-list .station h3 { font-size: 25px; margin: 0; }
.hub-list .station p { font-size: 17px; color: var(--ink-2); }

/* margin column */
.margin-col { display: flex; flex-direction: column; gap: 36px; position: sticky; top: 24px; }
.margin-col h3 { font-family: var(--caps); font-weight: 700; font-size: 16px; letter-spacing: .14em; color: var(--rail); margin: 0 0 10px; }
.factsheet { background: var(--paper-3); border: 1px solid var(--ink); padding: 20px 22px 12px; }
.factsheet dl { margin: 0; }
.factsheet div { padding: 9px 0; border-top: 1px solid var(--line); }
.factsheet dt { font-family: var(--caps); font-weight: 500; font-size: 13px; letter-spacing: .1em; color: var(--ink-2); }
.factsheet dd { margin: 1px 0 0; font-size: 18px; line-height: 1.35; font-weight: 500; }
.minimap { margin: 0; }
.minimap svg { width: 100%; height: auto; display: block; background: var(--paper-3); border: 1px solid var(--ink); }
.minimap figcaption { font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.margin-notes { font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink); border-left: 2px solid var(--pencil); padding-left: 16px; }
.margin-notes p { margin: 0 0 10px; }
.margin-notes b, .margin-notes strong { font-family: var(--caps); letter-spacing: .08em; }

/* ---------------------------------------------------------------------
   Lists: magazine archive, search results, pagination, 404
   --------------------------------------------------------------------- */
.list-head { padding: 0 0 30px; border-bottom: 1px solid var(--ink); margin-bottom: 40px; }
.list-head h1 { font-size: 60px; line-height: 1.04; font-weight: 800; letter-spacing: -.015em; margin: 4px 0 12px; }
.list-head p { margin: 0; max-width: 64ch; color: var(--ink-2); }
.list-head .search-form { margin-top: 22px; }

.archive-list { list-style: none; margin: 0; padding: 0 0 70px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; }
.archive-list .report--side { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.archive-list .report--text { display: block; }

.results { list-style: none; margin: 0; padding: 0 0 50px; max-width: 860px; }
.results li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.results li:first-child { border-top: 1px solid var(--ink); }
.results .meta { font-family: var(--caps); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--rail); margin: 0 0 4px; }
.results h2 { margin: 0 0 6px; font-size: 27px; line-height: 1.2; font-weight: 800; }
.results h2 a { color: var(--ink); text-decoration: none; }
.results h2 a:hover { color: var(--rail); }
.results p { margin: 0; font-size: 18px; }

.pagination { padding: 0 0 80px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--caps); font-weight: 700; letter-spacing: .08em; }
.pagination .page-numbers { display: inline-flex; align-items: center; min-width: 42px; height: 42px; padding: 0 12px; justify-content: center; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }
.pagination a.page-numbers:hover { background: var(--rail); border-color: var(--rail); color: var(--paper); }
.pagination .dots { border-color: transparent; }

.lost { padding: 10px 0 90px; }
.lost .stations { margin-top: 30px; max-width: 760px; }
.lost .station { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-bottom: 18px; }
.lost .station + .station { padding-top: 16px; }
.lost .station + .station::before { top: 22px; }
.lost .station h3 { font-size: 24px; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .railnav a { font-size: 14px; }
  .railnav small { display: none; }
  .hero-text h1 { font-size: 52px; }
  .measure .val { font-size: 48px; }
  .sheet-head h1 { font-size: 56px; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .railnav { display: none; }
  .menu-btn { display: inline-flex; }
  .search-btn span { display: none; }
  .masthead .wrap { padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
  .hero-grid, .stations-grid, .gazetteer-grid, .intro-grid, .sheet, .sheet-head { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .stations-aside .plate, .margin-col { position: static; }
  /* hero order on small screens: headline, map, figures, actions, photo */
  .hero-text { display: contents; }
  .hero-text .kicker { order: 1; }
  .hero-text h1 { order: 2; margin-bottom: 0; }
  .hero-lead { order: 3; margin-bottom: 0; }
  .hero-map { order: 4; }
  .atlas-note { font-size: 14px; margin-top: 20px; }
  .hero-coords { order: 5; margin-bottom: 0; }
  .hero-actions { order: 6; margin-top: 0; }
  .hero-plate { order: 7; }
  .hero-grid { gap: 22px; }
  .hero-text .kicker { margin-bottom: -12px; }
  /* article: fact sheet directly after the answer capsule */
  .sheet { display: flex; flex-direction: column; gap: 0; }
  .sheet-main, .margin-col { display: contents; }
  .sheet-main > * { order: 2; }
  .sheet-main > .capsule { order: 0; }
  .factsheet { order: 1; margin-top: 34px; }
  .minimap, .margin-notes { order: 3; margin-top: 40px; }
  .stations-aside img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .measures { grid-template-columns: 1fr 1fr; }
  .measure:nth-child(3) { padding-left: 0; border-left: 0; }
  .measure:nth-child(n+3) { border-top: 1px solid rgba(238, 232, 216, .25); }
  .reports { grid-template-columns: minmax(0, 1fr); }
  .report--lead, .report-stack, .report--side, .report--wide, .report--solo { grid-column: auto; grid-row: auto; }
  .archive-list { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .list-head h1 { font-size: 46px; }

  /* drawer: vertical railway with stations */
  .drawer {
    position: fixed; inset: 0; z-index: 100; overflow-y: auto; overscroll-behavior: contain;
    background-color: var(--paper);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 64px 64px;
    padding: 0 var(--gutter) 40px;
  }
  .menu-open .drawer { display: block; }
  .menu-open body { overflow: hidden; }
  .drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--ink); margin-bottom: 26px; }
  .drawer-title { font-family: var(--caps); font-weight: 700; letter-spacing: .14em; font-size: 15px; color: var(--rail); margin: 0 0 16px; }
  .drawer ol { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; }
  .drawer ol::before {
    content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 6px;
    border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink);
    background: repeating-linear-gradient(180deg, var(--ink) 0 18px, var(--paper) 18px 36px);
  }
  .drawer li { position: relative; padding: 9px 0; }
  .drawer li::before { content: ""; position: absolute; left: -40px; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 3.5px solid var(--ink); }
  .drawer li.is-current::before { background: var(--rail); border-color: var(--rail); }
  .drawer ol a, .drawer ol .is-planned { font-family: var(--serif); font-weight: 800; font-size: 27px; color: var(--ink); text-decoration: none; line-height: 1.2; display: block; }
  .drawer li small { display: block; font-family: var(--sans); font-size: 15px; color: var(--ink-2); }
  .drawer .note-travel { margin-top: 30px; }
  .drawer .search-form { margin: 0 0 26px; flex-direction: row; }
  .drawer .search-submit { align-self: auto; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  body { font-size: 18px; background-size: 48px 48px; }
  .topline .wrap > span:last-child { display: none; }
  .topline { font-size: 12.5px; }
  .brand-name { font-size: 27px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-sub { font-size: 11.5px; }
  .tool-btn { height: 40px; padding: 0 10px; }
  .menu-btn span { display: none; }
  .hero { padding-top: 22px; }
  .atlas { padding: 8px 8px 8px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--ink); }
  .atlas-head { font-size: 12px; }
  .atlas-legend { font-size: 13px; gap: 6px 14px; }
  .hero-text h1 { font-size: 40px; }
  .hero-lead { font-size: 19px; }
  .hero-coords dd { font-size: 18px; }
  .hero-coords dt { font-size: 12px; }
  .atlas .map-place text { font-size: 19px; stroke-width: 4px; }
  .atlas .map-rail-label { font-size: 15px; }
  .atlas .map-water { font-size: 19px; }
  .atlas .map-water--river { font-size: 14px; }
  .atlas .map-grat text, .atlas .map-scale text { font-size: 13px; }
  .atlas .map-place.is-minor text, .atlas .map-water--river { display: none; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 34px; }
  .stations { padding-left: 36px; }
  .stations::before { left: 6px; }
  .station { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .station::before { left: -37px; }
  .station .topics, .station .note-travel { grid-column: auto; }
  .station h3 { font-size: 26px; }
  .legend { padding: 60px 0; }
  .measure { padding: 20px 12px 20px 0; }
  .measure + .measure { padding-left: 12px; }
  .measure:nth-child(3) { padding-left: 0; }
  .measure .val { font-size: 36px; }
  .measure .val small { font-size: 18px; }
  .measure .lab { font-size: 13px; }
  .measure p { font-size: 14px; }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger div { font-size: 16.5px; }
  .gaz li { grid-template-columns: minmax(0, 1fr); }
  .report--side, .report--wide, .archive-list .report--side { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .report--side .meta { margin-top: 14px; }
  .report--lead h3 { font-size: 30px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .foot-bottom { flex-direction: column; }

  .sheet-head h1 { font-size: 42px; }
  .sheet-head .sub { font-size: 20px; }
  .taxon { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .taxon dd { margin-bottom: 8px; }
  .capsule { padding: 22px 18px 18px; box-shadow: 4px 4px 0 var(--paper-2), 4px 4px 0 1px var(--line); }
  .sheet-main .capsule p, .capsule p { font-size: 19px; }
  .sheet-main h2 { font-size: 28px; margin-top: 44px; }
  .sheet-main h3 { font-size: 22px; }
  .faq summary { font-size: 19px; }
  .further ol { grid-template-columns: minmax(0, 1fr); padding-left: 34px; }
  .further ol::before { left: 6px; right: auto; top: 12px; bottom: 12px; width: 6px; height: auto; border: 0; border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); background: repeating-linear-gradient(180deg, var(--ink) 0 18px, var(--paper) 18px 36px); }
  .further li { padding: 8px 0 14px; }
  .further li::before { left: -34px; top: 10px; }
  .entry .alignleft, .entry .alignright { float: none; max-width: 100%; margin: 26px 0; }
  .list-head h1 { font-size: 38px; }
  .search-form { flex-direction: column; }
  .search-submit { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .faq summary .icon { transition: none; }
}

@media print {
  .topline, .railnav, .mast-tools, .searchbar, .drawer, .site-foot, .further, .hub-list { display: none !important; }
  body { background: #fff; }
  .sheet { display: block; }
}

/* Stations whose hub page is not published yet: shown, but not linked. */
.is-planned { color: var(--ink-2) !important; cursor: default; }
