/* Teva Trails: shared styles for every public page.
   A real trail map in the colors of the first Teva Trails site: night forest, cream paper,
   ember for the route and the calls to action, gold for numbers on dark. */
:root {
  --paper: #faf6ec;
  --white: #fffdf8;
  --ink: #1a1714;
  --muted: #4a3a2a;
  --faint: #6b5a47;
  --rule: #e3d6b8;
  --rule-strong: #cdbd98;
  --contour: #a8441a;
  --wood: #f4ecd8;
  --wood-2: #ede1c4;
  --wood-line: #e0d0ab;
  --route: #c8531d;
  --route-bright: #e2691e;
  --blue: #a8441a;
  --blue-deep: #86340f;
  --blue-wash: #f8e8da;
  --gold: #d4a849;
  --moss: #2d3a2a;
  --moss-deep: #1a241a;
  --moss-shadow: #0f1610;
  --on-dark: #f4ecd8;
  --on-dark-muted: #cfc4a6;
  --ok: #2f5a2c;
  --ok-wash: #e4e9d3;
  --warn: #855600;
  --danger: #a3372b;
  --danger-wash: #fbeeec;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --wrap: 1240px;
  --gutter: 24px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 6px 6px 0 var(--moss-deep);
}
@media (max-width: 640px) { :root { --gutter: 16px; --shadow: 4px 4px 0 var(--moss-deep); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; }
::selection { background: var(--gold); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; color: var(--route); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: var(--radius); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kicker { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--contour); margin: 0 0 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.small { font-size: 0.95rem; color: var(--faint); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 999px; font: 600 1.02rem/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--moss-deep); color: var(--moss-deep); }
.btn-outline:hover { background: var(--moss-deep); color: var(--on-dark); }
.btn-light { background: transparent; border-color: var(--on-dark); color: var(--on-dark); }
.btn-light:hover { background: var(--on-dark); color: var(--moss-deep); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e2bc63; border-color: #e2bc63; color: var(--ink); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; }
.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; font: 600 1rem var(--body); color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--moss-shadow); color: var(--on-dark); font-size: 1rem; }
.announce .wrap { display: flex; align-items: center; gap: 8px 16px; min-height: 44px; padding-top: 4px; padding-bottom: 4px; }
.announce a { color: var(--gold); font-weight: 600; white-space: nowrap; }
.announce-close { margin-left: auto; flex: none; width: 44px; height: 44px; background: none; border: 0; color: var(--on-dark); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 236, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--moss-deep); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1; letter-spacing: -0.02em; }
.brand:hover { color: var(--moss-deep); }
.brand svg { width: 50px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; }
.nav a { padding: 8px 0; border-bottom: 2px solid transparent; color: var(--moss-deep); font-weight: 500; font-size: 1rem; text-decoration: none; }
.nav a:hover { border-bottom-color: var(--rule-strong); }
.nav a[aria-current="page"] { border-bottom-color: var(--route); }
.nav .btn { min-height: 44px; padding: 10px 20px; border: 1.5px solid var(--moss-deep); background: var(--moss-deep); color: var(--on-dark); }
.nav .btn:hover, .nav .btn[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.header-phone { font-weight: 600; font-size: 1rem; }
.menu-btn { display: none; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--moss-deep); border-radius: 999px; background: none; color: var(--moss-deep); font: 600 1rem var(--body); cursor: pointer; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 16px 24px rgba(38, 35, 31, 0.08); }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav a:hover { border-bottom-color: var(--rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--route); }
  .nav .btn { margin-top: 14px; }
}

/* ---------- Map heroes: the home hero and every page head ---------- */
.hero, .page-head { display: grid; background: var(--moss-deep); color: var(--on-dark); }
.hero { overflow-x: clip; } /* the sticker lands from a larger size; keep it from widening the page on phones */
.hero > *, .page-head > * { grid-area: 1 / 1; }
.map-img { width: 100%; height: 100%; object-fit: cover; }
.hero .map-stage { min-height: 640px; }
.hero .map-img { height: 100%; object-position: 70% 50%; }
.page-head .map-img { min-height: 300px; }
.map-card { position: relative; align-self: center; justify-self: start; margin: 48px 0 48px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); background: rgba(15, 22, 16, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(212, 168, 73, 0.35); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); color: var(--on-dark); }
.map-card .kicker { color: var(--gold); }
.map-card .lede, .map-card .hero-sub { color: var(--on-dark-muted); }
.map-card .btn-outline { border-color: var(--on-dark); color: var(--on-dark); }
.map-card .btn-outline:hover { background: var(--on-dark); color: var(--moss-deep); }
.map-card :focus-visible { outline-color: var(--gold); }
.hero .map-card { width: min(580px, calc(100% - 2 * var(--gutter))); padding: 36px 38px 30px; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 3.7rem); }
.hero-sub { margin: 20px 0 26px; font-size: 1.15rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(244, 236, 216, 0.18); list-style: none; }
.hero-stats li { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero-stats b { font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1; letter-spacing: 0; color: var(--gold); }
.page-head .map-card { width: min(760px, calc(100% - 2 * var(--gutter))); margin-top: 40px; margin-bottom: 40px; padding: 28px 32px; }
.page-head .lede { margin: 14px 0 0; }
.map-legend { position: relative; align-self: end; justify-self: end; display: flex; flex-flow: row wrap; gap: 4px 18px; max-width: 620px; margin: 0 var(--gutter) var(--gutter); padding: 12px 16px; background: rgba(15, 22, 16, 0.86); border: 1px solid rgba(212, 168, 73, 0.3); border-radius: var(--radius); font-size: 0.88rem; color: var(--on-dark-muted); }
.map-legend a { color: var(--gold); }
.map-legend :focus-visible { outline-color: var(--gold); }
.map-legend span { display: flex; align-items: center; gap: 10px; }
.map-legend svg { flex: none; }
.map-legend .note { display: block; flex-basis: 100%; font-size: 0.8rem; color: #b5aa8c; }
.hero-photo { position: relative; align-self: start; justify-self: end; width: min(360px, 30%); margin: 48px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 0 0; padding: 8px; background: var(--paper); border: 1px solid var(--gold); border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); transform: rotate(2deg); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
@media (max-width: 860px) {
  .hero, .page-head { display: block; padding-bottom: 32px; }
  .hero .map-stage { min-height: 0; height: 260px; }
  .page-head .map-img { min-height: 0; height: 140px; }
  .hero .map-card, .page-head .map-card { width: auto; margin: -48px var(--gutter) 0; padding: 26px 22px 24px; }
  .map-legend { margin: 20px var(--gutter) 0; }
  .hero-photo { width: auto; margin: 24px var(--gutter) 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 88px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.band-wood { background: var(--wood); border-top: 1px solid var(--wood-line); border-bottom: 1px solid var(--wood-line); }
.band-wood + .section, .section + .band-wood { border-top-color: var(--wood-line); }
.band-dark { background: var(--moss-deep); color: var(--on-dark); }
.band-dark a:not(.btn) { color: var(--gold); }
.band-dark .phone-line { color: var(--on-dark-muted); }
.band-dark :focus-visible, .announce :focus-visible { outline-color: var(--gold); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head h2 + p, .section-head .kicker + h2 + p { margin-top: 14px; }
h2 + .lede, h1 + .lede { margin-top: 14px; }
.split .lede + .days { margin-top: 28px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.frame { margin: 0; padding: 8px; background: var(--white); border: 1.5px solid var(--moss-deep); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.frame img { width: 100%; border-radius: 8px; }
.frame img.portrait { aspect-ratio: 4 / 5; object-fit: cover; }
.frame img.wide { aspect-ratio: 21 / 9; object-fit: cover; }
.frame figcaption { padding: 10px 4px 2px; font-size: 0.9rem; color: var(--faint); }
.more { margin-top: 28px; }

/* ---------- Facts band ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.fact { padding-top: 18px; border-top: 1px solid rgba(212, 168, 73, 0.35); }
.fact-num { font-family: var(--display); font-weight: 500; font-size: 2.6rem; line-height: 1.05; letter-spacing: -0.01em; color: var(--gold); }
.fact h3 { margin-top: 12px; font-family: var(--mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); }
.fact p { margin: 8px 0 0; font-size: 1rem; color: var(--on-dark-muted); }
.facts-foot { margin-top: 32px; }

/* ---------- Legend list (what's in the price) ---------- */
.legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5px; margin: 0; padding: 0; list-style: none; background: var(--moss-deep); border: 1.5px solid var(--moss-deep); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.legend li { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px; background: var(--white); }
.legend svg { width: 36px; height: 36px; flex: none; color: var(--blue); }
.legend b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.legend span { font-size: 0.98rem; color: var(--muted); }
@media (max-width: 1000px) { .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .legend { grid-template-columns: 1fr; } }
.legend-note { margin: 18px 0 0; color: var(--muted); }

/* ---------- Four days, drawn as a trail ---------- */
.days { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.days::before { content: ''; position: absolute; top: 7px; left: 8px; right: 8px; border-top: 3px dashed var(--route); }
.days li { position: relative; padding-top: 40px; }
.days { counter-reset: day; }
.days li { counter-increment: day; }
.days li::before { content: counter(day); position: absolute; top: -6px; left: -6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--route); border: 2px solid var(--moss-deep); box-shadow: 0 0 0 4px var(--paper); color: var(--white); font: 600 0.95rem/1 var(--display); }
.band-wood .days li::before { box-shadow: 0 0 0 4px var(--wood); }
.day-label { font-family: var(--mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--contour); }
.days h3 { margin: 6px 0 8px; font-size: 1.45rem; }
.days p { margin: 0; font-size: 1.02rem; color: var(--muted); }
.days.vertical { grid-template-columns: 1fr; gap: 0; padding-left: 44px; }
.days.vertical::before { top: 8px; bottom: 8px; left: 7px; right: auto; border-top: 0; border-left: 3px dashed var(--route); }
.days.vertical li { padding: 0 0 22px; }
.days.vertical li:last-child { padding-bottom: 0; }
.days.vertical li::before { left: -44px; top: -2px; }
@media (max-width: 860px) {
  .days { grid-template-columns: 1fr; gap: 0; padding-left: 44px; }
  .days::before { top: 8px; bottom: 8px; left: 7px; right: auto; border-top: 0; border-left: 3px dashed var(--route); }
  .days li { padding: 0 0 28px; }
  .days li:last-child { padding-bottom: 0; }
  .days li::before { left: -44px; top: -2px; }
}

/* ---------- Elevation profile ---------- */
.profile { margin: 40px 0 0; }
.profile svg { width: 100%; overflow: visible; }
.profile figcaption { margin-top: 8px; font-size: 0.95rem; color: var(--faint); }
.p-area { fill: var(--wood-2); }
.p-line { fill: none; stroke: var(--route); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.p-day { stroke: var(--rule-strong); stroke-dasharray: 3 5; }
.p-daylabel { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--faint); }
.p-peak { fill: var(--paper); stroke: var(--route); stroke-width: 2.5; }
.p-name { font-family: var(--display); font-weight: 600; font-size: 16px; fill: var(--ink); }
.p-ft { font-family: var(--mono); font-weight: 500; font-size: 12px; fill: var(--contour); }
.p-tick { stroke: var(--rule-strong); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin: 0; padding: 0; list-style: none; }
.pillar { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1px solid var(--rule); }
.pillar svg { width: 44px; height: 44px; color: var(--blue); }
.pillar h3 { margin: 4px 0 6px; font-size: 1.4rem; }
.pillar p { margin: 0; font-size: 1.04rem; color: var(--muted); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Guides ---------- */
.guide-list { display: grid; gap: 72px; }
.guide { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: start; }
.guide-photo { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--moss-deep) url("img/map-night-3-1440.webp") 78% 50% / cover; border: 1.5px solid var(--moss-deep); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.guide-photo img { width: 100%; height: 100%; object-fit: cover; }
.guide-initials { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: var(--gold); border: 2px solid var(--moss-shadow); box-shadow: 0 0 0 6px rgba(212, 168, 73, 0.25); font-family: var(--display); font-weight: 500; font-size: 2.6rem; color: var(--moss-shadow); }
.guide h2 { font-size: clamp(2.1rem, 3.4vw, 2.6rem); }
.guide-role { margin: 10px 0 18px; font-family: var(--mono); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--contour); }
.creds { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.creds li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.creds strong { color: var(--ink); }
@media (max-width: 760px) { .guide { grid-template-columns: 1fr; gap: 24px; } .guide-photo { max-width: 340px; aspect-ratio: 1 / 1; } }
.guide-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-pair figure { margin: 0; }
.guide-pair .guide-photo { aspect-ratio: 4 / 5; }
.guide-pair figure:nth-child(1) { transform: rotate(-2deg); }
.guide-pair figure:nth-child(2) { transform: rotate(2deg) translateY(18px); }
.guide-pair .guide-initials { width: 84px; height: 84px; font-size: 2rem; }
.guide-pair figcaption { margin-top: 10px; font-weight: 600; }

/* ---------- Trips register ---------- */
.register { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--moss-deep); }
.register li { display: grid; grid-template-columns: 80px minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.trip-num { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--contour); }
.trip-name { display: block; font-family: var(--display); font-weight: 500; font-size: 1.6rem; line-height: 1.1; }
.trip-level { display: block; margin-top: 4px; font-size: 0.98rem; color: var(--muted); }
.trip-dates { font-weight: 600; }
.trip-dates.tbd { font-weight: 500; color: var(--faint); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: currentColor; }
.status:empty::before { display: none; }
.st-open { color: var(--ok); }
.st-limited { color: var(--warn); }
.st-waitlist { color: var(--blue); }
.st-full { color: var(--blue); }
@media (max-width: 860px) {
  .register li { grid-template-columns: 1fr; gap: 4px; }
  .register .btn { justify-self: start; margin-top: 10px; }
}
.waitlist-note { margin: 16px 0 0; color: var(--muted); }

/* ---------- Details and callouts ---------- */
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1.5px solid var(--moss-deep); }
.details div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--rule); }
.details dt { font-family: var(--mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--contour); }
.details dd { margin-top: 8px !important; }
.details dd { margin: 4px 0 0; }
@media (max-width: 760px) { .details { grid-template-columns: 1fr; } }
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px 32px; padding: 28px 32px; background: var(--gold); border: 1.5px solid var(--moss-deep); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.callout-big { font-family: var(--display); font-weight: 500; font-style: italic; font-size: 3.2rem; line-height: 0.95; }
.callout h3 { margin-bottom: 6px; }
@media (max-width: 640px) { .callout { grid-template-columns: 1fr; padding: 22px; } }
.policy { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--moss-deep); max-width: 760px; }
.policy li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.policy b { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
@media (max-width: 560px) { .policy li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Gallery and lightbox ---------- */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery button { display: block; width: 100%; padding: 0; background: none; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery figcaption { padding-top: 6px; font-size: 0.92rem; color: var(--faint); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 64px 16px 80px; background: rgba(15, 22, 16, 0.96); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox p { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; padding: 0 72px; text-align: center; color: var(--on-dark); }
.lb-btn { position: absolute; min-height: 44px; padding: 10px 16px; background: rgba(244, 241, 232, 0.12); border: 1px solid rgba(244, 241, 232, 0.4); border-radius: var(--radius); color: var(--on-dark); font: 600 1rem var(--body); text-decoration: none; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { top: 50%; left: 16px; transform: translateY(-50%); }
.lb-next { top: 50%; right: 16px; transform: translateY(-50%); }
.lb-dl { bottom: 16px; left: 50%; transform: translateX(-50%); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 48px; }
.quotes blockquote { margin: 0; padding-top: 18px; border-top: 2px solid var(--route); }
.quotes p { font-family: var(--display); font-style: italic; font-size: 1.3rem; line-height: 1.45; }
.quotes cite { font-style: normal; font-weight: 600; color: var(--faint); }

/* ---------- Calls to action and contact ---------- */
.cta-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 32px; }
.cta-strip h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.phone-line { margin: 10px 0 0; font-size: 1.1rem; color: var(--muted); }
.phone-line a { font-weight: 600; }
.phones { margin: 18px 0 8px; padding: 0; list-style: none; }
.phones li { padding: 4px 0; }
.phones span { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--contour); }
.phone-big { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1.15; color: var(--moss-deep); text-decoration: none; }
.phone-big:hover { color: var(--blue); text-decoration: underline; }
.plain-list { margin: 20px 0; padding: 0; list-style: none; }
.plain-list li { padding: 10px 0; border-top: 1px solid var(--rule); color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.tabs { display: inline-flex; gap: 4px; margin-bottom: 20px; padding: 4px; background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.tab { min-height: 44px; padding: 10px 16px; background: none; border: 0; border-radius: 3px; color: var(--muted); font: 600 1rem var(--body); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--moss-deep); color: var(--on-dark); }

/* ---------- FAQ ---------- */
.faq-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 860px; margin-bottom: 8px; color: var(--faint); }
.faq-tools p { margin: 0; }
.faq-list { max-width: 860px; border-top: 1.5px solid var(--moss-deep); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { display: grid; grid-template-columns: minmax(0, 1fr) 30px; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--display); font-weight: 500; font-size: 1.35rem; line-height: 1.25; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--moss-deep); border-radius: 50%; color: var(--moss-deep); font: 500 1.2rem/1 var(--body); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--blue); }
.faq-item .answer { max-width: 70ch; padding: 0 46px 22px 0; color: var(--muted); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid > .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .group-label { font-weight: 600; font-size: 1rem; }
legend.group-label { margin-bottom: 10px; }
.req { color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; background: var(--white); border: 1.5px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink); font: inherit; font-size: 1.05rem;
}
textarea { min-height: 112px; resize: vertical; }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231a241a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(168, 68, 26, 0.22); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.hint { font-size: 0.92rem; color: var(--faint); }
.form-error { display: none; margin: 18px 0 0; padding: 12px 16px; background: var(--danger-wash); border-left: 4px solid var(--danger); color: var(--danger); font-weight: 600; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.success { display: none; padding: 24px; background: var(--wood); border: 1px solid var(--wood-line); border-radius: var(--radius); }
.success h3 { margin-bottom: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.choices.row { display: flex; flex-wrap: wrap; }
.choice { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 12px 16px; background: var(--white); border: 1.5px solid var(--rule-strong); border-radius: var(--radius); font-weight: 600; line-height: 1.35; cursor: pointer; }
.choice input, .check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-wash); box-shadow: inset 0 0 0 1px var(--blue); }
.choice:has(input:focus-visible), .check:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; }
.box { padding: 22px 24px; background: var(--wood); border: 1px solid var(--wood-line); border-radius: var(--radius); }
.box h3 { margin-bottom: 8px; font-size: 1.5rem; }
.guardian legend { margin-bottom: 12px; font-family: var(--display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.005em; }

/* ---------- Application steps ---------- */
.apply-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.apply-title { margin-bottom: 22px; font-size: clamp(2.2rem, 3.4vw, 2.6rem); }
.steps { margin: 0; padding: 0 0 0 4px; list-style: none; border-left: 3px dashed var(--route); }
.steps li { position: relative; padding: 0 0 24px 24px; color: var(--faint); }
.steps li:last-child { padding-bottom: 0; }
.steps .dot { position: absolute; top: 6px; left: -11px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid #a8987a; }
.steps li.done { color: var(--ink); }
.steps li.done .dot { background: var(--route); border-color: var(--route); }
.steps li[aria-current="step"] { color: var(--contour); }
.steps li[aria-current="step"] .dot { top: 2px; left: -14px; width: 22px; height: 22px; border: 5px solid var(--route); }
.step-name { font-weight: 600; }
.step-sum { display: block; font-size: 0.92rem; color: var(--muted); overflow-wrap: anywhere; }
.steps button { padding: 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-strong); }
.progress { margin-bottom: 16px; }
.progress-text { display: flex; justify-content: space-between; gap: 12px; font-size: 1rem; font-weight: 600; }
.progress-bar { position: relative; height: 10px; margin-top: 10px; background: var(--rule); border-radius: 99px; }
.progress-bar span { position: relative; display: block; height: 100%; width: 20%; background: var(--route); border-radius: 99px; transition: width 0.4s ease; }
.progress-bar span::after { content: ''; position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--moss-deep); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--moss-deep); }
.panel.limit { max-width: 820px; }
.panel { background: var(--white); border: 1.5px solid var(--moss-deep); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.panel-head { padding: 28px 32px; border-bottom: 1px solid var(--rule); }
.panel-head h2 { font-size: clamp(1.9rem, 3vw, 2.2rem); line-height: 1.05; }
.panel-head p { margin: 8px 0 0; color: var(--muted); }
.panel-body { padding: 28px 32px; }
.panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 32px; border-top: 1px solid var(--rule); }
.saved-note { font-size: 0.92rem; color: var(--faint); }
.form-error-wrap { padding: 0 32px; }
.after-days { margin-top: 24px; }
.review-group { padding: 18px 0; border-top: 1px solid var(--rule); }
.review-group:first-child { border-top: 0; padding-top: 0; }
.review-group h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.45rem; }
.review dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 16px; margin: 10px 0 0; }
.review dt { color: var(--faint); }
.review dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 900px) {
  .apply-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 28px; }
  .apply-aside .steps { display: none; }
  .panel-head, .panel-body, .panel-foot, .form-error-wrap { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 640px) { .review dl { grid-template-columns: 1fr; gap: 0; } .review dd { margin-bottom: 10px; } }

/* ---------- Family forms ---------- */
.ff-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink); font: 600 0.98rem var(--body); text-decoration: none; cursor: pointer; }
.ff-tab.done { background: var(--ok-wash); border-color: #bcd3b5; color: var(--ok); }
.ff-tab[aria-current="page"] { background: var(--moss-deep); border-color: var(--moss-deep); color: var(--on-dark); }
.ff-list { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--moss-deep); }
.ff-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.ff-list h2, .ff-list h3 { font-size: 1.6rem; }
.ff-list p { margin: 4px 0 0; color: var(--muted); }
.ff-status { font-weight: 600; }
.ff-status.done { color: var(--ok); }
@media (max-width: 640px) { .ff-list li { grid-template-columns: 1fr; } .ff-list .btn { justify-self: start; } }
.clause-head, .clause { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px 40px; }
.clause-head { padding-bottom: 10px; border-bottom: 1px solid var(--moss-deep); font-family: var(--mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.clause { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.clause h2, .clause h3 { margin-bottom: 8px; font-size: 1.5rem; }
.clause-text { font-size: 1.02rem; white-space: pre-line; }
.clause .plain { padding-left: 16px; border-left: 3px solid var(--wood-line); font-size: 1rem; color: var(--muted); }
.clause .check { margin-top: 14px; color: var(--ink); }
@media (max-width: 760px) {
  .clause-head, .clause { grid-template-columns: 1fr; }
  .clause-head span + span { display: none; }
  .clause .plain { padding: 14px 16px; background: var(--wood); border-left: 0; border-radius: var(--radius); }
}
.sign-box { margin-top: 36px; padding: 28px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.sign-box h2, .sign-box h3 { margin-bottom: 16px; font-size: 1.7rem; }
.sign-box + .sign-box { margin-top: 20px; }
input[type="text"].sig { padding: 6px 2px; background: transparent; border: 0; border-bottom: 2px solid var(--moss-deep); border-radius: 0; box-shadow: none; font-family: var(--display); font-size: 1.9rem; font-style: italic; }
input[type="text"].sig:focus { border-bottom-color: var(--blue); }
/* Family forms, step by step like the application */
.apply-aside .kicker { margin-bottom: 10px; }
.apply-aside .ff-tabs { margin: 0 0 30px; }
.apply-title.long { font-size: clamp(1.6rem, 2.4vw, 1.9rem); line-height: 1.15; }
.ff-sec + .ff-sec { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.ff-sec h3 { margin-bottom: 14px; font-size: 1.45rem; }
.panel-body .ff-list { border-top: 0; }
.panel-body .ff-list li:first-child { padding-top: 0; }
.panel-body > .sign-box:first-child, .panel-body > .clause-head:first-child { margin-top: 0; }
.panel-body > .review + .sign-box { margin-top: 28px; }
.panel-body .clause:last-child { border-bottom: 0; padding-bottom: 0; }
.ff-done { margin-bottom: 24px; border-color: var(--ok); }
.ff-done .panel-head h2 { color: var(--ok); }
@media print { #ffForm .panel-head h2 { font-size: 1.4rem; } .panel { box-shadow: none; border: 0; } .panel-head, .panel-body { padding-left: 0; padding-right: 0; } }
.ack { margin: 20px 0 0; padding: 16px 18px; background: var(--wood); border-radius: var(--radius); font-weight: 600; }
.stack > * + * { margin-top: 14px; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 20px; }
.mt-l { margin-top: 28px; }
.mb-l { margin-bottom: 36px; }
.narrow { max-width: 480px; }
.signed-stamp { display: none; }

/* ---------- Packing list in the family link: a sheet to print ---------- */
.pack-grid { columns: 2 300px; column-gap: 40px; }
.pack-sec { break-inside: avoid; margin: 0 0 26px; }
.pack-sec h3 { margin-bottom: 10px; font-size: 1.35rem; }
.pack-sec ul { margin: 0; padding: 0; list-style: none; }
.pack-sec li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--rule); line-height: 1.4; }
.pack-box { flex: none; width: 16px; height: 16px; margin-top: 3px; border: 1.5px solid var(--rule-strong); border-radius: 3px; background: var(--white); }
.pack-leave h3 { margin-bottom: 6px; }
@media print {
  .apply-layout:has(.pack-sheet) { display: block; padding: 0; }
  .apply-layout:has(.pack-sheet) .apply-aside { display: none; }
  .pack-sheet .panel-head, .pack-sheet .panel-body { padding: 0; }
  .pack-sheet .panel-head { margin-bottom: 16px; border: 0; }
  .pack-sec li { padding: 4px 0; }
}

/* ---------- Prose pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin: 40px 0 12px; font-size: 1.9rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.notice { margin-top: 32px; padding: 16px 20px; background: var(--wood); border-left: 4px solid var(--contour); font-size: 1rem; color: var(--muted); }
.state-box { max-width: 680px; padding: 20px 24px; background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--contour); border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--moss-deep); color: var(--on-dark); border-top: 1px solid rgba(244, 236, 216, 0.14); }
.site-footer .brand { color: var(--on-dark); }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding: 56px 0 32px; }
.footer-grid p { max-width: 34ch; margin-top: 14px; font-size: 1rem; color: var(--on-dark-muted); }
.footer-col h2 { margin-bottom: 12px; font-family: var(--mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.footer-col a { display: block; padding: 6px 0; color: var(--on-dark); font-size: 1rem; text-decoration: none; }
.footer-col a:hover { color: var(--gold); text-decoration: underline; }
.footer-col .who { display: block; margin-top: 6px; font-size: 0.85rem; color: #b5aa8c; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0 28px; border-top: 1px solid rgba(244, 236, 216, 0.16); font-size: 0.92rem; color: #b5aa8c; }
.footer-bottom a { color: var(--gold); }
.signoff { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.45rem; color: var(--gold); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer .footer-bottom:first-child { border-top: 0; }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky call and apply bar on phones ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 246, 236, 0.97); border-top: 1px solid var(--rule); transition: transform 0.2s ease; }
  .mobile-cta .btn { flex: 1; }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  body.has-mobile-cta { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-cta, .progress-bar span { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Print (family forms copy) ---------- */
.print-only { display: none; }
@media print {
  .site-header, .site-footer, .announce, .mobile-cta, .no-print, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .print-only { display: block !important; }
  a { color: inherit; text-decoration: none; }
  .sign-box, .clause { break-inside: avoid; }
}

/* ---------- Fun layer: the hiker on the hero map, the sticker, trail patches ---------- */
.map-stage { position: relative; overflow: hidden; }
.map-stage .map-img { position: absolute; inset: 0; }
.route-fx { position: absolute; max-width: none; pointer-events: none; overflow: visible; }
.route-fx .trace { fill: none; stroke: #ffd65a; stroke-linecap: round; stroke-linejoin: round; }
.route-fx .hiker-pulse { fill: rgba(226, 105, 30, 0.3); transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
.route-fx .hiker-dot { fill: var(--route-bright); stroke: var(--on-dark); }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.sticker { position: absolute; top: -40px; right: -34px; z-index: 2; display: grid; place-items: center; width: 118px; height: 118px; border: 2px solid var(--moss-shadow); border-radius: 50%; background: var(--gold); box-shadow: 4px 4px 0 var(--moss-shadow); color: var(--moss-shadow); font: italic 600 1.12rem/1.05 var(--display); text-align: center; transform: rotate(12deg); }
.sticker::before { content: ''; position: absolute; inset: 7px; border: 2px dashed rgba(15, 22, 16, 0.5); border-radius: 50%; }
.patches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; margin: 0; padding: 0; list-style: none; }
.patches.compact { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 20px; text-align: center; }
.patch { --c: var(--moss); position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--moss-deep), 5px 6px 0 5px var(--moss-deep); color: var(--on-dark); transition: transform 0.2s ease; }
.patch::after { content: ''; position: absolute; inset: 7px; border: 2px dashed rgba(244, 236, 216, 0.6); border-radius: 50%; }
.patch svg { width: 48px; height: 48px; }
.patches li:nth-child(6n + 1) .patch { --c: #2d3a2a; }
.patches li:nth-child(6n + 2) .patch { --c: #4a3a2a; }
.patches li:nth-child(6n + 3) .patch { --c: #c8531d; }
.patches li:nth-child(6n + 4) .patch { --c: #56652f; }
.patches li:nth-child(6n + 5) .patch { --c: #9a7322; }
.patches li:nth-child(6n + 6) .patch { --c: #3d5a68; }
.patches li:hover .patch { transform: rotate(-10deg) scale(1.05); }
.patches h3 { font-size: 1.4rem; margin-bottom: 6px; }
.patches p { margin: 0; font-size: 1.04rem; color: var(--muted); }
.patches.compact .patch { width: 84px; height: 84px; margin: 0 auto 14px; }
.patches.compact h3 { font-size: 1.15rem; }
.chip { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; }
.chip-jh { background: #e4e9d3; color: #2f4a2a; }
.chip-hs { background: #f6e0cf; color: #86340f; }
.chip-all { background: var(--wood-2); color: var(--muted); }
@media (max-width: 1000px) { .patches.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .sticker { right: -6px; } }
@media (max-width: 760px) { .hero .kicker { padding-right: 84px; } }
@media (max-width: 760px) { .patches { grid-template-columns: 1fr 1fr; gap: 36px 20px; } .patch { width: 80px; height: 80px; } .patch svg { width: 40px; height: 40px; } .sticker { top: -30px; right: -6px; width: 96px; height: 96px; font-size: 1rem; } }
@media (max-width: 420px) { .patches.compact { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .sticker { animation: slap 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 0.9s both; }
  @keyframes slap { from { transform: rotate(30deg) scale(1.6); opacity: 0; } to { transform: rotate(12deg) scale(1); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .route-fx .hiker-pulse { animation: none; opacity: 0; }
  .btn-primary, .btn-outline, .patch { transition: none; }
  .btn-primary:hover, .btn-outline:hover, .btn-primary:active, .btn-outline:active { transform: none; }
}
