@charset "UTF-8";

:root { --paper: #f3f0e7; --ink: #303b35; --accent: #a44832; --rule: #c2c4b9; --grid: #303b3509; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p { line-height: 1.7; }
svg { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
.sheet { max-width: 1440px; padding: 0 64px; margin: auto; }
.mono, .eyebrow, .tag, .svg-label, .specification, .source-list small { font-family: "Courier New", Courier, monospace; }
.mono { font-size: 11px; letter-spacing: .055em; }
.site-header { min-height: 93px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ink); }
.wordmark { font-size: 17px; font-weight: 700; letter-spacing: .07em; text-decoration: none; white-space: nowrap; }
.registration { font-size: 27px; vertical-align: -2px; margin-right: 8px; }
.wordmark-sub { font: 10px "Courier New", monospace; letter-spacing: .06em; }
nav { display: flex; gap: 29px; font-size: 12px; }
nav a { text-decoration: none; }
.hero { padding-top: 24px; }
.hero-top, .drawing-label, .coordinates, .route-footer { display: flex; justify-content: space-between; gap: 20px; }
.hero-top { font-size: 10px; }
.hero-layout { display: grid; grid-template-columns: .95fr 1.15fr; align-items: center; gap: 25px; min-height: 520px; padding: 46px 0 42px; }
.eyebrow { font-size: 10px; line-height: 1.6; font-weight: 400; letter-spacing: .09em; color: var(--accent); }
.dot { width: 6px; height: 6px; background: var(--accent); display: inline-block; border-radius: 50%; margin: 0 7px 1px 0; }
h1 { font-size: clamp(80px, 8.5vw, 124px); letter-spacing: -.075em; line-height: 1.1; margin: 18px 0 17px -7px; font-weight: 500; }
.title-dot { color: var(--accent); }
.hero-subtitle { font-size: 30px; line-height: 1.15; letter-spacing: -.03em; }
.intro { font-size: 14px; max-width: 375px; margin-top: 22px; }
.explore { display: inline-flex; align-items: center; gap: 32px; font-size: 12px; margin-top: 26px; padding-bottom: 9px; border-bottom: 1px solid var(--accent); text-decoration: none; }
.explore span { font-size: 21px; color: var(--accent); }
.hero-drawing { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; padding: 15px 0; }
.drawing-label { font-size: 9px; padding: 0 14px; }
.hero-drawing figcaption { font-size: 9px; text-align: center; line-height: 1.6; }
.construction { opacity: .4; }
.svg-accent { color: var(--accent); }
.svg-label { font-size: 10px; letter-spacing: 1px; }
.coordinates { padding: 17px 0; border-top: 1px solid var(--rule); align-items: center; }
.coordinates a { text-decoration: none; }
.cross { color: var(--accent); margin-right: 10px; font-size: 20px; vertical-align: -2px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 27px 0; }
.facts > div { padding: 0 26px; border-left: 1px solid var(--rule); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.fact-label { font-size: 9px; }
.facts p { font-size: 51px; letter-spacing: -.06em; line-height: 1.2; margin: 17px 0 10px; }
.facts p span { font-size: 12px; letter-spacing: 0; margin-left: 9px; white-space: nowrap; }
.fact-note { font-size: 11px; line-height: 1.6; }
.ref { font: 10px "Courier New", monospace; color: var(--accent); white-space: nowrap; text-decoration: none; }
.section { padding: 69px 0; border-bottom: 1px solid var(--ink); }
h2 { font-size: clamp(29px, 3.3vw, 42px); font-weight: 400; line-height: 1.15; letter-spacing: -.045em; margin: 15px 0 20px; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 360px; font-size: 14px; }
.history { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding-bottom: 33px; }
.timeline li::before { content: ""; position: absolute; top: 9px; bottom: -9px; left: 93px; border-left: 1px solid var(--rule); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; top: 7px; left: 90px; width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; background: var(--paper); }
.timeline li:first-child::after { background: var(--accent); }
.timeline-date { font-family: "Courier New", monospace; font-size: 23px; color: var(--accent); letter-spacing: -.06em; }
h3 { font-size: 17px; font-weight: 500; letter-spacing: -.015em; line-height: 1.4; }
.timeline p { font-size: 12px; margin-top: 7px; }
.tag { display: inline-block; font-size: 8px; border: 1px solid var(--rule); padding: 5px 7px; margin-top: 11px; letter-spacing: .06em; }
.manor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 68px; align-items: center; margin-top: 34px; }
.names-panel { border: 1px solid var(--rule); padding: 28px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.names-panel h3 { font-size: 27px; line-height: 1.15; letter-spacing: -.035em; margin-top: 15px; }
.name-sequence { list-style: none; padding: 0; margin: 25px 0; }
.name-sequence li { position: relative; border-left: 1px solid var(--rule); padding: 0 0 23px 23px; }
.name-sequence li::before { content: ""; position: absolute; left: -4px; top: 3px; width: 7px; height: 7px; border: 1px solid var(--accent); background: var(--paper); border-radius: 50%; }
.name-sequence li:last-child { padding-bottom: 0; border-left-color: transparent; }
.name-sequence li:last-child::before { background: var(--accent); }
.name-period { display: block; font: 9px "Courier New", monospace; letter-spacing: .07em; }
.historical-name { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 2.6vw, 35px); line-height: 1.25; margin-top: 6px; }
.name-alternative { font-size: .6em; white-space: nowrap; }
.name-sequence li:last-child .historical-name { font-family: Arial, Helvetica, sans-serif; letter-spacing: -.045em; }
.names-panel figcaption { font-size: 10px; line-height: 1.65; border-top: 1px solid var(--rule); padding-top: 15px; }
.manor-copy > p { font-size: 13px; margin-top: 15px; }
.specification { font-size: 11px; margin: 26px 0 0; }
.specification div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--rule); }
.specification dd { text-align: right; margin: 0; }
.manor-copy .small-note { font-size: 10px; line-height: 1.65; }
.stories { display: grid; grid-template-columns: 1fr 1fr; margin-top: 38px; border-top: 1px solid var(--rule); }
.stories article { display: flex; align-items: flex-start; gap: 25px; padding: 30px 32px 0 0; }
.stories article + article { border-left: 1px solid var(--rule); padding-left: 32px; }
.story-symbol { display: flex; flex: 0 0 64px; height: 77px; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 25px; border: 1px solid var(--rule); color: var(--accent); }
.book-symbol { font-size: 42px; }
.stories h3 { margin-top: 8px; }
.stories p:last-child { font-size: 12px; margin-top: 10px; }
.railway-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.railway-intro > p { font-size: 13px; max-width: 410px; }
.route { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0; padding-top: 20px; }
.route-stop { position: relative; border-top: 2px solid var(--ink); padding-top: 25px; text-align: center; font-size: 12px; }
.route-stop:first-child { border-top-style: dashed; }
.route-node { position: absolute; top: -6px; left: calc(50% - 5px); width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; }
.route-stop small { display: block; font: 9px "Courier New", monospace; letter-spacing: .06em; margin-top: 9px; }
.route-stop.selected { color: var(--accent); }
.selected .route-node { width: 17px; height: 17px; left: calc(50% - 8px); top: -10px; border: 4px solid var(--accent); outline: 5px solid var(--paper); }
.route-footer { align-items: center; font-size: 9px; line-height: 1.7; }
.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; }
.sources h2 { font-size: 31px; }
.sources p:not(.eyebrow) { max-width: 360px; font-size: 12px; }
.source-list { padding: 0; margin: 0; list-style: none; }
.source-list li { display: flex; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--rule); padding: 17px 0; scroll-margin-top: 30px; }
.source-list li:first-child { padding-top: 0; }
.source-list li:target { background: #a4483210; outline: 1px solid var(--accent); outline-offset: 6px; }
.source-list li > span { color: var(--accent); }
.source-list li > span:last-child { margin-left: auto; }
.source-list a { text-decoration: none; font-size: 13px; }
.source-list small { display: block; font-size: 8px; line-height: 1.6; letter-spacing: .05em; margin-top: 8px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 35px; }
footer .wordmark { font-size: 13px; }
footer .mono { font-size: 9px; }
footer a { text-decoration: none; }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--ink); color: var(--paper); padding: 14px; z-index: 2; }
.skip-link:focus { top: 12px; }
@media (min-width: 1450px) { .sheet { border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); } }
@media (max-width: 1050px) {
  .sheet { padding: 0 36px; }
  .wordmark-sub { display: none; }
  .hero-layout { gap: 10px; }
  .hero-subtitle { font-size: 27px; }
  .hero-top { font-size: 9px; }
  .drawing-label { font-size: 8px; }
  .facts > div { padding: 0 17px; }
  .fact-label { font-size: 8px; }
  .facts p { font-size: 42px; }
  .facts p span { font-size: 10px; }
  .history { gap: 40px; }
  .manor-grid, .railway-intro, .sources { gap: 38px; }
  .stories article { gap: 15px; }
  .story-symbol { flex-basis: 46px; height: 64px; font-size: 20px; }
}
@media (max-width: 760px) {
  .sheet { padding: 0 24px; }
  .site-header { min-height: 80px; gap: 15px; }
  .wordmark { font-size: 14px; }
  .registration { margin-right: 2px; }
  nav { gap: 15px; font-size: 11px; }
  .hero-top { line-height: 1.6; }
  .hero-top span:first-child { max-width: 240px; }
  .hero-top span:last-child { white-space: nowrap; }
  .hero-layout { grid-template-columns: 1fr; padding: 36px 0 22px; gap: 35px; }
  h1 { font-size: clamp(82px, 18vw, 120px); margin-top: 12px; }
  .hero-subtitle { font-size: 29px; }
  .intro { max-width: 450px; }
  .hero-drawing { width: 100%; max-width: 570px; margin: auto; }
  .drawing-label { font-size: 9px; }
  .coordinates { font-size: 9px; gap: 8px; }
  .cross { margin-right: 3px; }
  .facts { grid-template-columns: 1fr 1fr; padding: 0; }
  .facts > div { padding: 22px 16px; }
  .facts > div:first-child { padding: 22px 0; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .fact-label { font-size: 9px; }
  .facts p { font-size: 46px; margin-top: 12px; }
  .section { padding: 44px 0; }
  h2 { font-size: 34px; }
  .history, .manor-grid, .railway-intro, .sources { grid-template-columns: 1fr; gap: 30px; }
  .section-heading > p:last-child:not(.eyebrow) { max-width: 450px; }
  .timeline { margin-top: 8px; }
  .timeline li { grid-template-columns: 78px 1fr; gap: 27px; }
  .timeline li::before { left: 82px; }
  .timeline li::after { left: 79px; }
  .timeline p, .manor-copy > p, .railway-intro > p { font-size: 14px; }
  .stories { grid-template-columns: 1fr; }
  .stories article { padding: 26px 0; gap: 22px; }
  .stories article + article { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .story-symbol { flex-basis: 64px; height: 77px; font-size: 25px; }
  .stories p:last-child { font-size: 13px; }
  .railway-intro { gap: 0; }
  .route { grid-template-columns: 1fr; margin: 33px 0 30px 9px; padding-top: 0; }
  .route-stop { border-top: 0; border-left: 2px solid var(--ink); text-align: left; padding: 0 0 35px 30px; min-height: 65px; }
  .route-stop:first-child { border-left-style: dashed; }
  .route-stop:last-child { border-left-color: transparent; padding-bottom: 0; min-height: 30px; }
  .route-node { top: 3px; left: -6px; }
  .selected .route-node { top: 0; left: -10px; }
  .route-footer { flex-direction: column; align-items: flex-start; gap: 15px; }
  .source-list { margin-top: 8px; }
  footer { flex-wrap: wrap; }
  footer > span { display: none; }
}
@media (max-width: 390px) {
  .sheet { padding: 0 18px; }
  nav { gap: 10px; font-size: 10px; }
  .registration { display: none; }
  .fact-label { font-size: 8px; }
  .coordinates { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .sheet { max-width: none; padding: 0; }
  .site-header, .explore, footer, .coordinates a { display: none; }
  .section { padding: 25px 0; }
  .hero-layout { min-height: auto; }
  .timeline li, .stories article, .names-panel, .source-list li { break-inside: avoid; }
  a { text-decoration: none; }
}
