:root {
  --main:#C2410C; --deep:#7C2D12; --accent:#FFC93C; --link:#B13B0A; --tint:#FCE7D8; --bg:#FFF8F2;
  --ink:#1B1F2A; --muted:#5B6272; --line:#E8DCD2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 'Public Sans', system-ui, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--link); }
h1, h2, h3 { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; font-weight: 900; text-transform: uppercase; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin-top: 2rem; color: var(--deep); }
h3 { font-size: 1.3rem; color: var(--deep); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.narrow-page { padding-top: 3rem; padding-bottom: 4rem; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }

.preview-banner { background: var(--accent); color: #1B1F2A; text-align: center; font-weight: 700; padding: .45rem 1rem; }
.staging { color: var(--accent); font-weight: 700; }

/* header bar: the logo sits on a tint plate in the season's main colour */
.site-top { position: sticky; top: 0; z-index: 50; }
.site-bar { position: relative; z-index: 2; background: var(--main); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding: .75rem 1rem; }
.logo-plate { background: var(--tint); border: 1px solid var(--deep); border-radius: 4px; padding: .35rem .7rem; display: inline-flex; }
.logo-plate img { height: 56px; width: auto; display: block; }
.site-bar nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.site-bar nav a { color: #fff; font-weight: 700; text-decoration: none; padding: .35rem 0; }
.site-bar nav a:hover, .site-bar nav a:focus-visible { text-decoration: underline; }
.site-bar nav a:focus-visible { outline-color: #fff; }

.site-foot { background: var(--deep); color: #fff; text-align: center; padding: 2rem 1rem; margin-top: 3rem; }
.site-foot p { margin: .25rem 0; }
.foot-tag { font: 900 1.3rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .15em; color: var(--accent); }

.btn { display: inline-block; background: var(--main); color: #fff; font-weight: 700; text-decoration: none; padding: .7rem 1.4rem; border-radius: 6px; }
.btn:hover { background: var(--deep); }

/* community page */
.crumbs { font-size: .9rem; color: var(--muted); padding: 1rem 0 .5rem; }
.crumbs a { color: var(--muted); }
.hero { position: relative; background: var(--main); color: #fff; }
.hero.has-photo { min-height: 540px; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.hero-inner { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; padding: 2.5rem 1rem 1.75rem; }
.hero h1 { color: #fff; margin: 0; text-shadow: 0 2px 3px rgba(0,0,0,.6), 0 4px 22px rgba(0,0,0,.5); }
.hero .tagline { display: inline-block; font: 800 clamp(1.1rem, 3.5vw, 1.6rem) 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .14em; color: #1B1F2A; background: var(--accent); padding: .25rem .8rem .2rem; border-radius: 3px; margin: .6rem 0 0; }
.hero .credit { position: absolute; right: .75rem; bottom: .4rem; font-size: .72rem; color: rgba(255,255,255,.85); z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,.75); }
.hero .credit a { color: #fff; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem; text-align: center; }
.stat b { display: block; font: 900 2rem 'Big Shoulders Display', sans-serif; color: var(--deep); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.seat { background: var(--accent); }

.lead { font-size: 1.25rem; line-height: 1.55; font-weight: 600; max-width: 70rem; }
.page-text { max-width: 70rem; }
.page-text h2 { margin-top: 1.6rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery figcaption { padding: .6rem .8rem; font-size: .88rem; color: var(--muted); }

.facts dl { margin: 0; display: grid; grid-template-columns: minmax(130px, 28%) 1fr; gap: .1rem 1rem; }
.facts dt { font-weight: 700; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.facts dd { margin: 0; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.facts sup a { text-decoration: none; font-weight: 700; }
@media (max-width: 560px) { .facts dl { grid-template-columns: 1fr; } .facts dt { border: 0; padding-bottom: 0; } }
.sources { font-size: .92rem; color: var(--muted); }
.sources li { margin: .25rem 0; }
.reviewed { background: var(--tint); border-left: 5px solid var(--main); padding: .7rem 1rem; border-radius: 4px; margin: 1.5rem 0; font-size: .95rem; }

/* index page */
.region-block { margin-bottom: 2rem; }
.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; }
.town-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1rem; text-decoration: none; color: var(--ink); }
.town-card:hover, .town-card:focus-visible { border-color: var(--main); }
.town-card b { font: 900 1.5rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: var(--deep); display: block; }
.town-card span { font-size: .9rem; color: var(--muted); }
.ai-note { font-size: .88rem; color: var(--muted); font-style: italic; margin: -.5rem 0 1.25rem; }
.foot-note { font-size: .78rem; opacity: .75; }

/* links to other communities */
.nearby { margin-top: 2.5rem; }
.all-towns { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.all-towns summary { cursor: pointer; font: 800 1.15rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--deep); padding: .35rem 0; }
.town-columns { column-width: 12rem; column-gap: 2rem; margin-top: .75rem; font-size: .88rem; line-height: 1.5; }
.region-col { break-inside: avoid; margin-bottom: 1rem; }
.region-col h3 { font-size: 1rem; margin: 0 0 .25rem; letter-spacing: .06em; }
.region-col ul { list-style: none; margin: 0; padding: 0; }
.region-col li { margin: 0; }
.all-link { font-size: .88rem; }

/* map */
.map-section { margin-top: 2.5rem; }
.map-box { position: relative; width: 100%; height: 340px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--tint); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-links { font-size: .9rem; margin: .5rem 0 0; }
@media (max-width: 560px) { .map-box { height: 260px; } }

/* sources: a closed panel at the very end of the content */
.sources-panel { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.sources-panel summary { cursor: pointer; font: 800 1.15rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--deep); padding: .35rem 0; }
.sources-panel .sources { margin-top: .5rem; }

/* quick facts: Population and History are open, other topics are closed panels */
.fact-panel { border-top: 1px solid var(--line); }
.fact-panel:last-of-type { border-bottom: 1px solid var(--line); }
.fact-panel summary { cursor: pointer; font: 800 1.2rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--deep); padding: .6rem 0; }
.fact-panel summary .count { font: 600 .9rem 'Public Sans', sans-serif; color: var(--muted); text-transform: none; letter-spacing: 0; }
.fact-panel dl { padding-bottom: .75rem; }
.panel-tools { font-size: .88rem; margin: .25rem 0 .75rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }

/* nearby communities: all the cards share one row, evenly (any number from 1 to 6) */
.nearby .town-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .6rem; }
.nearby .town-card { padding: .7rem .75rem; }
.nearby .town-card b { font-size: 1.2rem; line-height: 1.1; }
.nearby .town-card span { font-size: .8rem; line-height: 1.3; display: block; margin-top: .2rem; }
@media (max-width: 900px) { .nearby .town-grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .nearby .town-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* all communities: one column per region, side by side (a grid, so short regions never stack under others) */
.town-columns { display: grid; columns: auto; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem 2rem; align-items: start; }
.region-col { margin-bottom: 0; }

/* weather widget (National Weather Service forecast) */
.weather { margin: 1.5rem 0; }
.weather h2 { margin-top: 0; }
.wx-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; max-width: 46rem; }
.wx-now { display: flex; align-items: center; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.wx-now .wx-icon { font-size: 3rem; line-height: 1; }
.wx-temp { font: 900 3rem 'Big Shoulders Display', sans-serif; color: var(--deep); line-height: 1; margin-right: .5rem; }
.wx-text, .wx-wind { display: block; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.wx-now .wx-text { display: inline; font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.wx-days { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.wx-days li { background: var(--tint); border-radius: 6px; padding: .6rem .7rem; text-align: center; }
.wx-days b { display: block; font: 800 1.1rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: var(--deep); }
.wx-days .wx-icon { font-size: 1.8rem; display: block; line-height: 1.2; }
.wx-range { display: block; font-weight: 700; }
.wx-low { color: var(--muted); font-weight: 600; }
.wx-credit { font-size: .78rem; color: var(--muted); margin: .9rem 0 0; }
.wx-down { color: var(--muted); font-size: .92rem; }
.wx-picker select { font: inherit; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.wx-picker [data-weather-target] { margin-top: .75rem; }
@media (max-width: 520px) { .wx-days { grid-template-columns: 1fr; } .wx-days li { display: grid; grid-template-columns: 5.5rem 2rem 1fr; align-items: center; text-align: left; gap: .5rem; } .wx-days .wx-text { grid-column: 1 / -1; } }

/* history story: flowing paragraphs above the (closed) History facts panel */
.history-story { max-width: 70rem; margin-top: 2rem; }
.history-story h2 { margin-top: 0; }
.history-story p { margin: 0 0 1rem; }
.history-story .story-note { font-size: .88rem; color: var(--muted); }

/* activity guides */
.guide-story { max-width: 46rem; margin-top: 1.5rem; }
.guide-story p { margin: 0 0 1.1rem; font-size: 1.08rem; }
.guide-note { max-width: 46rem; background: var(--tint); border-left: 4px solid var(--main); border-radius: 0; padding: .7rem 1rem; font-size: .92rem; margin: 1.5rem 0; }
.fact-place { font: 600 .78rem 'Public Sans', sans-serif; text-transform: none; letter-spacing: 0; color: var(--muted); background: var(--tint); border-radius: 4px; padding: 1px 6px; margin-left: .35rem; }

/* guide pictures sit inside the story: centred, rounded, up to 800 px wide (the size of the web copy of each photo) */
.guide-story { max-width: 80rem; }
.guide-story p { max-width: none; }
.story-fig { margin: 1.5rem auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; width: 100%; max-width: 800px; box-shadow: 5px 5px 10px rgba(0, 0, 0, .28); }
.story-fig img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story-fig figcaption { padding: .6rem .9rem; font-size: .88rem; color: var(--muted); text-align: center; }
/* a panorama inside a page's text (communities and others): same border, rounded corners and shadow, wide 21:9 */
.story-fig.is-pano { max-width: 1100px; }
.story-fig.is-pano img { aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .story-fig.is-pano img { aspect-ratio: 2 / 1; } }
/* guide pages: a wide panorama just before the facts, edge to edge of the page column */
.guide-pano { margin: 2rem 0 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 5px 5px 10px rgba(0, 0, 0, .28); }
.guide-pano img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.guide-pano figcaption { padding: .6rem .9rem; font-size: .88rem; color: var(--muted); text-align: center; }
@media (max-width: 600px) { .guide-pano img { aspect-ratio: 2 / 1; } }
/* guide pages: the two story pictures float beside the text on wider screens, full width on phones */
.guide-story::after { content: ""; display: block; clear: both; }
@media (min-width: 760px) {
  .guide-story .story-fig { width: 100%; max-width: 420px; margin-top: .3rem; margin-bottom: 1rem; }
  .guide-story .fig-right { float: right; margin-left: 1.6rem; margin-right: 0; }
  .guide-story .fig-left { float: left; margin-right: 1.6rem; margin-left: 0; }
}

/* region pages */
.region-link { color: inherit; text-decoration: none; border-bottom: 3px solid var(--accent); }
.region-link:hover { border-bottom-color: var(--main); }
.stat b a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--accent); }
.region-story { max-width: 80rem; margin-top: 1.25rem; }
.region-story p { margin: 0 0 1.1rem; font-size: 1.08rem; }
.region-towns, .region-guides { margin-top: 2rem; }
.where-to-go { max-width: 54rem; margin: 1.25rem 0; font-size: 1.02rem; }
.wx-note { margin: -.25rem 0 .75rem; font-size: .88rem; }
.wx-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .9rem; }
.wx-town h3 { font-size: 1.25rem; margin: 0 0 .35rem; }
.wx-town h3 a { color: inherit; text-decoration: none; }
.wx-compact { padding: .7rem .8rem; }
.wx-compact .wx-now { gap: .6rem; padding-bottom: .6rem; }
.wx-compact .wx-now .wx-icon { font-size: 2rem; }
.wx-compact .wx-temp { font-size: 2.1rem; display: block; margin: 0; }
.wx-compact .wx-days { grid-template-columns: 1fr; gap: .3rem; margin-top: .6rem; }
.wx-compact .wx-days li { display: grid; grid-template-columns: 4.6rem 1.6rem 1fr; align-items: center; text-align: left; gap: .35rem; padding: .3rem .5rem; }
.wx-compact .wx-days b { font-size: 1rem; }
.wx-compact .wx-days .wx-icon { font-size: 1.2rem; display: inline; }
.wx-compact .wx-days .wx-text { display: none; }
.wx-compact .wx-credit { font-size: .72rem; margin-top: .6rem; }

/* page sponsorship: the banner, the call to action and the sponsor form */
.sponsor-banner { background: var(--accent); color: #1B1F2A; text-align: center; padding: .65rem 1rem; font-size: 1.05rem; border-bottom: 2px solid var(--deep); }
.sponsor-banner strong { font-weight: 800; }
.sponsor-banner a { color: #1B1F2A; text-decoration: underline; }
.sponsor-cta { max-width: 54rem; margin: 2.5rem 0 0; padding: 1.25rem 1.5rem; background: var(--tint); border: 1px solid var(--line); border-radius: 12px; }
.sponsor-cta h2 { margin-top: 0; }
.sponsor-cta p { margin: 0 0 .75rem; }
.sponsor-form { max-width: 46rem; }
.sponsor-form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem 1.25rem; margin: 0 0 1.25rem; background: #fff; }
.sponsor-form legend { font: 900 1.3rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: var(--deep); padding: 0 .4rem; }
.sponsor-form label { display: block; font-weight: 600; margin: .75rem 0 .25rem; }
.sponsor-form label.inline { display: inline-block; font-weight: 400; margin: .25rem 1.25rem .25rem 0; }
.sponsor-form label.block { display: block; margin: .4rem 0; }
.sponsor-form .terms { font-weight: 400; margin: 1rem 0; }
.sponsor-form input[type=text], .sponsor-form input[type=email], .sponsor-form input[type=tel] { width: 100%; font: inherit; padding: .55rem .7rem; border: 1px solid #b9ada3; border-radius: 6px; background: #fff; color: var(--ink); }
.sponsor-form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.sponsor-form .three-col { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 1rem; }
.sponsor-form .hint { font-size: .88rem; color: var(--muted); margin: .35rem 0 0; }
.sponsor-form .radio-q { font-weight: 600; margin: 1rem 0 .25rem; }
.sponsor-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.sponsor-terms { background: var(--tint); border-radius: 8px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.sponsor-terms .lead { margin-top: 0; }
.sponsor-terms ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.sponsor-terms li { margin: .35rem 0; }
.sponsor-terms .amount { font-size: 1.25rem; margin-bottom: 0; }
.form-errors { background: #FDECEA; border: 1px solid #E0A29B; color: #7A1F16; border-radius: 8px; padding: .8rem 1.1rem; margin: 0 0 1.25rem; }
.form-errors ul { margin: .35rem 0 0; padding-left: 1.2rem; }
.address { font-weight: 600; }
@media (max-width: 560px) { .sponsor-form .two-col, .sponsor-form .three-col { grid-template-columns: 1fr; } }

/* sponsor card: sits above a page's introduction */
.sponsor-card { display: flex; align-items: center; gap: 1.5rem; max-width: 54rem; margin: 1.25rem auto 1.5rem; padding: 1.1rem 1.5rem; background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--accent); border-radius: 12px; box-shadow: 5px 5px 10px rgba(0, 0, 0, .18); }
.sponsor-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 150px; min-height: 90px; padding-right: 1.5rem; border-right: 1px solid var(--line); }
.sponsor-logo img, .sponsor-logo a { display: block; }
.sponsor-logo img { max-width: 150px; max-height: 100px; width: auto; height: auto; object-fit: contain; }
.sponsor-body { flex: 1 1 auto; min-width: 0; }
.sponsor-body p { margin: 0; }
.sponsor-label { font: 800 .85rem 'Public Sans', sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.sponsor-name { font: 900 clamp(1.7rem, 4.5vw, 2.4rem) 'Big Shoulders Display', 'Arial Narrow', sans-serif; text-transform: uppercase; line-height: 1.05; color: var(--deep); margin: .15rem 0 .1rem; overflow-wrap: anywhere; }
.sponsor-name a { color: inherit; text-decoration: none; }
.sponsor-name a:hover, .sponsor-name a:focus-visible { text-decoration: underline; }
.sponsor-message { margin-top: .35rem; font-size: 1.02rem; line-height: 1.5; }
.sponsor-visit { margin-top: .75rem; }
@media (max-width: 600px) {
  .sponsor-card.has-logo { flex-direction: column; align-items: flex-start; gap: .85rem; }
  .sponsor-logo { width: auto; min-height: 0; padding: 0 0 .85rem; border-right: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; }
}

/* the "your business here" version of the sponsor card: the whole card is a link to the sponsor form */
a.sponsor-card { text-decoration: none; color: inherit; transition: box-shadow .15s ease, transform .15s ease; }
a.sponsor-card:hover { box-shadow: 7px 7px 14px rgba(0, 0, 0, .24); transform: translate(-1px, -1px); }
a.sponsor-card:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.sponsor-card.is-open .sponsor-name { color: var(--main); }
.sponsor-logo-demo { flex-direction: column; gap: .35rem; }
.sponsor-logo-cap { font: 700 .72rem 'Public Sans', sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { a.sponsor-card { transition: none; } a.sponsor-card:hover { transform: none; } }

/* supporting sponsors: up to three small cards after the page content, above the Facts */
.sponsor-support { margin: 2.25rem 0 0; }
.sponsor-support h2 { margin-top: 0; font-size: clamp(1.3rem, 3.5vw, 1.7rem); }
.sponsor-support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sponsor-mini { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1rem .9rem; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: 12px; box-shadow: 4px 4px 8px rgba(0, 0, 0, .15); color: inherit; text-decoration: none; }
.sponsor-mini p { margin: 0; }
.sponsor-mini-logo { display: flex; align-items: center; justify-content: center; min-height: 64px; }
.sponsor-mini-logo img { display: block; max-width: 120px; max-height: 70px; width: auto; height: auto; object-fit: contain; }
.sponsor-mini-name { font: 900 1.35rem 'Big Shoulders Display', 'Arial Narrow', sans-serif; text-transform: uppercase; line-height: 1.1; color: var(--deep); overflow-wrap: anywhere; }
.sponsor-mini-message { font-size: .92rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sponsor-mini-visit { margin-top: auto !important; padding-top: .35rem; }
a.sponsor-mini:hover { box-shadow: 6px 6px 12px rgba(0, 0, 0, .22); }
a.sponsor-mini:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.sponsor-mini.is-open .sponsor-mini-name { color: var(--main); }
@media (max-width: 760px) { .sponsor-support-grid { grid-template-columns: 1fr; } }

/* the choice on the sponsor form */
.sponsor-form .tier-choice { padding: .7rem .9rem; margin: .45rem 0; border: 1px solid var(--line); border-radius: 8px; line-height: 1.4; }
.sponsor-form .tier-choice input { margin-right: .5rem; }
.sponsor-form .tier-choice.is-off { background: #f4eee8; color: var(--muted); }
.sponsor-form .tier-price { display: block; margin: .15rem 0 0 1.5rem; font-weight: 400; font-size: .92rem; color: var(--muted); }

/* content pages (Sponsorships, Privacy Policy, Terms) */
.content-page { max-width: 54rem; }
.content-page h2 { margin-top: 2rem; }
.content-page h3 { margin: 1.5rem 0 .4rem; }
.content-page ul, .content-page ol { padding-left: 1.3rem; }
.content-page li { margin: .4rem 0; }
.sponsor-explain.content-page { max-width: 80rem; }
.sponsor-explain.content-page > ul, .sponsor-explain.content-page > ol, .sponsor-explain.content-page > p { max-width: 54rem; }
.example-note { font-size: .88rem; color: var(--muted); font-style: italic; margin: .25rem 0 1.5rem; }
.sponsor-card.is-example .sponsor-name { color: var(--main); }
.sponsor-mini.is-example .sponsor-mini-name { color: var(--main); }
.table-scroll { overflow-x: auto; }
.price-table { width: 100%; max-width: 40rem; border-collapse: collapse; margin: .75rem 0; background: #fff; }
.price-table th, .price-table td { border: 1px solid var(--line); padding: .55rem .8rem; text-align: left; }
.price-table thead th { background: var(--tint); font: 800 1rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: var(--deep); }
.price-table tbody th { font-weight: 700; }
.foot-links { font-size: .92rem; }
.foot-links a { color: #fff; }

/* visitor search (search.php) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-page { padding-bottom: 2rem; }
.search-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin: 1rem 0 1.5rem; max-width: 52rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.sf-field { flex: 1 1 14rem; display: flex; flex-direction: column; }
.sf-field label { font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.sf-field input, .sf-field select { font: inherit; padding: .65rem .75rem; border: 2px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); min-height: 48px; }
.sf-field input:focus, .sf-field select:focus { border-color: var(--main); outline: 2px solid var(--accent); outline-offset: 1px; }
.search-form .btn { border: 0; font: 700 1rem 'Public Sans', sans-serif; cursor: pointer; min-height: 48px; }
.result-count { font-weight: 700; margin: 0 0 1rem; }
.result-group h2 { margin-top: 1.5rem; }
.result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; max-width: 52rem; }
.result-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem; }
.result-card.is-featured { border-color: var(--main); border-width: 2px; }
.result-card p { margin: .15rem 0 0; }
.result-kind { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--deep); background: var(--tint); border-radius: 4px; padding: 0 .5rem; margin-bottom: .2rem; }
.result-title { display: block; font: 900 1.45rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: var(--deep); text-decoration: none; line-height: 1.1; }
a.result-title:hover, a.result-title:focus-visible { text-decoration: underline; }
.result-line { color: var(--muted); font-size: .95rem; }
.pager { display: flex; gap: 1.25rem; align-items: center; margin: 1.5rem 0 0; font-weight: 700; }
.no-results { max-width: 40rem; }

/* sticky header, the small Search tab and the panel that slides down from behind the header */
@media (max-width: 640px) {
  .site-bar { padding: .4rem .75rem; gap: .1rem 1rem; }
  .logo-plate { padding: .25rem .5rem; }
  .logo-plate img { height: 38px; }
  .site-bar nav { gap: .1rem 1rem; }
  .site-bar nav a { font-size: .92rem; padding: .25rem 0; }
}
.search-slide { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-rows: 0fr auto; transition: grid-template-rows .3s ease; pointer-events: none; }
.site-top.search-open .search-slide { grid-template-rows: 1fr auto; }
.search-panel { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear .3s; pointer-events: auto; }
.site-top.search-open .search-panel { visibility: visible; transition-delay: 0s; }
.search-panel-in { background: var(--tint); border-bottom: 3px solid var(--deep); box-shadow: 0 8px 18px rgba(0, 0, 0, .22); transform: translateY(-100%); transition: transform .3s ease; }
.site-top.search-open .search-panel-in { transform: none; }
.drawer-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; max-width: 1100px; margin: 0 auto; padding: .6rem 1rem; }
.drawer-form input, .drawer-form select { font: inherit; font-size: .95rem; height: 38px; padding: 0 .6rem; border: 2px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.drawer-form input { flex: 0 1 17rem; min-width: 0; }
.drawer-form select { flex: 0 1 12rem; min-width: 0; }
.drawer-form input:focus, .drawer-form select:focus { border-color: var(--main); outline: 2px solid var(--accent); outline-offset: 1px; }
.drawer-form button { height: 38px; padding: 0 1.1rem; border: 0; border-radius: 6px; background: var(--main); color: #fff; font: 700 .95rem 'Public Sans', sans-serif; cursor: pointer; }
.drawer-form button:hover { background: var(--deep); }
.search-tab { pointer-events: auto; justify-self: start; margin-left: 4.5rem; display: inline-flex; align-items: center; gap: .35rem; min-height: 30px; padding: 0 .85rem; background: var(--accent); color: #1B1F2A; font: 700 .85rem 'Public Sans', sans-serif; text-decoration: none; border-radius: 0 0 8px 8px; box-shadow: 0 3px 6px rgba(0, 0, 0, .28); }
.search-tab:hover { background: #fff; }
.search-tab:focus-visible { outline: 3px solid #1B1F2A; outline-offset: 2px; }
@media (max-width: 560px) { .drawer-form input { flex: 1 1 100%; } .drawer-form select { flex: 1 1 0; } .search-tab { margin-left: 3.5rem; } }
@media (prefers-reduced-motion: reduce) { .search-slide, .search-panel, .search-panel-in { transition: none; } }
/* the full search page uses the same smaller fields */
.sf-field input, .sf-field select { min-height: 40px; padding: .35rem .6rem; font-size: .98rem; }
.search-form .btn { min-height: 40px; padding: .4rem 1.2rem; }
.search-form { padding: .75rem 1rem; max-width: 44rem; }
.search-page { padding-top: 1.4rem; }

/* business directory (directory.php, listing.php) */
.dir-count { font-size: 1.05rem; margin: .5rem 0 1rem; }
.dir-tiles { list-style: none; margin: 1rem 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .9rem; }
.dir-tiles a { display: block; background: var(--main); color: #fff; text-decoration: none; border-radius: 12px; padding: 1.1rem 1.2rem; box-shadow: 4px 4px 0 var(--deep); }
.dir-tiles a:hover, .dir-tiles a:focus-visible { background: var(--deep); }
.dir-tiles b { display: block; font: 900 clamp(1.7rem, 4vw, 2.2rem) 'Big Shoulders Display', sans-serif; text-transform: uppercase; line-height: 1; }
.dir-tiles span { display: inline-block; margin-top: .4rem; font-size: .9rem; font-weight: 700; color: #1B1F2A; background: var(--accent); border-radius: 4px; padding: 0 .5rem; }
.chips { list-style: none; margin: .25rem 0 .75rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-block; font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--deep); background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .8rem; }
.chip:hover, .chip:focus-visible { border-color: var(--main); background: #fff; }
.chip span { color: var(--muted); font-weight: 400; }
.dir-filter { margin: 0 0 1rem; }
.dir-filter-title { margin: 0; font-weight: 700; }
.dir-tools { font-size: .92rem; margin: .5rem 0 1rem; }
.featured-tag { background: var(--accent); color: #1B1F2A; }
.open-badge { display: inline-block; font: 700 .78rem 'Public Sans', sans-serif; border-radius: 4px; padding: 0 .45rem; vertical-align: middle; }
.open-badge.is-open { background: #DCF2E2; color: #14532D; }
.open-badge.is-closed { background: #F1F1F1; color: #4B5160; }
.biz-grid { max-width: 52rem; }
.biz-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1.1rem 1.1rem; margin: 1.1rem 0; }
.biz-card h2 { margin-top: 0; font-size: 1.6rem; }
.biz-facts { margin: 0; display: grid; grid-template-columns: minmax(6rem, 22%) 1fr; gap: .35rem 1rem; }
.biz-facts dt { font-weight: 700; }
.biz-facts dd { margin: 0; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: .3rem .5rem .3rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours-table th { font-weight: 700; width: 9rem; }
.biz-foot { font-size: .9rem; color: var(--muted); }
.nearby-biz { max-width: 52rem; }
@media (max-width: 560px) { .biz-facts { grid-template-columns: 1fr; } .biz-facts dd { margin-bottom: .5rem; } }
.town-directory { margin-top: 2.5rem; }

/* ===== Home page ===== */
.wrap-wide { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.hm-hero { position: relative; background: var(--main); color: #fff; min-height: clamp(560px, 84vh, 860px); display: flex; align-items: center; overflow: hidden; border-bottom: 5px solid var(--accent); }
.hm-slides { position: absolute; inset: 0; }
.hm-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.hm-slide.is-on { opacity: 1; }
.hm-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-slide figcaption { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; max-width: 70%; }
.hm-cap { background: var(--accent); color: #1B1F2A; font: 800 1.05rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .12em; padding: .2rem .7rem; border-radius: 3px; }
.hm-credit { font-size: .75rem; color: rgba(255,255,255,.9); text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.hm-hero-in { position: relative; z-index: 3; width: 100%; max-width: 1280px; margin: 0 auto; padding: 4rem 1rem 5.5rem; }
.hm-eyebrow { display: inline-block; margin: 0 0 .8rem; font-weight: 700; letter-spacing: .2em; font-size: .85rem; text-transform: uppercase; color: #1B1F2A; background: var(--accent); padding: .3rem .8rem; border-radius: 3px; }
.hm-hero h1 { color: #fff; font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: .92; max-width: 14ch; margin: 0; text-shadow: 0 2px 3px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.6), 0 4px 28px rgba(0,0,0,.6); }
.hm-sub { font-size: 1.2rem; line-height: 1.5; max-width: 36rem; margin: 1.2rem 0 0; color: #fff; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 10px rgba(0,0,0,.7); }
.hm-search { margin-top: 1.8rem; background: #fff; color: var(--ink); border-radius: 16px; padding: .6rem; display: flex; flex-wrap: wrap; gap: .6rem; max-width: 760px; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.hm-f { display: flex; flex-direction: column; padding: .3rem .8rem; }
.hm-f-q { flex: 3 1 240px; }
.hm-f-t { flex: 1 1 170px; border-left: 1px solid #E5E7EB; }
.hm-f span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #4B5563; }
.hm-f input, .hm-f select { border: 0; outline: none; font: inherit; font-size: 1.1rem; padding: .35rem 0; color: var(--ink); background: transparent; min-width: 0; }
.hm-f:focus-within { box-shadow: inset 0 0 0 2px var(--main); border-radius: 10px; }
.hm-search button { flex: 0 0 auto; border: 0; background: var(--main); color: #fff; font: inherit; font-weight: 700; font-size: 1.05rem; padding: 0 1.8rem; min-height: 54px; border-radius: 10px; cursor: pointer; }
.hm-search button:hover { background: var(--deep); }
@media (max-width: 640px) { .hm-f-t { border-left: 0; border-top: 1px solid #E5E7EB; } .hm-search button { width: 100%; } .hm-hero-in { padding-bottom: 5.5rem; } }

.hm-ctl { position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 4; max-width: 1280px; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; gap: .5rem; pointer-events: none; }
.hm-ctl[hidden] { display: none; }
.hm-ctl > * { pointer-events: auto; }
.hm-ctl > button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; background: rgba(10,14,24,.55); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0; }
.hm-ctl > button:hover { background: rgba(10,14,24,.85); }
.hm-ctl > button:focus-visible, .hm-dots button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hm-dots { display: flex; gap: .45rem; margin-left: .5rem; }
.hm-dots button { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hm-dots button.is-on { background: var(--accent); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hm-slide { transition: none; } }

.hm-tiles { position: relative; margin-top: 2rem; }
.hm-tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.hm-tile { background: #fff; border-radius: 18px; padding: 1.4rem 1.4rem 1.2rem; text-decoration: none; color: var(--ink); box-shadow: 0 12px 30px rgba(20,24,40,.16); display: flex; flex-direction: column; gap: .5rem; border-bottom: 6px solid var(--accent); }
.hm-tile:hover, .hm-tile:focus-visible { box-shadow: 0 16px 36px rgba(20,24,40,.24); }
.hm-ico { width: 52px; height: 52px; border-radius: 13px; background: var(--main); color: #fff; display: flex; align-items: center; justify-content: center; }
.hm-tile-name { font: 800 2rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; line-height: 1; }
.hm-tile-text { font-size: .95rem; color: var(--muted); line-height: 1.45; }
.hm-tile-cta { font-weight: 700; color: var(--link); font-size: .95rem; }
.hm-more { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.hm-more b { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: .3rem; }
.hm-more a { background: #fff; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .45rem .9rem; border-radius: 999px; }
.hm-more a:hover { border-color: var(--main); }

.hm-sec { margin-top: 4.5rem; }
.hm-kicker { margin: 0 0 .3rem; font-weight: 700; letter-spacing: .2em; font-size: .8rem; text-transform: uppercase; color: var(--link); }
.hm-kicker.on-dark { color: var(--accent); }
.hm-sec h2, .hm-pride h2 { margin-top: 0; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: .95; color: var(--ink); }
.hm-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.hm-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.hm-card h3 { margin: 0; font-size: 1.5rem; color: var(--ink); }
.hm-card h3 a { color: inherit; text-decoration: none; }
.hm-card h3 a:hover { text-decoration: underline; }
.hm-card p { margin: 0; }
.hm-date { align-self: flex-start; background: var(--accent); color: #1B1F2A; font-weight: 700; font-size: .75rem; letter-spacing: .1em; padding: .3rem .6rem; border-radius: 6px; }
.hm-where { color: var(--muted); font-size: .95rem; }
.hm-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem !important; }
.hm-pill { display: inline-block; background: var(--accent); color: #1B1F2A; text-decoration: none; font-weight: 700; padding: .8rem 1.4rem; border-radius: 999px; }
.hm-pill:hover { filter: brightness(.95); }
.hm-pill.small { padding: .5rem 1rem; font-size: .92rem; background: var(--main); color: #fff; }
.hm-pill.small.ghost { background: transparent; color: var(--link); border: 1.5px solid var(--main); }
.hm-pill.dark { background: #1B1F2A; color: #fff; }

.hm-feature { background: var(--main); color: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-wrap: wrap; }
.hm-feature-text { flex: 1 1 440px; padding: 2.6rem 2.4rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.hm-feature h2 { color: #fff !important; margin: 0; }
.hm-feature p { margin: 0; font-size: 1.1rem; line-height: 1.55; max-width: 34rem; color: rgba(255,255,255,.95); }
.hm-feature-tiles { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; width: 100%; max-width: 34rem; }
.hm-feature-tiles a { display: block; background: rgba(255,255,255,.18); color: #fff; text-decoration: none; padding: .9rem 1rem; border-radius: 12px; font-weight: 700; }
.hm-feature-tiles a:hover { background: rgba(255,255,255,.3); }
.hm-feature-img { flex: 1 1 360px; min-height: 340px; background: var(--deep) center / cover no-repeat; }

.hm-town-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; margin: 1.2rem 0; }
.hm-town { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--main); border-radius: 14px; padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .2rem; }
.hm-town:hover, .hm-town:focus-visible { border-color: var(--main); box-shadow: 0 6px 16px rgba(20,24,40,.12); }
.hm-town b { font: 800 1.6rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; line-height: 1; color: var(--deep); }
.hm-town span { font-size: .9rem; color: var(--muted); }

.hm-pride { margin-top: 4.5rem; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4rem 0; }
.hm-pride-in { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; }
.hm-pride-in > div:first-child { flex: 1 1 420px; }
.hm-pride-in p { font-size: 1.1rem; color: #374151; }
.hm-pride-grid { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.hm-pride-grid div { color: #fff; border-radius: 16px; padding: 1.4rem; display: flex; flex-direction: column; gap: .3rem; }
.hm-pride-grid b { font: 900 1.8rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; line-height: 1; }
.hm-pride-grid span { font-size: .95rem; }

.hm-twin { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; }
.hm-box { border-radius: 24px; padding: 2.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.hm-box h2 { margin: 0; color: inherit !important; font-size: clamp(2rem, 5vw, 3rem); }
.hm-box p { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.hm-box-accent { background: var(--accent); color: #1B1F2A; }
.hm-box-main { background: var(--main); color: #fff; }
.hm-box-main a { color: #fff; }

/* ===== Scenic drives ===== */
.map-route { height: 420px; }
@media (max-width: 560px) { .map-route { height: 320px; } }
.tour-facts .stat b { font-size: 1.5rem; }
.tour-along { font-size: 1.15rem; font-weight: 600; background: var(--tint); border-left: 5px solid var(--main); padding: .9rem 1.1rem; border-radius: 4px; margin: 1.5rem 0; max-width: 70rem; }
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.tour-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); }
.tour-card:hover, .tour-card:focus-visible { border-color: var(--main); box-shadow: 0 6px 16px rgba(20,24,40,.14); }
.tour-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tour-card-body { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1rem 1.1rem; }
.tour-card-body b { font: 900 1.5rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; line-height: 1; color: var(--deep); }
.tour-card-body span { font-size: .95rem; color: var(--muted); }
.tour-card-body .tour-meta { font-weight: 700; color: var(--link); }
.now-tag { display: inline-block; vertical-align: middle; font: 700 .8rem 'Public Sans', sans-serif; text-transform: none; letter-spacing: .02em; background: var(--accent); color: #1B1F2A; padding: .2rem .6rem; border-radius: 999px; margin-left: .5rem; }

/* Scenic drive pictures run the full width of the text column */
.tour-story .story-fig { max-width: none; }
.tour-story .story-fig img { aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .tour-story .story-fig img { aspect-ratio: 3 / 2; } }

/* ===== Slide-out menu (hamburger). Without JavaScript the menu simply stays in the header bar. ===== */
.nav-toggle, .nav-close, .nav-tag, .nav-backdrop { display: none; }
.js-nav .site-bar { justify-content: flex-start; flex-wrap: nowrap; gap: 1rem; }
.js-nav .nav-toggle { display: inline-flex; align-items: center; gap: .55rem; margin: 0; padding: .55rem .9rem; background: transparent; color: #fff; border: 2px solid #fff; border-radius: 8px; font: 700 1rem 'Public Sans', sans-serif; cursor: pointer; }
.js-nav .nav-toggle:hover { background: rgba(255, 255, 255, .16); }
.js-nav .nav-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }

.js-nav .site-bar nav { position: fixed; top: 0; bottom: 0; left: 0; z-index: 101; width: min(88vw, 340px); background: var(--deep); flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 1.2rem 1.4rem 2rem; overflow-y: auto; box-shadow: 8px 0 30px rgba(0, 0, 0, .35);
  transform: translateX(-105%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.js-nav .site-bar nav.is-open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
.js-nav .nav-close { display: block; align-self: flex-end; margin: 0; padding: 0 .5rem; width: 44px; height: 44px; background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .6); border-radius: 8px; font: 400 2rem/1 'Public Sans', sans-serif; cursor: pointer; }
.js-nav .nav-close:hover { background: rgba(255, 255, 255, .16); }
.js-nav .nav-close:focus-visible, .js-nav .site-bar nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.js-nav .nav-tag { display: block; margin: .8rem 0 1rem; font: 800 .95rem 'Public Sans', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.js-nav .site-bar nav a { display: block; padding: .8rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .2); color: #fff; font: 900 1.7rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.js-nav .site-bar nav a:hover { color: var(--accent); text-decoration: none; }
.js-nav .site-bar nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 5px 0 0 var(--accent); padding-left: 1rem; }
.js-nav .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 100; background: rgba(10, 14, 24, .6); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.js-nav .nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
html.nav-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .js-nav .site-bar nav, .js-nav .nav-backdrop { transition: none; } }

/* Pictures inside community and region text run the full width of the text column (they use the large copy of the photo, not the 800 px one) */
.wrap > .story-fig:not(.is-pano), .region-story .story-fig { max-width: none; }
.wrap > .story-fig:not(.is-pano) img, .region-story .story-fig img { aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .wrap > .story-fig:not(.is-pano) img, .region-story .story-fig img { aspect-ratio: 3 / 2; } }

/* Scenic drive: practical travel tips box at the bottom of the page */
.tour-tips { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--main); border-radius: 12px; padding: 1.2rem 1.5rem 1rem; margin: 1.5rem 0; max-width: 70rem; }
.tour-tips h2 { margin-top: 0; }
.tour-tips ul { margin: .5rem 0 .3rem; padding-left: 1.2rem; }
.tour-tips li { margin: .5rem 0; }

/* ===== Claim this business ===== */
.claim-box { border-top: 5px solid var(--accent); }
.claim-box h2 { margin-top: 0; }
.claim-note { background: var(--tint); border-left: 5px solid var(--main); padding: .6rem 1rem; border-radius: 4px; font-size: .95rem; }
.claim-form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1.1rem 1rem; margin: 0 0 1.2rem; min-width: 0; }
.claim-form legend { font: 800 1.3rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; color: var(--deep); padding: 0 .4rem; }
.claim-form label { display: block; font-weight: 600; margin-top: .8rem; }
.claim-form input[type=text], .claim-form input[type=email], .claim-form input[type=tel], .claim-form select, .claim-form textarea { display: block; width: 100%; max-width: 38rem; font: inherit; padding: .55rem .7rem; border: 1px solid #9CA3AF; border-radius: 6px; background: #fff; color: var(--ink); }
.claim-form input:focus-visible, .claim-form select:focus-visible, .claim-form textarea:focus-visible { outline: 3px solid var(--deep); outline-offset: 1px; }
.claim-form .perm { display: flex; gap: .6rem; align-items: flex-start; margin-top: .7rem; }
.claim-form .perm label { margin: 0; font-weight: 400; }
.claim-form .perm input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
.claim-form .hint { color: var(--muted); font-size: .9rem; margin: .3rem 0 0; }
.claim-errors p { background: #FEE2E2; border-left: 5px solid #B91C1C; color: #7F1D1D; padding: .5rem .9rem; border-radius: 4px; margin: .3rem 0; }
.claim-errors:empty { display: none; }
#claim-panel { margin-top: 1rem; }
.claim-benefits { margin: .3rem 0 1rem; padding-left: 1.2rem; }
.claim-benefits li { margin: .35rem 0; }
.claim-benefits .soon { color: var(--muted); font-size: .9em; white-space: nowrap; }

/* ===== Something wrong, or closed? Tell us ===== */
.report-box { margin: 1.5rem 0 .5rem; text-align: center; }
.report-btn-row { margin: 0; }
.report-box #report-panel { text-align: left; max-width: 40rem; margin: 1rem auto 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; }
.report-details { display: grid; grid-template-columns: minmax(6rem, 28%) 1fr; gap: .3rem 1rem; margin: 0; }
.report-details dt { font-weight: 700; color: var(--muted); }
.report-details dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .report-details { grid-template-columns: 1fr; } .report-details dd { margin-bottom: .4rem; } }

/* The quiet one-line strip shown while a page's sponsor spot is open */
.sponsor-card.is-compact { flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding: .65rem 1rem; max-width: 54rem; box-shadow: none; background: var(--tint); border: 1px dashed var(--line); border-left: 5px solid var(--accent); border-radius: 8px; }
.sponsor-compact-text { flex: 1 1 16rem; font-size: .95rem; line-height: 1.4; color: var(--muted); }
.sponsor-compact-text b { color: var(--ink); }
a.sponsor-card.is-compact:hover { box-shadow: none; transform: none; border-color: var(--main); }

/* Register page form */
.reg-card { max-width: 34rem; margin: 1.25rem 0 1.5rem; padding: 1.75rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(27, 31, 42, .12); }
.reg-card .reg-field { margin: 0 0 1.15rem; }
.reg-card label { display: block; margin: 0 0 .35rem; font-weight: 700; color: var(--ink); }
.reg-card .hint { font-weight: 400; color: var(--muted); }
.reg-card input[type="text"], .reg-card input[type="email"], .reg-card input[type="tel"] { display: block; width: 100%; box-sizing: border-box; padding: .85rem 1rem; font: inherit; font-size: 1.1rem; color: var(--ink); background: #fff; border: 2px solid #b9bfcc; border-radius: 10px; }
.reg-card input[type="text"]:focus, .reg-card input[type="email"]:focus, .reg-card input[type="tel"]:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--main); }
.reg-card .reg-agree { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.reg-card .reg-agree input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; flex: none; }
.reg-card .btn { width: 100%; padding: .9rem 1rem; font-size: 1.1rem; }
@media (min-width: 40rem) { .reg-card { padding: 2rem; } .reg-card .reg-names { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }

/* Our History: the old pictures, shown at their own size */
.then-pics { margin: 1.5rem 0; }
.then-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 1.25rem 1.5rem; margin: 0 0 1.5rem; }
.then-row figure { margin: 0; max-width: 100%; text-align: center; }
.then-row img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.then-row figcaption { margin-top: .4rem; font-size: .9rem; color: var(--muted); }

/* Home page: map section, and the one-line "All Businesses" banner that replaced the category chips */
.hm-allbiz { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0 0; padding: .7rem 1.1rem; background: var(--tint); border: 1.5px solid var(--line); border-left: 5px solid var(--accent); border-radius: 10px; color: var(--deep); font: 800 1.35rem 'Big Shoulders Display', sans-serif; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.hm-allbiz:hover, .hm-allbiz:focus-visible { border-color: var(--main); box-shadow: 0 4px 12px rgba(20, 24, 40, .1); }
.hm-pride-top { display: flex; flex-wrap: wrap; gap: 2.5rem 3rem; align-items: center; margin: 0 0 2.5rem; }
.hm-pride-map { flex: 0 1 400px; max-width: 100%; margin: 0 auto; }
.hm-pride-text { flex: 1 1 340px; }
.me-map { display: block; width: 100%; height: auto; }
.me-county { fill: #D5D8DF; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.me-county.is-aroostook { fill: var(--main); }
.hm-pride .hm-pride-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* Directory category page: town picker instead of a row of town links */
.dir-town-pick { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.dir-town-pick label { font-weight: 700; }
.dir-town-pick select { font: inherit; font-size: 1.05rem; padding: .55rem 2rem .55rem .8rem; min-width: 14rem; max-width: 100%; border: 2px solid #b9bfcc; border-radius: 10px; background: #fff; color: var(--ink); }
.dir-town-pick select:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--main); }

/* Claim form: the category picker */
.claim-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 1.25rem; }
.claim-cat-grid .perm.is-child { padding-left: 1.4rem; }

/* Mini sites (/sites/<name>/) */
.minisite { max-width: 62rem; margin: 0 auto; padding: 0 1rem 2rem; }
.ms-preview { background: #FEF3C7; border: 1px solid #E8C96A; border-radius: 8px; padding: .6rem 1rem; margin: 1rem 0; font-weight: 600; }
.ms-hero { position: relative; margin: 1rem 0 1.5rem; min-height: 14rem; display: flex; align-items: flex-end; background: var(--main); border-radius: 14px; overflow: hidden; border-bottom: 5px solid var(--accent); }
.ms-hero.has-img { background-size: cover; background-position: center; min-height: 18rem; }
.ms-hero-alt { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ms-hero-in { position: relative; padding: 1.5rem; width: 100%; }
.ms-hero.has-img .ms-hero-in { background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0)); padding-top: 4rem; }
.ms-hero h1 { margin: 0; color: #fff; font: 900 clamp(2.2rem, 7vw, 3.8rem) 'Big Shoulders Display', 'Arial Narrow', sans-serif; text-transform: uppercase; line-height: 1; }
.ms-hero p { margin: .4rem 0 0; color: #fff; font-size: 1.15rem; }
.ms-block { margin: 0 0 2rem; }
.ms-block h2 { margin: 0 0 .5rem; font: 800 clamp(1.7rem, 4vw, 2.3rem) 'Big Shoulders Display', 'Arial Narrow', sans-serif; text-transform: uppercase; color: var(--deep); }
.ms-block p { margin: 0 0 1rem; font-size: 1.08rem; }
.ms-split { display: flow-root; }
.ms-split .ms-pic { float: right; width: 42%; max-width: 26rem; margin: .25rem 0 1rem 1.75rem; }
.ms-split.is-left .ms-pic { float: left; margin: .25rem 1.75rem 1rem 0; }
.ms-split .ms-copy h2 { margin-top: 0; }
@media (max-width: 40rem) { .ms-split .ms-pic, .ms-split.is-left .ms-pic { float: none; width: 100%; max-width: none; margin: 0 0 1rem; } }
.ms-split img, .ms-wide img, .ms-gallery img { display: block; width: 100%; height: auto; border-radius: 12px; }
.ms-wide { margin-left: 0; margin-right: 0; }
.ms-wide figcaption { margin-top: .4rem; font-size: .92rem; color: var(--muted); text-align: center; }
.ms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; }
.ms-grid figure { margin: 0; }
.ms-list ul { margin: 0; padding-left: 1.2rem; font-size: 1.08rem; }
.ms-list li { margin: .2rem 0; }
.ms-contact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.5rem; box-shadow: 0 8px 24px rgba(27, 31, 42, .08); }
.ms-details { list-style: none; margin: 0 0 1rem; padding: 0; }
.ms-details li { margin: .25rem 0; }
.ms-details b { display: inline-block; min-width: 5.5rem; color: var(--deep); }
.ms-form label { display: block; margin: .8rem 0 .3rem; font-weight: 700; }
.ms-form input[type=text], .ms-form input[type=email], .ms-form textarea { display: block; width: 100%; box-sizing: border-box; padding: .7rem .9rem; font: inherit; border: 2px solid #b9bfcc; border-radius: 10px; background: #fff; }
.ms-form input:focus, .ms-form textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--main); }
.ms-thanks { background: #E6F4EA; border: 1px solid #A8D5B5; border-radius: 8px; padding: .75rem 1rem; font-weight: 600; }
.ms-foot { margin-top: 2rem; font-size: .95rem; color: var(--muted); text-align: center; }
.reg-card textarea { display: block; width: 100%; box-sizing: border-box; padding: .85rem 1rem; font: inherit; font-size: 1.1rem; color: var(--ink); background: #fff; border: 2px solid #b9bfcc; border-radius: 10px; }
.reg-card textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--main); }

/* Mini site: the message form starts closed, under a coloured bar */
.ms-formbox { margin-top: 1rem; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.ms-formbox summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; background: var(--main); color: #fff; font: 800 1.35rem 'Big Shoulders Display', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.ms-formbox summary::-webkit-details-marker { display: none; }
.ms-formbox summary::after { content: '+'; font-size: 1.6rem; line-height: 1; }
.ms-formbox[open] summary::after { content: '\2212'; }
.ms-formbox summary:hover, .ms-formbox summary:focus-visible { background: var(--deep); outline: 3px solid var(--accent); outline-offset: -3px; }
.ms-formbox .ms-form { padding: .5rem 1.1rem 1rem; background: #fff; }

/* Featured listings: a FEATURED tab on top and a tinted, framed card (the list order is never changed for them) */
.result-card { position: relative; }
.result-card.is-featured { margin-top: 1.4rem; background: var(--tint); border: 2px solid var(--main); border-top-left-radius: 0; box-shadow: 0 6px 16px rgba(27, 31, 42, .14); }
.result-card.is-featured .result-kind { background: #fff; }
.featured-tab { position: absolute; left: -2px; top: -1.6rem; height: 1.6rem; display: inline-flex; align-items: center; padding: 0 .85rem; background: var(--main); color: #fff; font: 800 .8rem 'Public Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; border-radius: 8px 8px 0 0; }
.featured-tab::before { content: '\2605'; margin-right: .4rem; color: var(--accent); }
.featured-examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem 1.5rem; margin: 1rem 0 1.5rem; max-width: 52rem; list-style: none; padding: 0; }
.featured-examples h4 { margin: 0 0 .5rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.featured-examples > div:first-child .result-list { margin-top: 1.4rem; }

/* Mini Sites page: the alphabetical list, and the collapsible explanation */
.ms-index { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.ms-index a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--main); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); }
.ms-index a:hover, .ms-index a:focus-visible { border-color: var(--main); box-shadow: 0 6px 16px rgba(20, 24, 40, .12); }
.ms-index img { display: block; width: 100%; height: 8rem; object-fit: cover; }
.ms-index-name, .ms-index-town, .ms-index-line { display: block; padding: 0 1rem; }
.ms-index-name { margin-top: .75rem; font: 800 1.5rem 'Big Shoulders Display', 'Arial Narrow', sans-serif; text-transform: uppercase; line-height: 1.05; color: var(--deep); }
.ms-index-town { font-size: .9rem; color: var(--muted); }
.ms-index-line { margin: .3rem 0 .9rem; font-size: .98rem; }
.ms-about { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.ms-about summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; background: var(--main); color: #fff; font: 800 1.35rem 'Big Shoulders Display', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.ms-about summary::-webkit-details-marker { display: none; }
.ms-about summary::after { content: '+'; font-size: 1.6rem; line-height: 1; }
.ms-about[open] summary::after { content: '\2212'; }
.ms-about summary:hover, .ms-about summary:focus-visible { background: var(--deep); outline: 3px solid var(--accent); outline-offset: -3px; }
.ms-about-body { padding: .5rem 1.25rem 1.25rem; }
.ms-about-body h2 { font-size: 1.6rem; margin: 1.25rem 0 .4rem; }
