@font-face {
  font-family: "National Park";
  src: url("./assets/fonts/national-park.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("./assets/fonts/besley.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Roadgeek";
  src: url("./assets/fonts/roadgeek-d.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3ebd9;
  --brown: #7a3e20;
  --ink: #242b28;
  --red: #b54432;
  --forest: #254b3b;
  --sage: #a7b39a;
  --ochre: #d5a449;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; background: var(--forest); color: var(--paper); font: 400 1.125rem/1.6 "National Park", sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--brown); color: var(--paper); }
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid var(--ochre); outline-offset: 7px; border-radius: 2px; }
.skip-link { position: fixed; left: 20px; top: 14px; padding: 12px 18px; background: var(--paper); color: var(--brown); z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.skip-link:focus-visible { outline-color: var(--brown); outline-offset: -4px; }
.page-progress { position: fixed; inset: 0 0 auto; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; z-index: 5; pointer-events: none; }
.masthead { width: 100%; padding: 28px max(48px, calc((100% - 1280px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--brown); border-bottom: 1px solid rgb(243 235 217 / 24%); }
.masthead a:focus-visible { outline-color: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--paper); font: 400 23px/1.1 "Roadgeek", sans-serif; }
.brand-mark { width: 48px; height: 48px; border-radius: 4px; transition: transform .45s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-5deg); }
.masthead-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--paper); }
.masthead-link span { display: inline-block; font-size: 23px; transition: transform .3s var(--ease-out); }
.masthead-link:hover span { transform: translate(3px, -3px); }
.welcome { padding: clamp(44px, 6vw, 84px) 24px 68px; text-align: center; }
.sign-entrance { width: min(700px, 100%); margin: 0 auto; animation: sign-arrives 1.1s var(--ease-out) both; }
.park-sign { transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .8s var(--ease-out); }
.park-sign img { width: 100%; filter: drop-shadow(0 7px 5px rgb(12 29 21 / 30%)) drop-shadow(0 24px 20px rgb(12 29 21 / 38%)); }
.trail-link { display: inline-flex; gap: 18px; align-items: center; margin-top: 32px; min-height: 48px; padding: 5px 0; text-decoration: none; color: var(--paper); font-size: 15px; font-weight: 600; }
.trail-link span:first-child { border-bottom: 1px solid rgb(243 235 217 / 45%); }
.arrow-down { font-size: 26px; line-height: 1; transition: transform .4s var(--ease-out); }
.trail-link:hover .arrow-down { transform: translateY(5px); }
.statement { padding: 76px 32px; background: var(--paper); color: var(--ink); }
.section-label { display: flex; justify-content: center; align-items: center; gap: 19px; color: var(--red); font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.label-rule { width: 43px; height: 1px; background: currentColor; opacity: .6; }
h1 { max-width: 726px; margin: 34px auto 46px; font: 700 clamp(27px, 3.05vw, 40px)/1.3 "Besley", Georgia, serif; letter-spacing: -.035em; color: var(--brown); text-align: center; text-wrap: balance; }
.statement-body { max-width: 648px; margin: auto; }
.statement-body p { margin: 0 0 28px; }
.statement-body p:last-child { margin-bottom: 0; }
.statement-end { display: flex; gap: 23px; justify-content: center; align-items: center; max-width: 648px; margin: 55px auto 0; }
.statement-end span { flex: 1; height: 1px; background: rgb(122 62 32 / 24%); }
.statement-end img { width: 48px; height: 48px; border-radius: 4px; }
.larry { padding: 76px 28px 78px; }
.larry figure { max-width: 610px; margin: 0 auto; }
.larry img { width: 100%; }
.footer { background: var(--brown); color: var(--paper); text-align: center; padding: 47px 24px 27px; border-top: 1px solid rgb(243 235 217 / 24%); }
.footer p { margin: 0 0 23px; font: 700 clamp(13px, 3.8vw, 29px)/1.4 "Besley", Georgia, serif; white-space: nowrap; }
.back-to-top { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; font-size: 14px; text-decoration: none; }
.back-to-top span { display: inline-block; transition: transform .3s var(--ease-out); }
.back-to-top:hover span { transform: translateY(-4px); }
.footer a:focus-visible { outline-color: var(--paper); }
.footer-note { display: block; margin-top: 32px; font-size: 11px; letter-spacing: .035em; color: var(--paper); }
.reveal-pending { opacity: 0; transform: translateY(20px); }
.reveal-ready { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-ready.is-visible { opacity: 1; transform: none; }
@keyframes sign-arrives { from { opacity: 0; transform: translateY(24px) rotate(-1.5deg) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  html { scroll-padding-top: 24px; }
  .masthead { padding: 20px; gap: 14px; }
  .brand { gap: 10px; font-size: 19px; }
  .brand-mark { width: 42px; height: 42px; }
  .masthead-link { font-size: 12px; gap: 7px; }
  .masthead-link span { font-size: 20px; }
  .welcome { padding: 40px 18px 45px; }
  .trail-link { margin-top: 20px; font-size: 14px; }
  .statement { padding: 52px 26px 56px; }
  h1 { margin: 27px auto 34px; }
  .statement-body p { margin-bottom: 26px; }
  .statement-end { margin-top: 38px; }
  .larry { padding: 48px 20px 46px; }
}
@media (max-width: 360px) {
  .brand { font-size: 17px; }
  .masthead-link { gap: 5px; }
  .statement { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .park-sign, .sign-entrance, .reveal-pending { transform: none !important; opacity: 1 !important; }
  .page-progress { display: none; }
}
@media print {
  body { background: white; color: var(--ink); }
  .masthead { background: transparent; }
  .brand { color: var(--brown); }
  .masthead-link, .trail-link, .back-to-top, .page-progress { display: none; }
  .welcome { padding-block: 20px; }
  .sign-entrance { width: 350px; animation: none; }
  .reveal-pending { opacity: 1; transform: none; }
  .statement { max-width: 100%; }
  .larry figure { width: 300px; }
  .footer { color: var(--brown); background: transparent; }
  .footer-note { color: inherit; }
}
