/* ==========================================================================
   New Jersey Travel Guide — newjersey.in
   Shared design system. System fonts only (no external CSS/CDN requests).
   ========================================================================== */

:root {
  /* Neutral base */
  --white: #ffffff;
  --paper: #fcfaf7;
  --sand-50: #f7f3ec;
  --sand-100: #efe8dc;
  --sand-200: #e3d9c9;
  --stone-300: #cfc6b8;
  --stone-500: #8b8578;
  --ink-700: #4a4740;
  --ink-900: #1d1c1a;

  /* Accents — Garden State green + weathered brass */
  --pine-900: #12362c;
  --pine-700: #1c5645;
  --pine-600: #256a55;
  --pine-100: #e6efea;
  --brass-600: #a2762f;
  --brass-100: #f4ead6;
  --shore: #2f6f8f;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Iowan Old Style", serif;

  /* Space & shape */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(29, 28, 26, .06), 0 1px 3px rgba(29, 28, 26, .05);
  --shadow-md: 0 6px 18px rgba(29, 28, 26, .08);
  --shadow-lg: 0 18px 45px rgba(29, 28, 26, .12);
  --wrap: 1180px;
  --wrap-narrow: 780px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: -.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.3rem); }
h3 { font-size: clamp(1.16rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.02rem; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
a { color: var(--pine-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--pine-900); }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid var(--brass-600);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pine-900);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(48px, 7vw, 86px) 0; }
.section--tight { padding: clamp(32px, 4vw, 52px) 0; }
.section--sand { background: var(--sand-50); }
.section--white { background: var(--white); }
.section--pine { background: var(--pine-900); color: #d9e6df; }
.section--pine h2, .section--pine h3, .section--pine h4 { color: #fff; }
.section--pine a { color: #cfe3d8; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: .9rem;
}
.section--pine .eyebrow { color: #c9a86a; }

.lede { font-size: clamp(1.03rem, 1.4vw, 1.16rem); color: var(--ink-700); max-width: 68ch; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head p { margin-bottom: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 247, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--sand-100);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 2px 14px rgba(29, 28, 26, .07); }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  color: var(--ink-900);
  text-decoration: none;
  line-height: 1.1;
}
.brand:hover { color: var(--ink-900); }
.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--pine-700), var(--pine-900) 70%);
  color: #f6efe2;
  display: grid;
  place-items: center;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand__text small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: .5rem .7rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 650;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 3px; }
.nav-toggle__bars i { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { margin: 0; position: relative; }
.nav-list a {
  display: block;
  padding: .55rem .68rem;
  font-size: .895rem;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.nav-list a:hover { color: var(--pine-900); background: var(--sand-50); }
.nav-list a[aria-current="page"] { color: var(--pine-900); background: var(--pine-100); }

.nav-cta {
  margin-left: 10px;
  padding: .55rem 1.05rem !important;
  background: var(--pine-700) !important;
  color: #fff !important;
  border-radius: var(--r-pill) !important;
  font-weight: 650 !important;
}
.nav-cta:hover { background: var(--pine-900) !important; }

/* Dropdown (desktop) */
.has-menu > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  margin-bottom: 2px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .55;
}
.subnav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--sand-100);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  display: none;
}
.subnav li { margin: 0; }
.subnav a { border-radius: var(--r-sm); font-weight: 550; }
.has-menu:hover .subnav,
.has-menu:focus-within .subnav { display: block; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: fixed;
    inset: 71px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--sand-100);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 71px);
    overflow-y: auto;
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: .8rem .7rem; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .subnav {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--sand-100);
    border-radius: 0;
    padding: 0 0 0 12px;
    margin: 2px 0 8px 8px;
    min-width: 0;
  }
  .subnav a { font-size: .93rem; padding: .45rem .6rem; color: var(--ink-700); }
  .has-menu > a::after { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 16px 0 0; font-size: .82rem; color: var(--stone-500); }
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--stone-300); }
.crumbs a { color: var(--stone-500); text-decoration: none; }
.crumbs a:hover { color: var(--pine-700); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink-700); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(460px, 68vh, 660px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--pine-900);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 22, 18, .90) 0%, rgba(12, 22, 18, .55) 42%, rgba(12, 22, 18, .12) 78%),
    linear-gradient(to right, rgba(12, 22, 18, .55), rgba(12, 22, 18, 0) 65%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(56px, 9vw, 96px);
  padding-bottom: clamp(40px, 5vw, 64px);
  color: #f4f1e9;
}
.hero h1 { color: #fff; max-width: 20ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero p.hero__dek {
  max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: #e5e2d8;
  margin-bottom: 1.6rem;
}
.hero .eyebrow { color: #e2c796; }

.hero--compact { min-height: clamp(330px, 46vh, 440px); }
.hero--compact h1 { max-width: 26ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .82rem 1.4rem;
  font-size: .93rem;
  font-weight: 650;
  font-family: inherit;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pine-600); color: #fff; box-shadow: 0 6px 18px rgba(18, 54, 44, .22); }
.btn--primary:hover { background: var(--pine-700); color: #fff; }
.btn--light { background: #fdfbf6; color: var(--pine-900); }
.btn--light:hover { background: #fff; color: var(--pine-900); }
.btn--ghost { background: transparent; color: #f4f1e9; border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { background: transparent; color: var(--pine-700); border-color: var(--stone-300); }
.btn--outline:hover { background: var(--pine-100); color: var(--pine-900); border-color: var(--pine-600); }
.btn--sm { padding: .58rem 1.05rem; font-size: .84rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: .9rem;
  text-decoration: none;
  color: var(--pine-700);
}
.link-arrow::after { content: "\2192"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Image + text split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }
.split__figure { margin: 0; position: relative; }
.split__figure figcaption {
  margin-top: 10px;
  font-size: .78rem;
  color: var(--stone-500);
}
@media (max-width: 860px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
}

/* ---------- Photo gallery grid ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--sand-100); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  padding: 10px 12px 12px;
  font-size: .79rem;
  color: var(--stone-500);
  background: var(--white);
  margin: 0;
}
.gallery--two { grid-template-columns: repeat(2, 1fr); }
.gallery--wide-first figure:first-child { grid-row: span 2; }
.gallery--wide-first figure:first-child img { aspect-ratio: 3 / 4; height: 100%; }
@media (max-width: 760px) {
  .gallery, .gallery--two { grid-template-columns: 1fr; }
  .gallery--wide-first figure:first-child img { aspect-ratio: 4 / 3; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 660px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand-100);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand-200);
  color: inherit;
}
.card__media { overflow: hidden; background: var(--sand-100); }
.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .45s ease;
}
a.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: 7px;
}
.card h3 { margin-bottom: .4em; font-size: 1.14rem; }
.card p { font-size: .9rem; margin-bottom: .9rem; color: var(--ink-700); }
.card p:last-child { margin-bottom: 0; }
.card__meta {
  margin-top: auto;
  font-size: .78rem;
  color: var(--stone-500);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px solid var(--sand-100);
}
.card--plain { border: none; background: transparent; }
.card--plain .card__media img { border-radius: var(--r-md); }

/* Region tile overlay variant */
.tile {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 260px;
  text-decoration: none;
  color: #fff;
  background: var(--pine-900);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 16, .86) 6%, rgba(10, 20, 16, .30) 52%, rgba(10, 20, 16, .06));
}
.tile:hover img { transform: scale(1.06); }
.tile__body {
  position: relative;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
}
.tile__body h3 { color: #fff; margin-bottom: .35em; }
.tile__body p { color: #e2e5df; font-size: .88rem; margin: 0; }
.tile--tall { min-height: 320px; }
.tile--tall .tile__body { min-height: 320px; }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats li {
  margin: 0;
  padding: 18px 4px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.stats li:first-child { border-left: 0; }
.stats b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stats span { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #a9bdb2; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
}

/* ---------- Content components ---------- */
.callout {
  background: var(--brass-100);
  border: 1px solid #e6d6b6;
  border-left: 3px solid var(--brass-600);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  margin: 0 0 1.6em;
  font-size: .92rem;
}
.callout h4 { margin-bottom: .35em; font-size: .92rem; letter-spacing: .02em; text-transform: uppercase; color: #7d5a1e; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

.note {
  background: var(--pine-100);
  border-left: 3px solid var(--pine-600);
  border-radius: var(--r-sm);
  padding: 15px 18px;
  font-size: .91rem;
  margin-bottom: 1.5em;
}
.note p:last-child { margin-bottom: 0; }

.factbox {
  background: var(--white);
  border: 1px solid var(--sand-100);
  border-radius: var(--r-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.factbox h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--stone-500); margin-bottom: 1em; }
.fact-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--sand-200);
  margin: 0;
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list dt, .fact-list .k { color: var(--stone-500); }
.fact-list .v { font-weight: 600; color: var(--ink-900); text-align: right; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.6em; padding: 0; list-style: none; }
.pill-row li { margin: 0; }
.pill {
  display: inline-block;
  padding: .34rem .8rem;
  font-size: .78rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  color: var(--ink-700);
  text-decoration: none;
}
.pill:hover { border-color: var(--pine-600); color: var(--pine-900); background: var(--pine-100); }

/* FAQ accordion */
.faq { border-top: 1px solid var(--sand-200); }
.faq details {
  border-bottom: 1px solid var(--sand-200);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 34px 16px 0;
  position: relative;
  font-weight: 650;
  color: var(--ink-900);
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--pine-700);
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { font-size: .94rem; }
.faq details p { margin: 0 0 1em; }
.faq details p:last-child { margin-bottom: 1.1em; }

/* Timeline / itinerary */
.timeline { list-style: none; margin: 0 0 2em; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--sand-200);
}
.timeline li {
  position: relative;
  padding: 0 0 26px 38px;
  margin: 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--pine-600);
}
.timeline h4 { margin-bottom: .25em; font-size: 1rem; }
.timeline .time {
  display: block;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: 4px;
}
.timeline p { font-size: .92rem; margin-bottom: .5em; }
.timeline p:last-child { margin-bottom: 0; }

/* Day tabs */
.tabs { margin-bottom: 1.5em; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  padding: 5px;
  background: var(--sand-50);
  border: 1px solid var(--sand-100);
  border-radius: var(--r-pill);
  width: fit-content;
  max-width: 100%;
}
.tablist button {
  font: inherit;
  font-size: .85rem;
  font-weight: 650;
  padding: .48rem 1rem;
  border-radius: var(--r-pill);
  border: 0;
  background: transparent;
  color: var(--ink-700);
  cursor: pointer;
}
.tablist button[aria-selected="true"] { background: var(--white); color: var(--pine-900); box-shadow: var(--shadow-sm); }
.tabpanel[hidden] { display: none; }

/* Comparison table */
.table-scroll { overflow-x: auto; margin-bottom: 1.8em; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .89rem;
  background: var(--white);
  min-width: 560px;
}
table.data caption {
  text-align: left;
  font-size: .8rem;
  color: var(--stone-500);
  padding-bottom: 8px;
}
table.data th, table.data td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--sand-100);
  vertical-align: top;
}
table.data thead th {
  background: var(--sand-50);
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-900);
  border-bottom: 1px solid var(--sand-200);
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fdfcf9; }

/* ---------- Region page intro ---------- */
.page-intro {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
@media (max-width: 900px) { .page-intro { grid-template-columns: 1fr; } }

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--sand-100);
  border-bottom: 1px solid var(--sand-100);
  margin-bottom: clamp(30px, 4vw, 48px);
  font-size: .84rem;
}
.anchor-nav a {
  padding: .28rem .7rem;
  border-radius: var(--r-pill);
  background: var(--sand-50);
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
}
.anchor-nav a:hover { background: var(--pine-100); color: var(--pine-900); }

/* Town list */
.town-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.town-list li {
  margin: 0;
  padding: 14px 0 14px 0;
  border-bottom: 1px solid var(--sand-100);
  font-size: .93rem;
}
.town-list li:last-child { border-bottom: 0; }
.town-list strong { color: var(--ink-900); display: block; font-size: .97rem; }
.town-list span { color: var(--ink-700); }

/* ---------- Email reveal ---------- */
.email-reveal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .6rem 1.1rem;
  font: inherit;
  font-size: .87rem;
  font-weight: 650;
  border-radius: var(--r-pill);
  border: 1px solid var(--sand-200);
  background: var(--white);
  color: var(--pine-700);
  cursor: pointer;
}
.email-reveal:hover { border-color: var(--pine-600); background: var(--pine-100); }
.email-reveal[data-revealed="true"] {
  cursor: text;
  background: var(--white);
  border-color: var(--pine-600);
  color: var(--ink-900);
  letter-spacing: .01em;
}
.email-reveal__hint { font-size: .8rem; color: var(--stone-500); display: block; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pine-900);
  color: #b9ccc2;
  padding: clamp(44px, 6vw, 70px) 0 0;
  font-size: .9rem;
}
.site-footer h2, .site-footer h3, .site-footer h4 { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 40px;
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand .brand__text small { color: #8fae9f; }
.footer-brand p { color: #a6bdb1; font-size: .88rem; max-width: 34ch; }
.footer-col h3 {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #8fae9f;
  margin-bottom: 1em;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55em; }
.footer-col a { color: #cfded4; text-decoration: none; font-size: .885rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.cookie-note {
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  font-size: .82rem;
  color: #a6bdb1;
  line-height: 1.65;
}
.cookie-note strong { color: #dfeae3; font-weight: 650; }
.cookie-note a { color: #cfded4; }

.footer-bottom {
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: #92aa9d;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #dfeae3; text-decoration: underline; text-decoration-thickness: 1px; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-legal a { text-decoration: none; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  display: none;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: .84rem; flex: 1 1 280px; }
.cookie-banner a { color: var(--pine-700); }
.cookie-banner .btn { flex: 0 0 auto; }
@media (max-width: 520px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .cookie-banner .btn { width: 100%; }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--sand-100); border: 0; margin: clamp(34px, 5vw, 56px) 0; }

/* Subtle entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}
