@font-face {
  font-family: AtlasSans;
  src: url('/fonts/sans.ttf') format('truetype');
  font-weight: 100 950;
  font-display: swap;
}
@font-face {
  font-family: AtlasDisplay;
  src: url('/fonts/display.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #10191e;
  --panel: #18262b;
  --edge: #34474c;
  --text: #f3f1ec;
  --muted: #b4c1c1;
  --mint: #8edcce;
  --peach: #ffc1a3;
  font: 16px/1.6 AtlasSans, system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--mint); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.guide-width { width: min(100% - 2.5rem, 60rem); margin-inline: auto; }
.guide-top { background: #10181c; border-bottom: 1px solid var(--edge); }
.guide-top-inner, .guide-brand, .guide-top-nav, .guide-crumbs ol, .guide-pagination, .guide-footer {
  display: flex;
  align-items: center;
}
.guide-top-inner { justify-content: space-between; gap: 1rem; min-height: 4.15rem; }
.guide-brand {
  gap: .55rem; color: var(--text); text-decoration: none; text-transform: uppercase;
  font: italic 700 clamp(1.1rem, 2.8vw, 1.65rem)/1 AtlasDisplay, Impact, sans-serif;
}
.guide-brand img { height: 2.2rem; width: 2.2rem; }
.guide-brand em { color: var(--peach); font: inherit; }
.guide-top-nav { gap: .4rem; }
.guide-top-nav a, .guide-pagination a {
  display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 650;
}
.guide-top-nav a { color: var(--text); padding-inline: .55rem; }
.guide-top-nav a:hover, .guide-footer a:hover, .guide-crumbs a:hover { color: var(--peach); }
.guide-skip {
  position: absolute; z-index: 1; inset: .3rem auto auto .3rem; padding: .45rem .8rem;
  background: var(--background); transform: translateY(-155%);
}
.guide-skip:focus { transform: translateY(0); }
.guide-crumbs { margin: 1rem 0; }
.guide-crumbs ol {
  list-style: none; flex-wrap: wrap; gap: .25rem .55rem; margin: 0; padding: 0; font-size: .85rem;
  color: var(--muted);
}
.guide-crumbs a { color: inherit; }
.guide-crumbs li { overflow-wrap: anywhere; }
.guide-crumbs li + li::before { content: '/'; margin-right: .55rem; color: #819696; }
.guide-hero { padding: clamp(1.25rem, 4vw, 2.3rem) 0; }
.guide-context { color: var(--mint); font-weight: 650; margin: 0 0 .65rem; }
h1, h2, h3, p { margin: 0; }
h1 {
  color: #fff3e8; font: italic 700 clamp(2.35rem, 6vw, 4.6rem)/1.06 AtlasDisplay, Impact, sans-serif;
  overflow-wrap: anywhere; max-width: 22ch;
}
.guide-intro { max-width: 68ch; color: var(--muted); margin-top: 1rem; }
.guide-map-action {
  min-height: 44px; display: inline-flex; align-items: center; margin-top: 1.2rem;
  border-radius: .4rem; padding: .55rem 1.1rem; color: #172127; background: var(--peach);
  font-weight: 720; text-decoration: none;
}
.guide-map-action:hover { background: #ffd8c5; }
.guide-directory-hero {
  padding: clamp(1.5rem, 4.5vw, 3.5rem); border: 1px solid var(--edge); border-radius: .65rem;
  background: linear-gradient(90deg, #102125 0%, #102125f2 48%, #112329a8 100%), url('/coast.webp') center 53% / cover;
}
.guide-directory-hero .guide-intro { color: #e1e9e6; max-width: 59ch; }
.guide-reading { max-width: 72ch; }
.guide-section { border-top: 1px solid var(--edge); padding: 1.4rem 0; overflow-wrap: anywhere; }
.guide-section h2 { color: #faeadd; font-size: 1.4rem; line-height: 1.35; margin-bottom: .65rem; }
.guide-section ol, .guide-section ul { margin: .55rem 0 0; padding-left: 1.6rem; }
.guide-section li { padding-left: .22rem; }
.guide-section li + li { margin-top: .6rem; }
.guide-section ::marker { color: var(--mint); font-weight: 700; }
.guide-section .guide-safes { padding: 0; list-style: none; }
.guide-safes > li { background: var(--panel); border-left: 3px solid var(--mint); border-radius: .25rem; padding: .8rem 1rem; }
.guide-safes h3 { color: var(--text); font-size: 1rem; }
.guide-safes p { margin-top: .3rem; }
.guide-safe-status { color: var(--muted); }
.guide-safes code {
  display: inline-block; color: var(--peach); margin-left: .4rem; font-size: 1.15rem;
  font-weight: bold; font-variant-numeric: tabular-nums; letter-spacing: .055em;
}
.guide-categories, .guide-entries { padding: 0; margin: 1rem 0 0; list-style: none; }
.guide-categories, .guide-entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .65rem; }
.guide-card {
  display: flex; align-items: flex-start; justify-content: space-between; flex-direction: column;
  gap: .15rem; height: 100%; min-height: 60px; padding: .8rem 1.05rem; border-radius: .45rem;
  background: var(--panel); border: 1px solid var(--edge); color: var(--text);
  text-decoration: none; overflow-wrap: anywhere;
}
.guide-card span { font-weight: 700; }
.guide-card small { color: var(--muted); }
.guide-card:hover { border-color: var(--mint); }
.guide-card:hover span { color: var(--mint); }
.guide-pagination { margin-top: 1.3rem; gap: 1.25rem; flex-wrap: wrap; }
.guide-pagination span { color: var(--muted); font-size: .9rem; }
.guide-footer {
  justify-content: space-between; flex-wrap: wrap; gap: .8rem; border-top: 1px solid var(--edge);
  padding: 1.15rem 0 2rem; margin-top: clamp(2rem, 7vw, 5rem); color: var(--muted); font-size: .85rem;
}
@media (max-width: 580px) {
  .guide-width { width: calc(100% - 2rem); }
  .guide-top-inner { min-height: 3.6rem; gap: .4rem; }
  .guide-brand { gap: .3rem; }
  .guide-brand img { width: 1.7rem; height: 1.7rem; }
  .guide-top-nav { gap: .1rem; }
  .guide-top-nav a { padding-inline: .4rem; font-size: .9rem; }
}
.guide-hero > .guide-section { max-width: 72ch; margin-top: 1rem; padding: 0; border: 0; }
