:root {
  color-scheme: light;
  --paper: #f6f5ee;
  --ink: #1d2b23;
  --muted: #4e5e52;
  --line: #dedfd3;
  --forest: #264636;
  --accent: #914521;
  --frame: clamp(1rem, 3.7vw, 3.25rem);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block-start: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
dd { margin: 0; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }

.shell { width: min(1280px, calc(100% - var(--frame) - var(--frame))); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 4;
  inset: .6rem auto auto 1rem;
  padding: .6rem 1rem;
  background: white;
  border: 1px solid var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: 1rem;
}
.wordmark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .64rem;
  text-decoration: none;
  white-space: nowrap;
  font-size: .99rem;
  font-weight: 780;
  letter-spacing: -.025em;
}
.peak-mark {
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 2rem;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: var(--forest);
}
.peak-mark::before,
.peak-mark::after {
  content: "";
  position: absolute;
  width: .87rem;
  height: .87rem;
  border: solid #f6f5ee;
  border-width: 1.5px 0 0 1.5px;
  transform: rotate(45deg);
  top: .82rem;
  left: .46rem;
}
.peak-mark::after { width: .57rem; height: .57rem; top: .93rem; left: 1rem; }
.site-nav { display: flex; align-items: center; gap: clamp(.85rem, 3.1vw, 2.5rem); }
.site-nav a, .footer-link { text-decoration: none; font-size: .91rem; font-weight: 600; }
.site-nav a:hover, .footer-link:hover { text-decoration: underline; text-underline-offset: .24rem; }
.header-action {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: .8rem;
  padding: .52rem .94rem;
  border: 1px solid #bec7b9;
  border-radius: 99px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
}
.header-action:hover { background: #e8ede2; border-color: #91a28e; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 42vw, 625px);
  overflow: hidden;
  border-radius: 1rem;
  color: #fffef7;
  background: #253e32;
}
.hero-image,
.hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 54% 53%; z-index: -2; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(88deg, rgba(14, 27, 21, .85), rgba(15, 29, 23, .6) 40%, rgba(19, 32, 27, .07) 82%);
}
.hero-content { padding: clamp(2rem, 5.7vw, 5.7rem); max-width: 39rem; }
.eyebrow {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 770;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.hero .eyebrow { color: #f2d8af; }
.hero h1, .section-header h2, .planning h2, .guide-heading h1, .guide-layout h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.04em;
}
.hero h1 { margin-top: .74rem; font-size: clamp(4rem, 7.2vw, 7rem); line-height: .96; }
.hero h1 em { font-weight: inherit; color: #fff2d6; }
.hero-intro { max-width: 29rem; margin-top: 1.55rem; font-size: 1.035rem; color: #fffef7; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 48px;
  padding: .7rem 1.16rem;
  border-radius: .45rem;
  font-size: .91rem;
  font-weight: 760;
  text-decoration: none;
}
.action-light { margin-top: 1.6rem; color: #1d2b23; background: #fff5de; }
.action-light:hover { background: #ffe4b2; }

.trail-section { margin: clamp(3.2rem, 6vw, 5.7rem) 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.45rem;
}
.section-header h2, .planning h2 { font-size: clamp(2.5rem, 4.8vw, 4.1rem); }
.section-header > p { max-width: 23rem; color: var(--muted); }
.trail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.8rem); }
.trail-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .82rem;
  background: #fffdf6;
}
.trail-card > img { width: 100%; height: auto; aspect-ratio: 16 / 10.5; object-fit: cover; background: #d7ddcb; }
.card-content { display: flex; flex: 1; flex-direction: column; padding: clamp(1.05rem, 2.1vw, 1.65rem); }
.card-content h3 { margin: .52rem 0 .55rem; font-size: clamp(1.25rem, 2.4vw, 1.65rem); letter-spacing: -.035em; }
.card-content > p:not(.eyebrow) { flex: 1; color: var(--muted); font-size: .94rem; }
.card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin-block: 1.18rem .85rem;
  padding-block: .77rem;
  border-block: 1px solid var(--line);
}
.card-facts dt, .guide-facts dt { color: var(--muted); font-size: .79rem; }
.card-facts dd, .guide-facts dd { font-weight: 720; font-variant-numeric: tabular-nums; }
.text-action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .57rem;
  color: #264936;
  font-weight: 750;
  font-size: .9rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .23em;
}
.text-action:hover { color: var(--accent); }

.planning {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: clamp(1.6rem, 6vw, 6rem);
  align-items: start;
  padding: clamp(1.65rem, 4.5vw, 4.2rem);
  margin-bottom: clamp(2.8rem, 6vw, 5.7rem);
  border-radius: 1rem;
  color: #f8f6e8;
  background: var(--forest);
}
.planning p { max-width: 29rem; margin-top: .95rem; color: #e1e9db; }
.planning-list > div { padding: .78rem 0; border-top: 1px solid #708979; }
.planning-list > div:last-child { padding-bottom: 0; }
.planning-list dt { font-weight: 730; }
.planning-list dd { color: #e1e9db; font-size: .94rem; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 98px; display: flex; gap: 1.05rem 1.6rem; flex-wrap: wrap; align-items: center; padding-block: 1.1rem; }
.footer-inner p { flex: 1; color: var(--muted); font-size: .91rem; }

.guide { max-width: 1060px; margin: 1rem auto clamp(3.2rem, 7vw, 6rem); }
.back-link { margin: .6rem 0 1.65rem; }
.guide-heading h1 { margin-top: .42rem; font-size: clamp(3rem, 7.1vw, 5.8rem); }
.guide-heading > p:not(.eyebrow) { max-width: 37rem; margin-top: .76rem; font-size: 1.12rem; color: var(--muted); }
.guide-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
  padding-block: .96rem;
  border-block: 1px solid var(--line);
}
.guide-photo img { width: 100%; height: auto; aspect-ratio: 2.15 / 1; object-fit: cover; border-radius: .95rem; background: #d7ddcb; }
.guide-photo figcaption { margin-top: .42rem; color: var(--muted); font-size: .82rem; }
.guide-photo figcaption a { text-underline-offset: .18rem; }
.guide-layout { display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: clamp(1.8rem, 5vw, 4.4rem); margin-top: 2rem; }
.guide-layout h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.route-steps { padding-left: 1.4rem; margin-block: .85rem 0; }
.route-steps li { padding-left: .35rem; margin-bottom: 1.08rem; }
.route-steps h3 { margin-bottom: .35rem; font-size: 1.08rem; }
.route-steps p, .guide-access > p:not(.eyebrow) { color: var(--muted); }
.guide-access { padding: clamp(1.1rem, 3vw, 1.65rem); border: 1px solid var(--line); border-radius: .8rem; background: #fffdf6; }
.guide-access h2 { margin: .45rem 0 .72rem; font-size: clamp(1.72rem, 3.1vw, 2.2rem); }
.resource-links { display: grid; gap: .62rem; list-style: none; padding: 0; margin: 1.03rem 0 0; }
.resource-links a { color: #264936; font-weight: 690; text-underline-offset: .2em; }
.resource-links a:hover { color: var(--accent); }

@media (max-width: 850px) {
  .section-header { align-items: start; flex-direction: column; gap: .6rem; }
  .trail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .site-header { grid-template-columns: auto 1fr; min-height: 65px; gap: .7rem; }
  .site-nav { justify-self: end; gap: .8rem; }
  .site-nav a { font-size: .82rem; }
  .header-action { display: none; }
  .hero { align-items: end; min-height: 510px; }
  .hero-image { object-position: 66% center; }
  .hero::after { background: linear-gradient(0deg, rgba(13, 26, 20, .92), rgba(15, 28, 22, .61) 49%, rgba(19, 32, 27, .08) 94%); }
  .hero-content { padding: 1.4rem; }
  .hero h1 { font-size: clamp(3.25rem, 11vw, 4.6rem); }
  .hero-intro { margin-top: .98rem; font-size: .96rem; }
  .action-light { margin-top: 1.2rem; }
  .trail-grid, .planning, .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-photo img { aspect-ratio: 16 / 10; }
  .guide-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner p { flex-basis: 100%; order: 1; }
}

@media (max-width: 350px) {
  .site-header { grid-template-columns: 1fr; padding-block: .65rem; }
  .site-nav { justify-self: start; }
}
