/* Visitors Book. Dark peat bands for pictures and the map; limestone paper for reading. Two typefaces, eight styles. */
:root {
  --peat: #131d18;
  --peat-2: #1b2a22;
  --paper: #f3f4ef;
  --lime: #e6e9e1;
  --ink: #18221d;
  --muted: #4e5c55;
  --moss: #2b6650;
  --lichen: #d5dd93;
  --on-peat: #e9ece4;
  --on-peat-muted: #aab6ad;
  --river: #6d9fc7;
  --road: #b28f55;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wide: 1240px;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; background: var(--paper) }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text) }
img { max-width: 100%; display: block }
a { color: var(--moss); text-underline-offset: 3px }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--lichen); outline-offset: 3px }
.in { max-width: var(--wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r) }
.read { max-width: 720px }

/* the eight type styles */
.t-hero { font: 600 clamp(52px, 9vw, 112px)/0.98 var(--display); letter-spacing: -0.015em; margin: 0; text-wrap: balance }
.t-h2 { font: 600 clamp(36px, 5vw, 56px)/1.04 var(--display); letter-spacing: -0.01em; margin: 0; text-wrap: balance }
.t-year { font: 600 clamp(40px, 5vw, 56px)/1 var(--display); font-variant-numeric: lining-nums tabular-nums; margin: 0 }
.t-quote { font: 500 clamp(23px, 2.4vw, 28px)/1.32 var(--display); margin: 0 }
.t-card { font: 600 clamp(24px, 2.2vw, 28px)/1.1 var(--display); margin: 0 }
.t-body { font: 400 17px/1.6 var(--text) }
.t-small { font: 400 14px/1.5 var(--text) }
.t-label { font: 600 13px/1.3 var(--text); letter-spacing: .09em; text-transform: uppercase }

/* header */
.top { background: var(--peat); color: var(--on-peat); padding-top: env(safe-area-inset-top, 0px) }
.top .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-peat); text-decoration: none }
.brand svg { width: 150px; height: 30px; flex: none }
.brand span { font: 600 13px/1.3 var(--text); letter-spacing: .09em; text-transform: uppercase }
.nav { display: flex; gap: 18px; flex-wrap: wrap }
.nav a { color: var(--on-peat); text-decoration: none; font: 600 13px/1.3 var(--text); letter-spacing: .09em; text-transform: uppercase; padding-block: 6px }
.nav a[aria-current="page"] { color: var(--lichen) }
@media (max-width: 560px) { .top .in { gap: 10px } .brand span { display: none } .brand svg { width: 96px; height: 20px } .nav { gap: 14px } }

/* dark bands */
.dark { background: var(--peat); color: var(--on-peat) }
.dark a { color: var(--lichen) }
.dark .muted { color: var(--on-peat-muted) }
.muted { color: var(--muted) }

/* home hero */
.hero { padding-block: 40px 56px }
.hero .grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: end }
.hero .lede { margin: 22px 0 0; max-width: 34ch }
.hero figure { margin: 0 }
.hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--peat-2) }
figcaption { margin-top: 10px }
@media (max-width: 860px) { .hero .grid { grid-template-columns: minmax(0, 1fr); gap: 28px } .hero figure img { aspect-ratio: 3 / 2 } }

.feature { padding-block: 72px }
.feature blockquote { margin: 0 }
.feature blockquote p { max-width: 17em }
.feature p { margin: 18px 0 0 }

.mapband { padding-block: 56px 64px }
.mapband .head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px }
.mapband .head p { margin: 0; max-width: 40ch }
.mapwrap { position: relative; background: var(--peat-2); touch-action: none }
svg.map { display: block; width: 100%; height: auto; cursor: grab; user-select: none }
svg.map .river { fill: none; stroke: var(--river); stroke-linecap: round; stroke-linejoin: round }
svg.map .water { fill: var(--river); fill-opacity: .4; stroke: var(--river) }
svg.map .road { fill: none; stroke: var(--road); stroke-linecap: round; opacity: .75 }
svg.map .rail { fill: none; stroke: var(--on-peat-muted) }
svg.map .place { cursor: pointer }
svg.map .place circle { fill: var(--lichen); stroke: var(--peat-2) }
svg.map .place.here circle { fill: #f2a36b }
svg.map .place text { fill: var(--on-peat); font-family: var(--text); font-weight: 400; paint-order: stroke; stroke: var(--peat-2); stroke-linejoin: round }
.zoom { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px }
.zoom button { width: 40px; height: 40px; border: 1px solid #3b4d43; background: var(--peat); color: var(--on-peat); font: 400 22px/1 var(--text); cursor: pointer }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px }
.key i { display: inline-block; width: 20px; border-top: 2px solid; vertical-align: middle; margin-right: 6px }

/* place cards */
.places { padding-block: 64px }
.cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px }
@media (max-width: 560px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px } .cards .t-card { font-size: 21px } }
.cards a { display: grid; gap: 10px; color: var(--ink); text-decoration: none }
.cards img, .cards .noimg { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--lime) }
.cards li:nth-child(5n+1) img { aspect-ratio: 1 / 1 }
.cards li:nth-child(5n+3) img { aspect-ratio: 5 / 4 }
.cards .noimg { display: grid; place-items: center }
.cards img.cardmap { aspect-ratio: 4 / 5 !important; object-fit: cover }
.cards .noimg svg { width: 70%; height: auto }
.cards a:hover .t-card { color: var(--moss) }
.dark .cards a { color: var(--on-peat) }
.dark .cards a:hover .t-card { color: var(--lichen) }
.dark .cards img, .dark .cards .noimg { background: var(--peat-2) }

/* timeline */
.timeline { padding-block: 56px }
.timeline svg { display: block; width: 100%; height: auto }
.timeline .tl-axis { stroke: var(--on-peat-muted) }
.timeline text { fill: var(--on-peat-muted); font-family: var(--text); font-size: 14px }
.timeline .tl-dot { fill: var(--lichen) }
.scroll-x { overflow-x: auto }

/* place page */
.phero { padding-block: 36px 48px }
.phero .grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 44px; align-items: end }
.phero figure { margin: 0 }
.phero figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--peat-2) }
.phero .meta { margin: 16px 0 0 }
.phero .crumb { margin: 0 0 14px }
.phero .crumb a { color: var(--on-peat-muted); text-decoration: underline; text-underline-offset: 3px }
@media (max-width: 860px) { .phero .grid { grid-template-columns: minmax(0, 1fr); gap: 24px } .phero figure { order: -1 } .phero figure img { aspect-ratio: 5 / 4 } }
.gist { padding-block: 56px 24px }
.gist .t-label { color: var(--moss); margin: 0 0 12px }
.gist p.t-quote { max-width: 34ch }
.ptime { padding-block: 8px 24px }
.ptime svg { display: block; width: 100%; height: auto; min-width: 560px }
.ptime .tl-axis { stroke: var(--muted) }
.ptime text { fill: var(--muted); font-family: var(--text); font-size: 14px }
.ptime a .tl-dot { fill: var(--moss) }
.quotes { list-style: none; margin: 0; padding: 0 0 48px }
.quotes > li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 36px; padding-block: 44px; border-top: 1px solid #cfd5cb; scroll-margin-top: 20px }
.quotes .t-year { color: var(--moss) }
.quotes .when { margin: 6px 0 0 }
.quotes blockquote { margin: 0; max-width: 34ch }
.quotes .who { margin: 18px 0 0 }
.quotes .who b { font-weight: 600 }
.quotes .src { margin: 6px 0 0; max-width: 62ch }
.quotes .note { margin: 10px 0 0; max-width: 60ch }
.quotes > li.plate { display: block; padding-block: 40px }
.quotes .plate figure { margin: 0 }
.quotes .plate img { width: 100%; max-height: 78vh; object-fit: contain; background: var(--lime) }
@media (max-width: 700px) { .quotes > li { grid-template-columns: minmax(0, 1fr); padding-block: 36px } }
.where { padding-block: 56px 64px }
.where .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start }
@media (max-width: 860px) { .where .grid { grid-template-columns: minmax(0, 1fr) } }
.where svg { display: block; width: 100%; height: auto; background: var(--peat-2) }
.near { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px }
.near a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; text-decoration: none; color: var(--on-peat) }
.near img, .near .noimg { width: 96px; aspect-ratio: 1 / 1; object-fit: cover; background: var(--peat-2) }
.near .t-card { color: var(--on-peat) }
.near small { display: block; color: var(--on-peat-muted); font: 400 14px/1.5 var(--text) }

/* places page, by dale */
.area + .area { margin-top: 64px }
.area .cards { margin-top: 24px }

/* places page lead */
.lead { margin: 32px 0 0 }
.lead img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; background: var(--peat-2) }
@media (max-width: 700px) { .lead img { aspect-ratio: 16 / 9 } }

/* where Craven ends */
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.layer-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #3b4d43; background: var(--peat); color: var(--on-peat); padding: 7px 12px; cursor: pointer }
.layer-chip[aria-pressed="false"] { color: var(--on-peat-muted); border-style: dashed }
.layer-chip[aria-pressed="false"] i { opacity: .35 }
.layer-chip i { width: 14px; height: 14px; display: inline-block }
svg.region { display: block; width: 100%; height: auto; background: var(--peat-2) }
.def { padding-block: 56px 8px; border-top: 1px solid #cfd5cb }
.towns { margin: 8px 0 32px; max-width: 70ch }
.towns summary { cursor: pointer; color: var(--moss); font-weight: 600 }

/* near me */
.go, .dark .go { display: inline-block; background: var(--lichen); color: var(--peat); border: 0; padding: 14px 22px; font: 600 17px/1.2 var(--text); text-decoration: none; cursor: pointer }
.go:hover { background: #e4eaa8 }
svg.region .you { fill: #f2a36b; stroke: #131d18; stroke-width: 4 }
svg.region { cursor: crosshair }
.here-sec { padding-block: 48px }
.here-sec + .here-sec:not(.dark) { border-top: 1px solid #cfd5cb }
.here-sec blockquote { margin: 10px 0 0; max-width: 34ch }
.here-sec .who { margin: 14px 0 0 }
.here-table { border-collapse: collapse; margin: 18px 0 12px; width: 100%; max-width: 640px }
.here-table th, .here-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid #cfd5cb; vertical-align: top }
.here-table th { font-weight: 600 }
.here-cards { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px }
.here-cards li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start }
.here-cards img { width: 112px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--lime) }
.here-cards p { margin: 0 0 6px }
.here-cards .t-card a { color: var(--ink); text-decoration: none }
.here-writers { list-style: none; margin: 18px 0 0; padding: 0; columns: 2 260px; column-gap: 32px }
.here-writers li { margin: 0 0 8px; break-inside: avoid }

/* writers */
svg.lives { display: block; width: 100%; height: auto; min-width: 760px }
svg.lives text { fill: var(--on-peat); font: 400 14px var(--text) }
svg.lives a:hover text { fill: var(--lichen) }
.phero img.por { width: 100%; max-width: 448px; max-height: 70vh; object-fit: contain; background: var(--peat-2) }
.facts { padding-block: 48px 8px }
.factlist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 22px; max-width: 62ch }
.factlist p { margin: 0 0 6px }

/* writers and about */
.page-head { padding-block: 48px 56px }
.page-head p { margin: 18px 0 0; max-width: 46ch }
.writers { list-style: none; margin: 0; padding: 24px 0 64px }
.writers li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 36px; padding-block: 28px; border-top: 1px solid #cfd5cb }
.writers .t-year { color: var(--moss) }
.writers p { margin: 6px 0 0; max-width: 62ch }
@media (max-width: 700px) { .writers li { grid-template-columns: minmax(0, 1fr) } }
.prose { padding-block: 48px 72px }
.prose h2 { margin: 48px 0 12px }
.prose p, .prose li { max-width: 64ch }

/* footer */
.foot { padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)) }
.foot svg.profile { display: block; width: 100%; height: auto; margin-bottom: 28px }
.foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px }
.foot p { margin: 0 0 8px }
.profile path { fill: var(--peat-2); stroke: var(--lichen); stroke-width: 1.5 }
.profile text { fill: var(--on-peat-muted); font: 400 14px var(--text) }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important } }

/* Journeys */
svg.journey { cursor: default; background: #101915 }
svg.journey a path:hover { stroke-width: 6 }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -1px }
details.stops { margin-top: 22px }
details.stops summary { cursor: pointer; color: var(--lichen) }
.stoplist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; max-width: 62ch }
.stoplist li { border-left: 3px solid #3d5246; padding-left: 14px }
.stoplist li.in-craven { border-left-color: var(--on-peat) }
svg.journey.phone { display: none }
@media (max-width: 600px) { svg.journey.desk { display: none } svg.journey.phone { display: block } }
.factlist .t-small, .stoplist .t-small, ol.quotes .t-small { max-width: 56ch }
svg.layers .jr { cursor: pointer }
svg.layers .jr .ln { stroke: var(--c); opacity: .55 }
svg.layers.any .jr .ln { stroke: #8fa197; opacity: .25 }
svg.layers.any .jr.on .ln { stroke: var(--c); opacity: 1; stroke-width: 4 }
svg.layers .jr .st { display: none }
svg.layers .jr.on .st { display: inline }
.jchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px }
.jchips button { font: 600 13px var(--text); color: var(--on-peat); background: transparent; border: 1px solid #3d5246; border-radius: 999px; padding: 8px 12px; min-height: 40px; cursor: pointer }
.jchips button[aria-pressed="true"] { background: #2b3f34; border-color: var(--on-peat) }
.jchips button .swatch { width: 10px; height: 10px; margin-right: 6px; vertical-align: 0 }
.jpanels { display: grid; gap: 14px; margin-top: 16px; max-width: 62ch }
.jpanel .swatch { width: 12px; height: 12px }
@media (max-width: 600px) {
  .jchips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none }
  .jchips button { flex: none }
}

/* Journeys page: the map leads */
.jlayout { padding-block: 32px 48px }
.jgrid { display: grid; gap: 16px; grid-template-areas: "head" "chips" "map" "panels" }
.jhead { grid-area: head } .jchips { grid-area: chips } .jmap { grid-area: map } .jpanels { grid-area: panels }
.jhead p { margin: 14px 0 0; max-width: 46ch }
.jchips { margin: 0 }
svg.layers { background: transparent }
@media (min-width: 900px) {
  .jlayout { padding-block: 24px 48px }
  .jgrid { grid-template-columns: minmax(260px, 340px) 1fr; grid-template-areas: "head map" "chips map" "panels map"; grid-template-rows: auto auto 1fr; column-gap: 40px; align-items: start }
  .jhead .t-hero { font-size: clamp(52px, 5vw, 72px) }
  .jmap { position: sticky; top: 12px }
  .jmap svg.layers { height: calc(100vh - 96px); min-height: 520px; width: 100% }
  .jpanels { margin-top: 0 }
}
/* writer portraits: one shape, the face crop filling it */
.wcards li img { aspect-ratio: 4 / 5 !important; object-fit: cover; object-position: center top }

/* Volunteer tasks */
.jobs { padding-block: 40px 8px }
.tasklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) }
.task { border: 1px solid #d4d8cf; padding: 18px 20px 14px; background: #fff }
.task h3 { margin: 4px 0 10px }
.task dl { margin: 0; display: grid; gap: 2px }
.task dt { margin-top: 8px; color: var(--moss) }
.task dd { margin: 0; overflow-wrap: anywhere }
.jstatus { display: inline-block; margin: 0; padding: 2px 8px; border: 1px solid var(--moss); color: var(--moss); text-transform: uppercase }
.task[data-status="done"] { background: #f3f4ef }
.howto { max-width: 56ch; padding-left: 20px; margin: 14px 0 0; display: grid; gap: 6px }
/* a page head that leads straight into its content */
.page-head.compact { padding-block: 28px 40px }
.page-head.compact .t-hero { font-size: clamp(52px, 6vw, 80px) }
.page-head.compact p.t-body { margin-top: 12px; max-width: 60ch }
.page-head { padding-block: 28px 40px }
.page-head .t-hero { font-size: clamp(52px, 6vw, 80px) }
/* Writers: their faces beside the title */
.whead { display: grid; gap: 22px }
.wfaces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px }
.wfaces img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top }
.wfaces a:hover img { outline: 2px solid var(--lichen); outline-offset: -2px }
@media (min-width: 900px) { .whead { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 48px } }
/* home: the picture at its own landscape shape, title and picture both on a laptop's first screen */
@media (min-width: 861px) {
  .hero { padding-block: 24px 40px }
  .hero .grid { align-items: center; gap: 40px }
  .hero .t-hero { font-size: clamp(56px, 5.6vw, 88px) }
  .hero figure img { aspect-ratio: 3 / 2; max-height: calc(100vh - 170px); object-fit: cover }
}

/* Help the site */
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); counter-reset: s }
.steps li { counter-increment: s; border-top: 2px solid var(--moss); padding-top: 10px }
.steps li .t-card::before { content: counter(s) ". "; color: var(--moss) }
.steps p { margin: 0 0 6px }
.help-forms { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start }
.hform { display: grid; gap: 12px; background: #fff; border: 1px solid #d4d8cf; padding: 20px }
.hform h2 { margin: 0 }
.hform p { margin: 0 }
.hform label.t-label { display: grid; gap: 6px; color: var(--moss) }
.hform input:not([type=checkbox]), .hform select, .hform textarea { font: 400 16px var(--text); color: var(--ink); padding: 10px 12px; border: 1px solid #b9c0b4; background: var(--paper); width: 100%; box-sizing: border-box }
.hform label.check { display: flex; gap: 10px; align-items: flex-start }
.hform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0 }
.hform button { justify-self: start }
.hstatus { min-height: 1.4em; color: var(--moss) }
.cards img.wide { aspect-ratio: 5 / 4 !important }

/* Walks and the stamp book */
.grade { display: inline-block; font: 600 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border: 1.5px solid currentColor; vertical-align: 2px; margin-right: 6px }
.grade-easy { color: #7fb58f } .grade-moderate { color: #d5b56b } .grade-hard { color: #e08f72 }
.places .grade-easy { color: #2e7046 } .places .grade-moderate { color: #8a6a1c } .places .grade-hard { color: #a5452a }
.walkcards li a { gap: 8px }
.walkcards li img { aspect-ratio: 3 / 2 !important }
.wmeta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.wprog { color: var(--moss); font-weight: 600 }
.dark .wprog { color: var(--lichen) }
svg.walkmap { display: block; width: 100%; height: auto; background: var(--peat-2) }
svg.profile { display: block; width: 100%; height: auto }
svg.profile text { fill: var(--on-peat-muted); font: 400 13px var(--text) }
.wstops { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 26px }
.wstopcard { display: grid; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid #d4d8cf }
@media (min-width: 760px) { .wstopcard { grid-template-columns: 340px minmax(0, 1fr) } }
.wstopcard .wpic { margin: 0 }
.wstopcard .wpic img { width: 100%; height: auto; display: block }
.wbody { min-width: 0; display: grid; gap: 12px; align-content: start }
.wbody blockquote { margin: 0 }
.wbody .t-quote { margin: 0 0 6px; max-width: 52ch }
.stamprow { display: flex; gap: 20px; align-items: center; flex-wrap: wrap }
.stampwrap { display: grid; justify-items: center; gap: 4px; width: 150px }
.stampimg { width: 150px; height: 150px; border-radius: 50%; opacity: .22; filter: grayscale(1); transition: opacity .35s, filter .35s, transform .35s }
.stamped .stampimg, .bookstamp.stamped img { opacity: 1; filter: none; transform: rotate(var(--tilt, 0deg)) }
.justnow .stampimg { animation: press .5s ease-out }
@keyframes press { 0% { transform: scale(1.18) rotate(var(--tilt, 0deg)); opacity: .3 } 60% { transform: scale(.96) rotate(var(--tilt, 0deg)) } 100% { transform: scale(1) rotate(var(--tilt, 0deg)); opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .justnow .stampimg { animation: none } .stampimg { transition: none } }
.stampmark { color: var(--moss); text-align: center; min-height: 1.2em }
.stampplain { display: grid; place-items: center; border: 2px solid var(--moss); color: var(--moss); font: 600 15px/1.2 var(--display); text-align: center; padding: 18px }
.stampbtns { display: grid; gap: 8px; justify-items: start; max-width: 34ch }
.linkbtn { background: none; border: 0; padding: 0; font: 400 14px var(--text); color: var(--moss); text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.go:disabled { background: #e6e9e1; color: var(--muted); cursor: default }
.certificate { margin: 34px 0 0; padding: 34px 28px; text-align: center; background: #fbfbf7; border: 1px solid #c9cfc1; outline: 1px solid #c9cfc1; outline-offset: -8px; display: grid; gap: 6px; justify-items: center }
.certificate .certtitle { font: 600 clamp(30px, 4vw, 42px)/1.1 var(--display); margin: 6px 0 0 }
.certificate .certline { font: 500 20px/1.3 var(--display); font-style: italic; margin: 0 }
.certificate .certname { font: 600 30px/1.2 var(--display); margin: 12px 0 2px; border-bottom: 1px solid #b9c0b4; padding: 0 24px 4px }
.certificate p { margin: 0 }
.certlabel { display: grid; gap: 4px; margin-top: 14px; color: var(--muted) }
.certlabel input { font: 400 15px var(--text); padding: 8px 10px; border: 1px solid #b9c0b4; background: #fff; text-align: center }
.book { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) }
.bookstamp a { display: grid; gap: 4px; justify-items: center; text-align: center; color: var(--ink); text-decoration: none }
.bookstamp img, .bookstamp .stampplain { width: 120px; height: 120px; border-radius: 50%; opacity: .22; filter: grayscale(1) }
.bookstamp.stamped .stampplain { opacity: 1 }
.cautions { margin-top: 14px; max-width: 62ch; border-left: 2px solid var(--lichen); padding-left: 12px }
.cautions ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--on-peat) }
/* name buttons on a light section: dark ink, the pressed one filled */
.places .jchips button, section:not(.dark) .jchips button { color: var(--ink); border-color: #9aa79f; background: #fff }
.places .jchips button[aria-pressed="true"], section:not(.dark) .jchips button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: #fff }
.places .jchips button:hover { border-color: var(--moss) }
.qcontext { margin: 0 0 8px; font-weight: 600; max-width: 60ch }
.cnote { margin: 0 0 10px; padding: 8px 12px; border-left: 3px solid #b28f55; background: #f6f1e6; color: #4a3f2a; max-width: 60ch }
.cnote a { color: inherit }

/* Quotations as cards: two columns on a wide screen; the full source folds away */
.qlist { padding-top: 28px }
.qfilter { margin: 0 0 18px }
.quotes { display: grid; gap: 16px; padding-bottom: 48px }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px } }
.quotes > li { display: grid; grid-template-columns: none; gap: 8px; padding: 20px 22px 16px; border: 1px solid #d4d8cf; border-top: 1px solid #d4d8cf; background: #fff; align-content: start }
.quotes > li.plate { grid-column: 1 / -1; padding: 0; border: 0; background: none }
.quotes .qwhen { margin: 0; color: var(--moss) }
.quotes .qwhen .t-year { font: 600 15px/1 var(--text); color: var(--moss) }
.quotes blockquote { margin: 0; max-width: none }
.quotes .t-quote { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.32 }
.quotes .who { margin: 4px 0 0 }
.quotes details.src summary { cursor: pointer; color: var(--moss); width: max-content }
.quotes details.src p { margin: 6px 0 0 }
.quotes .qcontext { font-weight: 600; margin: 0 }
.quotes > li[hidden] { display: none }
.quotes > li.plate figure { margin: 0 }
.quotes > li.plate img { display: block; max-height: 440px; width: auto; max-width: 100%; margin: 0 auto }
.jchips button[aria-pressed="true"] .muted { color: inherit; opacity: .8 }

/* The guide: a guidebook, not adverts */
.gcards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px }
@media (min-width: 900px) { .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start } }
.gcard { display: grid; gap: 8px; padding: 20px 22px 16px; background: #fff; border: 1px solid #d4d8cf }
.gcard blockquote { margin: 4px 0 0 }
.gcard .t-quote { font-size: clamp(19px, 1.6vw, 22px) }
.gfoot { margin: 2px 0 0; color: var(--muted) }

/* family stories at each walk stop */
.tale { background: #f3f1e8; border-left: 3px solid var(--moss); padding: 14px 16px; display: grid; gap: 8px; max-width: 60ch }
.tale .t-label { margin: 0 }
.taletext { font: 400 19px/1.5 var(--display); margin: 0; color: var(--ink) }
.taletry { margin: 0; font: 400 15px/1.45 var(--text) }
.taletry .t-label { display: inline; margin-right: 6px; color: var(--moss) }
.famline { margin-top: 12px; max-width: 56ch; font-style: italic }
.walkcards .hook { color: var(--ink) }
/* a stamp stays hidden until it is collected */
.stampwrap, .bookstamp a { position: relative }
.wstopcard:not(.stamped) .stampimg, .bookstamp:not(.stamped) img { opacity: 0 }
.wstopcard:not(.stamped) .stampwrap::before, .bookstamp:not(.stamped) a::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 146px; height: 146px; border: 2px dashed #b9c0b4; border-radius: 50% }
.bookstamp:not(.stamped) a::before { width: 116px; height: 116px }
.certshare { margin-top: 12px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center }
@media print { body * { visibility: hidden } .certificate, .certificate * { visibility: visible } .certificate { position: absolute; inset: 0 auto auto 0; width: 100% } .certlabel, .certshare { display: none } }
.taleaudio { width: 100%; max-width: 420px; height: 36px }

/* ---------- town pages ---------- */
.tglance, .tday, .tpois, .train { padding-block: 56px 24px }
.glance { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 28px }
.glance li { border-top: 2px solid var(--moss); padding-top: 12px }
.glance .t-label { color: var(--moss); margin: 0 0 6px }
.glance p { margin: 0; font: 400 17px/1.55 var(--text) }
.glance .t-card { margin: 0 0 6px }
a.src { font: 400 14px var(--text); color: var(--muted); margin-left: 4px; text-decoration: underline; text-underline-offset: 3px }
.dark a.src { color: var(--on-peat-muted) }
.tevent { margin-top: 28px; padding: 18px 20px; background: var(--lime); border-left: 4px solid var(--moss); max-width: 62ch }
.tevent p { margin: 0 0 6px }
.tsteps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 40px }
.tstep { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; border-top: 1px solid #cdd3c9; padding-top: 18px }
.tstep .tsn .t-label { color: var(--moss) }
.tstep .tsb { max-width: 66ch }
.tstep .tsb img { width: 100%; max-width: 520px; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 14px; background: var(--lime) }
.tstep h3 { margin: 0 0 8px }
.tstep h3 a { color: var(--ink); text-decoration: none }
.tstep h3 a:hover { color: var(--moss) }
.tstep p { margin: 0 0 10px; font: 400 17px/1.6 var(--text) }
.tstale { margin: 12px 0; padding: 12px 16px; background: var(--lime) }
.tstale summary { cursor: pointer; font: 600 16px var(--text); color: var(--moss) }
.tstale p { margin: 10px 0 0 }
.tstale audio { width: 100%; margin-top: 10px }
.told { margin: 14px 0 0; padding: 0 0 0 16px; border-left: 3px solid var(--lichen) }
.told p { font: 500 21px/1.4 var(--display); margin: 0 0 6px }
@media (max-width: 600px) { .tstep { grid-template-columns: minmax(0, 1fr); gap: 6px } }
.tmap { padding-block: 56px }
.tchips { margin: 18px 0 16px }
.tchips i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px }
.tchips i.dia { background: var(--lichen); border-radius: 0; transform: rotate(45deg) scale(.8) }
.tchips button[aria-pressed="false"] { opacity: .55; border-style: dashed }
svg.townmap { display: block; width: 100%; height: auto; min-width: 640px }
svg.townmap text { pointer-events: none }
.tklists { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px 32px; margin-top: 26px }
.tkl h3 { margin: 0 0 8px; color: var(--on-peat) }
.tkl h3 i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px }
.tkl ul { list-style: none; margin: 0; padding: 0 }
.tkl li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #2f3d35; font: 400 16px/1.4 var(--text) }
.tkl a { color: var(--on-peat); text-decoration: none }
.tkl a:hover { color: var(--lichen); text-decoration: underline }
.tkl .mins { color: var(--on-peat-muted); white-space: nowrap }
.ttrail { padding-block: 56px }
.tstops { margin: 18px 0 0; padding-left: 22px; columns: 2; column-gap: 40px; font: 400 18px/1.8 var(--text) }
.tstops a { color: var(--on-peat) }
@media (max-width: 560px) { .tstops { columns: 1 } }
.btn { display: inline-block; padding: 12px 20px; background: var(--lichen); color: var(--peat); font: 600 17px var(--text); text-decoration: none }
.btn:hover { background: #e3eaa6 }
.dark a.btn, a.btn { color: var(--peat); text-decoration: none }
.tkl li small { display: block; color: var(--on-peat-muted); font-size: 14px }
.cards img.cardstamp { object-fit: contain; padding: 14%; background: #f3f4ef; border: 1px solid #dde2d8; box-sizing: border-box }
.tev { padding-block: 28px 0 }
.tev .tevent { margin-top: 0 }
.tplans { margin: 18px 0 8px; align-items: center }
.twet { display: inline-flex; align-items: center; gap: 8px; font: 400 16px var(--text); margin-left: 8px }
.twet input { width: 20px; height: 20px; accent-color: var(--moss) }
.ttoday:empty, .tplantime:empty { display: none }
.ttoday { color: var(--moss); font-weight: 600 }
.tthings { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 26px }
.tthing { display: flex; flex-direction: column; background: #fff; border: 1px solid #dde2d8 }
.tthing > img, .tthing picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--lime); display: block }
.tthing img.tstamp { object-fit: contain; padding: 12%; box-sizing: border-box; background: #f3f4ef }
.tthing .tcap { margin: 8px 16px 0 }
.ttb { padding: 14px 16px 16px }
.ttb h3 { margin: 0 0 8px; font: 600 21px/1.3 var(--text) }
.ttb p { margin: 0 0 10px; font: 400 16px/1.55 var(--text) }
.tmeta { color: var(--muted) }
.topen, .tmarket { display: inline-block; padding: 3px 10px; background: var(--lime); color: var(--ink) }
.topen.on, .tmarket { background: #d9ecd9; color: #1d4a33; font-weight: 600 }
.topen.off { background: #f1e6d6; color: #6b4a1d }
.allq summary { list-style: none; cursor: pointer; margin-bottom: 18px }
.allq summary::-webkit-details-marker { display: none }
.allq[open] summary { display: none }
.tthing[hidden] { display: none }
@media (max-width: 560px) { .twet { flex-basis: 100%; margin: 10px 0 0 } }
.tlisten { margin-top: 22px; padding: 14px 16px; border: 1px solid #3a4a41; max-width: 420px }
.tlisten .t-label { color: var(--lichen); margin: 0 0 4px }
.tlisten p { margin: 0 0 8px; color: var(--on-peat) }
.tlisten audio { width: 100% }
.tfilm { padding-block: 40px }
.tfilm video { display: block; width: 100%; max-width: 720px; aspect-ratio: 4 / 3; background: #000 }
.tfilm summary { cursor: pointer; margin-top: 6px }
.talesrc { color: var(--muted); font-style: italic; margin-top: 6px }
.tlocate { padding-block: 28px 8px }
.tlocbtn { font-size: 19px; padding: 14px 26px; border: 0; cursor: pointer }
.tlocnote { max-width: 60ch; margin-top: 10px }
.tlocout:empty { display: none }
.tlocout { margin-top: 18px }
.tloccard { background: #fff; border: 1px solid #dde2d8; max-width: 640px }
.tloccard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--lime) }
.tloccard audio { width: 100%; margin: 6px 0 12px }
.tlocnear, .tlocmore { list-style: none; margin: 14px 0 0; padding: 0; max-width: 640px }
.tlocnear li, .tlocmore li { padding: 8px 0; border-bottom: 1px solid #dde2d8; font: 400 16px/1.4 var(--text) }
.tlocnear .t-label { color: var(--moss); margin-right: 6px }
.tlocmore button { font: 600 16px var(--text); color: var(--moss); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.sqsec { padding-block: 12px 40px }
.sq { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; align-items: start; max-width: 720px; padding: 18px; border: 1px dashed #b9c0b4 }
.sqstamp { position: relative; text-align: center }
.sqstamp img { width: 130px; height: 130px; border-radius: 50%; opacity: .16; filter: grayscale(1); transition: opacity .35s, filter .35s, transform .35s }
.sq.got .sqstamp img { opacity: 1; filter: none; transform: rotate(-3deg) }
.sq.justnow .sqstamp img { animation: press .5s ease-out }
@media (prefers-reduced-motion: reduce) { .sq.justnow .sqstamp img { animation: none } .sqstamp img { transition: none } }
.sqmark { display: block; color: var(--moss); margin-top: 6px }
.sqbody .t-label { color: var(--moss); margin: 0 0 6px }
.sqq { font: 600 18px/1.4 var(--text); margin: 0 0 12px }
.sqopts { display: grid; gap: 8px }
.sqopts button { text-align: left; font: 400 16px/1.35 var(--text); padding: 10px 14px; background: #fff; border: 1px solid #c9d0c4; color: var(--ink); cursor: pointer; min-height: 44px }
.sqopts button.right { border-color: var(--moss); background: #d9ecd9; font-weight: 600 }
.sqopts button.wrong { opacity: .5; text-decoration: line-through }
.sqopts button:disabled { cursor: default }
.sqmsg { min-height: 1.3em; color: var(--moss); margin: 10px 0 4px }
.linkbtn { background: none; border: 0; padding: 0; color: var(--moss); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer }
@media (max-width: 520px) { .sq { grid-template-columns: minmax(0, 1fr) } .sqstamp img { width: 110px; height: 110px } }
.tchips i.sq { background: #f4f1e8; border-radius: 0 }
.tchips i.tri, .tkl h3 i.tri { background: #9fd3a8; border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%) }
.tkl h3 i.sq { background: #f4f1e8; border-radius: 0 }
.tkl h3 i.dia { background: #f4d58d; border-radius: 0; transform: rotate(45deg) scale(.8) }
.tchips i.dia { background: #f4d58d }
.tkl li small { display: inline; margin-left: 8px }
svg.townmap.full { min-width: 760px }
.tmapprev { display: block }
.tmapprev svg { min-width: 0 }
.mapmsg { margin-left: 10px; color: var(--on-peat-muted) }
.mapviews { margin: 6px 0 14px }
.phero.town .toffer { font: 500 24px/1.35 var(--display); color: var(--on-peat); max-width: 34ch; margin: 14px 0 0 }
.tgo { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0 }
.btn.ghost { background: transparent; color: var(--lichen); border: 1.5px solid var(--lichen); padding: 10.5px 18px }
.dark a.btn.ghost { color: var(--lichen) }
@media (max-width: 860px) { .phero.town figure { order: 0 } .phero.town { padding-top: 22px } }
.tfold summary { list-style: none; cursor: pointer; display: grid; gap: 4px; padding: 4px 0 4px 28px; position: relative }
.tfold summary::-webkit-details-marker { display: none }
.tfold summary::before { content: "+"; position: absolute; left: 0; top: 2px; font: 600 26px/1 var(--text); color: var(--moss) }
.tfold[open] summary::before { content: "\2212" }
.tglance, .train { padding-block: 28px 8px }
.kids { padding-block: 26px 0 }
.kidsbox { max-width: 720px; padding: 18px 20px; background: #fff; border: 1px solid #dde2d8; border-left: 4px solid var(--lichen) }
.kidsbox .t-label { color: var(--moss); margin: 0 0 8px }
.kidsbox audio { width: 100%; margin: 0 0 10px }
.kidtale { font: 400 18px/1.55 var(--text); margin: 0 0 6px }
.kidlinks a { color: var(--moss) }
.phook { font: 500 22px/1.35 var(--display); color: var(--on-peat); max-width: 34ch; margin: 12px 0 0 }
/* ---------- the treasure hunt ---------- */
.hfacts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; color: var(--on-peat-muted); max-width: 60ch }
.hfacts li::before { content: "\2022  "; color: var(--lichen) }
.hunt { padding-block: 28px 60px }
.hstops { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 680px }
.hstop { background: #fff; border: 1px solid #dde2d8; padding: 18px 20px; scroll-margin-top: 16px }
.hstop.past { opacity: .8 }
.hstop .t-label { color: var(--moss); margin: 0 0 4px }
.hclue { font: 600 20px/1.4 var(--text); margin: 8px 0 14px }
.hstop figure { margin: 0 0 14px }
.hstop figure img { width: 100%; height: auto; display: block; background: var(--lime) }
.hstop figcaption { margin-top: 4px }
.hopts { display: grid; gap: 8px }
.hopts button { text-align: left; font: 500 18px/1.3 var(--text); padding: 12px 16px; min-height: 48px; background: #fff; border: 1.5px solid #c9d0c4; color: var(--ink); cursor: pointer }
.hopts button.wrong { opacity: .45; text-decoration: line-through }
.hnum { display: flex; gap: 10px; align-items: end; flex-wrap: wrap }
.hnum input { font: 600 22px var(--text); width: 7ch; padding: 8px 10px; margin-top: 4px; display: block; border: 1.5px solid #c9d0c4 }
.hmsg, .hmsg2 { min-height: 1.3em; color: var(--moss); margin: 10px 0 0; font-weight: 600 }
.hfound { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #c9d0c4 }
.hfoundtext, .hrevealtext { font: 400 18px/1.55 var(--text) }
.hsaid { padding-left: 18px; margin: 8px 0 0 }
.hsaid li { margin: 0 0 8px }
.hfinal { border: 2px solid var(--moss) }
.hreveal { margin-top: 14px }
.hreveal .t-label { color: var(--moss) }
.hstop.justnow { animation: press .5s ease-out }
@media (prefers-reduced-motion: reduce) { .hstop.justnow { animation: none } }
.bookacct { padding-block: 20px 4px }
.bookacct .in > div { max-width: 720px }
.bk-forms { display: grid; gap: 18px; margin-top: 12px }
@media (min-width: 720px) { .bk-forms { grid-template-columns: 1fr 1fr } }
.bk-forms form { display: grid; gap: 10px; align-content: start; padding: 14px; border: 1px solid #dde2d8; background: #fff }
.bk-forms input { display: block; width: 100%; box-sizing: border-box; font: 400 18px var(--text); padding: 10px 12px; margin-top: 6px; border: 1.5px solid #c9d0c4 }
.bk-trap { position: absolute; left: -9999px; width: 1px; height: 1px }
.bk-codetext { font: 600 26px/1.3 var(--text); letter-spacing: .02em; color: var(--moss); margin: 4px 0 }
.bk-code { margin-top: 12px; padding: 14px; background: #d9ecd9 }
.bk-msg { min-height: 1.3em; color: var(--moss) }
.layer-chip i.mk { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border-radius: 0 }
.mk-place { background: #f4f1e8 }
.mk-historic { background: #f4d58d; transform: rotate(45deg) scale(.8) }
.mk-natural { background: #9fd3a8; clip-path: polygon(50% 0, 100% 100%, 0 100%) }
.maplists { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px 36px; margin-top: 30px }
.maplists h3 { color: var(--on-peat); margin: 0 0 10px }
.maplists h3 i { display: inline-block; width: 12px; height: 12px; margin-right: 8px }
.maplists ul { list-style: none; margin: 0; padding: 0; columns: 1 }
.maplists li { padding: 5px 0; border-bottom: 1px solid #2f3d35; font: 400 16px/1.4 var(--text) }
.maplists a { color: var(--on-peat); text-decoration: none }
.maplists a:hover { color: var(--lichen); text-decoration: underline }
.maplists small { color: var(--on-peat-muted); margin-left: 6px }
.tklists.light .tkl h3 { color: var(--ink) }
.tklists.light .tkl li { border-bottom-color: #dde2d8 }
.tklists.light .tkl a { color: var(--ink) }
.tklists.light .tkl a:hover { color: var(--moss) }
.tklists.light .tkl .mins, .tklists.light .tkl li small { color: var(--muted) }
a.layer-chip { text-decoration: none }
.here-go { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0 }
.here-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 28px }
.here-list li { display: flex; gap: 12px; align-items: baseline }
.here-list .mk { flex: none; display: inline-block; width: 12px; height: 12px; outline: 1px solid #131d18 }
.here-list .mk-natural { outline: 0; background: #3f7a4c }
.here-list .mk-historic { background: #c9a43c }
.hl-story { color: var(--moss); white-space: nowrap }
.tmuseum { padding-block: 56px }
.mcards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px }
.mcards figure { margin: 0 0 12px }
.mcards img { width: 100%; height: auto; display: block }
.mcards .t-card { margin: 0 0 4px }
.mcards .t-small { margin: 0 }
.mcards blockquote { margin: 10px 0 0; padding-left: 12px; border-left: 2px solid var(--lichen) }
.mlook { margin: 12px 0 0 }
.mlook .t-label { display: block; color: var(--lichen); margin-bottom: 2px }
.mcredit { margin: 10px 0 0; color: var(--on-peat-muted) }
.tmuseum a { color: var(--lichen) }

/* Home page: days out first (parent test, 25 November 2026) */
.btnrow { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.dayband { padding-block: 64px }
.dayband .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center }
.dayband figure { margin: 0 }
.dayband figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover }
@media (max-width: 860px) { .dayband .grid { grid-template-columns: minmax(0, 1fr); gap: 28px } }
.stampband { padding-block: 56px }
.stampstrip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; max-width: 1000px }
.stampstrip img { width: 100%; height: auto; display: block }
@media (max-width: 600px) { .homewalks li:nth-child(n+7) { display: none } }

/* In <town> now: the town as a phone page for a family standing in it (25 November 2026) */
.arr-hero { padding: 0 0 36px }
.arr-pic { margin: 0 }
.arr-pic img { width: 100%; height: auto; max-height: 62vh; aspect-ratio: 4 / 3; object-fit: cover; display: block }
.arr-hero .in { padding-top: 26px }
.arr-you { color: var(--lichen); margin: 0 0 6px }
.arr-today { margin: 14px 0 0; color: var(--lichen); max-width: 46ch }
.arr-today:empty { display: none }
.arr-offer { margin: 12px 0 0; max-width: 46ch }
.arr-status { margin: 14px 0 0; max-width: 52ch }
.arr-sec { padding-block: 48px }
.arr-sec .t-h2 { margin: 0 0 18px }
.arr-stories, .arr-more, .arr-things, .arr-then, .arr-stamps, .arr-needs { list-style: none; margin: 0; padding: 0 }
.arr-stories > li + li { display: none }
.arr-story { display: grid; gap: 16px; max-width: 720px }
.arr-story img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block }
.arr-story .t-h3 { margin: 4px 0 10px }
.arr-story audio { width: 100%; margin: 4px 0 10px }
.arr-d { font-variant-numeric: tabular-nums }
.arr-sb > .arr-d { color: var(--lichen) }
.arr-more li { padding: 8px 0; border-top: 1px solid rgba(233, 236, 228, .16) }
.arr-more button { background: none; border: 0; padding: 0; font: 600 17px/1.4 var(--text); color: var(--lichen); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left }
.arr-day:empty { display: none }
.arr-things { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) }
.arr-things a { display: grid; gap: 10px; color: inherit; text-decoration: none }
.arr-things img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--peat-2) }
.arr-things img.arr-stampimg { object-fit: contain; padding: 18px; background: #f3f4ef }
.arr-tb { display: grid; gap: 6px }
.arr-dark .arr-tb .muted { color: var(--on-peat-muted) }
.arr-things .t-card { color: var(--ink) }
.arr-things .topen, .arr-hprog { margin: 8px 0 0 }
.arr-things .topen.off { color: var(--muted) }
.arr-hprog { color: var(--moss); font-weight: 600 }
.arr-then { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 420px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px }
.arr-then > li { scroll-snap-align: start; display: grid; gap: 8px; align-content: start }
.arr-then figure { margin: 0 }
.arr-then img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block }
.arr-then .t-label { color: var(--moss); margin-right: 4px }
.arr-stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; max-width: 980px }
.arr-stamps a { display: grid; gap: 6px; justify-items: center; text-align: center; color: inherit; text-decoration: none }
.arr-stamps img { width: 100%; height: auto; opacity: .3; filter: grayscale(1) }
.arr-stamps li.got img { opacity: 1; filter: none }
.arr-needs li { padding: 10px 0; border-top: 1px solid rgba(24, 34, 29, .12) }
.arr-needs .t-label { display: inline-block; min-width: 7.5em; color: var(--moss) }
.arr-links { display: grid; gap: 14px; margin: 0 }
.arr-links a { color: var(--lichen) }
@media (min-width: 861px) {
  .arr-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: end; padding: 0 }
  .arr-hero .in { padding-block: 48px }
  .arr-pic img { max-height: 78vh; aspect-ratio: 4 / 5 }
  .arr-story { grid-template-columns: 1fr 1fr; align-items: start }
}
.arr-findrow[hidden] { display: none }
.arr-pic figcaption { padding: 8px 16px 0 }
.arr-things > li[hidden] { display: none }
.arr-storysec .taletry .t-label, .arr-storysec .t-label { color: var(--lichen) }
.arr-storysec .talesrc { color: var(--on-peat-muted) }
.arr-storysec a { color: var(--lichen) }
.arr-then > li[hidden], .arr-stamps > li[hidden] { display: none }
.arr-links2 { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px }
.arr-dosec .btn.ghost { color: var(--moss); border-color: var(--moss); background: transparent; cursor: pointer }
/* On a phone the menu folds behind a button, with Near me beside it (25 November 2026) */
.navnear, .navbtn { display: none }
@media (max-width: 600px) {
  .js .top .in { flex-wrap: wrap; row-gap: 0; padding-block: 10px }
  .js .brand { margin-right: auto }
  .js .navnear { display: inline-block; color: var(--lichen); text-decoration: none; font: 600 13px/1.3 var(--text); letter-spacing: .09em; text-transform: uppercase; padding: 12px 4px }
  .js .navbtn { display: inline-block; background: none; color: var(--on-peat); border: 1.5px solid rgba(233, 236, 228, .5); font: 600 13px/1.3 var(--text); letter-spacing: .09em; text-transform: uppercase; padding: 10px 14px; cursor: pointer }
  .js .nav { display: none; width: 100% }
  .js .nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 10px 0 6px }
  .js .nav.open a { padding-block: 12px; border-top: 1px solid rgba(233, 236, 228, .12) }
}
.arr-intro { margin: 20px 0 0; padding: 14px 16px; background: var(--peat-2); max-width: 520px }
.arr-intro .t-label { color: var(--lichen); margin: 0 0 8px }
.arr-intro audio { width: 100%; display: block }
.arr-intro .t-small { margin: 8px 0 0 }

/* the containers: UK, nation, county, district (tools/levels.py) */
.trail ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0 }
.trail li + li::before { content: "›"; margin: 0 8px; color: var(--muted) }
.trail [aria-current] { color: var(--muted) }
.ukgrid { display: grid; gap: 28px; padding-block: 8px 40px }
@media (min-width: 860px) { .ukgrid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start } }
.ukmap a path:hover { opacity: .8 }
.ukmap { max-height: 82vh; width: auto !important; max-width: 100% !important; margin: 0 auto }
.ukkey { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0 }
.ukkey i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 2px }
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px }
.levels li { display: grid; gap: 4px }
.bar { display: block; height: 6px; background: var(--lime); border-radius: 3px; overflow: hidden; max-width: 320px }
.bar > span { display: block; height: 100%; background: var(--moss) }
table.layers { border-collapse: collapse; width: 100% }
@media (max-width: 640px) { table.layers td.t-small { display: none } table.layers td:nth-child(2) { width: 34% } }
table.layers th, table.layers td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--lime); text-align: left; vertical-align: middle }
table.layers td:nth-child(2) { width: 30% }
table.layers .num { white-space: nowrap; font-variant-numeric: tabular-nums }
.gaps { margin: 0; padding-left: 20px; display: grid; gap: 8px }
