/* glfcrs — black, cream and course green. Script wordmark, condensed headlines, hard retro shadows. */
:root {
  --ink: #121212;
  --ink-2: #2a2a28;
  --paper: #f5f0e6;
  --card: #fffdf8;
  --muted: #6c675d;
  --line: #e2dccf;
  --line-ink: rgba(18, 18, 18, .14);
  --green: #1d4a35;
  --green-2: #2e6b4e;
  --sun: #f2b33d;
  --clay: #d4583c;
  --sky: #4f84b3;
  --olive: #6e7b3a;
  --stone: #8b8578;

  --c-public: var(--green-2);
  --c-semi: var(--sky);
  --c-resort: var(--clay);
  --c-private: var(--stone);
  --c-military: var(--olive);
  --c-other: #b8b2a6;

  --head: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;

  --top-h: 64px;
  --radius: 14px;
  --hard: 3px 3px 0 var(--ink);
  --soft: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.07);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--body); font-variation-settings: "wdth" 100;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1100; height: var(--top-h);
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; gap: 24px; padding: 0 28px;
}
.logo {
  font-family: var(--script); font-size: 38px; line-height: 1; color: var(--paper);
  text-decoration: none; letter-spacing: .5px; padding-top: 4px; white-space: nowrap;
}
.logo:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 500; font-style: italic; letter-spacing: .01em;
  padding: 8px 12px; border-radius: 8px; color: #e9e4d9;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav .trip-link {
  font-style: normal; font-weight: 600; background: var(--paper); color: var(--ink); border-radius: 8px;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-left: 8px;
}
.nav .trip-link:hover { background: #fff; color: var(--ink); }
.trip-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: 12px; display: inline-grid; place-items: center; font-weight: 700;
}
.trip-count:empty { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--paper); padding: 8px; cursor: pointer; }

/* ---------- Buttons, chips, badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 10px;
  padding: 9px 16px; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform .08s ease, box-shadow .08s ease, background .15s;
}
.btn:hover { box-shadow: var(--hard); transform: translate(-1px, -1px); }
.btn:active { box-shadow: none; transform: none; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.green { background: var(--green); color: var(--paper); border-color: var(--green); }
.btn.green:hover { box-shadow: 3px 3px 0 var(--ink); }
.btn.small { padding: 6px 12px; font-size: 14px; }
.btn.added { background: var(--sun); }
.link { border: 0; background: none; color: var(--green); cursor: pointer; padding: 4px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-size: 14px; font-weight: 500;
  user-select: none; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--ink); }
.chip .dot, .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink);
}
.badge.type { color: #fff; border-color: transparent; }
.badge.sun { background: var(--sun); }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.display {
  font-family: var(--head); font-weight: 900; font-variation-settings: "wdth" 72; text-transform: uppercase;
  line-height: .92; letter-spacing: -.005em; margin: 0;
}
.script { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ---------- Page shell (non-map pages) ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.crumbs { font-size: 14px; color: var(--muted); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
section.block { padding: 40px 0; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.section-title h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); }

.marquee { background: var(--green); color: var(--paper); overflow: hidden; white-space: nowrap; border-block: 1.5px solid var(--ink); }
.marquee-track { display: inline-flex; gap: 40px; padding: 10px 0; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--head); font-weight: 800; font-variation-settings: "wdth" 75; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.marquee span::after { content: "✦"; margin-left: 40px; color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.hero { padding: 44px 0 36px; border-bottom: 1.5px solid var(--ink); }
.hero h1 { font-size: clamp(44px, 8vw, 104px); }
.hero .sub { font-size: 18px; color: var(--ink-2); margin: 14px 0 0; max-width: 680px; }
.hero .actions { margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--card); margin-top: 28px; }
.stat { padding: 16px 18px; border-right: 1.5px solid var(--ink); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-weight: 900; font-variation-settings: "wdth" 75; font-size: 34px; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: var(--radius); background: var(--card);
  border: 1.5px solid var(--ink); text-decoration: none; transition: transform .1s ease, box-shadow .1s ease;
}
a.card:hover { box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
.card h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.card .meta { font-size: 14px; color: var(--muted); }
.card .tagline { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- States: tile map ---------- */
.tilemap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; max-width: 920px; margin: 0 auto; }
.tile {
  aspect-ratio: 1; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--card); text-decoration: none;
  display: grid; place-content: center; text-align: center; transition: transform .1s, box-shadow .1s, background .15s;
}
.tile b { font-family: var(--head); font-weight: 900; font-variation-settings: "wdth" 75; font-size: clamp(13px, 2vw, 22px); line-height: 1; }
.tile span { font-size: clamp(9px, 1vw, 12px); color: var(--muted); }
.tile:hover { background: var(--ink); color: var(--paper); box-shadow: var(--hard); transform: translate(-1px, -1px); }
.tile:hover span { color: var(--paper); }
.tile.l1 { background: #efe8da; } .tile.l2 { background: #dfe8dc; } .tile.l3 { background: #c3d8c6; } .tile.l4 { background: #9cc1a6; }
.state-list { columns: 4 200px; column-gap: 24px; padding: 0; margin: 0; list-style: none; }
.state-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.state-list a { text-decoration: none; font-weight: 600; }
.state-list a:hover { text-decoration: underline; }
.state-list span { color: var(--muted); font-size: 14px; }

/* ---------- State page: course index by city ---------- */
.city-index { columns: 3 300px; column-gap: 32px; }
.city { break-inside: avoid; margin: 0 0 22px; }
.city h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; }
.city ul { list-style: none; margin: 0; padding: 0; }
.city li { padding: 3px 0; display: flex; align-items: center; gap: 8px; }
.city li a { text-decoration: none; }
.city li a:hover { text-decoration: underline; }
.city li small { color: var(--muted); margin-left: auto; white-space: nowrap; }
.star { color: var(--clay); font-size: 12px; }

/* ---------- Course page ---------- */
.course-hero { padding: 28px 0 32px; }
.course-hero h1 { font-size: clamp(40px, 6.5vw, 84px); margin-top: 10px; }
.course-hero .addr { font-size: 18px; margin-top: 10px; color: var(--ink-2); }
.course-hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.course-hero .actions { margin-top: 20px; }

.scorecard { width: 100%; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--card); display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.scorecard div { border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); margin: 0 -1.5px -1.5px 0; }
.scorecard dt { background: var(--green); color: var(--paper); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; }
.scorecard dd { margin: 0; padding: 10px 12px 12px; font-family: var(--head); font-weight: 800; font-variation-settings: "wdth" 80; font-size: 20px; line-height: 1.15; }
.scorecard dd small { display: block; font-family: var(--body); font-weight: 400; font-variation-settings: "wdth" 100; font-size: 12px; color: var(--muted); margin-top: 2px; }

.course-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding: 36px 0 56px; align-items: start; }
.prose { font-size: 17px; line-height: 1.7; max-width: 720px; }
.prose h2 { font-family: var(--head); font-weight: 900; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 26px; margin: 36px 0 10px; line-height: 1.05; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 24px 0 6px; }
.prose a { color: var(--green); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose .lede { font-size: 20px; line-height: 1.55; }
.aside { display: grid; gap: 20px; position: sticky; top: calc(var(--top-h) + 20px); }
.box { border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.box h3 { margin: 0; padding: 12px 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1.5px solid var(--ink); }
.box .pad { padding: 14px 16px; }
.mini-map { height: 240px; border-bottom: 1.5px solid var(--ink); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.nearby { list-style: none; margin: 0; padding: 0; }
.nearby li { border-top: 1px solid var(--line); }
.nearby li:first-child { border-top: 0; }
.nearby a { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 10px 16px; text-decoration: none; }
.nearby a:hover { background: var(--paper); }
.nearby b { font-weight: 600; font-size: 15px; }
.nearby span { font-size: 13px; color: var(--muted); }
.nearby em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc9bc; padding: 48px 0 28px; margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer .logo { font-size: 64px; }
.site-footer h4 { margin: 0 0 10px; color: var(--paper); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; color: #cfc9bc; }
.site-footer a:hover { color: #fff; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 18px; font-size: 13px; color: #8f8a80; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Map app ---------- */
body.map-page { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.layout { flex: 1; display: flex; min-height: 0; }
.panel { width: 420px; flex: none; background: var(--paper); border-right: 1.5px solid var(--ink); overflow-y: auto; position: relative; z-index: 1000; }
.map-wrap { flex: 1; position: relative; min-width: 0; z-index: 0; }
#map { position: absolute; inset: 0; background: #e9e4d8; }
.search {
  display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px;
  padding: 0 14px; height: 48px; box-shadow: var(--hard);
}
.search input { flex: 1; border: 0; background: none; outline: none; min-width: 0; font-size: 16px; }
.search .locate { border: 0; background: none; cursor: pointer; padding: 6px; margin-right: -6px; border-radius: 8px; display: grid; place-items: center; }
.search .locate:hover { background: var(--paper); }
.panel-top { padding: 18px 18px 14px; display: grid; gap: 14px; border-bottom: 1.5px solid var(--ink); }
.filters { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 5px; }
.field > span, .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.label b { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 13px; }
select { height: 40px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--card); padding: 0 10px; width: 100%; cursor: pointer; }
.group { display: grid; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
input[type="range"] { width: 100%; accent-color: var(--green); }
.toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.check input { accent-color: var(--green); width: 16px; height: 16px; margin: 0; }
.check.small { font-size: 13px; color: var(--muted); }
.filter-foot { display: flex; justify-content: space-between; align-items: center; }
details.more-filters summary { cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; color: var(--green); }
details.more-filters summary::-webkit-details-marker { display: none; }
details.more-filters summary::after { content: " +"; }
details.more-filters[open] summary::after { content: " –"; }
details.more-filters[open] summary { margin-bottom: 12px; }

.results-head { padding: 12px 18px 8px; font-size: 13px; color: var(--muted); position: sticky; top: 0; background: var(--paper); z-index: 1; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.results-head b { color: var(--ink); }
#count { display: flex; justify-content: space-between; width: 100%; gap: 12px; }
.results { list-style: none; margin: 0; padding: 8px 10px; }
.result { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 10px; border-radius: 10px; cursor: pointer; border: 1.5px solid transparent; }
.result:hover, .result.hover { background: var(--card); border-color: var(--ink); }
.result h3 { margin: 0; font-size: 15.5px; font-weight: 650; display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.result .meta { font-size: 13px; color: var(--muted); grid-column: 1; padding-left: 18px; }
.result .side { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-size: 13px; color: var(--muted); align-self: center; }
.result .side b { display: block; color: var(--ink); font-size: 15px; font-family: var(--head); font-weight: 800; font-variation-settings: "wdth" 80; }
.more { display: flex; margin: 4px auto 28px; }
.more[hidden], [hidden] { display: none !important; }
.panel.has-detail { overflow: hidden; }
.empty { padding: 32px 18px; color: var(--muted); text-align: center; }

.detail { position: absolute; inset: 0; background: var(--paper); overflow-y: auto; z-index: 2; }
.detail-head { padding: 12px 18px; border-bottom: 1.5px solid var(--ink); position: sticky; top: 0; background: var(--paper); display: flex; justify-content: space-between; align-items: center; z-index: 1; }
.detail-body { padding: 20px 18px 32px; display: grid; gap: 18px; }
.detail h2 { margin: 0; font-size: 34px; }
.detail .addr { color: var(--ink-2); margin-top: 8px; }
.detail .badges { display: flex; flex-wrap: wrap; gap: 6px; }
.detail .scorecard { grid-template-columns: repeat(3, 1fr); }
.detail .scorecard dd { font-size: 17px; }
.detail .teaser { font-size: 15px; color: var(--ink-2); border-left: 3px solid var(--sun); padding-left: 12px; }

.legend { position: absolute; left: 12px; bottom: 24px; z-index: 500; background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px; padding: 10px 12px; box-shadow: var(--hard); font-size: 12px; display: grid; gap: 4px; font-weight: 500; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); }

/* Leaflet theming */
.leaflet-container { font: inherit; background: #e9e4d8; }
.leaflet-tile-pane { filter: grayscale(.9) sepia(.22) contrast(.92) brightness(1.04); }
.pin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.pin.active { width: 24px; height: 24px; border-width: 3px; box-shadow: 0 0 0 4px var(--sun); }
.pin.num { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; font: 800 13px/1 var(--head); border-width: 2px; }
.cluster {
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center;
  font: 800 13px/1 var(--head); font-variation-settings: "wdth" 80; box-shadow: 2px 2px 0 var(--ink);
}
.cluster.big { background: var(--ink); color: var(--paper); }
.leaflet-control-zoom { border: 1.5px solid var(--ink) !important; border-radius: 10px !important; overflow: hidden; box-shadow: var(--hard) !important; }
.leaflet-control-zoom a { color: var(--ink) !important; background: var(--card) !important; }
.leaflet-popup-content-wrapper { border-radius: 12px; border: 1.5px solid var(--ink); box-shadow: var(--hard); background: var(--card); }
.leaflet-popup-tip { background: var(--card); }
.leaflet-popup-content { margin: 12px 14px; font: 14px/1.4 var(--body); }

.mobile-bar { display: none; }

/* ---------- Trip page ---------- */
.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; padding: 32px 0 56px; align-items: start; }
.trip-map { height: 560px; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--top-h) + 20px); box-shadow: 5px 5px 0 var(--ink); }
.trip-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: stop; }
.trip-item { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px; }
.trip-item .n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 800 14px/1 var(--head); }
.trip-item h3 { margin: 0; font-size: 16px; }
.trip-item h3 a { text-decoration: none; }
.trip-item h3 a:hover { text-decoration: underline; }
.trip-item .meta { font-size: 13px; color: var(--muted); }
.trip-item .ctrl { display: flex; gap: 4px; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; font-size: 15px; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.leg { font-size: 12px; color: var(--muted); padding-left: 60px; margin: -4px 0; }
.empty-trip { border: 2px dashed var(--ink); border-radius: var(--radius); padding: 40px 24px; text-align: center; background: var(--card); }
.empty-trip .script { font-size: 48px; display: block; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; z-index: 3000; transition: .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- Homepage ---------- */
.home-hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.home-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-inner { position: relative; padding-top: 72px; padding-bottom: 72px; width: 100%; }
.home-hero h1 { font-size: clamp(52px, 8.5vw, 116px); max-width: 640px; }
.home-hero h1 .script { color: var(--sun); font-size: .62em; display: block; margin-top: 8px; }
.home-hero .sub { color: #d9d3c6; font-size: 19px; max-width: 520px; margin: 18px 0 26px; }
.eyebrow.light { color: #bdb6a7; }
.search.big { max-width: 560px; height: 60px; padding: 0 8px 0 18px; box-shadow: 4px 4px 0 var(--sun); color: var(--ink); }
.search.big input { font-size: 17px; }
.search.big .btn { height: 44px; }
.quicks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 600px; }
.quick { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #3a3a37; color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 600; background: rgba(18,18,18,.6); backdrop-filter: blur(4px); transition: border-color .15s, background .15s; }
.quick i { font-style: normal; color: var(--sun); }
.quick:hover { border-color: var(--paper); background: rgba(255,255,255,.08); }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.numbers > div { padding: 22px 22px 20px; border-right: 1.5px solid var(--ink); }
.numbers > div:last-child { border-right: 0; }
.numbers b { display: block; font-family: var(--head); font-weight: 900; font-variation-settings: "wdth" 72; font-size: clamp(36px, 5vw, 56px); line-height: .95; }
.numbers span { color: var(--muted); font-size: 14px; }
.numbers a { color: var(--green); }

.designers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.designer { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card); text-decoration: none; transition: transform .1s, box-shadow .1s, background .15s; }
.designer b { font-weight: 700; }
.designer span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.designer:hover { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--sun); transform: translate(-1px, -1px); }
.designer:hover span { color: #bdb6a7; }

.promo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; background: var(--green); color: var(--paper); border: 1.5px solid var(--ink); border-radius: 20px; padding: 40px; box-shadow: 6px 6px 0 var(--ink); }
.promo h2 { font-size: clamp(34px, 5vw, 56px); margin: 6px 0 12px; }
.promo h2 .script { color: var(--sun); font-size: .8em; }
.promo p { max-width: 460px; color: #e3ecdf; margin: 0 0 20px; }
.promo-art { width: 100%; max-width: 320px; justify-self: end; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how > div { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--line); }
.how h3 { margin: 10px 0 6px; font-family: var(--head); font-weight: 900; font-variation-settings: "wdth" 75; text-transform: uppercase; font-size: 24px; }
.how p { margin: 0; color: var(--ink-2); }
.step { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); border: 1.5px solid var(--ink); display: grid; place-items: center; font: 800 15px/1 var(--head); }
.about-blurb { max-width: 820px; }
.about-blurb h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.about-blurb p { font-size: 17px; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .course-grid, .trip-layout { grid-template-columns: 1fr; }
  .aside, .trip-map { position: static; }
  .trip-map { height: 380px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --top-h: 56px; }
  .site-header { padding: 0 16px; gap: 12px; }
  .logo { font-size: 32px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: var(--top-h); left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 2px; border-top: 1px solid #333; }
  body.nav-open .nav { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
  .nav .trip-link { margin: 8px 0 0; justify-content: center; }
  .wrap { padding: 0 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1.5px solid var(--ink); }
  .tilemap { gap: 3px; }
  .tile { border-radius: 6px; border-width: 1px; }
  .tile span { display: none; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .home-hero { min-height: 640px; align-items: flex-start; }
  .home-hero-inner { padding-top: 40px; padding-bottom: 240px; }
  .search.big { height: 54px; }
  .search.big .btn { padding: 0 14px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers > div:nth-child(2) { border-right: 0; }
  .numbers > div:nth-child(-n+2) { border-bottom: 1.5px solid var(--ink); }
  .promo { grid-template-columns: 1fr; padding: 28px 22px; }
  .promo-art { justify-self: start; max-width: 220px; }
  .how { grid-template-columns: 1fr; }

  .panel { position: fixed; left: 0; right: 0; top: var(--top-h); bottom: 0; width: auto; border: 0; transform: translateY(100%); transition: transform .25s ease; padding-bottom: 90px; }
  body.show-list .panel { transform: none; }
  .map-only-search { display: block; }
  .mobile-bar { display: flex; gap: 8px; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 1002; }
  .mobile-bar .btn { border-radius: 999px; padding: 11px 22px; box-shadow: var(--hard); white-space: nowrap; }
  .legend { display: none; }
  .detail .scorecard { grid-template-columns: repeat(2, 1fr); }
}
