/* package fonts (woff2, copied into dist/assets/fonts) */
@font-face { font-family: 'Rokkitt'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/rokkitt-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/rokkitt-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/rokkitt-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/rokkitt-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/rokkitt-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/rokkitt-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/rokkitt-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/rokkitt-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/rokkitt-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/rokkitt-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/rokkitt-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/rokkitt-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/rokkitt-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/rokkitt-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/rokkitt-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/rokkitt-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/rokkitt-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Rokkitt'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/rokkitt-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
/* generated block: satellite design tokens (light) */
:root {
  --bg-light-base: #eceee4;
  --fg-light-base-body: #1c2920;
  --fg-light-base-heading: #23432d;
  --fg-light-base-muted: #4a5547;
  --fg-light-base-link: #9c3d1c;
  --fg-light-base-inverse: #2c3a2f;
  --bg-light-card: #f1e1d5;
  --fg-light-card-body: #1c2920;
  --fg-light-card-heading: #23432d;
  --fg-light-card-muted: #4a5547;
  --fg-light-card-link: #9c3d1c;
  --fg-light-card-inverse: #2c3a2f;
  --bg-light-elevated: #f8f9f3;
  --fg-light-elevated-body: #1c2920;
  --fg-light-elevated-heading: #23432d;
  --fg-light-elevated-muted: #4a5547;
  --fg-light-elevated-link: #9c3d1c;
  --fg-light-elevated-inverse: #2c3a2f;
  --brand-light-accent: #9c3d1c;
  --brand-light-accent-hover: #23432d;
  --brand-light-on-accent: #f8f9f3;
  --focus-light-ring: #9c3d1c;
  --border-light-default: #23432d;
  --border-light-subtle: #b4bca8;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
/* component rules: semantic carriers and renderer-owned behaviours */
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* package stylesheet (verbatim; model-owned rules win by source order) */
/* Joint Ease Garden State: active outdoor trail guide */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  color: var(--fg-heading);
}

h1 { font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1.35rem; margin: 1.5rem 0 0.4rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

a { text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

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

figure { margin: 0 0 1.5rem; }

.photo-inline img { width: 100%; border-radius: 4px; }

/* ---------- Trailhead (header) ---------- */

.trailhead {
  border-top: 10px solid var(--border-light-default);
  border-bottom: 3px solid var(--brand-light-accent);
  padding: 0 1rem;
}

.trailhead-bar {
  max-width: 74rem;
  margin: 0 auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  text-decoration: none;
}

.brand .site-logo { width: 40px; height: 40px; }

.brand-name {
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
}

.trail-nav { display: flex; align-items: center; }

.trail-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.trail-links li { margin: 0; }

.trail-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.trail-links a:hover { border-bottom-color: var(--brand-light-accent-hover); }

/* Mobile menu: a full-width trail-sign strip under the brand row that
   opens in flow as a numbered route list, pushing the page down. */

.site-menu {
  width: 100%;
  border-top: 2px solid var(--border-light-default);
}

.site-menu > summary {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 0 1rem;
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fg-heading);
  background-color: var(--bg-light-card);
  background-image:
    repeating-radial-gradient(ellipse 160% 120% at 100% 0%, transparent 0 14px, rgba(156, 61, 28, 0.18) 14px 15px);
  cursor: pointer;
  list-style: none;
}

.site-menu > summary::-webkit-details-marker { display: none; }

.site-menu > summary:focus-visible {
  outline: 3px solid var(--focus-light-ring);
  outline-offset: -3px;
}

.menu-label { white-space: nowrap; }

/* Trail blaze: a terracotta diamond that rounds to a marker dot when open. */
.site-menu > summary .menu-icon {
  display: block;
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--brand-light-accent);
  transform: rotate(45deg);
  transition: border-radius 160ms ease;
}

.site-menu > summary .menu-icon::before,
.site-menu[open] > summary .menu-icon::before { content: none; }

.site-menu[open] > summary .menu-icon { border-radius: 50%; }
.site-menu[open] > summary { border-bottom: 2px dashed var(--border-light-default); }

.site-menu > ul {
  margin: 0;
  padding: 0.5rem 1rem 1rem;
  list-style: none;
  counter-reset: route;
  background: var(--bg-light-card);
  border-bottom: 6px solid var(--brand-light-accent);
}

.site-menu > ul li {
  margin: 0;
  counter-increment: route;
  border-bottom: 1px dashed var(--border-light-subtle);
}

.site-menu > ul li:last-child { border-bottom: 0; }

.site-menu > ul a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 52px;
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--fg-heading);
  text-decoration: none;
}

.site-menu > ul a::before {
  content: counter(route);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
}

.site-menu > ul a:hover { color: var(--brand-light-accent); }

.site-menu > ul a:focus-visible {
  outline: 3px solid var(--focus-light-ring);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .site-menu > summary .menu-icon { transition: none; }
}

@media (max-width: 959.98px) {
  .trailhead-bar { flex-wrap: wrap; gap: 0 1rem; }
  .trail-nav { flex: 1 0 100%; margin: 0 -1rem; }
}

@media (min-width: 960px) {
  .trail-links { display: flex; }
  .site-menu { display: none; }
}

/* ---------- Route (page wrapper) ---------- */

.route { padding-bottom: 3.5rem; }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  max-width: 74rem;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  font-size: 0.92rem;
}

.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; padding: 0 0.5rem; color: var(--fg-muted); }

/* ---------- Home ---------- */

.home {
  display: flex;
  flex-direction: column;
}

.home-body { display: contents; }

.home > *,
.home-body > * {
  width: min(100% - 2rem, 44rem);
  margin-left: auto;
  margin-right: auto;
}

.home .photo-hero {
  order: -1;
  position: relative;
  width: 100%;
  margin: 0;
  max-height: 34rem;
  overflow: hidden;
}

.home .photo-hero img {
  width: 100%;
  height: clamp(18rem, 52vw, 34rem);
  object-fit: cover;
}

.home .photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(ellipse 130% 90% at 78% 22%, transparent 0 30px, rgba(248, 249, 243, 0.32) 30px 31.5px);
}

.home-hero {
  width: min(100% - 2rem, 52rem);
  margin-top: 2rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-top: 10px solid var(--brand-light-accent);
  border-radius: 0 0 6px 6px;
  position: relative;
  z-index: 1;
  background-image:
    repeating-radial-gradient(ellipse 140% 90% at 92% 8%, transparent 0 24px, var(--border-light-subtle) 24px 25px);
}

.home:has(.photo-hero) .home-hero { margin-top: -5.5rem; }

.home-hero h1 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-light-accent);
  margin: 0 0 0.6rem;
}

.home-headline {
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 14ch;
  margin: 0 0 1rem;
}

.home-line {
  font-size: 1.2rem;
  max-width: 34rem;
  margin: 0;
}

.topic-badges { margin-top: 1.5rem; margin-bottom: 1rem; }

.topic-badges ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.topic-badges li { margin: 0; }

.topic-badges a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.35rem 1rem 0.35rem 0.6rem;
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  border: 2px solid var(--border-light-default);
  border-radius: 999px;
  background: var(--bg-light-elevated);
}

.topic-badges a::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--brand-light-accent);
  background: var(--bg-light-elevated);
  flex: none;
}

.topic-badges a:hover { border-color: var(--brand-light-accent-hover); text-decoration: underline; }

.home-body > p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.home-body > h2::before,
.trail-card-text > h2::before,
.field-guide-text > h2::before {
  content: "";
  display: block;
  height: 12px;
  margin-bottom: 0.9rem;
  background:
    radial-gradient(ellipse 12px 8px at 50% 100%, transparent 9px, var(--border-light-default) 9px 10.5px, transparent 11px) 0 0 / 24px 12px repeat-x;
  opacity: 0.55;
}

.home-place {
  margin-top: 2rem;
  font-weight: 700;
}

/* ---------- Article (trail card) ---------- */

.trail-card {
  max-width: 46rem;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.trail-card-head {
  padding: 1.75rem 0 0.5rem;
  border-top: 8px solid var(--border-light-default);
}

.trail-card-head h1 { font-size: clamp(2.3rem, 6.5vw, 3.9rem); max-width: 18ch; }

.contour-rule {
  display: block;
  width: 100%;
  height: 24px;
  margin: 0.5rem 0 1.5rem;
  color: var(--brand-light-accent);
}

.trail-card-text > p:first-of-type { font-size: 1.2rem; line-height: 1.5; }

.trail-card-text > ul {
  list-style: none;
  padding: 1.1rem 1.25rem 0.7rem;
  margin: 1rem 0 1.5rem;
  background: var(--bg-light-card);
  border: 3px solid var(--brand-light-accent);
  border-radius: 6px;
}

.trail-card-text > ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
}

.trail-card-text > ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-light-accent);
}

.trail-card-text section[data-section],
.legend-text section[data-section],
.field-guide-text section[data-section],
.home-body section[data-section] {
  background-size: cover;
  background-position: center;
  padding: 2.5rem 1rem;
  margin: 1.75rem 0;
  border-radius: 6px;
}

section[data-section] > div {
  padding: 0.5rem 1.25rem 0.75rem;
  border-radius: 4px;
}

.photo-hero img { width: 100%; }

.trail-card .photo-hero img,
.field-guide .photo-hero img,
.legend .photo-hero img,
.contact .photo-hero img {
  border-radius: 6px;
  max-height: 28rem;
  object-fit: cover;
}

/* ---------- Topic hub (map legend) ---------- */

.legend {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.legend-head {
  padding: 2.25rem 0 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 3px solid var(--border-light-default);
}

.legend-head h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); max-width: 16ch; }

.legend-grid { display: grid; gap: 2rem; }

.legend-text { max-width: 44rem; }

.legend-routes {
  align-self: start;
  padding: 1.25rem 1.25rem 0.75rem;
  border: 2px solid var(--border-light-default);
  border-radius: 6px;
}

.legend-routes h2 { font-size: 1.5rem; margin: 0 0 1rem; }

.legend-routes ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2rem;
  position: relative;
}

.legend-routes ul::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0.6rem;
  bottom: 1.4rem;
  width: 4px;
  background: repeating-linear-gradient(to bottom, var(--border-light-default) 0 10px, transparent 10px 16px);
}

.legend-routes li {
  position: relative;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.legend-routes li::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.15rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-light-elevated);
  border: 5px solid var(--brand-light-accent);
}

.legend-routes a {
  display: inline-block;
  min-height: 44px;
  padding-top: 0.1rem;
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
}

@media (min-width: 900px) {
  .legend-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3.5rem; }
  .legend-routes { position: sticky; top: 1.5rem; }
}

/* ---------- About (field guide) ---------- */

.field-guide {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.field-guide-head { padding: 2.25rem 0 1.5rem; }

.field-guide-head h1 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-light-accent);
  margin-bottom: 0.75rem;
}

.field-guide-statement {
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.02;
  max-width: 20ch;
  margin: 0;
}

.field-guide-text { max-width: 44rem; }

.field-guide-text > .photo-hero { max-width: none; width: 100%; margin-bottom: 2rem; }

@media (min-width: 900px) {
  .field-guide-text { max-width: none; display: grid; grid-template-columns: minmax(0, 44rem); }
}

/* ---------- Contact (trailhead sign) ---------- */

.contact {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-head { padding: 2.25rem 0 1rem; }

.contact-head h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }

.contact-grid { display: grid; gap: 2.5rem; }

.contact-text { max-width: 42rem; }

.sign { align-self: start; }

.sign-board {
  padding: 1.5rem 1.4rem 1.4rem;
  border: 10px solid var(--border-light-default);
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px var(--brand-light-accent);
}

.sign-board h2 { margin: 0 0 1.1rem; font-size: 1.9rem; }

.sign-posts {
  display: flex;
  justify-content: space-around;
  height: 2.5rem;
}

.sign-posts::before,
.sign-posts::after {
  content: "";
  width: 14px;
  background: var(--border-light-default);
}

.sign-form { display: grid; gap: 1.05rem; }

.field label { display: block; font-weight: 700; margin-bottom: 0.3rem; }

.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: var(--fg-body);
  background: var(--bg-light-base);
  border: 2px solid var(--border-light-default);
  border-radius: 4px;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--focus-light-ring);
  outline-offset: 2px;
}

.sign-submit {
  justify-self: start;
  min-height: 48px;
  padding: 0.6rem 1.5rem;
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.sign-submit:hover { background: var(--brand-light-accent-hover); }

.sign-submit:focus-visible { outline: 3px solid var(--focus-light-ring); outline-offset: 3px; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 4rem; }
}

/* ---------- Thank you (summit marker) ---------- */

.summit { padding: 3rem 1rem 1rem; }

.summit-marker {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.25rem;
  border: 2px solid var(--border-light-default);
  border-top: 10px solid var(--border-light-default);
  border-radius: 6px;
}

.summit-flag { display: block; color: var(--border-light-default); margin-bottom: 0.75rem; }

.summit-flag-cloth { fill: var(--brand-light-accent); }

.summit-marker h1 { font-size: clamp(2.2rem, 6vw, 3rem); margin-bottom: 1rem; }

.summit-text h2 { font-size: 1.35rem; margin-top: 1.25rem; }

.summit-return {
  margin: 1.25rem 0 0;
  padding-top: 0.9rem;
  border-top: 2px solid var(--border-light-subtle);
  font-weight: 700;
}

.summit-return a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Basecamp (footer) ---------- */

.basecamp {
  border-top: 10px solid var(--border-light-default);
  padding: 2rem 1rem 2.5rem;
  background-image:
    repeating-radial-gradient(ellipse 120% 100% at 100% 100%, transparent 0 28px, var(--border-light-subtle) 28px 29px);
}

.basecamp-inner { max-width: 74rem; margin: 0 auto; }

.basecamp-line {
  font-family: 'Rokkitt', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  max-width: 40rem;
  margin: 0 0 1rem;
}

.basecamp-links {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.basecamp-links li { margin: 0; }

.basecamp-links a,
.basecamp-client a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

.basecamp-client { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Pinned header per 03-ia/chrome-plan.json; it unpins while the phone menu is open */
header.trailhead { position: sticky; top: 0; z-index: 40; background: var(--bg-light-base); }
header.trailhead:has(.site-menu[open]) { position: static; }
html { scroll-padding-top: 123px; }
