/* FerryGuides — design system
   Editorial ferry guides. Paper + deep sea + terracotta signal. */

:root {
  --ink: #14212e;
  --ink-2: #23394c;
  --muted: #5d6c7b;
  --muted-2: #7d8b98;
  --paper: #f8f5f0;
  --paper-2: #f1ece4;
  --card: #ffffff;
  --line: #e4ddd2;
  --line-strong: #cfc5b6;
  --sea: #0f5b6e;
  --sea-deep: #0b4353;
  --sea-soft: #e3eef0;
  --sun: #d4622f;
  --sun-soft: #fbeee6;
  --ok: #2c6e4f;
  --ok-soft: #e6f1ea;
  --warn: #8a5a12;
  --warn-soft: #fbf1df;
  --shadow-sm: 0 1px 2px rgba(20, 33, 46, .06), 0 1px 1px rgba(20, 33, 46, .04);
  --shadow-md: 0 10px 30px -12px rgba(20, 33, 46, .18), 0 2px 6px rgba(20, 33, 46, .05);
  --shadow-lg: 0 24px 60px -24px rgba(20, 33, 46, .28), 0 4px 12px rgba(20, 33, 46, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --wrap: 1160px;
  --wrap-narrow: 760px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--sea-deep); }
p { margin: 0 0 1.05em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap--narrow { max-width: var(--wrap-narrow); }

/* ---------- typography ---------- */

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0 0 .5em; line-height: 1.14; letter-spacing: -.015em; }
h1 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.15vw, 2.05rem); margin-top: 2.1rem; }
h3 { font-size: clamp(1.18rem, 1.04rem + .5vw, 1.42rem); margin-top: 1.7rem; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 650; letter-spacing: 0; margin-top: 1.4rem; }

.kicker {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sun);
  margin: 0 0 .85rem;
  display: flex; align-items: center; gap: .55rem;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; display: inline-block; }
.kicker--sea { color: var(--sea); }

.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.26rem); line-height: 1.55; color: var(--ink-2); }
.small { font-size: .87rem; }
.muted { color: var(--muted); }
.tiny { font-size: .78rem; color: var(--muted-2); }
strong { color: var(--ink); font-weight: 650; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 240, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: 0 0 34px; }
.brand-name { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.brand-name span { color: var(--sea); }
.brand-sub { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--ink-2); font-size: .93rem; font-weight: 500;
  padding: .5rem .7rem; border-radius: 7px; white-space: nowrap;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.is-active { color: var(--sea); font-weight: 650; }
.nav-cta {
  margin-left: .5rem; background: var(--ink) !important; color: #fff !important;
  padding: .58rem 1rem !important; border-radius: 999px !important; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--sea-deep) !important; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 8px; padding: .45rem .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px 0; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--ink); color: #f3efe7; padding: clamp(3rem, 6vw, 5.4rem) 0 clamp(3.4rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 420px at 12% -10%, rgba(15, 91, 110, .55), transparent 60%),
    radial-gradient(900px 500px at 92% 6%, rgba(212, 98, 47, .22), transparent 62%),
    linear-gradient(180deg, #14212e 0%, #11202c 55%, #0d1b26 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,255,255,.026) 22px 23px);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fdfaf4; max-width: 19ch; }
.hero .kicker { color: #e9a37f; }
.hero .lede { color: #cfd8de; max-width: 62ch; margin-top: .4rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: end; }

/* route finder card */
.finder {
  background: #fdfbf7; color: var(--ink); border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem 1.15rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
}
.finder h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.finder-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.finder label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .3rem; }
.finder select, .field select {
  width: 100%; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6c7b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .85rem center;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: .68rem .9rem; font: inherit; font-size: .93rem; color: var(--ink);
}
.finder select:focus, .field select:focus, .search-input:focus { outline: 2px solid var(--sea); outline-offset: 1px; }
.finder .btn { width: 100%; margin-top: .85rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-size: .95rem; font-weight: 600; line-height: 1;
  padding: .82rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--sea-deep); color: #fff; transform: translateY(-1px); }
.btn--sun { background: var(--sun); }
.btn--sun:hover { background: #b8501f; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink); }
.btn--sm { padding: .6rem .95rem; font-size: .87rem; }
.btn--block { width: 100%; }
.btn svg { flex: 0 0 auto; }

/* ---------- layout blocks ---------- */

.section { padding: clamp(2.8rem, 5vw, 4.6rem) 0; }
.section--tight { padding: clamp(2rem, 3.4vw, 3rem) 0; }
.section--paper2 { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.9rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .35rem 0 0; color: var(--muted); max-width: 58ch; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .8rem; color: var(--muted-2); padding: 1.1rem 0 .2rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--sea); text-decoration: underline; }
.breadcrumb span.sep { color: var(--line-strong); }

/* ---------- cards / grids ---------- */

.grid { display: grid; gap: 1.1rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: inherit; }
.card h3 { margin: 0 0 .35rem; font-size: 1.14rem; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .7rem; }

.route-card .route-pair { font-family: var(--serif); font-size: 1.14rem; line-height: 1.25; margin-bottom: .5rem; color: var(--ink); }
.route-card .route-pair .arrow { color: var(--sun); padding: 0 .12em; }
.route-meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; font-size: .78rem; color: var(--muted); margin-top: .7rem; }
.route-meta b { color: var(--ink-2); font-weight: 600; }

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  padding: .3rem .55rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-2);
  border: 1px solid var(--line); white-space: nowrap;
}
.chip--sea { background: var(--sea-soft); color: var(--sea-deep); border-color: #cfe0e3; }
.chip--sun { background: var(--sun-soft); color: #a3451b; border-color: #f2d6c6; }
.chip--ok { background: var(--ok-soft); color: var(--ok); border-color: #cde3d6; }
.chip--warn { background: var(--warn-soft); color: var(--warn); border-color: #f0e0c2; }

/* ---------- route page ---------- */

.route-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding-bottom: 1.6rem; }
.route-hero h1 { max-width: 24ch; margin-bottom: .6rem; }
.route-sub { color: var(--muted); max-width: 66ch; margin: 0; }
.fact-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.35rem; }
.fact-strip .chip { font-size: .79rem; padding: .4rem .68rem; }

.route-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(1.6rem, 3.4vw, 3rem); align-items: start; padding-top: 2.2rem; padding-bottom: 3.4rem; }
.route-main { min-width: 0; }
.route-aside { position: sticky; top: 88px; display: grid; gap: 1rem; }
@media (max-width: 980px) { .route-aside { position: static; } }

.prose { font-size: 1.02rem; }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--ink-2); }
.prose h2 { scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.15rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--sun); }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.15rem 1.5rem; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--sea);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline .when { font-family: var(--mono); font-size: .78rem; font-weight: 600; color: var(--sun); display: block; margin-bottom: .15rem; letter-spacing: .02em; }
.timeline .what { font-size: .96rem; }
.timeline .what b { display: block; font-weight: 650; margin-bottom: .1rem; }

/* info boxes */
.box { border-radius: var(--radius-sm); padding: 1.05rem 1.15rem; margin: 1.5rem 0; border: 1px solid var(--line); background: var(--card); }
.box h3, .box h4 { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.box--note { background: var(--sea-soft); border-color: #cfe0e3; }
.box--warn { background: var(--warn-soft); border-color: #f0e0c2; }
.box--ok { background: var(--ok-soft); border-color: #cde3d6; }
.box--sun { background: var(--sun-soft); border-color: #f2d6c6; }
.box-label { font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.box--warn .box-label { color: var(--warn); }
.box--note .box-label { color: var(--sea); }

/* tables */
.table-wrap { overflow-x: auto; margin: 1.4rem 0 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .91rem; min-width: 520px; }
th, td { text-align: left; padding: .78rem .95rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td b { font-weight: 650; }
.td-num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* operator list */
.op-list { display: grid; gap: .7rem; margin: 1.3rem 0 1.7rem; }
.op-item { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; padding: .95rem 1.05rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.op-item h4 { margin: 0; font-size: .98rem; }
.op-item .op-note { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); margin: 0; }
.op-facts { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }

/* aside cards */
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem; box-shadow: var(--shadow-sm); }
.side-card h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.side-card--cta { background: linear-gradient(180deg, #fff 0%, #fdf8f3 100%); border-color: #ecdccd; }
.side-card--cta h3 { color: var(--sun); }
.book-cta { display: grid; gap: .6rem; }
.book-cta .btn { width: 100%; }
.book-note { font-size: .76rem; color: var(--muted); margin: .15rem 0 0; line-height: 1.45; }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.facts-list li { display: grid; grid-template-columns: 88px 1fr; gap: .6rem; align-items: baseline; font-size: .87rem; }
.facts-list .k { color: var(--muted-2); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.facts-list .v { color: var(--ink); font-weight: 550; }

/* checklist */
.checklist { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .5rem; }
.checklist label { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); cursor: pointer; font-size: .94rem; transition: background .15s ease, border-color .15s ease; }
.checklist label:hover { background: var(--paper); }
.checklist input { margin: 4px 0 0; accent-color: var(--sea); width: 16px; height: 16px; flex: 0 0 auto; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }

/* FAQ */
.faq { margin: 1.2rem 0 1.6rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: .95rem 0; font-weight: 600; font-size: .99rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--sun); font-size: 1.1rem; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--ink-2); font-size: .95rem; }

/* sources */
.sources { margin-top: 2.2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.sources h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.sources ol { margin: 0; padding-left: 1.1rem; font-size: .85rem; color: var(--muted); }
.sources li { margin-bottom: .4rem; }

/* ---------- hub / filters ---------- */

.hub-head { padding: 2.4rem 0 1rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1.4rem 0 1.6rem; }
.search-input { flex: 1 1 260px; border: 1px solid var(--line-strong); border-radius: 999px; padding: .7rem 1.05rem; font: inherit; font-size: .94rem; background: #fff; color: var(--ink); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-chip { font: inherit; font-size: .82rem; font-weight: 600; padding: .5rem .85rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); cursor: pointer; }
.filter-chip:hover { background: var(--paper-2); }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty-state { padding: 3rem 1rem; text-align: center; color: var(--muted); display: none; }
.route-row { display: none; }
.route-row.is-visible { display: block; }

/* ---------- guides / best ---------- */

.article-head { padding: 2.2rem 0 1.4rem; }
.article-head h1 { max-width: 26ch; }
.byline { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center; font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

.toc { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); padding: 1rem 1.15rem; margin: 1.6rem 0 1.9rem; }
.toc p { margin: 0 0 .55rem; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: .91rem; }
.toc li { margin-bottom: .3rem; }

.rank-list { counter-reset: rank; list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1rem; }
.rank-item { counter-increment: rank; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.3rem 1.25rem 4rem; box-shadow: var(--shadow-sm); }
.rank-item::before {
  content: counter(rank); position: absolute; left: 1.15rem; top: 1.15rem;
  font-family: var(--serif); font-size: 1.55rem; color: var(--sun); line-height: 1; font-weight: 600;
}
.rank-item h3 { margin: 0 0 .35rem; font-size: 1.14rem; }
.rank-item p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.rank-item .rank-tags { margin-top: .7rem; display: flex; flex-wrap: wrap; gap: .35rem; }

/* ---------- trust / legal ---------- */


.legal { max-width: 74ch; padding: 2.2rem 0 3.6rem; }
.legal h1 { margin-bottom: .4rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { font-size: .96rem; color: var(--ink-2); }
.legal .updated { font-size: .84rem; color: var(--muted); margin-bottom: 1.8rem; }
.placeholder { background: var(--warn-soft); border: 1px dashed #d9c19a; border-radius: 8px; padding: .7rem .9rem; font-size: .85rem; color: var(--warn); margin: 1rem 0; }

.callout-strip { background: var(--ink); color: #eef2f4; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.callout-strip h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); }
.callout-strip p { margin: 0; color: #b9c6cd; max-width: 54ch; font-size: .95rem; }
.callout-strip .btn { background: var(--sun); flex: 0 0 auto; }
.callout-strip .btn:hover { background: #b8501f; }

/* ---------- footer ---------- */

.site-footer { background: #101d28; color: #9fb0bb; padding: 3.2rem 0 1.6rem; margin-top: 3.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #6d808c; }
.site-footer p { font-size: .88rem; line-height: 1.6; color: #90a2ad; }
.site-footer h4 { color: #dfe7ea; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: #a9bac4; text-decoration: none; font-size: .89rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 2.2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: #7a8d99; }
.footer-disclosure { border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .8rem; color: #93a6b1; margin-top: 1.8rem; }

/* disclosure banner */
.disclosure-banner { background: var(--warn-soft); border-bottom: 1px solid #e8d3ae; color: #6f4a10; font-size: .82rem; padding: .55rem 0; text-align: center; }
.disclosure-banner a { color: #6f4a10; font-weight: 600; }

/* utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .6rem .9rem; border-radius: 8px; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .route-layout { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .finder { max-width: 520px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .8rem 22px 1.1rem; gap: .15rem; box-shadow: var(--shadow-md); }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem .5rem; }
  .nav-cta { margin: .4rem 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero { padding-top: 2.2rem; }
  .fact-strip .chip { font-size: .74rem; }
  .op-item { grid-template-columns: 1fr; }
  .op-facts { justify-content: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .finder-row { grid-template-columns: 1fr; }
  .rank-item { padding-left: 3.2rem; }
  .route-layout { padding-top: 1.4rem; }
  .timeline li { padding-left: 1.25rem; }
}

/* ---------- print ---------- */

@media print {
  .site-header, .site-footer, .route-aside, .callout-strip, .disclosure-banner, .finder, .filter-bar { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .route-layout { display: block; }
  a { color: #000; text-decoration: none; }
  .box, .card, .table-wrap { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
