:root {
  --pine-950: #13271d;
  --pine-900: #183326;
  --pine-800: #244936;
  --pine-700: #315d44;
  --moss-600: #697b4f;
  --moss-400: #9caf78;
  --lichen: #dce1bf;
  --bark-900: #352116;
  --bark-700: #573722;
  --cedar: #855330;
  --rust: #aa4f2b;
  --campfire: #e0a23c;
  --cream: #f4eddc;
  --paper: #fffaf0;
  --ink: #22241f;
  --mist: #d8e4df;
  --plum: #5d3e74;
  --line: rgba(53, 33, 22, 0.24);
  --shadow: 8px 9px 0 rgba(53, 33, 22, 0.95);
  --soft-shadow: 0 22px 55px rgba(19, 39, 29, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(105, 123, 79, 0.1) 0 1px, transparent 1.7px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(87, 55, 34, 0.028) 1px, transparent 1px) 0 0 / 48px 100%,
    var(--cream);
  font: 1.0625rem/1.68 var(--sans);
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--pine-800);
  overflow-wrap: anywhere;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rust);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  color: var(--paper);
  background: var(--rust);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--pine-950);
  border: 2px solid var(--campfire);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

.agency-bar {
  color: var(--paper);
  background:
    repeating-linear-gradient(94deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 12px),
    var(--pine-950);
  border-bottom: 2px solid var(--bark-900);
}

.agency-bar .wrap {
  display: flex;
  min-height: 2.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agency-bar span:last-child {
  color: var(--campfire);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--paper);
  background:
    linear-gradient(rgba(36, 73, 54, 0.97), rgba(24, 51, 38, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 18px);
  border-bottom: 4px solid var(--bark-700);
  box-shadow: 0 8px 0 rgba(53, 33, 22, 0.2);
}

.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 5.65rem;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
  color: var(--paper);
  text-decoration: none;
}

.brand:hover {
  color: var(--paper);
}

.brand-mark {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7));
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 0.05rem;
}

.brand-copy strong {
  font: 700 clamp(1.15rem, 2vw, 1.45rem)/1.05 var(--serif);
}

.brand-copy small {
  color: var(--mist);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.55rem 0.75rem;
  color: var(--paper);
  background: transparent;
  border: 2px solid var(--moss-400);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-panel,
.primary-nav {
  display: flex;
  align-items: center;
}

.primary-nav {
  gap: 0.15rem;
}

.primary-nav a {
  position: relative;
  min-height: 2.75rem;
  padding: 0.72rem 0.7rem 0.62rem;
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: 0.7rem;
  bottom: 0.35rem;
  left: 0.7rem;
  height: 3px;
  background: var(--campfire);
  content: "";
  transform: scaleX(0) rotate(-1deg);
  transform-origin: left;
  transition: transform 170ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current]:not([aria-current="false"]) {
  color: var(--campfire);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current]:not([aria-current="false"])::after {
  transform: scaleX(1) rotate(-1deg);
}

main {
  min-height: 60vh;
}

.trailhead-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background-color: var(--pine-950);
  background-image:
    linear-gradient(90deg, rgba(19, 39, 29, 0.94) 0%, rgba(19, 39, 29, 0.8) 48%, rgba(19, 39, 29, 0.42) 100%),
    var(--hero-image, none);
  background-position: center;
  background-size: cover;
  border-bottom: 8px solid var(--bark-700);
}

.trailhead-hero {
  --hero-image: url("/assets/gabi2.webp");
  min-height: clamp(38rem, 78svh, 48rem);
  background-image:
    linear-gradient(90deg, rgba(6, 17, 13, 0.88) 0%, rgba(6, 17, 13, 0.66) 30%, rgba(6, 17, 13, 0.22) 56%, rgba(6, 17, 13, 0.12) 100%),
    var(--hero-image);
  background-position: 50% 52%;
  background-repeat: no-repeat;
}

.trailhead-hero .hero-copy {
  max-width: 40rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.58);
}

.trailhead-hero::before,
.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, transparent 0 4rem, rgba(216, 228, 223, 0.08) 4.15rem 4.3rem, transparent 4.45rem),
    radial-gradient(circle at 88% 70%, transparent 0 7rem, rgba(216, 228, 223, 0.07) 7.15rem 7.3rem, transparent 7.45rem);
  content: "";
}

.hero-grid {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(3.75rem, 7vw, 5.75rem);
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--rust);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy .kicker,
.page-hero .kicker {
  color: var(--campfire);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin: 0;
  font: 700 clamp(2.5rem, 6vw, 4.75rem)/1.08 var(--serif);
  letter-spacing: -0.025em;
}

.display {
  margin: 0;
  font: 700 clamp(2rem, 3.8vw, 3.5rem)/1.12 var(--serif);
  letter-spacing: -0.025em;
}

.hero-copy h1 span {
  display: block;
  color: var(--campfire);
}

.trailhead-hero .hero-copy h1 {
  font-size: clamp(3.15rem, 7.2vw, 6.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.trailhead-hero .hero-copy h1 span {
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.hero-lede {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--mist);
  font-size: clamp(1.08rem, 2.1vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.05rem;
  color: var(--paper);
  background: var(--rust);
  border: 3px solid var(--bark-900);
  box-shadow: 4px 5px 0 var(--bark-900);
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.button:hover {
  color: var(--paper);
  background: var(--cedar);
  box-shadow: 2px 2px 0 var(--bark-900);
  transform: translate(2px, 2px);
}

.button.is-light {
  color: var(--pine-950);
  background: var(--paper);
}

.button.is-gold {
  color: var(--pine-950);
  background: var(--campfire);
}

.field-placard {
  position: relative;
  padding: 1.8rem 1.55rem 1.65rem;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 250, 240, 0.95), rgba(244, 237, 220, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(53, 33, 22, 0.06) 30px 31px);
  border: 4px solid var(--bark-900);
  box-shadow: 10px 12px 0 rgba(224, 162, 60, 0.9);
  transform: rotate(1.5deg);
}

.field-placard::before {
  position: absolute;
  top: -1rem;
  left: 50%;
  width: 7.5rem;
  height: 2rem;
  background: rgba(216, 193, 142, 0.85);
  content: "";
  transform: translateX(-50%) rotate(-2deg);
}

.field-placard small {
  display: block;
  color: var(--rust);
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field-placard h2 {
  margin: 0.7rem 0 0;
  color: var(--pine-950);
  font: 700 2rem/1.15 var(--serif);
}

.marker-list {
  display: grid;
  gap: 0;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.marker-list li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.45;
}

.icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.marker-list .icon {
  margin-top: 0.08rem;
  color: var(--rust);
}

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section.is-compact {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.section.is-paper {
  background: var(--paper);
}

.section.is-pine {
  color: var(--paper);
  background:
    radial-gradient(circle at 86% 12%, rgba(156, 175, 120, 0.2), transparent 24%),
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 17px),
    var(--pine-800);
  border-block: 6px solid var(--bark-700);
}

.section.is-rust {
  color: var(--paper);
  background: var(--rust);
}

.section-heading {
  display: grid;
  max-width: 56rem;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.page-intro h2 {
  margin: 0;
  color: var(--pine-950);
  font: 700 clamp(2rem, 3.8vw, 3.5rem)/1.12 var(--serif);
  letter-spacing: -0.025em;
}

.section-heading > p:not(.kicker) {
  max-width: 46rem;
  margin: 0;
  color: var(--cedar);
  font-size: 1.08rem;
}

.is-pine .section-heading h2,
.is-rust .section-heading h2 {
  color: var(--paper);
}

.is-pine .section-heading > p:not(.kicker) {
  color: var(--mist);
}

.is-rust .section-heading > p:not(.kicker) {
  color: var(--paper);
}

.is-pine .section-heading .kicker,
.is-pine .prose > .kicker {
  color: var(--campfire);
}

.is-rust .section-heading .kicker,
.is-rust .prose > .kicker {
  color: var(--paper);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trail-card {
  position: relative;
  min-width: 0;
  padding: 1.55rem 1.45rem 1.6rem;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--bark-900);
  box-shadow: 6px 7px 0 var(--campfire);
}

.trail-card .route-number {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: var(--paper);
  background: var(--rust);
  border: 2px solid var(--bark-900);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.trail-card .tag,
.document-row .tag {
  display: inline-block;
  padding: 0.25rem 0.48rem;
  color: var(--pine-950);
  background: var(--lichen);
  border: 1px solid var(--moss-600);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trail-card h3 {
  margin: 1rem 0 0.5rem;
  color: var(--pine-950);
  font: 700 1.65rem/1.2 var(--serif);
}

.trail-card p {
  margin: 0;
  font-size: 0.96rem;
}

.trail-card a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.route-board {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 24px),
    var(--bark-700);
  border: 5px solid var(--bark-900);
  box-shadow: 12px 14px 0 var(--moss-600);
}

.route-sign {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
  padding: 0.85rem 1rem;
  color: var(--paper);
  background: var(--pine-800);
  border: 3px solid var(--pine-950);
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.route-sign:nth-child(even) {
  transform: rotate(-0.4deg);
}

.route-sign:hover {
  color: var(--paper);
  background: var(--rust);
  transform: translateX(0.35rem);
}

.route-sign:hover span:first-child,
.route-sign:hover .route-description {
  color: var(--paper);
}

.route-sign span:first-child {
  color: var(--campfire);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.route-copy {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.route-description {
  color: var(--mist);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.route-sign strong {
  font: 700 clamp(1.2rem, 3vw, 1.65rem)/1.1 var(--serif);
}

.route-sign .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-grid > *,
.split > *,
.page-intro > *,
.page-hero .wrap > *,
.document-row > *,
.footer-grid > * {
  min-width: 0;
}

.prose {
  max-width: 46rem;
}

.prose p {
  margin: 1rem 0 0;
}

.prose > .kicker {
  margin: 0 0 0.75rem;
}

.prose > h2:not(.display) {
  margin: 0;
  color: var(--pine-950);
  font: 700 clamp(2rem, 3.8vw, 3.5rem)/1.12 var(--serif);
  letter-spacing: -0.025em;
}

.is-pine .prose > h2,
.is-rust .prose > h2 {
  color: var(--paper);
}

.prose h2 + p {
  margin-top: 1.25rem;
  color: var(--cedar);
  font-size: 1.16rem;
}

.is-pine .prose h2 + p {
  color: var(--mist);
}

.is-rust .prose h2 + p {
  color: var(--paper);
}

.photo-frame {
  margin: 0;
  padding: 0.75rem;
  background: var(--paper);
  border: 4px solid var(--bark-700);
  box-shadow: 11px 12px 0 var(--rust);
  transform: rotate(-1.25deg);
}

.photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-frame.is-portrait {
  width: 100%;
  max-width: 26rem;
  justify-self: center;
  align-self: start;
  transform: none;
}

.photo-frame.is-portrait img {
  aspect-ratio: 4 / 5;
  object-position: center 24%;
}

.photo-frame figcaption {
  padding: 0.7rem 0.3rem 0.2rem;
  color: var(--cedar);
  font: italic 0.91rem/1.45 var(--serif);
}

.page-hero {
  --hero-image: linear-gradient(135deg, rgba(49, 93, 68, 0.7), rgba(19, 39, 29, 0.9));
  min-height: clamp(17rem, 30vw, 22rem);
}

.page-hero .wrap {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.32fr);
  align-items: end;
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.page-hero h1 {
  max-width: 52rem;
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
}

.page-hero p:not(.kicker) {
  max-width: 43rem;
  margin: 1.2rem 0 0;
  color: var(--mist);
  font-size: 1.18rem;
}

.trail-stamp {
  justify-self: end;
  max-width: 18rem;
  padding: 1.1rem;
  color: var(--pine-950);
  background: var(--campfire);
  border: 4px solid var(--bark-900);
  box-shadow: 6px 7px 0 var(--bark-900);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(2deg);
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.field-note {
  position: relative;
  padding: 1.5rem;
  background: var(--lichen);
  border: 3px solid var(--bark-700);
  box-shadow: 7px 8px 0 var(--moss-600);
  transform: rotate(1deg);
}

.field-note h3 {
  margin: 0;
  color: var(--pine-950);
  font: 700 1.55rem/1.2 var(--serif);
}

.field-note p {
  margin: 0.75rem 0 0;
  font-size: 0.94rem;
}

.document-list {
  display: grid;
  gap: 1rem;
}

.document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem);
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  background: var(--paper);
  border: 3px solid var(--bark-700);
  box-shadow: 5px 6px 0 rgba(87, 55, 34, 0.28);
}

.document-row h3 {
  margin: 0.55rem 0 0.3rem;
  color: var(--pine-950);
  font: 700 1.52rem/1.23 var(--serif);
}

.document-row p {
  max-width: 48rem;
  margin: 0;
  color: var(--cedar);
  font-size: 0.93rem;
}

.document-row .button {
  margin: 0;
  white-space: normal;
  justify-self: end;
}

.document-meta {
  margin-top: 0.5rem !important;
  color: var(--cedar) !important;
  font-size: 0.875rem !important;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.status-note {
  max-width: 20rem !important;
  padding: 0.8rem 0.9rem;
  color: var(--pine-950) !important;
  background: var(--lichen);
  border: 2px solid var(--moss-600);
  font-size: 0.875rem !important;
  line-height: 1.45;
}

.empty-state {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: var(--paper);
  border: 3px dashed var(--moss-600);
}

.empty-state h3 {
  margin: 0;
  color: var(--pine-950);
  font: 700 1.75rem/1.2 var(--serif);
}

.empty-state p {
  max-width: 42rem;
  margin: 0.8rem 0 0;
}

.quote-board {
  margin: 1.8rem 0 0;
  padding: 1.35rem 1.5rem;
  color: var(--pine-950);
  background: var(--mist);
  border-left: 0.55rem solid var(--moss-600);
  font: italic 1.28rem/1.35 var(--serif);
}

.personal-quote {
  margin: 1.8rem 0 0;
}

.personal-quote .quote-board {
  margin: 0;
}

.personal-quote figcaption {
  margin-top: 0.7rem;
  color: var(--cedar);
  font-size: 0.875rem;
  line-height: 1.5;
}

.project-art {
  margin-top: 2rem;
  transform: none;
}

.project-art img {
  height: auto;
  aspect-ratio: auto;
}

.project-facts {
  margin: 1rem 0 0;
}

.project-facts div {
  padding-block: 0.65rem;
  border-top: 1px solid var(--line);
}

.project-facts dt {
  color: var(--pine-950);
  font-size: 0.875rem;
  font-weight: 900;
}

.project-facts dd {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

.reading-sheet .editorial-note {
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--cedar);
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.55;
}

.screenplay-hero {
  min-height: auto;
}

.screenplay-hero .wrap {
  grid-template-columns: minmax(0, 1fr);
  padding-block: 3rem;
}

.screenplay-text {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: "Courier New", Courier, monospace;
}

.reading-sheet .screenplay-text h2 {
  font: 700 1.0625rem/1.5 "Courier New", Courier, monospace;
  letter-spacing: 0;
  text-wrap: initial;
}

.reading-sheet .screenplay-text p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.screenplay-text .script-transition {
  text-align: right;
}

.screenplay-dialogue {
  max-width: 27rem;
  margin: 1.5rem auto;
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
}

.screenplay-dialogue .speaker {
  margin: 0 0 0.3rem;
  font-weight: 700;
  text-align: center;
}

.screenplay-dialogue .speaker + p {
  margin-top: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 0 1.25rem;
  color: var(--cedar);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reading-sheet {
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.4rem, 5vw, 4.4rem);
  background:
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(53, 33, 22, 0.04) 32px 33px),
    var(--paper);
  border: 3px solid var(--bark-700);
  box-shadow: 9px 10px 0 rgba(87, 55, 34, 0.28);
}

.reading-sheet h2 {
  margin: 2.2rem 0 0.7rem;
  color: var(--pine-950);
  font: 700 clamp(1.65rem, 3vw, 2rem)/1.2 var(--serif);
}

.reading-sheet p {
  margin: 1.05rem 0 0;
}

.reading-sheet > p:first-of-type {
  color: var(--cedar);
  font-size: 1.16rem;
}

.site-footer {
  color: var(--mist);
  background:
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 17px),
    var(--pine-950);
  border-top: 7px solid var(--bark-700);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.8fr) minmax(12rem, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: 4rem 2.5rem;
}

.site-footer h2,
.site-footer h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
}

.site-footer h2 {
  font-size: 1.85rem;
}

.site-footer h3 {
  font-size: 1.08rem;
}

.site-footer p {
  max-width: 34rem;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.42rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--lichen);
}

.site-footer a:hover {
  color: var(--campfire);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem 1.5rem;
  border-top: 1px solid rgba(216, 228, 223, 0.2);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.breadcrumbs {
  margin-bottom: 1.2rem;
  color: var(--mist);
  font-size: 0.875rem;
  font-weight: 700;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 0.3rem;
  color: var(--campfire);
  content: "/";
}

.breadcrumbs a {
  color: var(--paper);
}

:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--pine-950);
}

@media (max-width: 72rem) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .no-js .nav-panel {
    grid-column: 1 / -1;
    padding-bottom: 1rem;
  }

  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .js .nav-panel {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.8rem 1rem 1rem;
    background: var(--pine-950);
    border-bottom: 4px solid var(--bark-700);
    box-shadow: 0 12px 20px rgba(19, 39, 29, 0.3);
  }

  .js .nav-panel[data-open="true"] {
    display: block;
  }

  .primary-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .primary-nav a {
    border: 1px solid rgba(216, 228, 223, 0.22);
  }
}

@media (max-width: 56.25rem) {
  .hero-grid,
  .split,
  .page-intro,
  .page-hero .wrap {
    grid-template-columns: 1fr;
  }

  .trailhead-hero {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 5rem 6rem;
  }

  .field-placard {
    max-width: 34rem;
    margin-inline: 0.45rem;
  }

  .card-grid,
  .card-grid.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero .wrap {
    align-items: center;
  }

  .trail-stamp {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .document-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .document-row .button {
    justify-self: start;
  }
}

@media (max-width: 40.625rem) {
  html {
    scroll-padding-top: 7rem;
  }

  .wrap {
    width: min(calc(100% - 2rem), var(--wrap));
  }

  .agency-bar .wrap {
    justify-content: center;
  }

  .agency-bar span:last-child {
    display: none;
  }

  .masthead {
    min-height: 4.8rem;
  }

  .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .trailhead-hero {
    background-image:
      linear-gradient(180deg, rgba(6, 17, 13, 0.78) 0%, rgba(6, 17, 13, 0.66) 43%, rgba(6, 17, 13, 0.88) 72%, rgba(6, 17, 13, 0.97) 100%),
      var(--hero-image);
    background-position: 47% 50%;
  }

  .trailhead-hero .hero-copy h1 {
    font-size: min(14vw, 4.6rem);
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .brand-copy small {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  .primary-nav {
    grid-template-columns: 1fr;
  }

  .primary-nav a {
    min-height: 3rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .display {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .field-placard,
  .photo-frame,
  .field-note {
    margin-inline: 0;
    transform: none;
  }

  .route-board {
    margin-inline: 0.2rem;
    padding: 0.85rem;
    box-shadow: 7px 8px 0 var(--moss-600);
  }

  .route-sign {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
  }

  .route-sign span:first-child {
    grid-column: 1 / -1;
  }

  .card-grid,
  .card-grid.is-two {
    grid-template-columns: 1fr;
  }

  .trail-card,
  .trail-card:nth-child(n) {
    transform: none;
  }

  .document-row {
    grid-template-columns: 1fr;
  }

  .document-row .button {
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .agency-bar,
  .site-header,
  .hero-actions,
  .site-footer,
  .menu-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .page-hero,
  .trailhead-hero,
  .section.is-pine,
  .section.is-rust {
    color: #000;
    background: #fff;
    border: 0;
  }

  a {
    color: #000;
  }

  main * {
    color: #000 !important;
    background: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }

  .js.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .page-hero,
  .trailhead-hero {
    min-height: auto;
  }

  .hero-grid,
  .page-hero .wrap {
    min-height: auto;
    padding-block: 1rem;
  }

  .section {
    padding-block: 1.5rem;
  }

  .field-placard,
  .field-note,
  .photo-frame,
  .trail-stamp {
    transform: none;
  }

  .photo-frame.is-portrait {
    max-width: 14rem;
  }

  .reading-sheet {
    max-width: none;
    padding: 0;
    border: 0;
    background: #fff;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }

  p {
    orphans: 3;
    widows: 3;
  }
}
