@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-800-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-800-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/unbounded-800-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/unbounded-800-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1b1712;
  --cream: #f3eee4;
  --paper: #fffaf3;
  --pine: #1e4d38;
  --moss: #3f8f62;
  --sun: #f0b429;
  --ember: #e36a2c;
  --line: rgba(27, 23, 18, 0.12);
  --shadow: 0 24px 60px rgba(48, 32, 12, 0.12);
  --display: "Unbounded", "Segoe UI", sans-serif;
  --font: "Manrope", "Segoe UI", sans-serif;
  --progress: 0%;
  color-scheme: light;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  overflow-anchor: none;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  overflow-wrap: break-word;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, rgba(240, 180, 41, 0.18), transparent 32%),
    var(--cream);
  line-height: 1.55;
}
img, svg, video, canvas, iframe { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--pine); }
::selection { background: #f0b429; color: #1b1712; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: .6rem 1rem;
  z-index: 80;
}
.skip:focus { top: 1rem; }

.progress {
  position: fixed;
  inset: 0 auto 0 0;
  width: 5px;
  z-index: 40;
  background: rgba(30, 77, 56, 0.08);
  pointer-events: none;
}
.progress span {
  display: block;
  width: 100%;
  height: var(--progress);
  background: linear-gradient(#f0b429, #e36a2c);
}

.nav {
  position: fixed;
  z-index: 30;
  top: .8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .35rem;
  width: min(1280px, calc(100% - 2rem));
  padding: .45rem .55rem .45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px rgba(28, 22, 12, 0.1);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: -0.03em;
  margin-right: auto;
  white-space: nowrap;
}
.brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.nav-links { display: flex; gap: .28rem; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
  padding: .52rem .85rem;
  border-radius: 999px;
}
.nav-links a.is-on,
.nav-links a:hover { background: var(--pine); color: #f4efe4; }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--pine);
  color: #f4efe4;
  border-radius: 999px;
  padding: .55rem .9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(6.2rem, 16vw, 8rem) clamp(1rem, 5vw, 6vw) clamp(2.4rem, 6vw, 4.5rem);
  overflow: hidden;
  background: #d7ebc8;
}
.hero-photo {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: 68% center;
  transform-origin: 72% 40%;
  animation: hero-drift 32s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate3d(-1.6%, -1.2%, 0); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(243, 238, 228, 0.94) 0%, rgba(243, 238, 228, 0.78) 32%, rgba(243, 238, 228, 0.28) 58%, rgba(243, 238, 228, 0) 76%);
}
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.chips li {
  background: rgba(255, 250, 243, 0.8);
  border: 1px solid rgba(27, 23, 18, 0.08);
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .82rem;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.05rem, 11vw, 5.4rem);
  line-height: .96;
  letter-spacing: -0.045em;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--ember); }
.tagline {
  display: inline-block;
  margin: 1rem 0 .4rem;
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  background: var(--sun);
  padding: .35rem .8rem;
  border-radius: 999px;
  transform: rotate(-1.5deg);
}
.lede { font-size: clamp(1rem, 2.6vw, 1.08rem); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.35rem, 2vw, 1.2rem);
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.stats-row li { min-width: 0; }
.stats-row b { display: block; font-family: var(--display); font-size: clamp(1.1rem, 4vw, 1.35rem); }
.stats-row span { font-size: .82rem; color: #4d463c; }

.btn, button.btn, summary .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .85rem 1.2rem;
  text-decoration: none;
  font-weight: 800;
  border: 1.5px solid transparent;
  cursor: pointer;
  background: white;
}
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-ink { background: var(--ink); color: #f4efe4; }
.btn-ghost { background: transparent; border-color: rgba(27, 23, 18, 0.25); color: var(--ink); }
.btn:hover { transform: translateY(-2px); }

.wrap { width: min(1120px, calc(100% - clamp(1.25rem, 6vw, 5rem))); margin: 0 auto; }
.section { padding: clamp(3.1rem, 8vw, 5.5rem) 0; scroll-margin-top: 4.5rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .6rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pine);
}
.eyebrow::before {
  content: "";
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 5px rgba(227, 106, 44, 0.15);
}
h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 6.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.manifesto {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.manifesto .prose p { font-size: 1.05rem; }
.stage { perspective: 1400px; position: relative; padding: 0 0 3.5rem 0; }
.stage-inner {
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 7deg)) rotateY(var(--ry, -14deg));
  transition: transform .45s ease;
}
.banner-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(30, 40, 20, 0.28);
  background: white;
}
.banner-frame img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; }
.polaroid {
  position: absolute;
  width: min(240px, 46%);
  right: -4%;
  bottom: 0;
  background: white;
  padding: .5rem .5rem 1.7rem;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transform: translateZ(70px) rotate(7deg);
}
.polaroid img { display: block; width: 100%; border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.polaroid span {
  display: block;
  text-align: center;
  margin-top: .4rem;
  font-family: var(--display);
  font-size: .72rem;
}

.peaks {
  position: relative;
  width: 100%;
  height: clamp(108px, 22vw, 180px);
  margin-top: -2rem;
  perspective: 700px;
  pointer-events: none;
  overflow: hidden;
}
.peaks i {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  transform: translate3d(0, calc((1 - var(--shift, 0)) * 24px), calc(var(--z) * 1px));
  filter: drop-shadow(0 12px 0 rgba(30, 77, 56, 0.05));
}
.peaks i:nth-child(1) { left: 2%; --z: 10; border-width: 0 clamp(22px, 6vw, 70px) clamp(40px, 11vw, 110px); border-bottom-color: #8ecae6; }
.peaks i:nth-child(2) { left: 16%; --z: 40; border-width: 0 clamp(28px, 7.5vw, 90px) clamp(52px, 14vw, 150px); border-bottom-color: #67a85a; }
.peaks i:nth-child(3) { left: 34%; --z: 80; border-width: 0 clamp(34px, 9vw, 110px) clamp(64px, 16vw, 170px); border-bottom-color: #245036; }
.peaks i:nth-child(4) { left: 54%; --z: 30; border-width: 0 clamp(26px, 7vw, 80px) clamp(48px, 12vw, 130px); border-bottom-color: #3f8f62; }
.peaks i:nth-child(5) { left: 72%; --z: 0; border-width: 0 clamp(20px, 5.5vw, 64px) clamp(36px, 10vw, 100px); border-bottom-color: #d7efc8; }

.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.2rem 0 1.4rem; }
.filters button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: .45rem .8rem;
  font-weight: 800;
  cursor: pointer;
}
.filters button.is-on { background: var(--ink); color: #f4efe4; border-color: var(--ink); }

.route-grid, .event-grid, .guide-grid, .product-grid {
  display: grid;
  gap: 1rem;
}
.route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.route-card, .event-card, .product, .guide {
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.route-card summary, .event-card summary, .product summary {
  list-style: none;
  cursor: pointer;
  display: block;
}
.route-card summary::-webkit-details-marker,
.event-card summary::-webkit-details-marker,
.product summary::-webkit-details-marker { display: none; }
.route-face, .event-face, .product-face { padding: 0 0 1.1rem; }
.cover { border-radius: 28px 28px 0 0; overflow: hidden; }
.cover svg { display: block; width: 100%; height: auto; }
.route-face h3, .event-face h3, .product h3, .guide h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: .9rem 1.1rem .35rem;
  font-size: 1.35rem;
}
.summary, .guide p, .event-face p, .product p { margin: .2rem 1.1rem .8rem; color: #3c382f; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 1.1rem .7rem;
  padding: 0;
  list-style: none;
}
.pill, .diff {
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .78rem;
  font-weight: 800;
  background: #efe7d8;
}
.diff-easy { background: #d9f0df; color: #1e4d38; }
.diff-mid { background: #ffe7b8; color: #6a4b05; }
.diff-hard { background: #ffd7c8; color: #8a3416; }
.statline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
  margin: 0 1.1rem 1rem;
  padding: 0;
  list-style: none;
}
.statline li {
  background: #f6f1e6;
  border-radius: 16px;
  padding: .55rem .6rem;
}
.statline b { display: block; font-family: var(--display); font-size: .95rem; }
.statline span { font-size: .72rem; color: #5c564c; }
.route-face .btn, .event-face .btn, .product-face .btn { margin-left: 1.1rem; }
.detail-source { padding: 0 1.1rem 1.2rem; }
.route-card:not([open]) .detail-source,
.event-card:not([open]) .detail-source,
.product:not([open]) .detail-source { display: none; }

.strava-band {
  background: var(--pine);
  color: #f4efe4;
  border-radius: 36px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 1.5rem;
  align-items: center;
}
.strava-band h2 { color: white; }
.strava-band p { color: rgba(244, 239, 228, 0.86); }
.strava-frame {
  background: #10281d;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  aspect-ratio: 16 / 10;
}
.strava-frame iframe { width: 100%; height: 100%; border: 0; }
.strava-card {
  display: flex;
  justify-content: center;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
}
.strava-card iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: 0;
  display: block;
}
.hike-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.hike-preview .hike:nth-child(n + 5) { display: none; }
.hike {
  min-width: 0;
  background: var(--paper);
  border-radius: 28px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}
.hike .strava-card { min-width: 0; min-height: 280px; }
.hike-preview .strava-card { height: 420px; max-height: 420px; }
.hike .strava-card iframe { min-width: 0 !important; }
@media (min-width: 981px) {
  .hike-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hike-preview .hike:nth-child(n + 5) { display: block; }
  .hike h3 { font-size: 1.05rem; }
  .hike { padding: .9rem .8rem 1rem; border-radius: 22px; }
}
.hike h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: .15rem 0 .25rem;
  font-size: 1.45rem;
}
.hike-place { margin: 0 0 .7rem; color: #5c564c; font-weight: 700; }
.hike-facts { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .8rem; padding: 0; list-style: none; }
.hike-facts li { background: #f6f1e6; border-radius: 999px; padding: .28rem .7rem; font-weight: 800; font-size: .82rem; }
.hike-map { display: block; width: 100%; height: auto; background: #e7f3ea; border-radius: 18px; margin: 0 0 .8rem; }
.hike-strava-link { font-weight: 800; }
.hike-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem;
  margin: 0 0 .85rem;
}
.hike-photos a { display: block; min-width: 0; }
.hike-photos img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.hike-photos:has(a:only-child) { grid-template-columns: 1fr; }
.hike-photos:has(a:only-child) img { height: 168px; }
@media (max-width: 980px) {
  .hike-photos img { height: 148px; }
  .hike-photos:has(a:only-child) img { height: 220px; }
}
.hike-more { margin: 1.2rem 0 0; }
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 1rem 0 1.2rem;
}
.comment {
  min-width: 0;
  background: var(--paper);
  border-radius: 22px;
  padding: .95rem 1.05rem 1.05rem;
  box-shadow: var(--shadow);
}
@media (min-width: 981px) {
  .comment-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.comment-top { margin: 0 0 .35rem; }
.comment-top time { color: var(--ember); font-weight: 800; margin-left: .45rem; }
.comment p:last-child { margin: 0; white-space: pre-wrap; }
.peak-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 1rem 0 1.2rem;
}
.peak-card {
  min-width: 0;
  background: var(--paper);
  border-radius: 22px;
  padding: .95rem .9rem 1.05rem;
  box-shadow: var(--shadow);
}
.peak-card h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: .1rem 0 .2rem;
  font-size: 1.15rem;
}
.peak-elev {
  margin: 0 0 .35rem;
  color: var(--ember);
  font-weight: 800;
  font-family: var(--display);
}
.peak-badge {
  display: inline-block;
  margin: 0 0 .45rem;
  padding: .12rem .55rem;
  border-radius: 999px;
  background: var(--sun);
  font-size: .75rem;
  font-weight: 800;
}
.peak-card p:last-child { margin: 0; }
.peak-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin: 0 0 .65rem;
}
@media (min-width: 981px) {
  .peak-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .peak-card h3 { font-size: 1.05rem; }
}
.comment-form { max-width: 640px; }
.comment-form textarea { min-height: 120px; }
.guard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin: .35rem 0 .85rem;
}
.guard label { margin: 0; font-weight: 800; }
.guard input { width: 5.5rem; }
.archive-head { padding: 7rem 0 1rem; }
.elevation { height: 120px; }
.elevation svg { width: 100%; height: 100%; }

.event-face { padding: 1.15rem 1.15rem 1.2rem; }
.date-flag {
  display: inline-block;
  margin: 0 0 .4rem;
  font-family: var(--display);
  color: var(--ember);
  font-size: .95rem;
}
.guide { padding: 1.3rem 1.3rem 1.4rem; }
.guide .pill { margin-bottom: .4rem; display: inline-block; }
.product { transform-style: preserve-3d; transition: transform .35s ease; }
.product-face { padding: 1.2rem; }
.price {
  font-family: var(--display);
  font-size: 1.6rem;
  margin: .2rem 0;
}
.stamp {
  width: 74px;
  height: 74px;
  border: 2px dashed var(--ember);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  transform: rotate(-8deg);
  color: var(--ember);
}

main > .section[id] { min-height: calc(100svh - 4.5rem); }
.contact-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.contact-fields:disabled,
.contact-fields:disabled input,
.contact-fields:disabled textarea,
.contact-fields:disabled button {
  opacity: 1;
  color: inherit;
  cursor: auto;
}
.contact-fields:disabled button { cursor: pointer; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.2rem, 3vw, 2rem); }
form.card, .card {
  background: var(--paper);
  border-radius: 28px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
label { display: block; font-weight: 800; font-size: .86rem; margin: .7rem 0 .25rem; }
input, textarea, select {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: .75rem .8rem;
}
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .7rem; }
.form-note { min-height: 1.2em; font-weight: 700; }
.trap {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.trap input {
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
}
form { position: relative; }
.banner-note {
  background: #e7f6ea;
  border-radius: 16px;
  padding: .8rem 1rem;
  font-weight: 700;
}

dialog {
  width: min(920px, calc(100% - 1.4rem));
  border: 0;
  border-radius: 28px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}
dialog::backdrop { background: rgba(18, 16, 12, 0.58); backdrop-filter: blur(6px); }
.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem 0;
}
.detail-head h3 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; letter-spacing: -0.04em; }
.detail-body { padding: 0 1.2rem 1.3rem; }
.detail-body .gallery {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: .5rem;
  margin: .8rem 0;
}
.detail-body .gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
}
.detail-body .gallery img:first-child { height: 372px; grid-row: span 2; }
.tips {
  background: #fff4d8;
  border-radius: 18px;
  padding: .8rem 1rem;
}
.muted { color: #5c564c; }
.close-x {
  border: 0;
  background: #efe7d8;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: #4d463c;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { font-weight: 800; }

@media (max-width: 1180px) {
  .nav {
    left: max(.7rem, env(safe-area-inset-left));
    right: max(.7rem, env(safe-area-inset-right));
    transform: none;
    width: auto;
    min-width: 0;
    max-width: calc(100% - 1.4rem);
  }
  .brand { min-width: 0; font-size: .82rem; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + .45rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fffaf3;
    border-radius: 22px;
    padding: .45rem;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
}
@media (max-width: 980px) {
  .manifesto, .strava-band, .contact-grid, .route-grid, .guide-grid { grid-template-columns: 1fr; }
  .stage { perspective: none; padding-bottom: 1.2rem; }
  .stage-inner { transform: none; }
  .banner-frame { width: 100%; }
  .polaroid {
    position: relative;
    width: min(280px, 78%);
    margin: -2.2rem auto 0;
    right: auto;
    bottom: auto;
    transform: rotate(4deg);
  }
  .event-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { overflow: hidden; }
  .hero::after { background: linear-gradient(180deg, rgba(243, 238, 228, 0.28) 0%, rgba(243, 238, 228, 0.9) 72%); }
  .hero-photo { object-position: center 40%; }
}
@media (max-width: 640px) {
  .event-grid, .product-grid, .form-row, .detail-body .gallery { grid-template-columns: 1fr; }
  .detail-body .gallery img, .detail-body .gallery img:first-child { height: 220px; grid-row: auto; }
  .polaroid { width: min(240px, 70%); }
  .hero { padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right)); }
  .hero-actions .btn { flex: 1 1 12rem; }
  .peak-card, .comment { padding: .8rem .7rem .9rem; }
  .peak-card h3 { font-size: 1rem; }
  .statline b { font-size: .82rem; }
  .brand { font-size: .74rem; }
  .brand img { width: 36px; height: 36px; }
}
@media (max-width: 420px) {
  .brand { font-size: .68rem; gap: .4rem; }
  .nav-links a { font-size: 1rem; padding: .7rem .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-inner, .product, .btn { transition: none; }
  .hero-photo { animation: none; inset: 0; width: 100%; height: 100%; }
}
