/* Public Pausa Website Stylesheet — calm coastal editorial identity.
   Completely separate from the internal planning/proposal pages. */
:root {
  --bg: #f6f2e8;
  --paper: #fdfbf6;
  --paper-tint: #efe9dc;
  --ink: #182936;
  --muted: #566873;
  --line: #dfd7c6;
  --sea: #2c6a8c;
  --sea-deep: #132c40;
  --earth: #ae5a38;
  --ochre: #b97a1f;
  --cork: #4c6b42;
  --sand: #ead6ac;
  --sun: #ecba30;

  /* Active station accent defaults (overridden per station page) */
  --st: #2c6a8c;
  --st-deep: #132c40;
  --st-soft: rgba(44, 106, 140, 0.13);

  --shadow: 0 10px 32px rgba(24, 41, 54, 0.08);
  --shadow-sm: 0 2px 12px rgba(24, 41, 54, 0.05);
  --display: "Jost", "Avenir Next", "Futura", "Helvetica Neue", sans-serif;
  --body: "Source Sans 3", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --wide: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1922;
    --paper: #152431;
    --paper-tint: #1b2e3d;
    --ink: #edf0ea;
    --muted: #9eb1bc;
    --line: #253b4c;
    --shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.22);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--st); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) a { color: #8ec5e0; }
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

.container {
  max-width: var(--wide);
  margin: 0 auto;
  padding-inline: max(18px, env(safe-area-inset-left, 0px));
}

/* ---------- Public Top Header ---------- */
.pub-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.pub-header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: .85rem max(18px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.4rem;
  flex-wrap: wrap;
}
.pub-brand {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: .32em;
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: .4rem;
}
.pub-nav {
  display: flex;
  align-items: center;
  gap: .25rem 1.35rem;
  flex-wrap: wrap;
}
.pub-nav a {
  font-family: var(--display);
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--muted);
  text-decoration: none;
  padding: .2rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.pub-nav a:hover { color: var(--ink); }
.pub-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; border-bottom-color: var(--st); }

.language-switch {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  border: 1px solid var(--line);
}
.language-switch button {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .62rem;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: 600 .76rem/1.2 system-ui, sans-serif;
  letter-spacing: .03em;
  cursor: pointer;
  color: var(--muted);
  opacity: .58;
  filter: saturate(.55);
  transition: background .16s ease, color .16s ease, opacity .16s ease, filter .16s ease;
}
.language-switch button:hover:not([aria-pressed="true"]) {
  opacity: 1;
  filter: none;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.language-switch button[aria-pressed="true"] {
  background: var(--st);
  color: #f7f4ec;
  opacity: 1;
  filter: none;
  cursor: default;
  box-shadow: 0 1px 4px rgba(15, 24, 32, 0.22);
}
.language-switch button:focus-visible {
  outline: 2px solid var(--st);
  outline-offset: 2px;
}

/* ---------- Home Hero ---------- */
.home-hero {
  position: relative;
  background: #132c40;
  color: #f7f4ec;
  overflow: hidden;
}
.home-hero img {
  width: 100%;
  height: min(76vh, 44rem);
  min-height: 24rem;
  object-fit: cover;
  opacity: .92;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 24, 34, 0.82) 0%, rgba(12, 24, 34, 0.25) 48%, rgba(12, 24, 34, 0.08) 100%);
  pointer-events: none;
}
.home-hero-text {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding-block: 2.2rem 2.8rem;
}
.home-hero .eyebrow-light {
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 .5rem;
}
.home-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  max-width: 18ch;
  margin: 0 0 .8rem;
  text-wrap: balance;
}
.home-hero p.hero-sub {
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(247, 244, 236, 0.9);
  max-width: 38rem;
  margin: 0 0 1.4rem;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .62rem 1.2rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #f7f4ec; color: #132c40 !important; }
.btn-ghost { background: rgba(19, 44, 64, 0.45); border-color: rgba(247, 244, 236, 0.48); color: #f7f4ec !important; backdrop-filter: blur(6px); }
.btn-accent { background: var(--st); color: #f7f4ec !important; }
.btn-outline { background: var(--paper); border-color: var(--line); color: var(--ink) !important; }

/* ---------- Section Framing ---------- */
section.pub-sec {
  padding: 3.6rem 0 0;
  scroll-margin-top: 4.5rem;
}
.kicker {
  font-family: var(--display);
  font-weight: 500;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--earth);
  margin: 0 0 .35rem;
}
h1.page-h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.08;
  margin: 0 0 .7rem;
  text-wrap: balance;
}
.pub-sec h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  line-height: 1.14;
  margin: 0 0 .55rem;
  text-wrap: balance;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 44rem; margin: 0 0 1.4rem; }

/* ---------- THE 2D LIVING TRAIL GALLERY ---------- */
.ribbon-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr);
}
.ribbon-map-pane {
  position: relative;
  background: linear-gradient(170deg, #dde8ee 0%, #e7ece4 54%, #eee6d6 100%);
  padding: 1.35rem 1.25rem 1.15rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .8rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ribbon-map-pane {
    background: linear-gradient(170deg, #132533 0%, #172b34 54%, #1e2c2e 100%);
  }
}
.ribbon-map-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .45rem .6rem;
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ribbon-map-head > span:first-child { white-space: nowrap; }
.rotation-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .18rem .65rem;
  color: var(--ink);
  font-size: .72rem;
  letter-spacing: .06em;
  white-space: nowrap;
}
.trail-svg {
  width: 100%;
  height: auto;
  max-height: 33rem;
  display: block;
}
.trail-svg .pin-hit { cursor: pointer; outline: none; }
.trail-svg .pin-hit:focus-visible .pin-core { stroke: var(--ink); stroke-width: 2.6; }
.trail-svg .pin-halo {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3.5;
  opacity: 0;
  transition: opacity .22s ease, r .22s ease;
}
.trail-svg .pin-hit[aria-pressed="true"] .pin-halo { opacity: 1; }
.trail-svg .pin-core {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 2;
  transition: r .2s ease;
}
.trail-svg .pin-label {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 500;
  fill: var(--ink);
  transition: opacity .2s ease;
}
.trail-svg .pin-sub {
  font-family: var(--body);
  font-size: 9.5px;
  fill: var(--muted);
}
.trail-svg .gap-glow {
  fill: none;
  stroke-width: 6.5;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity .25s ease;
}
.trail-svg .gap-glow.active { opacity: 0.42; }

.station-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
}
.rail-btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .6rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  min-width: 0;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.rail-btn:hover { transform: translateY(-1px); }
.rail-btn[aria-pressed="true"] {
  border-color: var(--btn-color, var(--ink));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--btn-color, var(--ink)) 25%, transparent);
}
.rail-dot {
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  flex: none;
  background: var(--btn-color);
  box-shadow: 0 0 0 2px var(--paper);
}
.rail-btn span {
  font-family: var(--display);
  font-weight: 500;
  font-size: .82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Right Spotlight Card (Horizontal Photo Carousel + Station Details) */
.spotlight-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.spot-stripe {
  height: 5px;
  background: var(--st);
  transition: background .25s ease;
}
.spot-carousel {
  position: relative;
  background: #14222c;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.spot-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spot-carousel-bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: .65rem .9rem;
  background: linear-gradient(to top, rgba(12, 22, 30, 0.82), rgba(12, 22, 30, 0));
  color: #f7f4ec;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  font-size: .84rem;
}
.spot-cap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(14, 25, 34, 0.56);
  backdrop-filter: blur(6px);
  color: #f7f4ec;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}
.car-btn:hover { background: rgba(14, 25, 34, 0.82); }
.car-prev { left: .75rem; }
.car-next { right: .75rem; }
.car-dots { display: flex; gap: .32rem; flex: none; }
.car-dots button {
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}
.car-dots button[aria-current="true"] { background: #ffffff; transform: scale(1.18); }

.spot-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  flex: 1;
}
.spot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
}
.spot-name-row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.spot-swatch {
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  background: var(--st);
  flex: none;
}
.spot-body h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.1;
  margin: 0;
}
.spot-stop-tag {
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  padding: .18rem .6rem;
  border-radius: 999px;
  background: var(--st-soft);
  color: var(--st);
  font-weight: 500;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .spot-stop-tag { color: #e8f2ee; }
}
.spot-vert-nav { display: flex; gap: .35rem; flex: none; }
.vert-btn {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: .95rem;
}
.vert-btn:hover { border-color: var(--ink); }
.spot-desc { margin: 0; color: var(--muted); font-size: .98rem; }
.spot-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  padding: .8rem 0;
  border-block: 1px solid var(--line);
}
.spot-facts dt {
  font-family: var(--display);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.spot-facts dd {
  margin: .12rem 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: .96rem;
  line-height: 1.25;
}
.spot-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}

/* ---------- Cards, Grids & Sensory Beats ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-width: 0;
}
.card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.25;
  margin: 0;
}
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card-tag {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--earth);
}

/* Numbers strip */
.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
}
.impact-strip b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.1;
}
.impact-strip span { display: block; color: var(--muted); font-size: .92rem; margin-top: .25rem; }

/* Closing Host/Partner Band */
.host-band {
  background: linear-gradient(145deg, #132c40 0%, #1d4258 65%, #2b5046 100%);
  color: #f7f4ec;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem 2rem;
  flex-wrap: wrap;
}
.host-band h2 { color: #f7f4ec; margin: 0 0 .35rem; }
.host-band p { margin: 0; color: rgba(247, 244, 236, 0.84); max-width: 38rem; }

/* ---------- Station Fleet Cards (/pausa/stations) ---------- */
.fleet-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.fleet-bar { height: 6px; background: var(--card-accent); }
.fleet-img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: #14222c; }
.fleet-body { padding: 1.25rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.fleet-title { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.fleet-title h2 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; margin: 0; }
.fleet-meta { font-size: .9rem; color: var(--muted); }
.fleet-foot { margin-top: auto; padding-top: .8rem; display: flex; gap: .55rem; flex-wrap: wrap; }

/* ---------- Station Live Stop Page (/pausa/stations/<slug>) ---------- */
.st-hero {
  position: relative;
  color: #f7f4ec;
  background: linear-gradient(155deg, var(--st-deep) 0%, var(--st) 78%, color-mix(in srgb, var(--st) 70%, #d6c4a8) 100%);
  overflow: hidden;
  padding: 2.4rem 0 4.6rem;
}
.st-hero .mural-facets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  pointer-events: none;
}
.st-hero-inner { position: relative; z-index: 2; }
.st-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .24rem .75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--sand);
  margin-bottom: .9rem;
}
.st-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.06;
  margin: 0 0 .5rem;
}
.st-hero .st-where {
  font-size: 1.12rem;
  color: rgba(247, 244, 236, 0.92);
  max-width: 44rem;
  margin: 0 0 1.1rem;
}
.st-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.25rem;
  font-size: .92rem;
  color: rgba(247, 244, 236, 0.85);
}

.glance-wrap { position: relative; z-index: 5; margin-top: -2.8rem; margin-bottom: 1.2rem; }
.glance-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem 1.2rem;
}
.glance-card dt {
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.glance-card dd {
  margin: .12rem 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.04rem;
  line-height: 1.2;
}
.glance-card dd small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: .84rem;
  color: var(--muted);
  margin-top: .12rem;
}

.pill-nav {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .4rem 0 1.2rem;
}
.pill-nav::-webkit-scrollbar { display: none; }
.pill-nav a {
  flex: 0 0 auto;
  padding: .42rem .92rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: .86rem;
}
.pill-nav a:hover, .pill-nav a[aria-current="true"] {
  background: var(--st);
  border-color: var(--st);
  color: #f7f4ec;
}

.route-bar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.route-step { display: flex; align-items: center; gap: .6rem; }
.route-dot { width: .75rem; height: .75rem; border-radius: 50%; background: var(--st); flex: none; }
.route-dot.dest { background: var(--cork); }
.route-line { flex: 1 1 6rem; height: 2px; background: repeating-linear-gradient(to right, var(--cork) 0 6px, transparent 6px 12px); }
.route-dist { font-family: var(--display); font-size: .82rem; font-weight: 500; color: var(--cork); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .65rem; white-space: nowrap; }
.route-step b { display: block; font-family: var(--display); font-weight: 500; font-size: .96rem; line-height: 1.2; }
.route-step small { color: var(--muted); font-size: .84rem; }

.night-panel {
  background: linear-gradient(150deg, #122434 0%, #1a3548 58%, #1f3d42 100%);
  color: #edf2ee;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.night-panel .kicker { color: var(--sun); }
.night-panel h2 { color: #f7f4ec; }
.night-panel .lead { color: rgba(232, 242, 238, 0.78); }
.night-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.1rem; }
.sighting-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.sighting-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 242, 238, 0.14);
  border-radius: 10px;
  padding: .75rem 1rem;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: .2rem .8rem;
}
.sighting-time { font-family: var(--display); font-weight: 500; color: var(--sun); font-variant-numeric: tabular-nums; }
.sighting-list b { display: block; font-family: var(--display); font-weight: 500; color: #f7f4ec; }
.sighting-list span { font-size: .88rem; color: rgba(232, 242, 238, 0.76); }
.nature-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 242, 238, 0.14);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.nature-box h3 { font-family: var(--display); font-weight: 500; color: #f7f4ec; margin: 0 0 .35rem; font-size: 1.05rem; }
.nature-box p { margin: 0; font-size: .92rem; color: rgba(232, 242, 238, 0.82); }

/* ---------- Partners Directory & Filter Chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.chip {
  padding: .38rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.partner-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  scroll-margin-top: 5rem;
}
.partner-card:target { border-color: var(--st); box-shadow: 0 0 0 2px var(--st-soft); }
.partner-card.is-hidden { display: none; }
.partner-top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.partner-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.08rem; margin: 0; }
.partner-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.partner-foot {
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.st-pills { display: flex; flex-wrap: wrap; gap: .3rem; }
.st-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .14rem .55rem;
  border-radius: 999px;
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--ink) !important;
  background: var(--bg);
}
.st-pill i { width: .48rem; height: .48rem; border-radius: 50%; display: inline-block; }

.tier-head {
  font-family: var(--display);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.5rem 0 .8rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.tier-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tier-1-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.tier-1-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--st);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.tier-1-card b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.tier-1-card span { display: block; font-size: .88rem; color: var(--muted); margin-top: .2rem; }
.tier-3-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem .6rem; }
.tier-3-pills li a, .tier-3-pills li span.pill-txt {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .75rem;
  font-size: .88rem;
  text-decoration: none;
  color: var(--ink);
}
.tier-3-pills li a:hover { border-color: var(--st); }

/* ---------- Public Footer ---------- */
footer.pub-footer {
  margin-top: 4.5rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
  color: var(--muted);
  font-size: .9rem;
}
.pub-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.pub-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.pub-footer nav a { color: var(--muted); text-decoration: none; }
.pub-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.pub-footer .dossier-link { font-size: .84rem; opacity: .8; }

@media (max-width: 900px) {
  .ribbon-shell { grid-template-columns: 1fr; }
  .ribbon-map-pane { border-right: 0; border-bottom: 1px solid var(--line); }
  .trail-svg { max-height: 22rem; }
  .grid-3, .grid-4, .tier-1-grid, .night-grid, .impact-strip { grid-template-columns: 1fr; }
  .glance-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .spot-facts { grid-template-columns: 1fr; }
  .station-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-bar { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .route-line { display: none; }
  .host-band { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .rail-btn, .trail-svg * { transition: none !important; }
}
