:root {
  --paper: #f2ead9;
  --paper-light: #fbf7ed;
  --ink: #171815;
  --muted: #62675e;
  --sea: #185e67;
  --terracotta: #a7442d;
  --rule: #c8bda7;
  --measure: 42rem;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.6; }
body { margin: 0; }
a { color: var(--sea); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:focus-visible, audio:focus-visible, .narrator-choice select:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.skip-link { background: var(--ink); color: white; left: .75rem; padding: .65rem 1rem; position: fixed; top: .75rem; transform: translateY(-200%); z-index: 10; }
.skip-link:focus { transform: none; }
.site-header { align-items: stretch; border-bottom: 1px solid var(--ink); display: flex; gap: clamp(1rem, 4vw, 3rem); justify-content: space-between; margin: 0 auto; max-width: 72rem; padding: .85rem clamp(1rem, 4vw, 3rem); }
.institution { align-items: center; color: var(--ink); display: flex; flex: 0 1 22rem; line-height: 1; min-width: 0; text-decoration: none; }
.institution picture { display: block; width: 100%; }
.institution img { display: block; height: auto; max-height: 4.5rem; max-width: 100%; width: auto; }
.publication-id { align-items: flex-end; display: flex; flex-direction: column; font-family: Arial, Helvetica, sans-serif; justify-content: center; line-height: 1.25; text-align: right; }
.publication-name { font-size: .8rem; font-weight: 700; }
.eyebrow, .edition, dt { font-family: Arial, Helvetica, sans-serif; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.edition { color: var(--muted); }
.edition-number { white-space: nowrap; }
.header-subtitle { color: var(--terracotta); font-family: Georgia, "Times New Roman", serif; font-size: .68rem; font-style: italic; margin-top: .08rem; }
.site-nav { align-items: center; border-bottom: 1px solid var(--rule); display: flex; font-family: Arial, Helvetica, sans-serif; gap: clamp(1.25rem, 4vw, 3rem); justify-content: flex-end; margin: 0 auto; max-width: 72rem; padding: .55rem clamp(1rem, 4vw, 3rem); }
.site-nav a { color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { color: var(--terracotta); }
main { display: block; }
.feature { margin: 0 auto; max-width: var(--measure); padding: clamp(2rem, 8vw, 5rem) 1.1rem 4rem; }
.feature-header { border-bottom: 1px solid var(--ink); padding-bottom: 1.5rem; }
.eyebrow { color: var(--terracotta); margin: 0 0 .6rem; }
.feature-hero { display: block; margin: 1rem 0 1.5rem; }
.feature-hero img { aspect-ratio: 3 / 2; display: block; height: auto; object-fit: cover; width: 100%; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 11vw, 5.3rem); font-weight: 500; letter-spacing: -.045em; margin: 0 0 1.35rem; }
.standfirst { font-size: clamp(1.18rem, 4.5vw, 1.45rem); line-height: 1.42; margin: 0; max-width: 34rem; }
.context { display: flex; font-family: Arial, Helvetica, sans-serif; gap: 2rem; margin: 1.5rem 0 0; }
.context div { display: grid; gap: .05rem; }
.context dt { color: var(--muted); }
.context dd { font-size: .86rem; margin: 0; }
.article-body { padding-top: 1.5rem; }
.article-body h3 { font-size: clamp(1.55rem, 6vw, 2.05rem); font-weight: 500; margin: 3.2rem 0 1rem; }
.article-body p { margin: 0 0 1.35rem; }
.article-body p:first-of-type::first-letter { color: var(--terracotta); float: left; font-size: 4.4rem; line-height: .75; padding: .17em .1em 0 0; }
.article-body blockquote { border-left: 4px solid var(--terracotta); color: var(--muted); font-style: italic; margin: 2rem 0; padding: .2rem 0 .2rem 1.1rem; }
.article-body blockquote p { margin: 0; }
.article-body ul { margin: 0 0 1.5rem; padding-left: 1.35rem; }
.article-body li { margin-bottom: .65rem; }
.listen { background: var(--sea); color: white; margin: 1.5rem 0; padding: 1.2rem; }
.listen-heading { align-items: center; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: .7rem; }
.listen .eyebrow { color: #f5c2a9; margin: 0; white-space: nowrap; }
.listen audio { display: block; min-height: 54px; width: 100%; }
.narrator-choice { align-items: center; display: flex; flex: 0 0 auto; font-family: Arial, Helvetica, sans-serif; font-size: .68rem; font-weight: 700; gap: .45rem; }
.narrator-choice select { appearance: none; background-color: var(--paper-light); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23171815' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75'/%3E%3C/svg%3E"); background-position: right .7rem center; background-repeat: no-repeat; background-size: .65rem auto; border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; font: inherit; min-height: 36px; padding: .35rem 1.8rem .35rem .75rem; }
.narrator-note { color: rgba(255, 255, 255, .78); font-family: Arial, Helvetica, sans-serif; font-size: .65rem; line-height: 1.35; margin: .4rem 0 0; }
.look-up { border-left: 4px solid var(--terracotta); margin-top: 3.5rem; padding: .25rem 0 .25rem 1rem; }
.look-up p:last-child { font-size: 1.2rem; margin: 0; }
.site-footer { align-items: baseline; border-top: 1px solid var(--rule); color: var(--muted); display: flex; font-style: italic; gap: 1rem; justify-content: space-between; margin: 0 auto; max-width: 72rem; padding: 1.5rem clamp(1rem, 4vw, 3rem) 3rem; }
.site-footer p { margin: 0; }
.imprint { font-family: Arial, Helvetica, sans-serif; font-size: .7rem; font-style: normal; }
.home { margin: 0 auto; max-width: 72rem; padding: clamp(3rem, 10vw, 7rem) clamp(1rem, 4vw, 3rem); }
.home-intro { max-width: 50rem; }
.home-intro h1 { max-width: 45rem; }
.section-heading { align-items: baseline; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; }
.section-heading h2 { border: 0; }
.section-heading a { font-family: Arial, Helvetica, sans-serif; font-size: .72rem; font-weight: 700; }
.home-intro > p:last-child { font-size: 1.25rem; max-width: 38rem; }
.home-intro .subtitle { color: var(--muted); font-size: clamp(1.15rem, 3vw, 1.45rem); font-style: italic; margin: -1rem 0 2rem; }
.home section + section { margin-top: 4rem; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list a { border-top: 1px solid var(--rule); color: var(--ink); display: grid; gap: .35rem; padding: 1.5rem 0; text-decoration: none; }
.feature-list a:hover strong { color: var(--sea); }
.feature-list strong { font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 500; line-height: 1.08; }
.feature-list a > span:last-child { color: var(--sea); font-family: Arial, Helvetica, sans-serif; font-size: .85rem; font-weight: 700; }
.listing-page { margin: 0 auto; max-width: 72rem; padding: clamp(2.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); }
.page-intro { max-width: 42rem; }
.page-intro h1 { margin-bottom: 1rem; }
.page-intro > p:last-child { font-size: 1.15rem; margin-bottom: 2.5rem; }
.feature-directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.feature-directory li { border-top: 1px solid var(--rule); padding: 0 1rem; }
.preview-card { background: color-mix(in srgb, var(--paper) 88%, var(--muted)); }
.preview-card a > span:last-child { color: var(--muted); font-size: .78rem; }
.preview-page { margin: 0 auto; max-width: 72rem; min-height: 50vh; padding: clamp(3rem, 12vw, 8rem) clamp(1rem, 4vw, 3rem); }
.preview-panel { border-top: 4px solid var(--terracotta); max-width: 42rem; padding-top: 1.5rem; }
.preview-panel h1 { margin-bottom: .75rem; }
.preview-place { color: var(--muted); font-style: italic; margin: 0 0 2rem; }
.back-link { display: inline-block; font-family: Arial, Helvetica, sans-serif; font-size: .78rem; font-weight: 700; margin-top: 1.5rem; }
.prose-panel { font-size: 1.15rem; max-width: 38rem; }
.message { margin: 0 auto; max-width: var(--measure); min-height: 65vh; padding: 6rem 1rem; }
.message h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
.utility { margin: 0 auto; max-width: 58rem; padding: clamp(2rem, 8vw, 5rem) 1.1rem 4rem; }
.utility-header { border-bottom: 1px solid var(--ink); padding-bottom: 1.5rem; }
.utility-header h1 { max-width: 48rem; }
.utility-intro { font-size: clamp(1.08rem, 3.5vw, 1.3rem); max-width: 43rem; }
.utility-intro p { margin: 0; }
.timetable, .utility-section { margin-top: 2.5rem; }
.utility h2 { border-bottom: 1px solid var(--rule); font-size: clamp(1.65rem, 5vw, 2.2rem); font-weight: 500; margin: 0 0 1rem; padding-bottom: .45rem; }
.schedule-list { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.schedule-list li { background: var(--paper-light); border-top: 3px solid var(--sea); padding: 1rem; }
.schedule-corridor { color: var(--terracotta); font-family: Arial, Helvetica, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .1em; margin: 0 0 .35rem; text-transform: uppercase; }
.schedule-list h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin: 0 0 .7rem; }
.schedule-departures { font-family: Arial, Helvetica, sans-serif; font-size: .86rem; font-variant-numeric: tabular-nums; line-height: 1.55; margin: 0; }
.utility-section { max-width: 43rem; }
.utility-section p, .utility-section li { margin: 0 0 1rem; }
.utility-section ul { padding-left: 1.2rem; }
.utility-section code { overflow-wrap: anywhere; }
.expiry { border-left: 4px solid var(--terracotta); padding-left: 1rem; }
.guide-index, .guide-entry { margin: 0 auto; max-width: 72rem; padding: clamp(2.5rem, 8vw, 5rem) clamp(1rem, 4vw, 3rem) 4rem; }
.guide-index .page-intro { margin-bottom: 3rem; }
.guide-group + .guide-group { margin-top: 3.5rem; }
.guide-group h2 { border-bottom: 1px solid var(--ink); font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 500; margin: 0; padding-bottom: .45rem; }
.guide-group ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.guide-group li { border-bottom: 1px solid var(--rule); }
.guide-group a { color: var(--ink); display: grid; gap: .2rem; min-height: 100%; padding: 1.15rem .75rem; text-decoration: none; }
.guide-group a:hover strong { color: var(--sea); }
.guide-group a > span, .guide-group small, .guide-pages { color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.guide-group strong { font-size: 1.12rem; font-weight: 500; line-height: 1.25; }
.guide-entry { max-width: var(--measure); }
.guide-header { border-bottom: 1px solid var(--ink); padding-bottom: 1.5rem; }
.guide-header h1 { margin-bottom: .65rem; }
.guide-pages { margin: 0; }
.guide-body { padding-top: 1.5rem; }
.guide-body h2, .guide-body h3, .guide-body h4 { font-weight: 500; margin: 2.5rem 0 .8rem; }
.guide-body h2 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
.guide-body h3 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
.guide-body h4 { font-size: 1.15rem; }
.guide-body p { margin: 0 0 1.35rem; }
.guide-body ul { padding-left: 1.25rem; }
.guide-body li { margin-bottom: .55rem; }
.guide-body blockquote { border-left: 4px solid var(--terracotta); color: var(--muted); margin: 1.5rem 0; padding-left: 1rem; }
.guide-table { margin: 1.5rem 0 2rem; overflow-x: auto; overscroll-behavior-inline: contain; }
.guide-table:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.guide-table table { border-collapse: collapse; font-family: Arial, Helvetica, sans-serif; font-size: .82rem; line-height: 1.4; min-width: 100%; }
.guide-table th, .guide-table td { border-bottom: 1px solid var(--rule); padding: .65rem .75rem; text-align: left; vertical-align: top; }
.guide-table th { color: var(--muted); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.guide-illustrations { display: grid; gap: 1rem; margin: 1.5rem 0; }
.guide-illustrations figure { margin: 0; }
.guide-illustrations img { display: block; height: auto; width: 100%; }
.guide-map { border: 1px solid var(--rule); margin: 1.5rem auto 2rem; max-width: 36rem; }
.guide-map a { color: inherit; display: block; text-decoration: none; }
.guide-map picture, .guide-map img { display: block; height: auto; width: 100%; }
.guide-map figcaption { align-items: baseline; background: var(--paper-light); display: flex; font-family: var(--sans); font-size: .78rem; gap: 1rem; justify-content: space-between; padding: .7rem .85rem; }
.guide-map figcaption span { color: var(--sea); font-weight: 700; }
.guide-next { border-top: 1px solid var(--ink); display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-top: 3rem; padding-top: 1rem; }
.guide-next a { font-size: .9rem; line-height: 1.3; text-decoration: none; }
.guide-next a:last-child { text-align: right; }
.guide-next span { color: var(--muted); display: block; font-family: Arial, Helvetica, sans-serif; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 56rem) {
  .schedule-list { grid-template-columns: 1fr; }
}

@media (max-width: 36rem) {
  html { font-size: 17px; }
  .institution { flex-basis: 10rem; }
  .institution img { max-height: 2.4rem; width: 100%; }
  .publication-name { font-size: .72rem; }
  .edition { max-width: 11rem; }
  .site-nav { justify-content: space-between; }
  .site-nav { gap: .5rem; }
  .site-nav a { font-size: .58rem; }
  .feature { padding-top: 2.5rem; }
  .context { gap: 1.2rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .guide-next { grid-template-columns: 1fr; }
  .guide-next > span:empty { display: none; }
  .guide-next a:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .skip-link, .site-header, .site-nav, .site-footer { display: none; } body { background: white; } }
