/* =========================================================
   SLACKWATER & SWITCHBACK
   Palette derived from a brown trout: tannic water, river fog,
   buttery flank gold, and the rust-red of a single spot.
   ========================================================= */

:root {
  --ink:      #0B1214;   /* page ground — tannic water at dusk */
  --slate:    #131E1F;   /* raised panel */
  --line:     #1E2C2B;   /* hairline */
  --line-lit: #2E403E;   /* hairline, emphasized */
  --fog:      #8FA09B;   /* secondary text — river fog */
  --bone:     #E6E8E1;   /* primary text — bleached driftwood */
  --flank:    #C89B3C;   /* accent — brown trout flank */
  --spot:     #B34A2C;   /* rare accent — the red spot. Used once per page, max. */

  --display: "Bitter", Georgia, serif;
  --body:    "Newsreader", Georgia, serif;
  --data:    "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 34rem;
  --wide: 1240px;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--flank); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--flank);
  outline-offset: 3px;
}

.shell { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 46rem; }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.h-xl { font-size: clamp(2.6rem, 7vw, 5.1rem); }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.h-md { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.h-sm { font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 700; }

.eyebrow {
  font-family: var(--data);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flank);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-lit);
}

.lede {
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  line-height: 1.6;
  color: var(--bone);
  max-width: var(--measure);
}

.dim { color: var(--fog); }

.prose p { max-width: var(--measure); margin: 0 0 1.5em; }
.prose h3 { margin: 2.8rem 0 0.9rem; }
.prose ul { max-width: var(--measure); padding-left: 1.1rem; }
.prose li { margin-bottom: 0.6em; }
.prose strong { font-weight: 600; color: var(--bone); }

.pull {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--flank);
  border-left: 2px solid var(--spot);
  padding-left: 1.4rem;
  margin: 3rem 0;
  max-width: 30rem;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 18, 20, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
  flex-wrap: wrap;
}
.mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--bone);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.mark:hover { text-decoration: none; color: var(--flank); }
.mark svg { display: block; overflow: visible; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  gap: clamp(0.8rem, 2vw, 1.7rem);
  font-family: var(--data);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links a { color: var(--fog); text-decoration: none; padding-block: 0.2rem; }
.nav-links a:hover { color: var(--bone); text-decoration: none; }
.nav-links a[aria-current="page"] {
  color: var(--bone);
  box-shadow: inset 0 -1px 0 var(--flank);
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2rem, 5vw, 3.5rem); }
.hero h1 { margin-bottom: 1.6rem; }
.hero .lede { max-width: 38rem; }

.graph { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.graph svg { width: 100%; height: auto; display: block; }

.graph-axes {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--data);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  border-top: 1px solid var(--line-lit);
  padding-top: 0.7rem;
  margin-top: 0.4rem;
}
.graph-axes span:first-child { color: var(--flank); }

.graph-note {
  margin-top: 1.8rem;
  max-width: 33rem;
  font-size: 0.98rem;
  color: var(--fog);
  line-height: 1.65;
}

/* draw-on animation */
.trace {
  fill: none;
  stroke: var(--flank);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: draw 2.6s cubic-bezier(0.65, 0, 0.35, 1) 0.25s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.trace-fill { fill: url(#flowfade); opacity: 0; animation: fadein 1.4s ease 1.9s forwards; }
@keyframes fadein { to { opacity: 1; } }

.grid-line { stroke: var(--line); stroke-width: 1; }
.tick { fill: var(--fog); font-family: var(--data); font-size: 11px; letter-spacing: 0.08em; }
.peak-dot { fill: var(--spot); opacity: 0; animation: fadein 0.6s ease 2.4s forwards; }
.peak-label { fill: var(--bone); font-family: var(--data); font-size: 11px; letter-spacing: 0.1em; opacity: 0; animation: fadein 0.6s ease 2.6s forwards; }

/* ---------- Sections ---------- */

.band { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.band-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- The Gauge (signature element) ---------- */

.gauge {
  background: var(--slate);
  border: 1px solid var(--line-lit);
  border-top: 2px solid var(--flank);
  padding: 1.5rem 1.6rem 1.3rem;
}
.gauge-title {
  font-family: var(--data);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fog);
  margin: 0 0 1.3rem;
}
.gauge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 1.4rem 1.8rem;
  margin: 0;
}
.gauge-grid dt {
  font-family: var(--data);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 0.3rem;
}
.gauge-grid dd {
  margin: 0;
  font-family: var(--data);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--bone);
  line-height: 1.1;
}
.gauge-grid dd small {
  font-size: 0.68rem;
  color: var(--fog);
  letter-spacing: 0.08em;
  margin-left: 0.25rem;
}
.gauge-grid .hot dd { color: var(--flank); }

/* ---------- Featured ---------- */

.feature { display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.15fr 1fr; align-items: start; }
}

.logno {
  font-family: var(--data);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--spot);
  display: block;
  margin-bottom: 0.8rem;
}

/* ---------- Card list ---------- */

.cards { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--ink);
  padding: 2rem 1.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.35s ease;
}
.card:hover { background: var(--slate); }
.card-meta {
  font-family: var(--data);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.card-meta b { color: var(--flank); font-weight: 500; }
.card h3 a { color: var(--bone); text-decoration: none; }
.card h3 a:hover { color: var(--flank); text-decoration: none; }
.card p { margin: 0; font-size: 0.98rem; color: var(--fog); line-height: 1.6; }

/* ---------- Logbook table ---------- */

.logbook { width: 100%; border-collapse: collapse; font-family: var(--data); font-size: 0.85rem; }
.logbook caption {
  text-align: left;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
  padding-bottom: 1rem;
}
.logbook th {
  text-align: left;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog);
  padding: 0 1.1rem 0.8rem 0;
  border-bottom: 1px solid var(--line-lit);
  white-space: nowrap;
}
.logbook td {
  padding: 1rem 1.1rem 1rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--fog);
}
.logbook tbody tr { transition: background 0.25s ease; }
.logbook tbody tr:hover { background: var(--slate); }
.logbook .no { color: var(--spot); }
.logbook .water { color: var(--bone); }
.logbook .water a { color: var(--bone); text-decoration: none; }
.logbook .water a:hover { color: var(--flank); text-decoration: none; }
.logbook .fly { color: var(--flank); }

.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Split ---------- */

.split { display: grid; gap: 1px; background: var(--line); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split-half { background: var(--ink); padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.6rem); }
.split-half p { color: var(--fog); font-size: 1rem; max-width: 28rem; }

/* ---------- Spec list ---------- */

.spec { margin: 0; font-family: var(--data); font-size: 0.85rem; }
.spec-row {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 1.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-row dt { color: var(--fog); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 0.2rem; }
.spec-row dd { margin: 0; color: var(--bone); }
.spec-row dd em { font-style: normal; color: var(--fog); display: block; font-size: 0.78rem; margin-top: 0.3rem; line-height: 1.5; }

/* ---------- Buttons / links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--data);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--line-lit);
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.btn:hover { border-color: var(--flank); color: var(--flank); text-decoration: none; }
.btn span { transition: transform 0.25s ease; }
.btn:hover span { transform: translateX(3px); }

/* ---------- Prev / next ---------- */

.pager { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { background: var(--ink); padding: 2rem 1.8rem; text-decoration: none; display: block; transition: background 0.3s ease; }
.pager a:hover { background: var(--slate); text-decoration: none; }
.pager small { font-family: var(--data); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fog); display: block; margin-bottom: 0.5rem; }
.pager strong { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--bone); }
.pager .next { text-align: right; }

/* ---------- Footer ---------- */

.foot { border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.foot-contours { position: absolute; inset: 0; opacity: 0.35; pointer-events: none; }
.foot-in { position: relative; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .foot-in { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 { font-family: var(--data); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fog); margin: 0 0 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; font-family: var(--data); font-size: 0.8rem; }
.foot li { margin-bottom: 0.6rem; }
.foot li a { color: var(--fog); text-decoration: none; }
.foot li a:hover { color: var(--flank); text-decoration: none; }
.foot-note { font-size: 0.95rem; color: var(--fog); max-width: 22rem; line-height: 1.6; }
.colophon {
  border-top: 1px solid var(--line);
  padding-block: 1.4rem 2.5rem;
  font-family: var(--data);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; }
  .trace { stroke-dashoffset: 0; }
  .trace-fill, .peak-dot, .peak-label { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   WATER — live gauge map, readouts, and season strip
   ========================================================= */

.map-wrap { position: relative; border: 1px solid var(--line-lit); background: var(--slate); }
#map { height: clamp(320px, 52vh, 520px); width: 100%; background: var(--ink); }

.leaflet-container { background: var(--ink) !important; font-family: var(--data) !important; }
.leaflet-control-attribution {
  background: rgba(11,18,20,0.85) !important;
  color: var(--fog) !important;
  font-family: var(--data) !important;
  font-size: 9px !important;
  letter-spacing: 0.04em;
}
.leaflet-control-attribution a { color: var(--fog) !important; }
.leaflet-control-zoom a {
  background: var(--slate) !important;
  color: var(--bone) !important;
  border-color: var(--line-lit) !important;
}
.leaflet-control-zoom a:hover { background: var(--line-lit) !important; color: var(--flank) !important; }

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: var(--slate) !important;
  color: var(--bone) !important;
  border-radius: 0 !important;
  border: 1px solid var(--line-lit);
  box-shadow: none !important;
}
.leaflet-popup-content { margin: 0.9rem 1rem !important; font-family: var(--data) !important; }
.leaflet-popup-close-button { color: var(--fog) !important; }

.pin { border-radius: 50%; border: 2px solid var(--ink); box-shadow: 0 0 0 1px rgba(230,232,225,0.25); }
.pin-prime  { background: #C89B3C; }
.pin-fair   { background: #6E7F5E; }
.pin-low    { background: #8FA09B; }
.pin-blown  { background: #B34A2C; }
.pin-closed { background: #2E403E; }
.pin-out    { background: #131E1F; border-color: #2E403E; }

.pop-name { font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--bone); margin: 0 0 0.15rem; letter-spacing: -0.01em; }
.pop-sub { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fog); margin: 0 0 0.7rem; }
.pop-row { display: flex; justify-content: space-between; gap: 1.2rem; font-size: 0.72rem; padding: 0.22rem 0; }
.pop-row span:first-child { color: var(--fog); letter-spacing: 0.08em; }
.pop-verdict { margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid var(--line-lit); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-family: var(--data);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
  padding: 0.9rem 0 0;
}
.legend b { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.45rem; vertical-align: 0; }

/* --- station readout rows --- */

.stations { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.station {
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem 1.5rem;
  padding: 1.4rem 1.5rem;
  transition: background 0.3s ease;
}
.station:hover { background: var(--slate); }
@media (min-width: 820px) {
  .station { grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,0.8fr)) minmax(0,1.2fr); align-items: center; }
}
.station-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--bone); letter-spacing: -0.01em; }
.station-name small { display: block; font-family: var(--data); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fog); margin-top: 0.3rem; }
.station-cell { font-family: var(--data); }
.station-cell dt { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fog); margin-bottom: 0.25rem; }
.station-cell dd { margin: 0; font-size: 1.1rem; font-weight: 500; color: var(--bone); }
.station-cell dd small { font-size: 0.62rem; color: var(--fog); margin-left: 0.2rem; }
.trend-up { color: var(--spot); }
.trend-down { color: #6E7F5E; }
.trend-flat { color: var(--fog); }

.verdict {
  font-family: var(--data);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line-lit);
  display: inline-block;
  white-space: nowrap;
}
.v-prime  { color: #0B1214; background: #C89B3C; border-color: #C89B3C; }
.v-fair   { color: #C89B3C; border-color: #C89B3C; }
.v-low    { color: var(--fog); }
.v-blown  { color: #B34A2C; border-color: #B34A2C; }
.v-closed { color: var(--fog); border-style: dashed; }
.v-out    { color: var(--fog); border-style: dotted; }

.skeleton { color: var(--line-lit) !important; }

/* --- season strip --- */

.season { font-family: var(--data); }
.season-head, .season-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 11rem) repeat(12, minmax(0, 1fr));
  gap: 2px;
  align-items: center;
}
.season-head { padding-bottom: 0.5rem; }
.season-head span {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
  text-align: center;
}
.season-head span:first-child { text-align: left; letter-spacing: 0.18em; }
.season-row { margin-bottom: 2px; }
.season-row > b {
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--bone);
  padding-right: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cell { height: 26px; border-radius: 0; }
.c-prime  { background: #C89B3C; }
.c-fair   { background: rgba(200,155,60,0.34); }
.c-blown  { background: #B34A2C; }
.c-hot    { background: rgba(179,74,44,0.42); }
.c-closed { background: #17201F; box-shadow: inset 0 0 0 1px #1E2C2B; }
.now-col { box-shadow: inset 0 0 0 2px var(--bone); }

.note-box {
  border-left: 2px solid var(--flank);
  padding: 0.2rem 0 0.2rem 1.2rem;
  margin: 2rem 0 0;
  font-size: 0.95rem;
  color: var(--fog);
  max-width: 34rem;
  line-height: 1.65;
  border-radius: 0;
}

/* =========================================================
   SHOPS — locator
   ========================================================= */

.finder {
  background: var(--slate);
  border: 1px solid var(--line-lit);
  border-top: 2px solid var(--flank);
  padding: 1.5rem 1.6rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 780px) {
  .finder { grid-template-columns: 1fr auto auto auto; align-items: end; }
}
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--data);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
}
.field input, .field select {
  background: var(--ink);
  border: 1px solid var(--line-lit);
  color: var(--bone);
  font-family: var(--data);
  font-size: 0.92rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0;
  width: 100%;
  min-width: 0;
}
.field input::placeholder { color: var(--line-lit); }
.field input:focus, .field select:focus { outline: none; border-color: var(--flank); }

.btn-solid {
  font-family: var(--data);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--flank);
  color: var(--ink);
  border: 1px solid var(--flank);
  padding: 0.8rem 1.3rem;
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
}
.btn-solid:hover { background: #D9AC4C; }
.btn-quiet {
  font-family: var(--data);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line-lit);
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
}
.btn-quiet:hover { border-color: var(--flank); color: var(--flank); }
.btn-solid:disabled, .btn-quiet:disabled { opacity: 0.45; cursor: default; }

.status {
  font-family: var(--data);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--fog);
  min-height: 1.4rem;
  padding-top: 1rem;
}
.status.err { color: var(--spot); }

.shops { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.shop {
  background: var(--ink);
  padding: 1.5rem 1.6rem;
  display: grid;
  gap: 0.75rem 1.5rem;
  transition: background 0.3s ease;
}
.shop:hover { background: var(--slate); }
@media (min-width: 820px) { .shop { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr) minmax(0,0.7fr); align-items: start; } }

.shop-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--bone); letter-spacing: -0.01em; margin: 0 0 0.35rem; }
.shop-addr { font-family: var(--data); font-size: 0.72rem; color: var(--fog); line-height: 1.6; }
.shop-addr a { color: var(--flank); }
.shop-note { font-size: 0.95rem; color: var(--fog); line-height: 1.6; font-style: italic; }
.shop-dist { font-family: var(--data); font-size: 1.05rem; font-weight: 500; color: var(--bone); text-align: left; }
.shop-dist small { display: block; font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fog); margin-top: 0.25rem; }
@media (min-width: 820px) { .shop-dist { text-align: right; } }

.tag {
  display: inline-block;
  font-family: var(--data);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line-lit);
  color: var(--fog);
  margin: 0 0.35rem 0.35rem 0;
  border-radius: 0;
}
.tag-been { color: var(--ink); background: var(--flank); border-color: var(--flank); }
.tag-osm { color: var(--fog); border-style: dashed; }

.empty { background: var(--ink); padding: 2.5rem 1.6rem; }
.empty p { color: var(--fog); font-size: 0.98rem; max-width: 30rem; margin: 0.5rem 0 0; }

/* --- Alaska: species run chart + regulation banner --- */

.warn {
  border: 1px solid var(--spot);
  border-left-width: 3px;
  border-radius: 0;
  background: rgba(179, 74, 44, 0.08);
  padding: 1.3rem 1.5rem;
}
.warn h4 {
  font-family: var(--data);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--spot);
  margin: 0 0 0.7rem;
}
.warn p { margin: 0; font-size: 0.98rem; color: var(--bone); line-height: 1.65; max-width: 44rem; }
.warn a { color: var(--spot); }

.runs { font-family: var(--data); margin-bottom: 2.5rem; }
.runs-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bone);
  letter-spacing: -0.01em;
  margin: 0 0 0.2rem;
}
.runs-access {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flank);
  margin: 0 0 1rem;
}
.runs-head, .runs-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 9rem) repeat(12, minmax(0, 1fr));
  gap: 2px;
  align-items: center;
}
.runs-head { padding-bottom: 0.4rem; }
.runs-head span { font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fog); text-align: center; }
.runs-head span:first-child { text-align: left; letter-spacing: 0.18em; }
.runs-row { margin-bottom: 2px; }
.runs-row > b { font-weight: 400; font-size: 0.66rem; color: var(--bone); padding-right: 0.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rc { height: 22px; }
.rc-peak { background: #C89B3C; }
.rc-run { background: rgba(200,155,60,0.30); }
.rc-eo { background: rgba(179,74,44,0.30); box-shadow: inset 0 0 0 1px var(--spot); }
.rc-none { background: #101A19; }
.rc.now-col { box-shadow: inset 0 0 0 2px var(--bone); }

.eo-flag {
  display: inline-block;
  font-family: var(--data);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spot);
  border: 1px solid var(--spot);
  padding: 0.28rem 0.55rem;
  margin-left: 0.5rem;
  vertical-align: 2px;
}
