/* Premium redesign, Phase 1 (2 Dec 2026): British automotive heritage meets modern adventure editorial (docs/REDESIGN-2026-12.md).
   Palette: Asphalt / Parchment / Racing Green, with Heritage Bronze for labels and Slate for rules. Contrast (WCAG AA):
   --green on parchment 9.2:1 · --muted on parchment 5.7:1 · --bronze-text on parchment 5.5:1 · --bronze on asphalt 5.6:1 ·
   --muted-on-dark on asphalt 9.2:1 · white on --green 10.3:1 (calculated 2 Dec 2026). NOT for small text: --bronze on parchment
   (2.8:1), --slate on parchment (3.8:1), --bronze on --green (3.3:1). */
:root {
  /* palette */
  --asphalt: #171a19;
  --asphalt-2: #222624;
  --parchment: #f5f2ea;
  --white: #ffffff;
  --green: #29463c;             /* Racing Green: primary accent and buttons */
  --green-2: #1f362e;           /* hover */
  --bronze: #b18b56;            /* Heritage Bronze: decorative, and labels on dark */
  --bronze-text: #7a5c33;       /* bronze for small text on parchment */
  --slate: #777c7a;             /* rules and borders; large text only */
  --muted: #5b605e;
  --muted-on-dark: #b9bdbb;
  --line: #ddd8cc;
  --amber: #f5b553;             /* the logo's tape colour: logo, badges and stickers only */
  --danger: #a4412d;
  --ok: #3e6b4d;
  --text: #1d201f;
  /* roles (older names point here so existing components follow the new palette) */
  --accent: var(--green);
  --accent-on-dark: var(--bronze);
  --ivory: var(--parchment);
  --ink: var(--asphalt);
  --ink-2: var(--asphalt-2);
  --forest: var(--green);
  --cream: var(--parchment);
  --paper: var(--parchment);
  --amber-deep: var(--bronze-text);
  --titanium: var(--slate);
  /* type */
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --marker: "Permanent Marker", "Libre Caslon Text", cursive;   /* logo tape, badges and stickers only */
  /* layout and spacing */
  --wrap: 1280px;
  --wrap-wide: 1440px;
  --read: 720px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --section: clamp(48px, 7vw, 112px);
  --r: 2px;
  --ease: 240ms cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--asphalt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0 0 .45em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 99; background: var(--amber); padding: 8px 12px; left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Header */
.site-header { background: var(--ink); color: var(--cream); position: sticky; top: 0; z-index: 1000; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: var(--marker); font-size: 1.3rem; letter-spacing: .02em; white-space: nowrap; }
.brand img { width: 46px; height: auto; }
.brand:hover { color: var(--amber); }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--cream); text-decoration: none; white-space: nowrap; padding: 8px 10px; font-size: .94rem; border-radius: var(--r); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--amber); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid #ffffff40; color: var(--cream); border-radius: var(--r); padding: 8px 12px; font: inherit; cursor: pointer; }
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 24px 20px; border-top: 1px solid #ffffff1a; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #ffffff12; }
  .nav .btn { margin: 12px 0 0; text-align: center; }
}

/* Buttons, chips, tape */
.btn { display: inline-block; font: 600 .95rem var(--body); padding: 12px 20px; border-radius: var(--r); border: 2px solid var(--ink); background: var(--ink); color: var(--cream); text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.btn.amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn.amber:hover { background: #f8c773; border-color: #f8c773; color: var(--ink); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: #00000010; }
.btn.small { padding: 7px 12px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--cream); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.chip.no { background: #f6e0d8; border-color: #e7bfb2; color: var(--danger); }
.chip.caution { background: #fbecc9; border-color: #efd18e; color: #7a4c0c; }
.chip.yes { background: #dfeadd; border-color: #bcd2bb; color: var(--ok); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tape { display: inline-block; font-family: var(--marker); background: var(--amber); color: var(--ink); padding: 6px 18px 4px; font-size: 1rem; letter-spacing: .03em; transform: rotate(-1.5deg);
  clip-path: polygon(2% 8%, 8% 0, 30% 6%, 55% 0, 80% 5%, 98% 0, 100% 40%, 97% 70%, 100% 100%, 75% 94%, 50% 100%, 25% 93%, 4% 100%, 0 60%); }
.eyebrow { font-family: var(--marker); color: var(--amber-deep); font-size: 1rem; letter-spacing: .04em; margin-bottom: 8px; display: block; }
.on-dark .eyebrow { color: var(--amber); }

/* Hero */
.hero { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.hero h1 { color: var(--cream); }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero p.lead { font-size: 1.2rem; color: #e9dfc6; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 64px; }
.hero .btn.ghost { color: var(--cream); }
.hero-art { align-self: end; }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; }
  .hero .actions { margin-bottom: 8px; }
}
.page-head { background: var(--ink); color: var(--cream); padding: 56px 0 48px; }
.page-head h1 { color: var(--cream); margin-bottom: .3em; }
.page-head p { color: #e2d8bf; max-width: 46em; font-size: 1.1rem; margin: 0; }
.page-head .crumbs { font-size: .88rem; margin-bottom: 14px; }
.page-head .crumbs a { color: var(--amber); }

/* Sections */
.section { padding: 80px 0; }
.section.tight { padding: 48px 0; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--ink-2); color: var(--cream); }
.section.dark h2, .section.dark h3 { color: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 40em; }
.dark .section-head p { color: #d8ceb4; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #12201a1f; color: inherit; }
.card .thumb { aspect-ratio: 16 / 9; background: var(--cream); border-bottom: 1px solid var(--line); }
.card .thumb svg { width: 100%; height: 100%; }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .meta { font-size: .85rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.card .foot { margin-top: auto; padding-top: 6px; }
.rating { display: inline-flex; gap: 3px; vertical-align: middle; }
.rating i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
.rating i.on { background: var(--amber-deep); }
.scores { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .85rem; align-items: center; color: var(--muted); }

/* How it works / features */
.steps { counter-reset: s; }
.step { padding: 28px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); font-family: var(--marker); font-size: 1.4rem; color: var(--ink); background: var(--amber); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 14px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; }
.feature-list .dot { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink); font-weight: 700; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.filters .label { font-weight: 600; font-size: .9rem; margin-right: 4px; }
.toggle { font: 600 .88rem var(--body); padding: 8px 14px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; color: var(--ink); }
.toggle[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
select, input[type="text"], input[type="email"], input[type="search"], input[type="number"], textarea { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #cfc3a3; border-radius: var(--r); background: #fff; color: var(--text); width: 100%; }
.filters select { width: auto; }
.count { margin-left: auto; font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .count { margin-left: 0; width: 100%; } }

/* Detail pages */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } }
.facts { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; position: sticky; top: 88px; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 18px; font-size: .92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.map { height: 440px; border-radius: 10px; border: 1px solid var(--line); background: var(--cream); z-index: 0; }
.prose { max-width: 42em; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.callout { border-left: 4px solid var(--amber); background: var(--cream); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 24px 0; }
.callout.warn { border-color: var(--danger); background: #f8e9e3; }
.callout h3 { font-size: 1.05rem; margin-bottom: 8px; font-family: var(--body); font-weight: 700; }
.callout ul { margin: 0; padding-left: 1.2em; }
.stop-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.stop-list li { display: flex; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.stop-icon { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; color: #fff; }
.t-photo { background: #3b6e8f; } .t-eat { background: #b8741c; } .t-stay { background: #2c4339; } .t-fuel { background: #6b5aa8; } .t-way { background: var(--ink); }
.itinerary { list-style: none; padding: 0; margin: 0; counter-reset: d; }
.itinerary li { position: relative; padding: 0 0 22px 56px; }
.itinerary li::before { counter-increment: d; content: "Day " counter(d); position: absolute; left: 0; top: 2px; font: .72rem/1 var(--marker); background: var(--amber); padding: 6px 5px; border-radius: 4px; }
.itinerary li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 30px; bottom: 4px; border-left: 2px dashed var(--line); }

/* Planner */
.planner { display: grid; grid-template-columns: 380px 1fr; height: calc(100vh - 68px); min-height: 560px; }
.planner .side { overflow-y: auto; background: #fff; border-right: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.planner .map { height: 100%; border-radius: 0; border: 0; }
.planner h1 { font-size: 1.6rem; margin: 0; }
.panel { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.panel h2 { font: 700 .95rem var(--body); margin: 0 0 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row > input, .row > select { flex: 1; min-width: 0; }
.wp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wp-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--paper); font-size: .9rem; }
.wp-list .stop-icon { flex-basis: 26px; height: 26px; font-size: .75rem; }
.wp-list .name { flex: 1; min-width: 0; }
.wp-list .name small { display: block; color: var(--muted); }
.wp-list button { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 1rem; padding: 2px 4px; }
.wp-list button:hover { color: var(--danger); }
.wp-list .btn { background: var(--ink); color: var(--cream); padding: 7px 14px; font-size: .85rem; }
.wp-list .btn:hover { color: var(--cream); background: var(--forest); }
.summary { display: flex; gap: 18px; font-weight: 600; }
.summary span small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.mode-banner { background: var(--amber); color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.warnings { display: grid; gap: 6px; }
.warnings div { font-size: .88rem; padding: 8px 10px; border-radius: 8px; background: #f8e9e3; color: var(--danger); }
.leaflet-popup-content { font-family: var(--body); font-size: .9rem; }
.leaflet-popup-content h4 { font-family: var(--body); margin: 0 0 4px; font-size: .95rem; }
.marker-pin { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px #0006; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
@media (max-width: 860px) {
  .planner { grid-template-columns: 1fr; height: auto; }
  .planner .map { height: 60vh; order: -1; }
  .planner .side { border-right: 0; overflow: visible; }
}

/* Forms */
.form { display: grid; gap: 18px; max-width: 760px; }
.form label { font-weight: 600; display: block; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
.form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 0; }
.form legend { font-weight: 700; padding: 0 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.radio-row label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.hp { position: absolute; left: -5000px; }
.notice { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.notice.ok { background: #dfeadd; color: var(--ok); }
.notice.err { background: #f6e0d8; color: var(--danger); }

/* Journal */
.post-head { max-width: 46em; }
.post-meta { color: #d8ceb4; font-size: .92rem; }
.journal-card .cat { font-family: var(--marker); color: var(--amber-deep); font-size: .9rem; }

/* Shop */
.merch { background: var(--ink); color: var(--cream); border-radius: 14px; padding: 48px; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.merch h2 { color: var(--cream); }
@media (max-width: 760px) { .merch { grid-template-columns: 1fr; padding: 28px; } .merch img { max-width: 200px; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.roadmap > div { padding: 24px 20px 0 0; border-top: 3px dashed #ffffff40; position: relative; }
.roadmap > div::before { content: ""; position: absolute; top: -10px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #ffffff40; }
.roadmap > div.now { border-top-color: var(--amber); }
.roadmap > div.now::before { background: var(--amber); }
.roadmap h3 { font-size: 1.1rem; }
.roadmap p { color: #d8ceb4; font-size: .93rem; }
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr; } .roadmap > div { border-top: 0; border-left: 3px dashed #ffffff40; padding: 0 0 24px 24px; } .roadmap > div.now { border-left-color: var(--amber); } .roadmap > div::before { top: 0; left: -10px; } }

/* Footer */
.site-footer { background: var(--ink); color: #cfc5ab; padding: 56px 0 32px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--body); color: var(--cream); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #cfc5ab; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer .legal { border-top: 1px solid #ffffff1a; margin-top: 40px; padding-top: 20px; font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* Photos (Wikimedia Commons, credited) */
.page-head.has-photo { position: relative; background: linear-gradient(180deg, #121c1bcc 0%, #121c1b99 45%, #121c1bee 100%), var(--bg) center / cover no-repeat, var(--ink); padding: 120px 0 64px; }
.page-head .photo-credit { position: absolute; right: 12px; bottom: 6px; margin: 0; font-size: .72rem; color: #e2d8bfb0; max-width: 90%; text-align: right; }
.page-head .photo-credit a { color: inherit; }
.card .thumb.photo { position: relative; overflow: hidden; }
.card .thumb.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .thumb.photo img { transform: scale(1.04); }
.card .mini-route { position: absolute; right: 10px; bottom: 10px; width: 78px; height: 48px; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px #0005; border: 2px solid #fff; }
.card .mini-route svg { width: 100%; height: 100%; }

/* Badges */
.badge-svg { width: 100%; height: auto; overflow: visible; }
.locked .badge-svg, .badge-art.locked .badge-svg { filter: grayscale(1); opacity: .38; }
.badge-panel { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; margin-top: 48px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: 90px; }
.badge-panel h2 { font-size: 1.5rem; }
.badge-art { position: sticky; top: 90px; }
.badge-sticker { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.badge-sticker img { flex: none; width: 64px; height: auto; }
.card .why { font-weight: 500; }
.badge-art.locked::after { content: "Not collected yet"; display: block; text-align: center; font-size: .8rem; color: var(--muted); margin-top: 8px; }
.cp-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.cp-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--paper); border-radius: 8px; }
.cp-list .cp-name { flex: 1; font-weight: 600; }
.cp-list .cp-name small { display: block; font-weight: 400; color: var(--muted); }
.cp-state { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 22px; }
.cp-list li.done .cp-state { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px #fff; }
.cp-list li.done .btn { background: transparent; color: var(--ok); border-color: transparent; }
.safety { background: #fbecc9; color: #6b430a; padding: 8px 12px; border-radius: 8px; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px; }
.badge-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; line-height: 1.3; }
.badge-tile small { font-weight: 400; color: var(--muted); }
.badge-tile:not(.locked) small { color: var(--ok); font-weight: 600; }
.badge-tile:hover .badge-svg { transform: rotate(-4deg) scale(1.03); }
.badge-tile .badge-svg { transition: transform .2s; max-width: 160px; }
.badge-row { display: flex; justify-content: center; }
.badge-row .badge-svg { max-width: 200px; margin: 0 -14px; }
.badge-row .badge-svg:nth-child(1) { transform: rotate(-8deg); }
.badge-row .badge-svg:nth-child(2) { transform: translateY(-14px); z-index: 1; }
.badge-row .badge-svg:nth-child(3) { transform: rotate(7deg); }
.passport-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; background: var(--ink); color: var(--cream); border-radius: 10px; }
.passport-bar .btn.ghost { color: var(--cream); }
.passport-count { font-family: var(--marker); font-size: 1.5rem; color: var(--amber); }
@media (max-width: 700px) {
  .badge-panel { grid-template-columns: 1fr; padding: 20px; }
  .badge-art { position: static; max-width: 180px; margin: 0 auto; }
  .badge-row .badge-svg { max-width: 130px; }
}

/* Google Maps links */
.day-links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.gmaps { white-space: nowrap; }

/* Drive reports */
.reports { margin-top: 48px; scroll-margin-top: 90px; }
.report-list { display: grid; gap: 14px; margin: 18px 0; }
.report { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.report header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.report p { margin: 0; white-space: pre-line; }
.report-form-wrap summary { list-style: none; display: inline-block; }
.report-form-wrap summary::-webkit-details-marker { display: none; }
.form input[type="month"] { font: inherit; padding: 9px 12px; border: 1px solid #cfc3a3; border-radius: var(--r); width: 100%; background: #fff; }

/* Shop */
.merch-card .merch-type { aspect-ratio: 4 / 3; display: grid; place-items: center; font: 3rem var(--marker); color: var(--ink); background: var(--cream); border-bottom: 1px solid var(--line); }
.merch-card .merch-type.t-sticker { background: var(--amber); }
.merch-card .merch-type.t-poster { background: #e8d9b2; }
.merch-card .cat { font-family: var(--marker); color: var(--amber-deep); font-size: .85rem; }
.merch .chip { text-decoration: none; }

/* Homepage photo */
/* Instagram */
.ig-link { display: inline-flex; align-items: center; gap: 8px; }
.ig-link svg { width: 18px; height: 18px; flex: 0 0 18px; }
.share-photos { margin-top: 48px; padding: 24px; border-radius: 14px; background: var(--ink); color: var(--cream); display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; }
.share-photos h2 { color: var(--cream); font-size: 1.4rem; margin: 0 0 6px; }
.share-photos p { margin: 0; color: #d8ceb4; }
.share-photos .tag { font-family: var(--marker); color: var(--amber); font-size: 1.15rem; user-select: all; }
.share-photos .btn.ghost { color: var(--cream); }
@media (max-width: 640px) { .share-photos { grid-template-columns: 1fr; } }
.community-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.community-photos figure { margin: 0; }
.community-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.community-photos figcaption { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* Playlists */
.mood { scroll-margin-top: 90px; }
.small-head { font: 700 .78rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 10px 0 4px; }
.tracks { margin: 0; padding-left: 1.4em; font-size: .92rem; columns: 2; column-gap: 24px; }
.tracks li { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 640px) { .tracks { columns: 1; } }
.playlist-list { display: grid; gap: 8px; }
.playlist { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: baseline; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); text-decoration: none; color: var(--text); }
.playlist:hover { border-color: var(--amber-deep); color: var(--text); }
.playlist .svc { grid-row: span 3; font-size: .72rem; font-weight: 700; background: var(--ink); color: var(--cream); padding: 3px 7px; border-radius: 4px; }
.playlist small { grid-column: 2; color: var(--muted); }
.playlist .why { font-style: italic; }
.soundtrack { margin-top: 48px; }

/* Homepage: two ways in */
.hero .ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 56px; }
.hero .way { background: #ffffff0d; border: 1px solid #ffffff26; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.hero .way h2 { font-size: 1.15rem; color: var(--cream); margin: 0; }
.hero .way p { margin: 0; font-size: .92rem; color: #d8ceb4; }
.hero .way .row { margin-top: auto; }
.hero .way input { padding: 9px 10px; font-size: .95rem; }
.hero .way .btn.ghost { color: var(--cream); }
.hero form.way .btn { align-self: start; }
@media (max-width: 1100px) and (min-width: 861px) { .hero .ways { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hero .ways { grid-template-columns: 1fr; } }

/* Planner: journey + make it more fun */
.panel.journey { border-color: var(--amber); background: #fff8e8; }
.fun-head { font: 700 .95rem var(--body); margin: 16px 0 4px; }
.fun-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fun-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--paper); font-size: .9rem; }
.fun-list li > div { flex: 1; min-width: 0; }
.fun-list small { display: block; color: var(--muted); font-size: .78rem; }
.fun-list .extra { text-align: right; font-weight: 700; white-space: nowrap; }
.toggle.small { padding: 5px 10px; font-size: .8rem; }
.mood .cat { font-family: var(--marker); color: var(--amber-deep); font-size: .9rem; }

/* Installable app */
.get-app { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 14px; align-items: center; margin: 24px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--amber); color: var(--ink); }
.get-app[hidden] { display: none; }
.get-app img { border-radius: 12px; }
.get-app strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.get-app span { font-size: .88rem; line-height: 1.4; display: block; }
.get-app .btn.amber { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.get-app .install-help { grid-column: 1 / -1; margin: 0; font-size: .9rem; background: #fff8; padding: 10px 12px; border-radius: 8px; }
@media (max-width: 560px) { .get-app { grid-template-columns: auto 1fr; } .get-app .btn { grid-column: 1 / -1; } }
/* Full-screen app: keep clear of the notch / home bar */
@media (display-mode: standalone) {
  .site-header { padding-top: env(safe-area-inset-top); }
  .site-footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
}

/* Add a road: map, pins, photos, confirm */
.submit-map { height: 380px; cursor: crosshair; }
.map-tools { margin-top: 8px; }
.map-status { color: var(--muted); margin-left: auto; }
.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 10px; }
.photo-previews figure { margin: 0; position: relative; }
.photo-previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.photo-previews button { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 50%; width: 26px; height: 26px; background: #121c1bcc; color: #fff; cursor: pointer; }
.photo-previews figcaption { font-size: .72rem; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; margin-top: 10px; }
.consent input { margin-top: 4px; }
.confirm-step { border: 2px solid var(--amber); background: #fff8e8; border-radius: 10px; padding: 16px; }
.confirm-step h3 { font-family: var(--body); font-size: 1rem; margin: 0 0 6px; }
@media (max-width: 640px) { .submit-map { height: 300px; } .map-status { margin-left: 0; width: 100%; } }
.consent[hidden], .confirm-step[hidden] { display: none !important; }

/* =====================================================================================================
   Editorial redesign (Nov 2026). Loaded last so it overrides the older component styles above.
   ===================================================================================================== */
body { background: var(--ivory); font-size: 17px; }
.kicker, .eyebrow { display: block; font: 700 .74rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.on-dark .kicker, .on-dark .eyebrow, .hero .kicker { color: var(--accent-on-dark); }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-on-dark); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Buttons: square, confident. primary = racing red; light = ivory on dark; ghost-light = outline on dark */
.btn { border-radius: var(--r); font: 600 .92rem/1.2 var(--body); letter-spacing: .02em; padding: 13px 22px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--asphalt); border: 2px solid var(--asphalt); color: var(--ivory); transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn.primary, .btn.amber { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn.primary:hover, .btn.amber:hover { background: #962f28; border-color: #962f28; color: var(--white); }
.btn.light { background: var(--ivory); border-color: var(--ivory); color: var(--asphalt); }
.btn.light:hover { background: var(--white); border-color: var(--white); color: var(--asphalt); }
.btn.ghost-light { background: transparent; border-color: #ffffffb3; color: var(--white); }
.btn.ghost-light:hover { background: #ffffff1a; border-color: var(--white); color: var(--white); }
.btn.small { min-height: 36px; padding: 7px 12px; }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.card { border-radius: 4px; }
.chip { border-radius: 2px; }

/* Header: compact, sticky */
.site-header { background: var(--asphalt); border-bottom: 1px solid #ffffff14; }
.site-header .wrap { min-height: 60px; gap: 14px; }
.brand { font-size: 1.15rem; gap: 10px; color: var(--ivory); }
.brand img { width: 40px; }
.brand:hover { color: var(--amber); }
.nav { gap: 2px; }
.nav a { font: 500 .9rem var(--body); color: #e4e1db; padding: 20px 10px; border-radius: 0; position: relative; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after, .nav a:hover::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 12px; height: 2px; background: var(--accent-on-dark); }
.nav .nav-cta { margin-left: 8px; padding: 8px 14px; border: 1px solid #ffffff55; border-radius: var(--r); color: var(--white); }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--accent); border-color: var(--accent); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--ivory); background: none; border: 0; border-radius: var(--r); cursor: pointer; padding: 0; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover, .icon-btn[aria-current="page"] { color: var(--accent-on-dark); }
.menu-toggle { display: none; margin-left: 0; border: 0; }
@media (max-width: 1080px) {
  .site-header .wrap { gap: 4px; }
  .site-header .icon-btn:not(.menu-toggle) { margin-left: auto; }
  .menu-toggle { display: inline-grid; }
  .nav { top: 60px; padding: 8px 24px 24px; max-height: calc(100vh - 60px); overflow-y: auto; }
  .nav a { padding: 14px 0; font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent-on-dark); }
  .nav .nav-cta { margin: 14px 0 0; text-align: center; padding: 12px; }
}

/* Hero: full-bleed photography, copy bottom-left, light-touch shading */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; background: var(--asphalt); color: var(--white); overflow: hidden; }
.hero .hero-photo { position: absolute; inset: 0; margin: 0; height: auto; }
.hero .hero-photo picture, .hero .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero .hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, #151719e6 0%, #15171999 30%, #15171926 62%, #15171900 100%), linear-gradient(90deg, #15171966 0%, #15171900 60%); }
.hero .hero-photo figcaption { top: auto; bottom: 10px; right: 16px; font-size: .7rem; }
.hero .hero-inner { position: relative; z-index: 1; width: 100%; display: block; padding-top: 140px; padding-bottom: 64px; }
.hero-copy { max-width: 760px; }
/* The brand line above the homepage H1 (30 Nov 2026): Permanent Marker in the logo's amber, readable over any hero photo. */
.hero .kicker.brand-line { font: 400 clamp(1.15rem, 2.4vw, 1.6rem)/1.2 var(--marker); letter-spacing: .01em; text-transform: none; color: var(--amber); text-shadow: 0 1px 10px #000b, 0 0 2px #0008; margin-bottom: 12px; }
.hero h1 { color: var(--white); font-size: clamp(3rem, 7.6vw, 6.2rem); line-height: .95; letter-spacing: -0.01em; margin-bottom: .3em; text-wrap: balance; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #eeebe5; max-width: 34em; text-shadow: 0 1px 8px #0006; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
@media (max-width: 860px) {
  .hero { min-height: 0; display: block; }
  .hero .hero-photo { position: relative; inset: auto; height: 56vw; max-height: 380px; min-height: 230px; }
  .hero .hero-photo::after { background: linear-gradient(0deg, #151719 0%, #15171900 45%); }
  .hero .hero-photo figcaption { top: 8px; bottom: auto; }
  .hero .hero-inner { padding-top: 0; margin-top: -56px; padding-bottom: 44px; }
  .hero .actions .btn { flex: 1 1 100%; }
}

/* Sections */
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 32px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.on-dark .section-head { border-color: #ffffff1f; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); max-width: 46em; margin: 8px 0 0; }
.on-dark .section-head p { color: var(--muted-on-dark); }
.more { font: 600 .88rem var(--body); text-decoration: none; color: var(--asphalt); white-space: nowrap; }
.more::after { content: " →"; color: var(--accent); }
.more:hover { color: var(--accent); }
@media (max-width: 640px) { .section { padding: 60px 0; } }

/* Stories */
.story a { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.story-img { overflow: hidden; background: #ddd8ce; aspect-ratio: 3 / 2; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story a:hover .story-img img { transform: scale(1.03); }
.story h3 { font-size: 1.55rem; margin: 0 0 6px; }
.story a:hover h3 { color: var(--accent); }
.story .dek { color: #3d4246; margin: 0 0 8px; font-size: .97rem; }
.story .byline { color: var(--muted); font-size: .82rem; margin: 0; }
.story .kicker { margin-bottom: 6px; }
.feature-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 40px; }
.feature-grid.single { grid-template-columns: 1fr; }
.story.lead .story-img { aspect-ratio: 16 / 10; }
.story.lead h3 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.story.lead .dek { font-size: 1.1rem; max-width: 38em; }
.feature-grid.single .story.lead a { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; }
.feature-side { display: grid; gap: 28px; align-content: start; }
.story.side a { grid-template-columns: 42% 1fr; align-items: start; gap: 18px; }
.story.side .story-img { aspect-ratio: 4 / 3; }
.story.side h3 { font-size: 1.3rem; }
.story.side .dek { display: none; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.story.compact h3 { font-size: 1.25rem; }
@media (max-width: 980px) {
  .feature-grid, .feature-grid.single .story.lead a { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .story-grid { grid-template-columns: 1fr; }
  .story.side a { grid-template-columns: 38% 1fr; }
  .story.side h3 { font-size: 1.15rem; }
}

/* Explore */
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.explore-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: var(--white); text-decoration: none; background: var(--asphalt); }
.explore-tile picture, .explore-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.explore-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #151719f0 0%, #15171980 45%, #15171910 100%); }
.explore-tile:hover img { transform: scale(1.04); }
.explore-text { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 22px; display: grid; gap: 6px; }
.explore-text .kicker { color: var(--accent-on-dark); margin: 0; }
.explore-title { font: 700 1.7rem/1 var(--display); }
.explore-sub { font-size: .9rem; color: #e4e1db; line-height: 1.45; }
.explore-tile:hover { color: var(--white); }
@media (max-width: 980px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } .explore-tile { aspect-ratio: 4 / 5; } }
@media (max-width: 560px) { .explore-grid { grid-template-columns: 1fr; } .explore-tile { aspect-ratio: 16 / 11; } }

/* Driving roads feature */
.roads-feature { background: var(--asphalt); color: var(--ivory); }
.roads-feature h2, .roads-feature h3 { color: var(--white); }
.region-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.region { font: 600 .85rem var(--body); min-height: 40px; padding: 8px 14px; background: transparent; color: #e4e1db; border: 1px solid #ffffff33; border-radius: var(--r); cursor: pointer; }
.region:hover { border-color: var(--white); color: var(--white); }
.region[aria-pressed="true"] { background: var(--ivory); color: var(--asphalt); border-color: var(--ivory); }
.road-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.road-tile { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.road-tile[hidden] { display: none; }
.road-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--asphalt-2); }
.road-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.road-tile:hover img { transform: scale(1.03); }
.road-tile h3 { margin: 0 0 10px; font-size: 1.6rem; }
.road-tile:hover h3 { color: var(--accent-on-dark); }
.road-tile .kicker { margin-bottom: 4px; color: var(--accent-on-dark); }
.road-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px 22px; margin: 0 0 10px; padding: 10px 0; border-top: 1px solid #ffffff1f; border-bottom: 1px solid #ffffff1f; }
.road-facts div { min-width: 0; }
.road-facts dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); }
.road-facts dd { margin: 0; font-weight: 600; font-size: .92rem; color: var(--white); }
.road-char { font-size: .88rem; color: var(--muted-on-dark); margin: 0; }
.roads-foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-top: 44px; padding-top: 28px; border-top: 1px solid #ffffff1f; }
.journey-mini { flex: 1 1 460px; max-width: 640px; }
.journey-mini .row { flex-wrap: nowrap; }
.journey-mini input { background: var(--asphalt-2); border-color: #ffffff33; color: var(--white); min-height: 46px; }
.journey-mini input::placeholder { color: var(--muted-on-dark); }
.roads-links { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 980px) { .road-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .road-tiles { grid-template-columns: 1fr; }
  .road-facts { grid-template-columns: repeat(2, auto); }
  .journey-mini .row { flex-wrap: wrap; }
  .journey-mini .row > * { flex: 1 1 100%; }
  .roads-links .btn { flex: 1 1 auto; }
}

/* Featured vehicle */
.vehicle { position: relative; padding: 0; min-height: 70vh; display: flex; align-items: flex-end; color: var(--white); background: var(--asphalt); }
.vehicle-img, .vehicle-img picture, .vehicle-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vehicle::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #151719e6, #15171900 60%); }
.vehicle .wrap { position: relative; z-index: 1; padding-bottom: 64px; }
.vehicle-text { max-width: 640px; }
.vehicle h2 { color: var(--white); font-size: clamp(2.4rem, 5vw, 4rem); }

/* Photography mosaic */
.photography { background: var(--white); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 8px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: #ddd8ce; }
.mosaic .m0 { grid-column: span 2; grid-row: span 2; }
.mosaic .m3 { grid-column: span 2; }
.mosaic a, .mosaic picture, .mosaic img { display: block; width: 100%; height: 100%; }
.mosaic img { object-fit: cover; transition: transform .6s ease; }
.mosaic figure:hover img { transform: scale(1.03); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-size: .78rem; font-weight: 600; color: var(--white); background: linear-gradient(0deg, #151719cc, #15171900); pointer-events: none; }
.mosaic figcaption .cr { font-weight: 400; opacity: .8; }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .mosaic .m3 { grid-column: span 2; } }

/* Editors' picks */
.pick-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; counter-reset: pick; }
.pick-list li { counter-increment: pick; border-bottom: 1px solid var(--line); }
.pick-list a { display: grid; grid-template-columns: auto 120px 1fr; gap: 18px; align-items: center; padding: 18px 0; color: inherit; text-decoration: none; }
.pick-list a::before { content: counter(pick, decimal-leading-zero); font: 700 2rem var(--display); color: var(--accent); width: 2ch; }
.pick-img { aspect-ratio: 4 / 3; overflow: hidden; }
.pick-img img { width: 100%; height: 100%; object-fit: cover; }
.pick-title { display: block; font: 700 1.35rem/1.05 var(--display); margin-bottom: 4px; }
.pick-text { display: block; font-size: .9rem; color: var(--muted); }
.pick-list a:hover .pick-title { color: var(--accent); }
.pick-list .kicker { margin-bottom: 4px; }
@media (max-width: 860px) { .pick-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pick-list a { grid-template-columns: auto 88px 1fr; gap: 12px; } }

/* About + follow */
.about-band { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.about-grid p { font-size: 1.05rem; color: #34393d; }
.about-grid .row { gap: 22px; align-items: center; margin-top: 24px; }
.follow { background: var(--asphalt); color: var(--ivory); }
.follow h2 { color: var(--white); }
.follow p { color: #d9d6d0; max-width: 36em; }
.follow-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.follow .get-app { margin: 0; background: var(--asphalt-2); color: var(--ivory); border: 1px solid #ffffff1f; border-radius: 4px; }
.follow .get-app .btn { background: var(--ivory); border-color: var(--ivory); color: var(--asphalt); }
.follow .get-app .install-help { background: #ffffff12; }
@media (max-width: 860px) { .about-grid, .follow-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Page heads / posts */
.page-head { padding: 64px 0 48px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.page-head.has-photo { padding: 160px 0 56px; background: linear-gradient(0deg, #151719f2 0%, #15171999 45%, #15171933 100%), var(--bg) center / cover no-repeat, var(--asphalt); }
.page-head .crumbs a { color: var(--white); }
.post-head { max-width: 860px; }
.post-meta { color: #d9d6d0; font-size: .9rem; margin-top: 14px; }
.prose { font-size: 1.07rem; line-height: 1.72; max-width: 40em; }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }

/* Search */
.search-form { display: flex; gap: 10px; max-width: 760px; }
.search-form input { font-size: 1.15rem; min-height: 52px; }
.search-results { list-style: none; margin: 24px 0 0; padding: 0; max-width: 820px; }
.search-results li { border-bottom: 1px solid var(--line); }
.search-results a { display: grid; gap: 2px; padding: 16px 0; text-decoration: none; color: inherit; }
.search-results .kicker { margin: 0; }
.r-title { font: 700 1.45rem/1.1 var(--display); }
.r-text { color: var(--muted); font-size: .95rem; }
.search-results a:hover .r-title { color: var(--accent); }

/* Footer */
.site-footer { background: #0f1112; color: #c9c6c0; padding: 64px 0 28px; }
.site-footer .cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 30em; margin-top: 14px; }
.footer-head { font: 700 .74rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 0 0 14px; }
.site-footer ul { gap: 2px; }
.site-footer ul a { display: inline-block; padding: 5px 0; }
.site-footer a { color: #d9d6d0; }
.site-footer a:hover { color: var(--accent-on-dark); }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Touch targets on small screens */
@media (pointer: coarse) { .chip, .toggle { min-height: 36px; } }

/* Layout fixes after the first review */
.story.side a { grid-template-columns: 1fr; gap: 12px; }
.story.side .story-img { aspect-ratio: 16 / 9; }
.feature-side { gap: 32px; }
.story-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .story-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .story-grid.three { grid-template-columns: 1fr; } .story.side a { grid-template-columns: 38% 1fr; } .story.side .story-img { aspect-ratio: 4 / 3; } }
.mosaic .m4, .mosaic .m5 { grid-column: span 2; }
.follow .get-app { margin-top: 24px; }
.merch-mini { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 28px; border: 1px solid #ffffff1f; color: var(--ivory); text-decoration: none; transition: border-color .15s; }
.merch-mini:hover { border-color: var(--accent-on-dark); color: var(--ivory); }
.merch-mini img { width: 150px; height: auto; }
.merch-title { display: block; font: 700 1.8rem/1 var(--display); color: var(--white); margin-bottom: 6px; }
.merch-text { display: block; font-size: .92rem; color: #d9d6d0; margin-bottom: 10px; }
.merch-mini .text-link { color: var(--accent-on-dark); }
@media (max-width: 480px) { .merch-mini { grid-template-columns: 90px 1fr; padding: 18px; gap: 16px; } .merch-mini img { width: 90px; } }
.hero .hero-photo figcaption { position: absolute; z-index: 1; color: #ffffffdd; text-shadow: 0 1px 3px #000c; margin: 0; }
.hero .hero-photo figcaption a { color: inherit; }
@media (max-width: 860px) { .hero .hero-photo figcaption { top: 8px; bottom: auto; right: 12px; left: 12px; text-align: right; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.callout-h { font: 700 1rem/1.3 var(--body); margin: 0 0 8px; letter-spacing: 0; }
.confirm-step .callout-h { margin-bottom: 6px; }

/* Performance: skip rendering homepage sections until they're near the viewport (less layout work, and their photos
   don't compete with the hero on slow connections). contain-intrinsic-size keeps the scrollbar stable. */
.home-below { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.brand picture { display: contents; }
.site-footer .legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Playlist mood cards: bigger type and faint, shape-based art for each mood */
.mood { position: relative; overflow: hidden; border-top: 4px solid var(--mood, var(--accent)); }
.mood .body { position: relative; z-index: 1; }
.mood .cat { font: 700 .82rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mood, var(--accent)); }
.mood h3 { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; margin: 2px 0 8px; }
.mood > .body > p { font-size: 1.02rem; color: #3d4246; }
.mood-art { position: absolute; right: -10px; top: 0; width: 70%; max-width: 380px; height: 260px; color: var(--mood, var(--accent)); opacity: .12; pointer-events: none; }
.mood-coast-road { --mood: #2f6f8f; }
.mood-mountain-passes { --mood: #b43b32; }
.mood-big-skies { --mood: #4a6b3f; }
.mood-night-drive { --mood: #3d4a7a; background: #f7f7fa; }
.mood-early-start { --mood: #b8741c; }
.mood-long-miles { --mood: #5c6168; }
@media (max-width: 640px) { .mood-art { width: 85%; height: 200px; } }
input[type="url"], input[type="tel"] { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #cfc3a3; border-radius: var(--r); background: #fff; color: var(--text); width: 100%; }
.form label > input, .form label > select, .form label > textarea { margin-top: 6px; }

/* Café stops */
.cafe-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 18px; }
.cafe-top p { margin: 0; max-width: 46em; }
.region-filter.light .region { color: var(--asphalt); border-color: var(--line); background: var(--white); }
.region-filter.light .region:hover { border-color: var(--asphalt); }
.region-filter.light .region[aria-pressed="true"] { background: var(--asphalt); color: var(--ivory); border-color: var(--asphalt); }
.cafe-map { height: 380px; margin-bottom: 36px; }
.cafe-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cafe-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid #b8741c; padding: 22px 24px; scroll-margin-top: 80px; }
.cafe-card[hidden] { display: none; }
.cafe-card.own { border-top-color: var(--accent); }
.cafe-card h3 { font-size: 1.9rem; margin: 0 0 4px; }
.cafe-where { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.cafe-card .chips { margin: 12px 0; }
.cafe-links { margin: 0; }
.disclosure { background: #f8e9e3; border-left: 3px solid var(--accent); padding: 8px 12px; font-size: .9rem; }
@media (max-width: 760px) { .cafe-list { grid-template-columns: 1fr; } .cafe-map { height: 300px; } }

/* Hero: call to action on the photo (links to the road or trip shown) */
.hero-tag { position: absolute; z-index: 2; top: 28px; right: 28px; display: grid; gap: 2px; padding: 12px 16px 12px 14px; max-width: 300px;
  background: #151719cc; border-left: 3px solid var(--accent-on-dark); color: var(--white); text-decoration: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background .15s; }
.hero-tag:hover { background: #151719f0; color: var(--white); }
.hero-tag-k { font: 700 .68rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); }
.hero-tag-n { font: 700 1.35rem/1.05 var(--display); }
.hero-tag-go { font-size: .85rem; font-weight: 600; color: #e4e1db; }
.hero-tag:hover .hero-tag-go { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.hero-more { margin: 16px 0 0; }
.hero-more a { color: #eeebe5; font-weight: 600; text-underline-offset: 4px; }
.hero-more a:hover { color: var(--white); }
@media (max-width: 860px) {
  .hero-tag { top: auto; right: auto; left: 12px; bottom: 64px; max-width: calc(100% - 24px); padding: 8px 12px; }
  .hero-tag-n { font-size: 1.1rem; }
  .hero-more { text-align: center; }
}

/* Article layout: text column + sticky sidebar (contents, roads, plan). Header shares the same left edge. */
.page-head { position: relative; overflow: hidden; }
.page-head .photo-credit { right: 16px; left: auto; max-width: calc(100% - 32px); }
.post-head { max-width: 880px; margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(240px, 320px); justify-content: space-between; gap: 56px; align-items: start; }
.article-layout.no-aside { grid-template-columns: minmax(0, 720px); }
.article-layout .prose { grid-column: 1; grid-row: 1; max-width: none; }
.article-aside { grid-column: 2; grid-row: 1; position: sticky; top: 84px; display: grid; gap: 18px; }
.aside-block { border-top: 3px solid var(--asphalt); padding-top: 12px; }
.aside-head { font: 700 .74rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 2.2ch 1fr; gap: 8px; padding: 9px 0; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--asphalt); line-height: 1.3; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 700 .85rem var(--display); color: var(--accent); padding-top: 2px; }
.toc a:hover { color: var(--accent); }
.aside-roads { list-style: none; margin: 0; padding: 0; }
.aside-roads li { border-bottom: 1px solid var(--line); }
.aside-roads a { display: grid; padding: 8px 0; text-decoration: none; color: var(--asphalt); }
.aside-roads span { font: 700 1.2rem/1.1 var(--display); }
.aside-roads small { color: var(--muted); font-size: .8rem; }
.aside-roads a:hover span { color: var(--accent); }
.aside-cta { background: var(--asphalt); color: var(--ivory); border-top-color: var(--accent); padding: 16px; }
.aside-cta .aside-head { color: var(--accent-on-dark); }
.aside-cta p { margin: 0 0 12px; }
.aside-cta .btn { width: 100%; }
.prose h2 { scroll-margin-top: 84px; }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-aside { grid-column: 1; grid-row: 1; position: static; }
  .article-layout .prose { grid-row: 2; }
  .article-aside .aside-block:not(:first-child) { display: none; } /* phones/tablets: just the contents, up top */
}

/* Header brand (Ryan, 27 Nov 2026): wordmark in the same typeface as the nav and buttons; bigger logo,
   largest on the homepage where it hangs over the hero like a sticker. */
.site-header .brand { font: 700 1.08rem/1 var(--body); letter-spacing: .01em; gap: 12px; }
.site-header .brand img { width: 52px; height: auto; }
.page-home .site-header .brand { position: relative; align-self: flex-start; padding-top: 8px; }
.page-home .site-header .brand img { width: 76px; margin-bottom: -30px; filter: drop-shadow(0 4px 10px #0007); position: relative; z-index: 2; }
.page-home .site-header .brand span { margin-top: 18px; }
@media (max-width: 860px) {
  .site-header .brand img { width: 44px; }
  .page-home .site-header .brand img { width: 58px; margin-bottom: -22px; }
  .page-home .site-header .brand span { margin-top: 14px; }
  .site-header .brand { font-size: 1rem; }
}
.site-footer .brand { font: 700 1.05rem/1 var(--body); }

/* Bigger logo (Ryan, 27 Nov 2026): it hangs below the bar on every page, largest on the homepage. */
.site-header .brand { align-self: flex-start; padding-top: 8px; position: relative; }
.site-header .brand img { width: 64px; margin-bottom: -18px; position: relative; z-index: 2; filter: drop-shadow(0 4px 10px #0007); }
.site-header .brand span { margin-top: 14px; }
.page-home .site-header .brand img { width: 110px; margin-bottom: -56px; }
.page-home .site-header .brand span { margin-top: 18px; }
@media (max-width: 860px) {
  .site-header .brand img { width: 50px; margin-bottom: -14px; }
  .site-header .brand span { margin-top: 12px; }
  .page-home .site-header .brand img { width: 76px; margin-bottom: -34px; }
  .page-home .site-header .brand span { margin-top: 14px; }
}

/* ---------- Events calendar (28 Nov 2026) ---------- */
.events-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.events-note { margin: 14px 0 8px; max-width: 70ch; }
.event-month { font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--asphalt); }
.event-group { display: grid; gap: 14px; }
.event-card { display: grid; grid-template-columns: 96px 1fr; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; scroll-margin-top: 90px; }
.event-card.community { border-style: dashed; }
.event-card h3 { margin: 2px 0 4px; font-size: 1.25rem; }
.event-card p { margin: 6px 0; }
.event-card .kicker { margin: 0; }
.event-where { color: var(--muted); font-weight: 600; }
.event-date { background: var(--asphalt); color: var(--white); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px 6px; align-self: start; min-height: 86px; }
.event-date .d { font: 700 1.5rem/1 var(--display); }
.event-date .m { font: 600 .82rem/1.3 var(--body); text-transform: uppercase; letter-spacing: .06em; color: #e4e1db; margin-top: 4px; }
.chip.tbc { background: #f3ead6; border-color: #e2cfa4; color: #6b5420; }
.event-links a { font-weight: 600; }
.events-add-head { margin-top: 64px; scroll-margin-top: 90px; }
.form .checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form label.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; }
.form input[type="date"] { font: inherit; padding: 9px 12px; border: 1px solid #cfc3a3; border-radius: var(--r); width: 100%; background: #fff; }
@media (max-width: 560px) {
  .event-card { grid-template-columns: 72px 1fr; gap: 12px; padding: 14px; }
  .event-date .d { font-size: 1.2rem; }
}

/* ---------- Homepage: Coming up (events) ---------- */
.coming-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.coming-card { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.coming-card:hover { border-color: var(--asphalt); transform: translateY(-2px); }
.coming-card[hidden] { display: none; }
.coming-card .event-date { min-height: 76px; padding: 10px 4px; }
.coming-card .event-date .d { font-size: 1.3rem; }
.coming-card .event-date .m { font-size: .72rem; }
.coming-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.coming-text .kicker { margin: 0; }
.coming-title { font: 700 1.2rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.coming-where { color: var(--muted); font-size: .9rem; }
.coming-foot { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin: 24px 0 0; }
@media (max-width: 1080px) { .coming-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .coming-grid { grid-template-columns: 1fr; } }

/* ---------- Affiliate components, article extras, drafts (28 Nov 2026) ---------- */
.disclosure-box { background: #f3ead6; border: 1px solid #e2cfa4; border-radius: 10px; padding: 14px 16px; font-size: .95rem; margin: 0 0 24px; }
.product-slot { display: grid; gap: 16px; margin: 24px 0; }
.product-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--white); }
.product-card h3 { margin: 4px 0 6px; }
.product-card.is-test { border: 2px dashed #b43b32; }
.test-flag { color: #b43b32; font-weight: 700; font-size: .8rem; letter-spacing: .05em; margin: 0 0 6px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
.pros-cons ul { margin: 4px 0 0; padding-left: 18px; }
.pc-head { font-weight: 700; margin: 0; }
.product-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.product-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.product-table th, .product-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.product-table th { font-weight: 700; background: #f6f3ea; }
.faq dt { font-weight: 700; margin-top: 16px; }
.faq dd { margin: 6px 0 0; }
.sources { font-size: .92rem; }
.region-links { margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.region-links .kicker { margin-right: 6px; }
.lead-in { font-size: 1.1rem; max-width: 70ch; }
.owner-input { background: #fff3c4; border-left: 4px solid #d9a400; padding: 10px 14px; font-weight: 600; }
.draft-banner { background: #2b2116; color: #f3ead6; padding: 18px 0; }
.draft-banner a, .draft-banner summary { color: #f5b553; }
.draft-banner h2 { font-size: 1.1rem; color: #fff; margin: 12px 0 6px; }
.draft-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.draft-meta dt { font-weight: 700; margin-top: 8px; }
.draft-meta dd { margin: 2px 0 0; }
@media (max-width: 640px) { .pros-cons, .draft-cols { grid-template-columns: 1fr; } }

/* ---------- Homepage: featured road trip ---------- */
.trip-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.trip-feature-img { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; }
.trip-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trip-tagline { font: 600 1.15rem/1.3 var(--body); color: var(--muted); margin-top: -6px; }
.trip-facts { font-weight: 600; }
.trip-feature .row { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.on-dark-links a { color: var(--amber); }
@media (max-width: 860px) { .trip-feature { grid-template-columns: 1fr; gap: 20px; } }

.ad-label { display: inline-block; background: var(--asphalt); color: #fff; font: 700 .72rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; border-radius: 4px; vertical-align: middle; }

/* Phones get the 960px header photo (see layout() in build.mjs) */
@media (max-width: 760px) {
  .page-head.has-photo { background: linear-gradient(0deg, #151719f2 0%, #15171999 45%, #15171933 100%), var(--bg-sm, var(--bg)) center / cover no-repeat, var(--asphalt); }
}

/* Events: let long names and links wrap instead of widening the card on phones (29 Nov 2026) */
.event-group, .event-card, .event-body, .coming-text { min-width: 0; }
.event-body { overflow-wrap: anywhere; }

/* ---------- Roads near me + logbook (29 Nov 2026) ---------- */
.near-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.near-place { display: flex; gap: 6px; }
.near-place input { font: inherit; padding: 9px 12px; border: 1px solid #cfc3a3; border-radius: var(--r); min-width: 0; width: 210px; background: #fff; }
.near-bar select { font: inherit; padding: 9px 10px; border: 1px solid #cfc3a3; border-radius: var(--r); background: #fff; }
.near-msg { flex-basis: 100%; margin: 0; min-height: 1.2em; }
.near-msg.ok { color: var(--ok, #2c6e3f); } .near-msg.err { color: var(--danger, #b43b32); }
.chip.near-dist { background: var(--asphalt); color: #fff; border-color: var(--asphalt); }
.logbook-actions { margin-top: 14px; }
.logbook-actions .row { display: flex; flex-wrap: wrap; gap: 8px; }
.logbook-actions [aria-pressed="true"] { background: var(--asphalt); color: #fff; border-color: var(--asphalt); }
.lb-form { display: grid; gap: 10px; margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.lb-form label { font-weight: 600; display: grid; gap: 4px; }
.lb-form input { font: inherit; padding: 8px 10px; border: 1px solid #cfc3a3; border-radius: var(--r); }
.lb-status { margin: 8px 0 0; }
.lb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 28px; }
.lb-stat { background: var(--asphalt); color: #fff; border-radius: 12px; padding: 16px; }
.lb-stat b { display: block; font: 700 2rem/1 var(--display); }
.lb-stat span { color: #e4e1db; font-size: .9rem; }
.lb-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.lb-map { height: 460px; }
.lb-key .k { display: inline-block; width: 18px; height: 4px; border-radius: 2px; vertical-align: middle; margin: 0 4px 0 10px; }
.lb-key .k.d { background: #b43b32; } .lb-key .k.s { background: #d9a400; } .lb-key .k.o { background: #5c6168; opacity: .5; }
.lb-bar { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; align-items: center; margin: 8px 0; font-size: .95rem; }
.lb-bar-track { height: 10px; background: #e8e3d8; border-radius: 6px; overflow: hidden; }
.lb-bar-track span { display: block; height: 100%; background: #b43b32; }
.lb-bar-n { font-weight: 600; white-space: nowrap; }
.lb-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.lb-list { list-style: none; padding: 0; margin: 0; }
.lb-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.lb-x { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; margin-left: 6px; }
.lb-import { cursor: pointer; }
@media (max-width: 860px) { .lb-grid, .lb-lists { grid-template-columns: 1fr; } .lb-map { height: 340px; } }
@media (max-width: 560px) { .near-place input { width: 160px; } .lb-bar { grid-template-columns: 96px 1fr auto; } }

/* ---------- Campervan trips (29 Nov 2026) ---------- */
.camper-callout { border-left-color: #2f6f8f; }

/* Regional pages (30 Nov 2026) */
.region-intro p { font-size: 1.05rem; }
.region-stops { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 40px; }
.region-stops ul { padding-left: 1.1em; margin: 0; } .region-stops li { margin: 0 0 6px; }
.road-region { margin: 0 0 18px; }
.leaflet-tooltip.road-tip { font: 600 0.9rem/1.3 inherit; padding: 6px 10px; border-radius: 6px; }
.leaflet-tooltip.road-tip .small { font-weight: 400; color: #6b6257; }

/* Famous journeys (1 Dec 2026) */
table.advice { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.95rem; }
table.advice th, table.advice td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid rgba(0,0,0,.1); }
table.advice td { overflow-wrap: anywhere; }
.detail > div { min-width: 0; } /* stop wide content (tables) stretching the grid column on phones */
.journey-pin { width: 14px; height: 14px; border-radius: 50%; background: #b43b32; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.journey-pin.approx { background: #fff; border: 2px solid #b43b32; }
.journey-pin.end { width: 18px; height: 18px; background: #121c1b; }
ul.sources a { overflow-wrap: anywhere; }

/* Green lanes (2 Dec 2026) */
.lanes { display: grid; gap: 20px; }
.lane { border: 1px solid rgba(0,0,0,.12); border-radius: 10px; padding: 18px 20px; background: var(--paper, #fffdf7); }
.lane h3 { margin: 0 0 4px; }
.lane-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 10px 0 0; font-size: .95rem; }
.lane-facts dt { font-weight: 600; } .lane-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .lane-facts { grid-template-columns: 1fr; } .lane-facts dd { margin-bottom: 6px; } }
.not-listed li { margin-bottom: 8px; }
.lane-warn { margin: 12px 0 0; padding: 10px 12px; border-left: 4px solid #b8741c; background: rgba(245,181,83,.14); font-size: .95rem; }
.lane-note { margin: 12px 0 0; padding: 10px 12px; border-left: 4px solid #3b6e8f; background: rgba(59,110,143,.1); font-size: .95rem; }

/* Motorsport venues (2 Dec 2026) */
.map.tall { height: 520px; }
@media (max-width: 640px) { .map.tall { height: 420px; } }
.venue-filters { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; }
.venue-filter { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; cursor: pointer; }
.venue-filter .swatch { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.venue-list { padding-left: 1.1em; } .venue-list li { margin: 0 0 10px; overflow-wrap: anywhere; }
.venue-pin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.4); }

/* Planner: layers box in the map corner (2 Dec 2026) */
.map-layers { background: #fffdf7; border-radius: 8px; box-shadow: 0 1px 6px rgba(0,0,0,.25); padding: 6px 10px 8px; font-size: .85rem; max-width: 230px; }
.map-layers-toggle { display: block; width: 100%; border: 0; background: none; font: inherit; font-weight: 700; text-align: left; padding: 2px 0 4px; cursor: pointer; }
.map-layers-toggle::after { content: ' ▾'; } .map-layers.folded .map-layers-toggle::after { content: ' ▸'; }
.map-layers.folded { padding-bottom: 4px; } .map-layers.folded .map-layers-list { display: none; }
.map-layers-list label { display: flex; align-items: center; gap: 6px; margin: 3px 0; cursor: pointer; line-height: 1.25; }
.map-layers-list .stop-icon { flex: none; }

/* Planner: fun roads on the map, Take it with you (2 Dec 2026) */
.map-fun-btn { background: #f08a00; color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font: 700 .9rem var(--body, inherit); box-shadow: 0 2px 8px rgba(0,0,0,.3); cursor: pointer; }
.map-fun-btn.off { background: #fffdf7; color: #8a4f00; }
.take { margin-top: 14px; padding: 12px; border-radius: 10px; background: rgba(245,181,83,.16); border: 1px solid rgba(184,116,28,.35); }
.take .fun-head { margin-top: 0; }
.take-buttons { display: flex; flex-wrap: wrap; gap: 6px; }

/* Fun roads near a trip (2 Dec 2026) */
.fun-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 32px; }
.fun-cols h3 { margin: 8px 0 6px; }
.fun-roads { list-style: none; padding: 0; margin: 0 0 12px; } .fun-roads li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.fun-extra { display: inline-block; background: #f08a00; color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .8rem; font-weight: 700; margin-left: 4px; }

/* ---------- Phase 1 foundations (2 Dec 2026): typography, buttons, labels. Later rules win over the older ones above. ---------- */
body { background: var(--parchment); color: var(--text); font: 400 17px/1.7 var(--body); }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.2; letter-spacing: 0; }
h4 { font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.3; }
h1 em, h2 em, h3 em, .serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.hero h1 em, .page-head h1 em { color: var(--bronze); }
a { color: var(--asphalt); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--ease); }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--bronze); }
.kicker, .eyebrow, .cat { font: 600 .72rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-text); }
.on-dark .kicker, .on-dark .eyebrow, .hero .kicker, .page-head .kicker, .site-footer .kicker { color: var(--bronze); }
.mono, .stat, .stats dd, .facts dd .num { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.btn { border-radius: var(--r); font: 600 .92rem/1.2 var(--body); letter-spacing: .01em; transition: background-color var(--ease), border-color var(--ease), color var(--ease); }
.btn, .btn.primary, .btn.amber { background: var(--green); border-color: var(--green); color: var(--white); }
.btn:hover, .btn.primary:hover, .btn.amber:hover { background: var(--green-2); border-color: var(--green-2); color: var(--white); }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn.ghost:hover { background: rgba(23, 26, 25, .06); color: inherit; }
.on-dark .btn.ghost:hover, .hero .btn.ghost:hover, .page-head .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.chip { border-radius: var(--r); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; } }

/* ---------- Phase 2: main menu (2 Dec 2026) ---------- */
.site-header { background: var(--asphalt); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header .brand { font: 400 1.2rem/1 var(--display); letter-spacing: .01em; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-item { position: static; }
.nav .nav-top { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: 500 .9rem var(--body); color: #e6e3dc; padding: 20px 12px; text-decoration: none; position: relative; }
.nav .nav-top .chev { width: 12px; height: 12px; opacity: .7; transition: transform var(--ease); }
.nav .nav-top:hover, .nav .nav-top[aria-expanded="true"], .nav .nav-top[aria-current] { color: var(--white); }
.nav .nav-top[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 1px; background: var(--bronze); }
.nav .nav-top[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav a.nav-top::after { display: none; }
.nav a.nav-top[aria-current]::after { display: block; }
.nav .nav-cta { margin-left: 10px; padding: 10px 16px; background: var(--green); border: 1px solid var(--green); border-radius: var(--r); color: var(--white); font: 600 .88rem var(--body); text-decoration: none; letter-spacing: .01em; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current] { background: var(--green-2); border-color: var(--bronze); color: var(--white); }
.nav .nav-cta::after { display: none; }
.nav-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--asphalt); border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.has-menu.open > .nav-menu { display: block; }
@media (hover: hover) and (min-width: 1081px) { .has-menu:hover > .nav-menu { display: block; } }
.nav-menu-inner { max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 32px; display: flex; gap: 56px; }
.nav-col-head { font: 600 .7rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin: 0 0 12px; }
.nav-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-col a { display: inline-block; padding: 5px 0; color: #e6e3dc; text-decoration: none; font: 400 1rem var(--body); }
.nav-col a:hover, .nav-col a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--bronze); }
#menu-explore .nav-col:nth-child(2) ul { grid-template-columns: repeat(2, minmax(9rem, auto)); column-gap: 28px; }
@media (max-width: 1080px) {
  .nav { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: var(--asphalt); overflow-y: auto; padding: 8px 24px calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .nav-top { width: 100%; justify-content: space-between; padding: 18px 0; font: 400 1.5rem var(--display); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav .nav-top[aria-current]::after { left: 0; right: auto; width: 32px; bottom: 10px; }
  .nav-menu { position: static; border: 0; background: transparent; }
  .nav-menu-inner { flex-direction: column; gap: 18px; padding: 14px 0 20px; }
  #menu-explore .nav-col:nth-child(2) ul { grid-template-columns: repeat(2, 1fr); }
  .nav .nav-cta { display: block; margin: 24px 0 0; text-align: center; padding: 14px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Phase 2: footer ---------- */
.site-footer { background: #101211; color: #c9c7c1; padding: var(--section) 0 28px; }
.site-footer .cols { grid-template-columns: 1.6fr repeat(5, 1fr); gap: 36px; }
.site-footer .footer-brand .brand { font: 400 1.35rem/1 var(--display); color: var(--white); }
.site-footer .footer-brand p { color: #c9c7c1; }
.footer-head { font: 600 .7rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin: 0 0 14px; }
.site-footer ul a { color: #dcd9d2; font-size: .92rem; }
.site-footer a:hover { color: var(--white); }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); color: #a9aba7; }
@media (max-width: 1080px) { .site-footer .cols { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Phase 2: components (2 Dec 2026). Square-ish corners, no lifts or heavy shadows; circles stay circles. ---------- */
.chip, .card, .step, .filters, .toggle, .facts, .map, .stop-list li, .panel, .wp-list li, .mode-banner, .warnings div, .form fieldset,
.notice, .merch, .badge-panel, .cp-list li, .safety, .passport-bar, .report, .share-photos, .community-photos img, .playlist,
.hero .way, .fun-list li, .get-app, .get-app img, .get-app .install-help, .photo-previews img, .confirm-step, .event-card,
.event-date, .coming-card, .disclosure-box, .product-card, .trip-feature-img, .lb-form, .lb-stat, .lane, .map-layers,
.map-fun-btn, .take, .fun-extra, .card .mini-route, input, select, textarea { border-radius: var(--r); }
.card { background: var(--white); border: 1px solid var(--line); }
a.card { transition: border-color var(--ease); }
a.card:hover { transform: none; box-shadow: none; border-color: var(--slate); }
.card .thumb img, .event-card img, .coming-card img, .product-card img { transition: transform 500ms cubic-bezier(.2, .7, .2, 1); }
a.card:hover .thumb img, a.event-card:hover img, a.coming-card:hover img, a.product-card:hover img { transform: scale(1.03); }
.facts, .panel, .filters { background: var(--white); border: 1px solid var(--line); box-shadow: none; }
.chip { font-weight: 500; letter-spacing: .01em; }
input, select, textarea { border: 1px solid #cfc9bc; background: var(--white); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.map-layers { background: var(--white); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.map-fun-btn { box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
/* Long labels wrap instead of pushing the page sideways on small phones (found at 320-390px, 2 Dec 2026). */
.chip.tbc, .btn { white-space: normal; max-width: 100%; } .chip.tbc { display: inline-block; }

/* ---------- Phase 3: homepage (2 Dec 2026) ---------- */
/* Header: see-through over the homepage hero, solid once scrolled (site.js adds .scrolled) or when the menu is open. */
.page-home .site-header { position: fixed; left: 0; right: 0; top: 0; background: linear-gradient(180deg, rgba(10, 12, 11, .62) 0%, rgba(10, 12, 11, 0) 100%); border-bottom-color: transparent; transition: background-color var(--ease), border-color var(--ease); }
.page-home .site-header.scrolled, .page-home.nav-open .site-header, .page-home .site-header:has(.has-menu.open) { background: var(--asphalt); border-bottom-color: rgba(255, 255, 255, .08); }
.page-home .hero { min-height: min(84vh, 900px); padding-top: 60px; }
.hero .hero-label { color: var(--bronze); margin-bottom: 18px; }
.hero h1 { margin: 0 0 18px; }
.hero .hero-display { display: block; font: 400 clamp(2.7rem, 6.4vw, 5.25rem)/1.02 var(--display); letter-spacing: -.015em; max-width: 13ch; }
.hero .hero-h1-sub { display: block; margin-top: 16px; font: italic 400 clamp(1.1rem, 1.8vw, 1.45rem)/1.3 var(--serif); color: #ece8df; letter-spacing: 0; }
.hero p.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: #e4e0d8; max-width: 34em; }
.hero .btn.ghost-light { background: transparent; border: 1px solid rgba(255, 255, 255, .7); color: var(--white); }
.hero .btn.ghost-light:hover { background: rgba(255, 255, 255, .12); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; }
.section-head .more { font: 600 .82rem var(--body); letter-spacing: .04em; text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--bronze); padding-bottom: 2px; }

/* The Roads Less Travelled: one big, two small, no boxes */
.ed-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; }
.ed-side { display: grid; gap: 28px; }
.ed-tile { display: block; color: inherit; text-decoration: none; }
.ed-img { display: block; overflow: hidden; background: var(--line); }
.ed-tile.lead .ed-img { aspect-ratio: 3 / 2; }
.ed-tile.side .ed-img { aspect-ratio: 16 / 9; }
.ed-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
.ed-tile:hover .ed-img img { transform: scale(1.03); }
.ed-text { display: block; padding-top: 14px; }
.ed-title { display: block; font: 400 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--display); margin: 4px 0 8px; }
.ed-tile.side .ed-title { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.ed-sub { display: block; color: var(--muted); max-width: 42em; }
.ed-tile.side .ed-sub { font-size: .95rem; }
.ed-tile:hover .ed-title { text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (max-width: 860px) { .ed-grid { grid-template-columns: 1fr; } }

/* Destinations: tall photo tiles */
.dest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.dest-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: var(--white); text-decoration: none; background: var(--asphalt); }
.dest-tile picture, .dest-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
.dest-tile:hover img { transform: scale(1.03); }
.dest-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(10, 12, 11, .82) 100%); }
.dest-text { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; }
.dest-name { display: block; font: 400 1.6rem/1.05 var(--display); }
.dest-sub { display: block; font-size: .82rem; color: #e6e2da; margin-top: 6px; line-height: 1.35; }
.dest-tile:hover { color: var(--white); }
.dest-more { margin: 22px 0 0; font-size: .92rem; }
.dest-more .kicker { display: inline; margin-right: 8px; }
.all-roads { margin-top: 14px; }
.all-roads summary { cursor: pointer; font: 600 .85rem var(--body); color: var(--green); }
.all-roads ul { columns: 4 220px; padding: 14px 0 0; margin: 0; list-style: none; font-size: .88rem; }
.all-roads li { break-inside: avoid; padding: 2px 0; }
@media (max-width: 1080px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .dest-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .dest-name { font-size: 1.3rem; } .dest-sub { display: none; } }

/* Collections */
.coll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.coll-tile { display: block; color: inherit; text-decoration: none; }
.coll-tile.wide { grid-column: span 2; }
.coll-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.coll-tile.wide .coll-img { aspect-ratio: 16 / 9; }
.coll-img picture, .coll-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms cubic-bezier(.2, .7, .2, 1); }
.coll-tile:hover .coll-img img { transform: scale(1.03); }
.coll-text { display: block; padding-top: 12px; }
.coll-title { display: block; font: 400 1.6rem/1.1 var(--display); margin: 4px 0 6px; }
.coll-sub { display: block; color: var(--muted); font-size: .95rem; }
.coll-tile:hover .coll-title { text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.coll-intro p { font: 400 1.2rem/1.6 var(--serif); max-width: 40em; }
@media (max-width: 860px) { .coll-grid { grid-template-columns: 1fr 1fr; } .coll-tile.wide { grid-column: 1 / -1; } }
@media (max-width: 560px) { .coll-grid { grid-template-columns: 1fr; } }

/* Planner band: Racing Green. No small bronze text on green (3.3:1); labels use a light tint instead. */
.planner-band { background: var(--green); color: var(--white); }
.planner-band .kicker { color: #cfe0d6; }
.planner-band h2 { color: var(--white); }
.plan-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.plan-lead { font: italic 400 clamp(1.3rem, 2vw, 1.7rem)/1.3 var(--serif); margin: 0 0 18px; color: #f1eee6; }
.plan-copy p { color: #e3ebe6; max-width: 34em; }
.plan-form { display: grid; gap: 8px; background: rgba(0, 0, 0, .18); padding: 28px; border: 1px solid rgba(255, 255, 255, .16); }
.plan-form label { font: 600 .72rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #cfe0d6; }
.plan-form input { padding: 13px 14px; font-size: 1rem; border: 1px solid rgba(255, 255, 255, .25); }
.plan-form .btn.light { margin-top: 10px; background: var(--parchment); border-color: var(--parchment); color: var(--asphalt); }
.plan-form .btn.light:hover { background: var(--white); border-color: var(--white); color: var(--asphalt); }
.plan-alt { color: #e3ebe6; font-size: .9rem; margin-top: 6px; }
.plan-alt:hover { color: var(--white); }
.planner-band :focus-visible { outline-color: var(--parchment); }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Community */
.join-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.join-list li { border-right: 1px solid var(--line); }
.join-list li:last-child { border-right: 0; }
.join-list a { display: block; padding: 22px 22px 6px 0; margin-left: 22px; text-decoration: none; color: inherit; }
.join-list li:first-child a { margin-left: 0; }
.join-title { display: block; font: 700 1.1rem/1.25 var(--serif); margin-bottom: 6px; }
.join-sub { display: block; color: var(--muted); font-size: .9rem; }
.join-list a:hover .join-title { color: var(--green); text-decoration: underline; text-decoration-color: var(--bronze); }
@media (max-width: 860px) { .join-list { grid-template-columns: 1fr 1fr; } .join-list li { border-right: 0; border-bottom: 1px solid var(--line); } .join-list a { margin-left: 0; padding-right: 12px; } }
@media (max-width: 480px) { .join-list { grid-template-columns: 1fr; } }

/* The Collection */
.shop-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.shop-art { background: var(--asphalt); display: grid; place-items: center; aspect-ratio: 4 / 3; }
.shop-art img { width: 46%; height: auto; }
.shop-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.shop-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.shop-list .kicker { display: inline-block; min-width: 9.5em; margin: 0; }
@media (max-width: 860px) { .shop-grid { grid-template-columns: 1fr; gap: 28px; } }
.more-stories { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 18px; }
.more-stories ul { list-style: none; margin: 0; padding: 0; columns: 2 280px; column-gap: 40px; }
.more-stories li { break-inside: avoid; padding: 6px 0; font: 400 1.05rem/1.35 var(--serif); }
.more-stories a { text-decoration: none; } .more-stories a:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
/* Phase 3 fixes: photo label clears the see-through header; story headlines match the editorial type. */
@media (min-width: 861px) { .page-home .hero-tag { top: 92px; } }
.hero-tag-n { font: 400 1.4rem/1.05 var(--display); }
.hero-tag-k { color: var(--bronze); }
.story h3 { font: 400 clamp(1.25rem, 1.7vw, 1.5rem)/1.15 var(--display); letter-spacing: -.005em; }
.story.lead h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.06; }
.story.side h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
.story a:hover h3 { text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (max-width: 860px) { .page-home .hero .hero-photo figcaption { top: 68px; } } /* clear the see-through header on phones */

/* ---------- Phase 4: templates (2 Dec 2026) ---------- */
/* Cards: photo, place, name, short description, one quiet line of facts (no rating dots or chip rows). */
.card .body { padding: 16px 18px 18px; gap: 6px; }
.card .body .kicker { margin: 0; }
.card h3 { font: 400 1.35rem/1.15 var(--display); margin: 2px 0 4px; }
.card .body > p:not(.kicker):not(.card-facts) { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.card-facts { margin: auto 0 0; padding-top: 10px; font: 500 .78rem/1.3 var(--mono); color: var(--text); letter-spacing: .02em; border-top: 1px solid var(--line); }
.card-facts .near-dist, .near-dist { color: var(--green); font-weight: 600; margin-right: 6px; }
.card-facts .near-dist::after { content: " ·"; color: var(--muted); }
a.card:hover h3 { text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Stats strip under a road or trip header */
.stats-band { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.stats-strip { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 0; }
.stats-strip > div { padding: 0 22px; border-left: 1px solid var(--line); }
.stats-strip > div:first-child { padding-left: 0; border-left: 0; }
.stats-strip dt { font: 600 .66rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 4px; }
.stats-strip dd { margin: 0; font: 500 1rem/1.25 var(--mono); color: var(--text); }
.stats-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.stats-actions .btn { padding: 10px 16px; }
@media (max-width: 700px) { .stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; } .stats-strip > div { padding: 0; border: 0; } .stats-actions { width: 100%; } .stats-actions .btn { flex: 1 1 auto; text-align: center; } }

/* Editorial label above a descriptive heading */
.ed-label { margin: 0 0 6px; }
.detail .ed-label + h2, .prose .ed-label + h2, .continue .ed-label + h2 { margin-top: 0; }
.detail > div > .ed-label, .detail .prose .ed-label { margin-top: 44px; }
.detail > div > .prose:first-child .ed-label:first-child { margin-top: 0; }
.detail > div > .ed-label + h2 { margin-bottom: 16px; }
.callout .ed-label { margin-top: 0 !important; }
.callout .ed-label + h2 { font-size: 1.6rem; margin-bottom: 10px; }
.continue { margin-top: 56px; padding-top: 8px; }
.continue .ed-label { margin-top: 0; }
.continue .grid { margin-top: 18px; }
.continue-line { margin: 18px 0 0; font-size: .95rem; }
.continue-line .kicker { display: inline; margin-right: 8px; }
.prose p { font-size: 1.06rem; line-height: 1.75; }
/* Itinerary: a visual day-by-day timeline (Phase 4) */
.itinerary { counter-reset: d; list-style: none; padding: 0; margin: 8px 0 32px; border-left: 1px solid var(--line); }
.itinerary li { position: relative; padding: 0 0 28px 28px; margin: 0; }
.itinerary li::before { counter-increment: d; content: "Day " counter(d); position: static; display: block; width: auto; height: auto; background: none; border-radius: 0; font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 8px; padding: 0; }
.itinerary li::after { content: ""; position: absolute; left: -5px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--parchment); }
.itinerary li > strong:first-child { display: block; font: 400 1.4rem/1.2 var(--display); margin-bottom: 6px; }
.itinerary .day-links { margin-top: 10px; }

/* Articles (Phase 4): magazine reading, 720px column, quiet contents box */
.post-head h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); max-width: 18ch; }
.post-head > p:not(.post-meta) { font: italic 400 clamp(1.1rem, 1.6vw, 1.35rem)/1.45 var(--serif); color: #ece8df; max-width: 36em; }
.post-meta { font: 500 .78rem/1.4 var(--mono); letter-spacing: .04em; color: #d6d2ca; }
.article-layout .prose { font-size: 1.12rem; }
.article-layout .prose p, .article-layout .prose li { font-size: 1.12rem; line-height: 1.8; }
.article-layout .prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 1.8em 0 .5em; }
.article-layout .prose h3 { margin: 1.5em 0 .4em; }
.prose figure { margin: 36px 0; }
.prose figcaption, .prose .caption { font: italic 400 .92rem/1.45 var(--serif); color: var(--muted); margin-top: 10px; }
.prose blockquote { margin: 40px 0; padding: 0 0 0 24px; border-left: 2px solid var(--bronze); font: italic 400 clamp(1.3rem, 2vw, 1.6rem)/1.4 var(--serif); color: var(--asphalt); }
.prose blockquote p { font: inherit; }
.aside-block { border-top: 1px solid var(--bronze); padding-top: 14px; }
.aside-head { font: 600 .7rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-text); }
.toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
/* Directory filters (Phase 4) */
.filters { padding: 16px 18px; gap: 10px 14px; }
.filters .label { font: 600 .7rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); }
.toggle { border-radius: var(--r); border: 1px solid #cfc9bc; background: var(--white); font: 500 .85rem var(--body); padding: 7px 12px; }
.toggle[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
/* Phase 5: shop tiles in the house colours rather than flat amber (2 Dec 2026). */
.merch-card .merch-type { background: var(--asphalt); color: var(--bronze); border-bottom: 0; }
.merch-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.merch-card .merch-type.t-sticker, .merch-card .merch-type.t-poster, .merch-card .merch-type.t-tee, .merch-card .merch-type.t-journal { background: var(--asphalt); color: var(--bronze); }
/* PageSpeed fixes (2 Dec 2026): readable alt text on the dark shop panel; roomier tap targets. */
.shop-art { color: var(--parchment); }
.more-stories li { padding: 4px 0; }
.more-stories a { display: inline-block; padding: 8px 0; }
.the-collection .row { margin-top: 28px; }

/* Menu fixes (Ryan's screenshot, 2 Dec 2026): the open panel sits above the logo that hangs below the bar, and on the
   homepage the see-through bar turns solid however a menu is opened (click, keyboard or hover). */
.nav-menu { z-index: 1; } /* under the logo, which stays whole (Ryan, 2 Dec 2026) */
@media (min-width: 1081px) { .nav-menu-inner { padding-top: 64px; } } /* columns start below the logo that hangs under the bar */
.page-home .site-header:has(.has-menu:focus-within) { background: var(--asphalt); border-bottom-color: rgba(255, 255, 255, .08); }
@media (hover: hover) and (min-width: 1081px) { .page-home .site-header:has(.has-menu:hover) { background: var(--asphalt); border-bottom-color: rgba(255, 255, 255, .08); } }
/* Homepage bar: the fade was repeating into the 1px see-through bottom edge and drew a dark line (Ryan, 2 Dec 2026). */
.page-home .site-header { background-repeat: no-repeat; background-origin: border-box; }

/* Cookie message (3 Dec 2026): quiet bar at the bottom, shown once. */
.notice-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 1100; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--asphalt); color: #e6e3dc; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); font-size: .9rem; }
.notice-bar[hidden] { display: none; }
.notice-bar p { margin: 0; flex: 1; line-height: 1.5; }
.notice-bar a { color: var(--white); text-decoration-color: var(--bronze); }
.notice-bar :focus-visible { outline-color: var(--bronze); }
@media (max-width: 480px) { .notice-bar { flex-direction: column; align-items: stretch; text-align: left; } .notice-bar .btn { width: 100%; } }

/* Menu panel links (Ryan, 4 Dec 2026): an old rule drew a 2px line 12px up every menu link on hover, which showed as a
   strikethrough in the panels. Panel links now get their own highlight: brighter text, a bronze underline below the
   words and a small nudge. The current page is shown in bronze. */
.nav-menu a::after { content: none !important; display: none !important; }
.nav-col a { position: relative; padding: 6px 0; color: #e6e3dc; text-decoration: none; transition: color var(--ease), transform var(--ease); }
.nav-col a:hover, .nav-col a:focus-visible { color: var(--white); text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: 6px; transform: translateX(3px); }
.nav-col a[aria-current="page"] { color: var(--bronze); }
@media (prefers-reduced-motion: reduce) { .nav-col a:hover { transform: none; } }
