@font-face {
  font-family: "Lilita One";
  src: url("/assets/fonts/lilitaone.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Questrial;
  src: url("/assets/fonts/questrial.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ground: #000;
  --panel: #101010;
  --edge: #565656;
  --ink: #fff;
  --muted: #ccc;
  --green: #00ff37;
  --orange: #fc6b03;
  --error: #ffb9b0;
  --display: "Lilita One", "Arial Black", sans-serif;
  --body: Questrial, Arial, sans-serif;
  --sans: Arial, Helvetica, sans-serif;
  --wrap: 980px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 1.0625rem/1.5 var(--body); }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
a { color: var(--green); text-underline-offset: .17em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); line-height: 1.12; }
h1 { font-size: clamp(2.15rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.32rem, 2.7vw, 1.65rem); }
h4 { font-size: 1.25rem; }

.wrap { width: min(calc(100% - 2rem), var(--wrap)); margin-inline: auto; }
.section { margin-block: 2.5rem; }
.skip-link {
  position: fixed; z-index: 8; left: .7rem; top: .5rem; padding: .65rem .9rem;
  background: var(--green); color: #000; transform: translateY(-150%);
}
.skip-link:focus { color: #000; transform: translateY(0); }

.site-header { color: #fff; }
.header-row { min-height: 243px; text-align: center; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 4px; }
.site-title {
  font: 400 clamp(2.4rem, 5.8vw, 3.5rem)/1.17 var(--display);
  letter-spacing: .006em;
  margin: 0;
  text-align: center;
}
.site-title a { color: #fff; text-decoration: none; }
.site-tagline { color: var(--muted); font-size: 23px; line-height: 27px; margin: 4px 0 0; }
#site-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; margin: auto 0 16px; }
#site-nav a {
  color: var(--green); text-decoration: none; font: 400 28px/41px var(--display); white-space: nowrap;
  padding-inline: 10px; border-radius: 0 9px 0 0;
  background: linear-gradient(180deg, #4b4b4b 0, #2f2f2f 42%, #171717 54%, #000 55%);
}
#site-nav a:hover, #site-nav a[aria-current] { color: #fff; }

.slideshow { aspect-ratio: 980/593; position: relative; overflow: hidden; background: #000; }
.slides, .slide, .slide img { width: 100%; height: 100%; }
.slide img { object-fit: cover; object-position: center; }
.slide-controls { position: absolute; inset: 0; pointer-events: none; }
.slide-controls button { pointer-events: auto; cursor: pointer; }
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); color: #fff; opacity: .76;
  width: 52px; height: 60px; border: 0; background: transparent; display: grid; place-items: center;
}
.slide-arrow:hover, .slide-arrow:focus-visible { opacity: 1; background: rgb(0 0 0 / 24%); }
.slide-prev { left: 3px; }
.slide-next { right: 3px; }
.slide-arrow::before {
  content: ""; width: 24px; height: 24px; border: solid currentColor; border-width: 1px 1px 0 0;
  transform: rotate(45deg); filter: drop-shadow(0 1px 2px #000);
}
.slide-prev::before { transform: rotate(-135deg); }
.slide-dots {
  position: absolute; display: flex; align-items: center; justify-content: center;
  bottom: 16px; left: 50%; transform: translateX(-50%);
}
.slide-dot, .slide-play {
  width: 23px; height: 27px; border: 0; background: transparent; color: #fff;
  display: grid; place-items: center; padding: 0;
}
.slide-dot::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 3px #000; }
.slide-dot[aria-current]::before { width: 11px; height: 11px; background: transparent; border: 2px solid #fff; }
.slide-play::before { content: ""; width: 8px; height: 10px; border: solid #fff; border-width: 0 2px; filter: drop-shadow(0 0 2px #000); }
.slide-play[data-paused]::before { width: 0; height: 0; border: solid transparent; border-width: 5px 0 5px 8px; border-left-color: #fff; }

.social-bar { text-align: center; min-height: 255px; padding-top: 33px; }
.social-bar h2 { font: 400 clamp(1.65rem, 4vw, 2.25rem)/1.18 var(--display); }
.social-icons { display: flex; justify-content: center; gap: 7px; margin: clamp(1.2rem, 4.1vw, 2.7rem) auto 0; }
.social-icons a { display: block; flex: 0 1 110px; min-width: 0; }
.social-icons img { width: 100%; }
.site-footer { text-align: center; padding-bottom: 24px; margin-top: 32px; }
body:has(.social-bar) .site-footer { margin-top: 0; }
.footer-row { display: grid; justify-items: center; gap: 8px; }
.footer-mark img { width: 123px; height: auto; }
.footer-row > p { margin: 0; font: 400 22px/1.18 var(--display); }
.footer-row .preview-banner { color: #aaa; margin: 4px 0 0; font: .875rem/1.4 var(--body); }

.page-intro { padding-block: .7rem .65rem; }
.page-intro h1 { max-width: 34ch; }
.page-intro .lead { color: var(--muted); max-width: 68ch; font-size: 1.22rem; margin-top: .8rem; }
.page-intro + .section { margin-top: 1rem; }
.eyebrow { color: var(--green); margin: 0 0 .6rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-bottom: .8rem; }
.back-link { display: inline-block; margin-bottom: .85rem; }
.panel { background: var(--panel); border: 1px solid var(--edge); padding: clamp(.9rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .55rem .95rem;
  background: var(--orange); border: 1px solid var(--orange); color: #000; font-weight: bold; cursor: pointer; text-decoration: none;
}
.button:hover { background: #ff913f; color: #000; }
.button.secondary { background: #000; color: var(--orange); }
.button.secondary:hover { background: #201307; }
.button:disabled { opacity: .65; cursor: wait; }

.map-title { text-align: center; padding-top: 6px; }
.map-title h1 { font: 700 clamp(2.5rem, 6.2vw, 3.75rem)/1.15 var(--sans); }
.map-title p { font: bold clamp(1.14rem, 3vw, 1.5rem)/1.3 var(--sans); margin: .3rem 0 0; }
.map-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 8vw, 5rem); padding-top: 56px; }
.map-groups > section:only-child { grid-column: 1 / -1; }
.map-group > h2 { font: 700 clamp(1.55rem, 3.3vw, 2rem)/1.25 var(--sans); }
.route-list { font: 400 clamp(1.125rem, 2.5vw, 1.5rem)/1.5 var(--sans); margin: 1.15em 0 0; padding-left: 1.4em; }
.trail-maps-page :is(.map-title h1, .map-title p, .map-group > h2, .route-list, .attribution) {
  font-family: var(--display);
  font-weight: 400;
}
.route-list a { color: #fff; text-decoration: none; }
.route-list a:hover, .route-list a:focus-visible { color: var(--green); text-decoration: underline; }
.route-back { margin-top: .65rem; }
.map-files { list-style: none; margin: 0 auto; padding: 0; border-top: 1px solid var(--edge); max-width: 850px; }
.map-files li { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .65rem .25rem; border-bottom: 1px solid var(--edge); }
.map-files li > div { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.attribution { text-align: center; color: var(--muted); margin-block: 2rem; }
.trail-notes { margin-top: 2rem; }

.event-card, .blog-card { background: #0a0a0a; border: 1px solid #555; min-width: 0; }
.event-card { display: flex; flex-direction: column; overflow: hidden; }
.featured-event { display: grid; grid-template-columns: minmax(180px, 2fr) minmax(0, 2.4fr); }
.event-card-photo { display: block; aspect-ratio: 16/9; overflow: hidden; background: #111; }
.featured-event .event-card-photo { aspect-ratio: auto; min-height: 100%; }
.event-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.event-card-content { padding: 1rem; }
.event-card h3 a, .blog-card h3 a { color: var(--ink); text-decoration: none; }
.event-card h3 a:hover, .blog-card h3 a:hover { color: var(--green); text-decoration: underline; }
.event-card p:not(.card-meta), .blog-card p:not(.card-meta) { color: var(--muted); margin: .5rem 0 .65rem; }
.card-meta { font-size: .95rem; color: #ddd; margin: 0 0 .55rem; }
.event-grid, .blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
[data-show-more] { margin-top: 1rem; }
.event-detail-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.8rem; align-items: start; margin-block: .75rem 3rem; }
.event-figure { margin: 0 0 1.25rem; }
.event-figure img { width: 100%; max-height: 540px; object-fit: contain; }
.event-sidebar > .actions { margin-top: .75rem; }
.event-info p { margin-bottom: .5rem; }
.event-closed { color: var(--muted); margin: .75rem 0 0; }
.article { color: var(--ink); font-size: 1.125rem; line-height: 1.53; }
.article h2, .article h3, .article h4 { margin: 1.25rem 0 .65rem; }
.article-image { display: block; width: fit-content; max-width: 100%; margin: 1rem 0; }
.article-image img { max-height: 400px; object-fit: contain; }
.blog-article p { max-width: 72ch; }
.blog-card p:last-child { margin-bottom: 0; }
.filter-bar { margin-bottom: 1rem; }
.filter-bar label { display: block; margin-bottom: .35rem; }
.filter-count { color: var(--muted); margin: .45rem 0 0; }
.filter-bar input { width: min(100%, 28rem); }
.field { display: grid; gap: .25rem; margin-bottom: .72rem; }
.field label { font-weight: bold; }
.field-optional { color: var(--muted); font-weight: normal; font-size: .875rem; margin-left: .6em; }
.field input, .field textarea, .filter-bar input {
  border: 1px solid #959595; color: var(--ink); background: #000;
  padding: .6rem .7rem; min-width: 0;
}
.field textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-side h2 { margin-bottom: .65rem; }
.demo-note { border-left: 2px solid var(--orange); padding: .45rem .6rem; font-size: .9rem; margin: 1rem 0 0; color: var(--muted); }
.form-status { color: var(--green); margin: .7rem 0 0; }
.form-status:empty { display: none; }
.form-status[data-error="true"] { color: var(--error); }

.original-about { padding-top: 10px; }
.original-about figure { margin: 0 0 18px; }
.original-about figure img { width: 295px; height: 310px; object-fit: contain; margin-inline: auto; }
.original-about h1 { font-size: 38px; text-align: center; margin: .5rem 0 1.6rem; }
.original-about article { font-size: clamp(1.1rem, 2.8vw, 1.56rem); padding: 0 12px; }
.original-media h1 { font: 400 clamp(2.9rem, 7.5vw, 4.625rem)/1.25 "Palatino Linotype", Palatino, Georgia, serif; text-align: center; }
.original-media .article { padding: .55rem; }
.original-media a { color: #fff; }
.original-media a:hover { color: var(--green); }
.original-contact { padding-top: 10px; text-align: center; }
.original-contact h1 { font: 400 clamp(2.5rem, 7.4vw, 4.5rem)/1.2 var(--display); }
.original-contact h1 span { display: block; }
.original-contact .contact-note { max-width: 49rem; margin: 3.9rem auto .75rem; font: 400 clamp(1rem, 3vw, 1.5rem)/1.27 var(--display); }
.original-contact .site-form { width: min(100%, 49rem); margin: 0 auto; padding: 0; border: 0; background: #000; text-align: left; }
.original-contact .field label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.original-contact .field input, .original-contact .field textarea {
  font: 400 clamp(1.1rem, 3vw, 1.56rem)/1.25 var(--display);
  border: 1px solid var(--orange); color: var(--ink); min-height: 48px; padding: .55rem .75rem;
}
.original-contact .field textarea { height: 100px; }
.original-contact .field input::placeholder, .original-contact .field textarea::placeholder { color: var(--orange); opacity: 1; }
.original-contact .button { min-width: 150px; float: right; background: #000; color: #fff; }
.original-contact .button:hover { background: var(--orange); color: #000; }
.original-contact .form-status, .original-contact .demo-note { clear: both; }
.original-contact .demo-note { position: relative; top: .55rem; }
.original-contact::after { content: ""; display: table; clear: both; }

.lightbox { background: #000; color: var(--ink); border: 1px solid var(--edge); width: min(95vw, 1100px); max-width: none; padding: 2.9rem .8rem .65rem; }
.lightbox::backdrop { background: rgb(0 0 0 / 86%); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox p { margin: .45rem 0 0; text-align: center; }
.lightbox p:empty { display: none; }
.lightbox-close { position: absolute; right: .5rem; top: .42rem; border: 1px solid var(--edge); background: var(--panel); color: #fff; width: 38px; height: 38px; cursor: pointer; font-size: 1.65rem; line-height: 1; }

@media (max-width: 760px) {
  .header-row { min-height: 0; padding: 10px 0 16px; }
  .site-title { font-size: clamp(2rem, 7vw, 3.1rem); }
  .site-tagline { font-size: clamp(.96rem, 2.8vw, 1.25rem); line-height: 1.2; margin: 9px 0 12px; }
  #site-nav { margin: .45rem 0 0; }
  #site-nav a { font-size: 1.35rem; line-height: 2rem; }
  .section { margin-block: 1.7rem; }
  .social-bar { min-height: 0; padding-top: 16px; margin-bottom: 22px; }
  .social-icons { max-width: 400px; }
  .slide-dots { bottom: 5px; }
  .slide-dot, .slide-play { width: clamp(17px, 5vw, 23px); }
  .slide-arrow { width: 42px; }
  .slide-arrow::before { width: 16px; height: 16px; }
  .event-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-detail-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .original-contact .contact-note { margin-top: 1.6rem; }
  .map-groups { padding-top: 1.6rem; }
}
@media (max-width: 480px) {
  .map-groups, .event-grid, .blog-grid, .featured-event { grid-template-columns: minmax(0, 1fr); }
  .route-list { margin-top: .6rem; }
  .map-files li { align-items: start; flex-direction: column; }
  .featured-event .event-card-photo { aspect-ratio: 16/9; min-height: 0; }
}
