/* STOL STOP site styles. Colours come from the logo: navy, sunset orange, cream. */

:root {
  --navy: #0b2639;
  --navy-2: #143650;
  --navy-3: #1f4866;
  --ink: #102536;
  --muted: #5a6b78;
  --soft: #8595a1;
  --line: #e6dfd3;
  --line-2: #d8cfbf;
  --bg: #fbf8f3;
  --paper: #ffffff;
  --sand: #f4ede2;
  --sand-2: #ece2d2;
  --orange: #ee7a35;
  --orange-600: #d8641f;
  --orange-ink: #a9480f;
  --orange-50: #fdefe5;

  --c-event: #e56f2a;
  --c-event-50: #fcebdf;
  --c-camp: #2d7a58;
  --c-camp-50: #e1f1e8;
  --c-grass: #2f6ea6;
  --c-grass-50: #e3eef8;

  --ok: #24764f;
  --ok-50: #e3f3ea;
  --warn: #9a6200;
  --warn-50: #fff4dc;
  --err: #b42318;
  --err-50: #fdecea;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(11, 38, 57, .06), 0 1px 1px rgba(11, 38, 57, .04);
  --shadow-2: 0 2px 4px rgba(11, 38, 57, .05), 0 12px 32px rgba(11, 38, 57, .09);
  --shadow-3: 0 20px 60px rgba(11, 38, 57, .18);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--body); font-size: 16.5px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-ink); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.05; letter-spacing: .005em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--orange-50); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow-2); }
.skip:focus { left: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden, [hidden] { display: none !important; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-sand { background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 520px; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eyebrow { font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 .7rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-1); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand img { width: 64px; height: auto; display: block; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.brand-word b { color: var(--orange); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem; }
.nav a:hover { background: var(--sand); color: var(--navy); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav .nav-only-menu { display: none; }
.bar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

/* ---------- buttons ---------- */
.btn { --b-bg: var(--paper); --b-fg: var(--navy); --b-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font: inherit; font-weight: 700; font-size: .97rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:hover { color: var(--b-fg); border-color: var(--navy); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn-primary { --b-bg: var(--orange); --b-fg: #1b0c02; --b-bd: var(--orange); }
.btn-primary:hover { --b-bg: var(--orange-600); --b-bd: var(--orange-600); --b-fg: #fff; }
.btn-dark { --b-bg: var(--navy); --b-fg: #fff; --b-bd: var(--navy); }
.btn-dark:hover { --b-bg: var(--navy-3); --b-bd: var(--navy-3); }
.btn-quiet { --b-bg: transparent; }
.btn-ghost { --b-bg: transparent; --b-bd: transparent; padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { --b-bd: transparent; background: var(--sand); }
.btn-go { --b-bg: var(--navy); --b-fg: #fff; --b-bd: var(--navy); }
.btn-go:hover { --b-bg: var(--orange); --b-bd: var(--orange); --b-fg: #1b0c02; }
.btn-sm { min-height: 36px; padding: 7px 13px; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.5; background: var(--sand); color: var(--navy); white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .9; }
.badge.plain::before, .b-muted::before, .b-ident::before { display: none; }
.b-event, .b-food { background: var(--c-event-50); color: #9a3f0c; }
.b-camp { background: var(--c-camp-50); color: #1d5c40; }
.b-grass { background: var(--c-grass-50); color: #20507d; }
.b-muted { background: var(--sand); color: var(--muted); }
.b-ident { background: var(--navy); color: #fff; font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; font-size: .76rem; }
.b-warn { background: var(--warn-50); color: var(--warn); }
.b-cancel { background: var(--err-50); color: var(--err); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; transition: all .15s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--soft); }
.chip[data-type="events"] .dot { background: var(--c-event); }
.chip[data-type="camping"] .dot { background: var(--c-camp); }
.chip[data-type="grass"] .dot { background: var(--c-grass); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px #fff; }
.chip .count { font-size: .8rem; opacity: .7; font-weight: 700; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > label, .field > .label, fieldset > legend { font-weight: 700; font-size: .92rem; color: var(--navy); }
.field .opt { font-weight: 500; color: var(--soft); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="date"], input[type="time"], input[type="number"], input[type="password"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2639' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(238, 122, 53, .22); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
.field-hint { font-size: .86rem; color: var(--muted); margin: 0; }
.field-error { font-size: .86rem; color: var(--err); font-weight: 600; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset > legend { margin-bottom: 8px; padding: 0; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .97rem; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 18px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper); transition: all .15s; }
.choice strong { color: var(--navy); font-size: 1.02rem; }
.choice small { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.choice:hover > span { border-color: var(--navy); }
.choice input:checked + span { border-color: var(--navy); background: #f2f6f9; box-shadow: inset 0 0 0 1.5px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.code-input { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1.9rem !important; letter-spacing: .4em; text-align: center; max-width: 280px; min-height: 64px !important; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 6px; }

/* ---------- notices ---------- */
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--sand); border: 1px solid var(--line); font-size: .95rem; }
.notice > :last-child { margin-bottom: 0; }
.notice-ok { background: var(--ok-50); border-color: #bfe3cf; color: #174d33; }
.notice-warn { background: var(--warn-50); border-color: #f2dba5; color: #5e3d00; }
.notice-error { background: var(--err-50); border-color: #f5c6c2; color: #7a1a12; }
.safety { display: flex; gap: 12px; align-items: flex-start; }
.safety svg { width: 22px; height: 22px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; margin-top: 2px; }

/* ---------- page head ---------- */
.page-head { padding: 56px 0 36px; background: linear-gradient(180deg, var(--sand) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .25em; }
.page-head .lede { margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-inner { padding-top: 72px; padding-bottom: 56px; position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.9rem, 7.5vw, 5.6rem); max-width: 820px; margin-bottom: .2em; line-height: .98; }
.hero h1 span { color: var(--orange); }
.hero .lede { color: #d5e1e8; font-size: 1.2rem; max-width: 600px; margin-bottom: 28px; }
.hero-search { background: var(--paper); border-radius: 22px; padding: 10px; box-shadow: var(--shadow-3); max-width: 860px; color: var(--ink); }
.hero-search form { display: grid; grid-template-columns: 1fr 220px auto; gap: 8px; }
.hero-search input, .hero-search select { border: 0; min-height: 56px; font-size: 1.05rem; background-color: var(--bg); }
.hero-search .btn { min-height: 56px; padding: 0 28px; font-size: 1.05rem; border-radius: 14px; }
.hero-search input { border-radius: 14px; padding-left: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b78' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 16px center; background-size: 20px; }
.hero-search select { border-radius: 14px; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-cats a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; font-weight: 600; backdrop-filter: blur(4px); transition: background .15s; }
.hero-cats a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.hero-cats .dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 36px; color: #c6d4dd; font-size: .95rem; }
.hero-stats b { display: block; font-family: var(--display); font-size: 2.3rem; color: #fff; line-height: 1; }

/* category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: transform .15s, box-shadow .15s; overflow: hidden; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--ink); }
.cat-tile .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.cat-tile .icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-tile h3 { margin: 6px 0 0; font-size: 1.8rem; }
.cat-tile p { margin: 0; color: var(--muted); }
.cat-tile .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.cat-tile .n { position: absolute; top: 22px; right: 24px; font-family: var(--display); font-size: 2.6rem; font-weight: 700; line-height: 1; opacity: .9; }
.t-events .icon { background: var(--c-event-50); color: var(--c-event); } .t-events .n { color: var(--c-event); }
.t-camping .icon { background: var(--c-camp-50); color: var(--c-camp); } .t-camping .n { color: var(--c-camp); }
.t-grass .icon { background: var(--c-grass-50); color: var(--c-grass); } .t-grass .n { color: var(--c-grass); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.45rem; margin: 0; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--orange-ink); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card .btn, .card .card-actions a, .card .save-btn { position: relative; z-index: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.card-sub { color: var(--muted); font-size: .93rem; margin: 0; }
.card-text { margin: 0; color: var(--ink); font-size: .96rem; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 8px; margin-top: auto; }

/* list rows used in the directory */
.result { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .15s; }
.result:hover, .result.is-active { border-color: var(--navy); box-shadow: var(--shadow-2); }
.result h3 { font-size: 1.4rem; margin: 0 0 2px; }
.result h3 a { color: var(--navy); text-decoration: none; }
.result h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.result .card-actions a, .result .card-actions button { position: relative; z-index: 1; }
.result .card-sub { margin-bottom: 6px; }
.result-mark { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.result-mark svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-events { background: var(--c-event-50); color: var(--c-event); }
.m-camping { background: var(--c-camp-50); color: var(--c-camp); }
.m-grass { background: var(--c-grass-50); color: var(--c-grass); }
.m-none { background: var(--sand); color: var(--muted); }
.datebox { width: 58px; flex-shrink: 0; border-radius: 14px; overflow: hidden; text-align: center; background: var(--paper); border: 1.5px solid var(--c-event); align-self: start; }
.datebox .mo { background: var(--c-event); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 0; white-space: nowrap; overflow: hidden; }
.datebox.is-repeat .mo { font-size: .6rem; letter-spacing: .04em; }
.datebox .d { font-family: var(--display); font-size: 1.85rem; font-weight: 700; color: var(--navy); line-height: 1.15; padding: 2px 0 4px; }
.datebox.is-repeat { border-color: var(--navy); }
.datebox.is-repeat .mo { background: var(--navy); }
.datebox.is-past { border-color: var(--line-2); }
.datebox.is-past .mo { background: var(--soft); }

/* ---------- directory ---------- */
.dir-top { background: var(--paper); border-bottom: 1px solid var(--line); padding: 22px 0 16px; position: relative; z-index: 5; }
.dir-top h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); margin: 0 0 14px; }
.dir-search { display: grid; grid-template-columns: 1fr 230px; gap: 10px; margin-bottom: 14px; }
.dir-search input[type="search"] { padding-left: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b78' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 15px center; background-size: 19px; }
.dir-filters { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.view-toggle { display: none; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 3px; background: var(--paper); }
.view-toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 999px; color: var(--muted); cursor: pointer; min-height: 38px; }
.view-toggle button[aria-pressed="true"], .view-toggle a[aria-pressed="true"] { background: var(--navy); color: #fff; }
.view-toggle.seg { display: inline-flex; }
.view-toggle a { border: 0; min-height: 38px; }
.dir-layout { display: grid; grid-template-columns: minmax(380px, 1fr) 1.15fr; gap: 0; min-height: calc(100vh - var(--header-h) - 160px); }
.dir-list { padding: 18px 24px 40px; max-width: 640px; width: 100%; justify-self: end; }
.dir-count { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--muted); font-size: .93rem; flex-wrap: wrap; }
.dir-count strong { color: var(--navy); }
.results { display: grid; gap: 12px; }
.results-group { margin: 18px 0 4px; font-family: var(--body); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.results-group:first-child { margin-top: 0; }
.dir-map { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); border-left: 1px solid var(--line); background: #dfe7e4; }
.map { width: 100%; height: 100%; }
.empty { text-align: center; padding: 40px 24px; background: var(--paper); border: 1.5px dashed var(--line-2); border-radius: var(--radius); }
.empty h3 { margin-bottom: 8px; }
.map-legend { position: absolute; left: 14px; bottom: 26px; z-index: 500; background: rgba(255, 255, 255, .95); border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow-2); display: flex; gap: 14px; font-size: .82rem; font-weight: 600; flex-wrap: wrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.map-note { position: absolute; right: 12px; top: 12px; z-index: 500; }

/* map pins (Leaflet divIcon and Google AdvancedMarker share this) */
.pin { width: 34px; height: 42px; position: relative; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); cursor: pointer; transition: transform .15s; transform-origin: 50% 100%; }
.pin svg { width: 34px; height: 42px; display: block; }
.pin.is-active { transform: scale(1.25); z-index: 1000 !important; }
.leaflet-marker-icon.is-active { z-index: 1000 !important; }
.pop { font-family: var(--body); min-width: 200px; }
.pop h4 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 4px; }
.pop p { margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
.pop .btn-row { gap: 6px; }
.pop .btn { min-height: 34px; padding: 6px 12px; font-size: .85rem; }
.leaflet-popup-content-wrapper { border-radius: 14px !important; box-shadow: var(--shadow-2) !important; }
.leaflet-popup-content { margin: 14px 16px !important; }
.leaflet-container { font-family: var(--body) !important; background: #e8eee9 !important; }
.leaflet-tile-pane { filter: saturate(.7) brightness(1.04) contrast(.96); }
.leaflet-container a.btn-dark, .leaflet-container a.btn-go { color: #fff; }
.leaflet-container a.btn-quiet { color: var(--navy); }

/* ---------- place & event detail ---------- */
.detail-head { padding: 40px 0 30px; background: linear-gradient(180deg, var(--sand) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.detail-head h1 { margin: 6px 0 8px; }
.detail-head .lede { margin: 0 0 18px; }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.detail-main > * + * { margin-top: 28px; }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.detail-side .panel { padding: 22px; }
.facts { display: grid; gap: 0; margin: 0; }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.amenities li { padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.prose { font-size: 1.06rem; }
.prose p { margin-bottom: 1.05em; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.45rem; margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--orange-ink); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #dfe7e4; aspect-ratio: 16 / 10; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.coords { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9rem; }
.save-btn[aria-pressed="true"] { --b-bg: var(--orange-50); --b-bd: var(--orange); --b-fg: var(--orange-ink); }
.flyer { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.flyer img { display: block; width: 100%; }
.mini-list { display: grid; gap: 10px; }
.mini { display: flex; gap: 14px; align-items: center; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.mini:hover { border-color: var(--navy); color: var(--ink); }
.mini strong { color: var(--navy); display: block; line-height: 1.25; }
.mini small { color: var(--muted); }
.mini .datebox { width: 48px; }
.mini .datebox .d { font-size: 1.45rem; }

/* ---------- events calendar ---------- */
.ev-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.month-block + .month-block { margin-top: 36px; }
.month-title { display: flex; align-items: baseline; gap: 12px; font-size: 1.9rem; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.month-title small { font-family: var(--body); font-size: .9rem; color: var(--muted); font-weight: 600; }
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); gap: 10px; }
.cal-head h2 { margin: 0; font-size: 1.8rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { padding: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); background: var(--bg); }
.cal-day { min-height: 112px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px; font-size: .82rem; display: flex; flex-direction: column; gap: 4px; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day .num { font-weight: 700; color: var(--muted); font-size: .85rem; padding: 2px 4px; }
.cal-day.is-other { background: #fcfbf8; }
.cal-day.is-other .num { color: var(--line-2); }
.cal-day.is-today .num { background: var(--orange); color: #fff; border-radius: 999px; width: max-content; padding: 2px 8px; }
.cal-ev { display: block; padding: 4px 7px; border-radius: 7px; background: var(--c-event-50); color: #7c3409; text-decoration: none; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-ev:hover { background: var(--c-event); color: #fff; }
.cal-ev.is-repeat { background: #e8eef3; color: var(--navy-2); }
.cal-ev.is-past { opacity: .6; }
.subscribe-box { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 20px 22px; border-radius: var(--radius); background: var(--navy); color: #dbe5ec; }
.subscribe-box h3 { color: #fff; margin: 0 0 4px; font-size: 1.5rem; }
.subscribe-box p { margin: 0; }
.subscribe-box .btn-quiet { --b-fg: #fff; --b-bd: rgba(255, 255, 255, .4); }
.subscribe-box .btn-quiet:hover { --b-bd: #fff; }

/* ---------- join strip & footer ---------- */
.join-strip { background: var(--orange); color: #1b0c02; }
.join-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.join-strip h2 { color: var(--navy); margin: 0 0 4px; }
.join-strip p { margin: 0; max-width: 560px; }
.join-strip-form { display: flex; gap: 8px; flex: 1; max-width: 460px; min-width: 280px; }
.join-strip-form input { border: 0; min-height: 52px; }
.join-strip-form .btn { min-height: 52px; --b-bg: var(--navy); --b-bd: var(--navy); --b-fg: #fff; }
.join-strip-form .btn:hover { --b-bg: var(--navy-3); --b-bd: var(--navy-3); }
.site-footer { background: var(--navy); color: #b9c8d3; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #dce6ed; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h2 { font-family: var(--body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #8ea4b4; margin: 6px 0 14px; }
.foot-grid > div > a { display: block; padding: 4px 0; }
.foot-brand p { max-width: 340px; margin: 14px 0; }
.brand-foot { color: #fff; }
.brand-foot:hover { color: #fff; }
.brand-chip { background: var(--bg); border-radius: 14px; padding: 6px 8px; display: inline-flex; }
.brand-chip img { width: 56px; }
.foot-social { display: inline-flex !important; align-items: center; gap: 8px; }
.foot-social svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.foot-fine { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; font-size: .86rem; }
.foot-fine p { margin: 0; }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-credit { margin-left: auto; opacity: .7; }

/* ---------- guides ---------- */
.guide-card .card-body { gap: 10px; }
.guide-card .kicker { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
.toc { font-size: .95rem; }
.checklist { list-style: none; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.checklist input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-camp); flex-shrink: 0; }
.checklist label { cursor: pointer; }
.checklist small { display: block; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .nav a { padding: 8px 10px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr 330px; gap: 28px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 18px 20px; background: var(--bg); overflow-y: auto; border-top: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 1.15rem; border-radius: 12px; }
  .nav .nav-only-menu { display: block; }
  .menu-toggle { display: inline-flex; }
  .bar-join { display: none; }
  .brand img { width: 54px; }
  .brand-word { font-size: 1.5rem; }
  .grid-3, .cat-tiles { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .dir-layout { grid-template-columns: 1fr; min-height: 0; }
  .dir-list { max-width: none; justify-self: stretch; padding: 16px 20px 40px; }
  .dir-map { position: relative; top: auto; height: calc(100vh - var(--header-h) - 150px); min-height: 380px; border-left: 0; display: none; }
  .view-toggle { display: inline-flex; }
  body.show-map .dir-map { display: block; }
  body.show-map .dir-list { display: none; }
  .cal-day { min-height: 74px; padding: 4px; }
  .cal-ev { font-size: .72rem; padding: 3px 5px; -webkit-line-clamp: 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding: 0 16px; }
  .section { padding: 52px 0; }
  .bar { gap: 10px; }
  .bar-add span { display: none; }
  .bar-add { padding: 10px 12px; }
  .menu-toggle span { display: none; }
  .menu-toggle { padding: 10px 12px; }
  .brand img { width: 46px; }
  .brand-word { font-size: 1.35rem; }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 44px; padding-bottom: 40px; }
  .hero .lede { font-size: 1.05rem; }
  .hero-search form { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 1.9rem; }
  .dir-top { padding: 16px 0 12px; }
  .dir-top h1 { font-size: 2rem; margin-bottom: 10px; }
  .dir-search { grid-template-columns: 1fr 146px; gap: 8px; margin-bottom: 10px; }
  .dir-search select { padding-left: 10px; padding-right: 28px; background-position: right 8px center; font-size: .93rem; }
  .dir-filters { gap: 10px; }
  .dir-filters .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; width: calc(100% + 32px); }
  .dir-filters .chips::-webkit-scrollbar { display: none; }
  .dir-filters .chip { flex-shrink: 0; min-height: 38px; padding: 6px 13px; font-size: .9rem; }
  .view-toggle { width: 100%; }
  .view-toggle button { flex: 1; }
  .ev-toolbar .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; width: calc(100% + 32px); }
  .ev-toolbar .chip { flex-shrink: 0; }
  .result { padding: 14px; gap: 12px; }
  .result .card-actions { gap: 6px; }
  .result-mark { width: 44px; height: 44px; border-radius: 12px; }
  .result-mark svg { width: 24px; height: 24px; }
  .datebox { width: 46px; }
  .datebox .d { font-size: 1.6rem; }
  .panel { padding: 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .foot-credit { margin-left: 0; }
  .facts > div { grid-template-columns: 100px 1fr; }
  .join-strip-form { min-width: 0; width: 100%; }
  .cal-dow { font-size: .62rem; padding: 6px 2px; letter-spacing: .02em; }
  .cal-day { min-height: 56px; }
  .cal-day .num { font-size: .75rem; }
  .cal-ev { font-size: 0; height: 8px; padding: 0; border-radius: 4px; background: var(--c-event); }
  .cal-ev.is-repeat { background: var(--navy-3); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .join-strip, .dir-map, .card-actions, .btn { display: none !important; } body { background: #fff; } }
