/* Park Hayore — "morning in the forest": pale sage ground, deep canopy green,
   and the two colours of the wooden sign itself: letter gold and ember rim. */
:root {
  --canopy: #0e2a1c;
  --canopy-deep: #091d13;
  --moss: #1f5a3a;
  --mist: #f1f5e9;
  --chalk: #ffffff;
  --ink: #14241b;
  --muted: #51605a;
  --line: #d3dec9;
  --gold: #f6b12c;
  --gold-hi: #ffc74d;
  --ember: #c9480f;
  --display: "Karantina", "Assistant", system-ui, sans-serif;
  --text: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 22px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font: 400 1.125rem/1.7 var(--text);
  color: var(--ink);
  background: var(--mist);
  overflow-x: clip;
}
img, video, iframe, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .95; letter-spacing: .01em; margin: 0 0 .35em; text-wrap: balance; }
h2 { font-size: clamp(3rem, 6.6vw, 5.2rem); color: var(--canopy); }
h3 { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--canopy); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
[href^="tel"] { direction: ltr; unicode-bidi: isolate; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; position: relative; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .6em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1.08rem/1.2 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: rgb(255 255 255 / .7); color: #fff; background: rgb(255 255 255 / .06); }
.btn-ghost:hover { background: rgb(255 255 255 / .16); }
.btn-green { background: var(--canopy); color: #fff; }
.btn-green:hover { background: var(--moss); }
.link { font-weight: 700; color: var(--canopy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.link:hover { text-decoration-color: var(--ember); }
.on-dark .link { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.solid { background: rgb(9 29 19 / .94); box-shadow: 0 6px 24px rgb(0 0 0 / .22); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.brand img { height: 54px; width: auto; }
.brand { transition: opacity .25s; }
.home .site-header:not(.past-hero) .brand { opacity: 0; pointer-events: none; }   /* the big sign is on screen */
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  white-space: nowrap; color: #fff; text-decoration: none; font: 700 1.9rem/1 var(--display); letter-spacing: .02em;
  padding: .28em .55em; border-radius: 10px;
}
.nav a:not(.btn):hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav-call { white-space: nowrap; margin-inline-start: 12px; min-height: 44px; font-size: 1rem; }
.menu-btn { display: none; }

/* Scroll progress: an arrow crossing the page to its target */
.flight { position: absolute; inset: auto 0 0; height: 0; opacity: 0; transition: opacity .3s; pointer-events: none; }
.site-header.solid .flight { opacity: 1; }
.flight-arrow {
  position: absolute; top: -2px; right: 0; height: 3px; width: calc(var(--p, 0) * (100% - 30px));
  background: linear-gradient(to left, transparent, var(--gold) 120px);
}
.flight-arrow::after {   /* arrowhead, pointing the way Hebrew reads */
  content: ""; position: absolute; left: -2px; top: 50%; translate: 0 -50%;
  border: 7px solid transparent; border-right: 13px solid var(--gold); border-left: 0;
}
.flight-target { position: absolute; left: 8px; top: -12px; width: 24px; height: 24px; }
.flight.hit .flight-target { animation: thud .5s ease-out; }
@keyframes thud { 30% { transform: scale(1.35) rotate(-8deg); } 60% { transform: scale(.94) rotate(4deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center;
  min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--header-h) + 16px) 0 104px;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 70% at 50% 42%, rgb(9 29 19 / .55), rgb(9 29 19 / .93) 78%),
    linear-gradient(to top, var(--canopy-deep), transparent 34%);
}
.sign { width: min(1020px, 94vw); margin-inline: auto; perspective: 1400px; }
.sign-board {
  position: relative; transform-style: preserve-3d; will-change: transform;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .3s ease-out; filter: drop-shadow(0 28px 34px rgb(0 0 0 / .5));
}
.sign-board img { width: 100%; }
.sign-glint {   /* light sliding over the wood as the sign tilts */
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), #fff, transparent 38%);
  -webkit-mask: url(img/brand/logo-wide-1100.webp?v=2) center / 100% 100% no-repeat;
  mask: url(img/brand/logo-wide-1100.webp?v=2) center / 100% 100% no-repeat;
}
.sign-board.lit .sign-glint { opacity: .9; }
.hero-copy { margin-top: clamp(18px, 3vw, 34px); }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); color: #fff; margin-bottom: .3em; text-shadow: 0 4px 30px rgb(0 0 0 / .45); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: rgb(255 255 255 / .9); max-width: 46ch; margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.hero .cta-row { justify-content: center; }
.rating {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 1.3em; padding: .35em 1em; border-radius: 999px;
  background: rgb(0 0 0 / .35); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none;
}
.rating:hover { background: rgb(0 0 0 / .55); }
.stars { color: var(--gold); letter-spacing: .05em; }

/* The logo is cut into layers (source/logo-work/build_layers.py) so it can build itself:
   the big sign drops and swings, then the second board, then the plants grow, then the dinosaurs arrive */
.logo-layers { position: relative; width: 100%; }
.logo-layers .ly { position: absolute; max-width: none; height: auto; transform-origin: var(--ox) var(--oy); }
.logo-layers.stack { display: none; }
.sign-board .logo-layers { cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .ly { opacity: 0; }
  .js .hero .hero-copy > * { opacity: 0; }
  .js .hero-go .hero .hero-copy > * { animation: rise .6s ease-out both; animation-delay: calc(.9s + var(--i, 0) * .09s); }
  .sign.play .g-sign { animation: hang-drop 1s cubic-bezier(.3, .7, .4, 1) both; transform-origin: 50% -25%; }
  .sign.play .g-board { animation: hang-drop .95s cubic-bezier(.3, .7, .4, 1) .45s both; transform-origin: 50% -25%; }
  .sign.play .g-plant { animation: grow .55s cubic-bezier(.3, 1.5, .5, 1) calc(1.05s + var(--d, 0s)) both; }
  .sign.play .g-dino-l { animation: slide-in .55s cubic-bezier(.3, 1.4, .5, 1) 1.55s both; }
  .sign.play .g-dino-up { animation: pop-up .5s cubic-bezier(.3, 1.5, .5, 1) 1.65s both; }
  .sign.play .ly-tail { animation-delay: 1.8s; }
  .sign.play .g-dino-drop { animation: hop-in .6s ease-out 1.75s both; }
}
@keyframes hang-drop {
  0% { opacity: 0; transform: translateY(-120%) rotate(0); }
  12% { opacity: 1; }
  40% { transform: translateY(0) rotate(5deg); }
  58% { transform: rotate(-3.5deg); }
  74% { transform: rotate(2deg); }
  88% { transform: rotate(-.8deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes grow { from { opacity: 0; transform: scale(0) rotate(-25deg); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-45%) rotate(-8deg); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes pop-up { from { opacity: 0; transform: translateY(45%); } 35% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes hop-in {
  0% { opacity: 0; transform: translate(60%, -90%); }
  30% { opacity: 1; }
  55% { transform: translate(20%, 0); }
  72% { transform: translate(8%, -22%); }
  100% { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Inner pages: a shorter hero with the title set low, like a trailhead sign */
.page-hero { min-height: min(68svh, 640px); text-align: start; align-items: end; padding-bottom: 72px; }
.page-hero::before { background: linear-gradient(to top, rgb(9 29 19 / .96) 8%, rgb(9 29 19 / .55) 55%, rgb(9 29 19 / .5)); }
.page-hero h1 { font-size: clamp(3.6rem, 10vw, 7.5rem); margin-bottom: .1em; }
.page-hero .lead { margin-inline: 0; }
.page-hero .cta-row { justify-content: flex-start; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6em; padding: 0; list-style: none; }
.jump a {
  display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: .3em 1.1em .3em .5em; border-radius: 999px;
  background: rgb(255 255 255 / .12); color: #fff; text-decoration: none; font-weight: 700; backdrop-filter: blur(6px);
}
.jump a:hover { background: var(--gold); color: var(--ink); }
.jump b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 1.4rem/1 var(--display); }
.jump a:hover b { background: var(--canopy); color: #fff; }

/* Animals in the hero */
.sky { position: absolute; inset: 0 0 auto; height: 46%; z-index: 0; pointer-events: none; overflow: hidden; }
.ptero { position: absolute; width: 84px; color: rgb(4 14 9 / .7); animation: fly 30s linear infinite; }
.ptero:nth-child(2) { width: 56px; top: 34%; animation-duration: 38s; animation-delay: -14s; opacity: .7; }
.ptero:nth-child(3) { width: 40px; top: 10%; animation-duration: 46s; animation-delay: -27s; opacity: .5; }
.ptero .wing { transform-origin: 50px 30px; animation: flap .9s ease-in-out infinite; }
.ptero .wing.r { animation-delay: -.45s; }
@keyframes fly { from { transform: translateX(-140px); } 50% { transform: translateX(55vw) translateY(-24px); } to { transform: translateX(calc(100vw + 140px)) translateY(10px); } }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-.55); } }

.peek {
  position: absolute; z-index: 1; bottom: 0; right: 3%; cursor: pointer; border: 0; padding: 0; background: none;
  width: clamp(150px, 20vw, 280px); transform: translateY(80%); transition: transform .9s cubic-bezier(.3, 1.4, .5, 1);
}
.peek.up, .peek:hover, .peek:focus-visible { transform: translateY(8%); }
.peek img { width: 100%; filter: drop-shadow(0 10px 18px rgb(0 0 0 / .4)); }
.peek.roar img { animation: roar .6s ease-in-out 2; }
.peek .bubble {   /* sits above the dinosaur's head, never behind it */
  position: absolute; z-index: 2; bottom: 100%; right: 48%; margin-bottom: 4px; background: #fff; color: var(--ink);
  font: 700 1.7rem/1 var(--display); padding: .35em .75em; border-radius: 16px; box-shadow: 0 6px 18px rgb(0 0 0 / .35);
  opacity: 0; transform: scale(.4) rotate(-6deg); transform-origin: 85% 120%; transition: .3s cubic-bezier(.3, 1.6, .5, 1); white-space: nowrap;
}
.peek .bubble::after { content: ""; position: absolute; top: 100%; right: 22%; border: 9px solid transparent; border-top-color: #fff; }
.peek.roar .bubble { opacity: 1; transform: scale(1) rotate(-3deg); }
/* inner pages put their title on the right, so the dinosaur peeks from the left */
.page-hero .peek { right: auto; left: 5%; }
.page-hero .peek img { scale: -1 1; }
.page-hero .peek .bubble { right: auto; left: 48%; transform-origin: 15% 120%; }
.page-hero .peek .bubble::after { right: auto; left: 22%; }
@keyframes roar { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg) translateY(-6px); } 75% { transform: rotate(3deg); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(88px, 12vw, 164px); }
.section-chalk { background: var(--chalk); }
.section-dark { background: var(--canopy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 720px; }
.section-head h2 { margin-bottom: .2em; }
.section-head p { color: var(--muted); font-size: 1.25rem; margin: 0; max-width: 46ch; }
.section-dark .section-head p { color: rgb(255 255 255 / .8); }

/* Quick facts under the hero */
.facts { list-style: none; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding-inline: clamp(14px, 2.4vw, 32px); display: grid; gap: 2px; align-content: start; }
.facts li + li { border-inline-start: 1px solid var(--line); }
.facts li:first-child { padding-inline-start: 0; }
.facts strong { font: 700 clamp(1.9rem, 3vw, 2.5rem)/1 var(--display); color: var(--canopy); letter-spacing: .01em; }
.facts span { color: var(--muted); font-size: 1.05rem; }
.facts + .section { padding-top: clamp(72px, 9vw, 120px); }

/* ---------- Activity tiles: photos and clips, no boxes ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tile {
  position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 3 / 4;
  border: 0; padding: 0; border-radius: var(--radius); background: var(--canopy); color: #fff;
  font: inherit; text-align: start; text-decoration: none; cursor: pointer;
}
.tile-big { grid-column: span 2; aspect-ratio: auto; min-height: 420px; }
div.tile { cursor: default; }
.tile > img, .tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile > img { transition: transform .7s ease; }
.tile:hover > img { transform: scale(1.04); }
.tile > video { opacity: 0; transition: opacity .35s; }
.tile.playing > video { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(6 20 13 / .94), rgb(6 20 13 / .4) 42%, transparent 68%); }
.tile-text { position: absolute; inset: auto 0 0; z-index: 2; padding: clamp(16px, 2vw, 26px); }
.tile h3 { color: #fff; margin: 0 0 .12em; font-size: clamp(2rem, 2.7vw, 2.7rem); }
.tile-big h3 { font-size: clamp(2.4rem, 3.8vw, 3.6rem); }
.tile p { margin: 0; font-size: 1.02rem; line-height: 1.45; color: rgb(255 255 255 / .86); max-width: 38ch; }
.tile-cue {
  position: absolute; z-index: 2; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: .4em;
  padding: .25em .85em; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink); font-weight: 700; font-size: .95rem;
}
.tile-cue.play::before { content: ""; border: 6px solid transparent; border-inline-start: 0; border-inline-end: 10px solid var(--ember); }
[dir="rtl"] .tile-cue.play::before { transform: scaleX(-1); }

/* ---------- Prices: a menu, not cards ---------- */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split > .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin: 0; }
.menu { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--canopy); }
.menu li { display: grid; grid-template-columns: 1fr auto; gap: 6px 36px; align-items: end; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); }
.menu h3 { margin: 0 0 .12em; }
.menu p { margin: 0; color: var(--muted); max-width: 50ch; }
.menu .tag { display: inline-block; margin-top: .7em; padding: .15em .8em; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 1rem; }
.cost { margin: 0; display: flex; align-items: baseline; gap: .1em; white-space: nowrap; color: var(--canopy) !important; }
.cost b { font: 700 clamp(4rem, 8vw, 6.4rem)/.78 var(--display); letter-spacing: .01em; }
.cost span { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--display); }
.cost small { font: 600 1rem/1.2 var(--text); color: var(--muted); margin-inline-start: .5em; }
.menu li:first-child .cost { color: var(--ember) !important; }

/* ---------- Events: one audience at a time ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px clamp(14px, 3vw, 40px); margin-bottom: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.tabs button {
  border: 0; background: none; padding: .1em 0 .3em; cursor: pointer; color: var(--muted);
  font: 700 clamp(2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: .01em;
  border-bottom: 5px solid transparent; margin-bottom: -1px;
}
.tabs button:hover { color: var(--canopy); }
.tabs button[aria-selected="true"] { color: var(--canopy); border-bottom-color: var(--gold); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.panel + .panel { margin-top: 72px; }          /* only when shown together, without JavaScript */
.panel-media { position: relative; }
.panel-media > img:first-child { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.panel h3 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.js .panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }   /* the tab already says it */
.panel-body > p { color: var(--muted); max-width: 54ch; }
.panel-body > p:first-of-type { font-size: 1.25rem; color: var(--ink); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before {   /* a small target */
  content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 26%, var(--ember) 28% 52%, var(--chalk) 54% 70%, var(--canopy) 72%);
}
.terms { margin: 0 0 1.4em; border-top: 1px solid var(--line); }
.terms div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 700; min-width: 72px; color: var(--canopy); }
.terms dd { margin: 0; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
details:last-of-type { margin-bottom: 1.4em; }
summary {
  cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 1.15rem; color: var(--canopy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 700 2rem/1 var(--display); color: var(--ember); }
details[open] summary::after { content: "–"; }
details > :not(summary) { color: var(--muted); }
details > :last-child { padding-bottom: 18px; margin-bottom: 0; }
.steps { padding-inline-start: 1.3em; margin-block: 0 1em; display: grid; gap: 6px; }
.steps li::marker { color: var(--ember); font-weight: 700; }

/* ---------- Gallery mosaic ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button {
  border: 2px solid var(--canopy); background: transparent; color: var(--canopy); border-radius: 999px;
  min-height: 44px; padding: .3em 1.2em; font: 700 1.02rem var(--text); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--canopy); color: #fff; }
.filters .count { opacity: .7; font-weight: 600; }
.gallery, .gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.g-item {
  position: relative; display: block; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--canopy);
}
.g-item.later { display: none; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-item.is-yt img { transform: scale(1.35); }           /* crops YouTube's letterbox bars */
.g-item.is-yt:hover img { transform: scale(1.42); }
.g-item.is-video::after, .g-item.is-yt::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%;
  background: rgb(255 255 255 / .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9480f' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.g-item .tag {
  position: absolute; inset: auto 0 0; padding: 22px 12px 9px; text-align: start; color: #fff; font-size: .92rem; font-weight: 600;
  background: linear-gradient(transparent, rgb(0 0 0 / .72));
}
.g-more { margin: 32px auto 0; display: flex; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.thumbs .g-item { aspect-ratio: 4 / 3; border-radius: 14px; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-strip .g-item { aspect-ratio: 1; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; width: 100%; height: 100%; max-width: none; max-height: none; overflow: hidden; }
.lightbox::backdrop { background: rgb(6 16 11 / .96); }
.lightbox .lb-stage { position: absolute; inset: 60px 68px; display: grid; place-items: center; }
.lightbox .lb-stage img, .lightbox .lb-stage video { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 12px; }
.lightbox .lb-stage iframe { width: min(100%, 1100px); aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.lb-btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--gold); }
.lb-close { top: 12px; inset-inline-end: 12px; }
.lb-prev { top: 50%; inset-inline-start: 10px; translate: 0 -50%; }
.lb-next { top: 50%; inset-inline-end: 10px; translate: 0 -50%; }
.lb-count { position: absolute; top: 22px; inset-inline-start: 22px; color: #fff; font-weight: 600; }

/* ---------- Visit: plan it, then the map ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.visit-lead { font-size: 1.25rem; color: rgb(255 255 255 / .85); max-width: 40ch; }
.plan { margin: 28px 0 0; display: grid; gap: 22px; }
.plan fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.plan legend, .plan label.q { display: block; padding: 0; margin-bottom: 10px; font: 700 1.9rem/1 var(--display); letter-spacing: .01em; color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 46px; padding: .2em 1.1em; border-radius: 999px;
  border: 2px solid rgb(255 255 255 / .35); font-weight: 600; transition: background-color .15s, color .15s, border-color .15s;
}
.chips label:hover span { border-color: #fff; }
.chips input:checked + span { background: #fff; color: var(--canopy); border-color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.plan-row { display: flex; flex-wrap: wrap; gap: 22px 40px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid rgb(255 255 255 / .35); border-radius: 999px; overflow: hidden; }
.stepper button { width: 50px; height: 50px; border: 0; background: none; color: #fff; font: 700 1.6rem/1 var(--text); cursor: pointer; }
.stepper button:hover { background: rgb(255 255 255 / .14); }
.stepper input {
  width: 3.2em; height: 50px; border: 0; background: none; color: #fff; text-align: center; font: 700 2rem/1 var(--display);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.plan input[type="date"], .plan input[type="time"] {
  height: 54px; padding: 0 18px; border-radius: 999px; border: 2px solid rgb(255 255 255 / .35); background: none; color: #fff;
  font: 600 1.05rem var(--text); color-scheme: dark; min-width: 190px;
}
.plan input[type="time"] { min-width: 150px; }
.plan .btn { justify-self: start; }
.plan-note { margin: -8px 0 0; font-size: 1rem; color: rgb(255 255 255 / .7); }
.reach { margin-top: 44px; padding-top: 30px; border-top: 1px solid rgb(255 255 255 / .18); display: grid; gap: 14px; }
.reach address { font-style: normal; font-size: 1.2rem; font-weight: 600; }
.reach-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.reach p { margin: 0; color: rgb(255 255 255 / .75); max-width: 46ch; }
.map { width: 100%; height: clamp(360px, 60vh, 620px); border: 0; border-radius: var(--radius); background: var(--moss); position: sticky; top: calc(var(--header-h) + 32px); }

/* ---------- Stations: a treasure map ---------- */
.section-map {
  --brown: #3b2412; --parch: #ecdcb2;
  color: #46351f; background-color: var(--parch);
  background-image:
    radial-gradient(ellipse 55% 26% at 10% 6%, rgb(140 98 40 / .22), transparent 70%),
    radial-gradient(ellipse 45% 20% at 92% 44%, rgb(140 98 40 / .17), transparent 70%),
    radial-gradient(ellipse 55% 18% at 16% 84%, rgb(140 98 40 / .2), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 160px rgb(120 80 30 / .3);
}
.section-map::before, .section-map::after {     /* torn paper edges */
  content: ""; position: absolute; inset: -24px 0 auto; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 468 26' preserveAspectRatio='none'%3E%3Cpath fill='%23ecdcb2' d='M0 26V12l12-5 15 7 19-11 17 9 21-7 15 6 23-9 19 8 17-6 21 9 14-7 19 6 16-8 22 8 18-7 20 9 16-6 21 7 15-9 22 9 17-7 19 8 16-6 20 7 22-8 12 3v14z'/%3E%3C/svg%3E") top / 468px 26px repeat-x; pointer-events: none;
}
.section-map::after { inset: auto 0 -24px; transform: scaleY(-1); z-index: 1; }
.compass { position: absolute; top: 46px; left: max(20px, 50% - 660px); width: 132px; color: var(--brown); opacity: .6; rotate: -8deg; }

.route { position: relative; padding-top: 110px; }
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.route-dashes { fill: none; stroke: var(--brown); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 15 15; opacity: .78; }
.route-mask { fill: none; stroke: #fff; stroke-width: 16; }
.route-start {
  position: absolute; z-index: 2; top: 18px; left: 50%; translate: -50% 0; margin: 0; white-space: nowrap;
  padding: .1em .7em .2em; border-radius: 10px; background: var(--brown); color: #f7ecd0; font: 700 1.7rem/1.1 var(--display); letter-spacing: .02em; rotate: -3deg;
}
.route-walker {
  position: absolute; z-index: 3; top: 0; left: 0; width: 92px; pointer-events: none; opacity: 0; transition: opacity .3s;
  filter: drop-shadow(0 5px 5px rgb(40 24 10 / .35)); will-change: transform;
}
.route-walker.on { opacity: 1; }

.station {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.15fr) 124px minmax(0, 1fr); column-gap: clamp(10px, 2.4vw, 34px);
}
.station + .station { margin-top: clamp(84px, 11vw, 150px); }
.station-media { grid-column: 1; grid-row: 1; }
.waypoint { grid-column: 2; grid-row: 1; }
.station .feature-body { grid-column: 3; grid-row: 1; }
.station:nth-of-type(even) .station-media { grid-column: 3; }
.station:nth-of-type(even) .feature-body { grid-column: 1; }
.waypoint {
  position: relative; z-index: 2; justify-self: center; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  background: #f7ecd0; border: 3px solid var(--brown); box-shadow: 0 0 0 7px var(--parch), 0 8px 16px rgb(60 36 18 / .22);
  transition: background-color .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.waypoint b { font: 700 3.2rem/1 var(--display); color: var(--ember); translate: 0 1px; transition: color .4s; }
.waypoint.reached { background: var(--gold); transform: scale(1.08); }
.waypoint.reached b { color: var(--brown); }
.waypoint.is-x { border-style: dashed; }                 /* X marks the spot */
.waypoint.is-x::before, .waypoint.is-x::after { content: ""; position: absolute; width: 58px; height: 11px; border-radius: 4px; background: #c22b17; rotate: 45deg; }
.waypoint.is-x::after { rotate: -45deg; }
.waypoint.is-x.reached { background: #f7ecd0; }

.station h2 { font-size: clamp(2.8rem, 5.2vw, 4.4rem); color: var(--brown); }
.station .feature-body > p { max-width: 48ch; }
.station .feature-body > p:first-of-type { font-size: 1.22rem; color: var(--brown); }
.section-map .link { color: var(--brown); }
.media { position: relative; overflow: hidden; background: #000; border-radius: var(--radius); }
.media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.station-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
/* photos lie on the map like prints */
.station-media > .media, .station-media > .station-photo, .station-media > .trail-map {
  border: 10px solid #fbf6e6; border-radius: 10px; box-shadow: 0 12px 28px rgb(60 36 18 / .3); rotate: -1.2deg;
}
.station:nth-of-type(even) .station-media > :first-child { rotate: 1.1deg; }
.station-media .thumbs { margin-top: 18px; }

.trail-map { background: var(--canopy-deep); border-radius: var(--radius); padding: 10px; }
.trail-map svg { width: 100%; height: auto; }
.trail-map .path { stroke-dasharray: 6 10; }
.trail-map .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 3.2s ease-in-out; }
.trail-map.in .draw { stroke-dashoffset: 0; }
.trail-map .stop { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1); transform: scale(.4); }
.trail-map.in .stop { opacity: 1; transform: none; }

.egg-card { text-align: center; padding: 28px 24px; }
.egg { width: 170px; margin: 0 auto 6px; transform-origin: 50% 90%; animation: wobble 2.6s ease-in-out infinite; }
.egg-card p { margin: 0; font: 700 1.9rem/1 var(--display); color: var(--ember); }
@keyframes wobble { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(-9deg); } 72% { transform: rotate(8deg); } 78% { transform: rotate(-5deg); } 84% { transform: rotate(3deg); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 104px); align-items: center; }
.portrait { position: relative; margin: 0; max-width: 440px; margin-inline: auto; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.portrait figcaption {
  position: absolute; inset: auto auto -18px 24px; padding: .12em .7em .2em; border-radius: 12px; background: var(--gold); color: var(--ink);
  font: 700 2.4rem/1 var(--display); transform: rotate(-3deg);
}
.about .feature-body > p { max-width: 52ch; }
.about .feature-body > p:first-of-type { font-size: 1.25rem; }
.todo-note { border-inline-start: 4px solid var(--gold); padding: 6px 18px; color: var(--muted); }

/* ---------- Heading dinosaurs: the park's own foam targets, dressed up for each section ---------- */
.has-dino { display: flex; align-items: flex-end; gap: .2em; }
.h-dino { flex: none; width: auto; height: 1.6em; max-width: 46%; object-fit: contain; object-position: bottom; margin-bottom: -.08em; filter: drop-shadow(0 6px 8px rgb(9 29 19 / .22)); }
.section-dark .h-dino { filter: drop-shadow(0 6px 12px rgb(0 0 0 / .4)); }
.panel-media .h-dino { position: absolute; z-index: 1; height: clamp(110px, 13vw, 168px); bottom: -26px; inset-inline-end: -30px; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .h-dino { opacity: 0; transform: translateY(30%) scale(.5) rotate(-12deg); transform-origin: 50% 100%; transition: opacity .3s, transform .7s cubic-bezier(.3, 1.7, .5, 1); }
  .js .h-dino.in { opacity: 1; transform: none; animation: dino-idle 4.5s ease-in-out 1.2s infinite; }
  .js .h-dino.in:hover { animation: dino-hop .6s ease-out; }
}
@keyframes dino-idle { 0%, 100% { rotate: 0deg; } 50% { rotate: -3deg; } }
@keyframes dino-hop { 35% { translate: 0 -14%; rotate: 6deg; } 70% { translate: 0 0; rotate: -4deg; } }

/* ---------- At your place (yard.html): the range comes to you ---------- */
.yard-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.yard-lead { font-size: 1.25rem; max-width: 40ch; color: var(--brown); }
/* two prints lying on the table, like the station photos */
.yard-prints { position: relative; padding-bottom: 16%; padding-inline-end: 18%; }
.yard-prints .g-item { border: 10px solid #fbf6e6; border-radius: 10px; box-shadow: 0 12px 28px rgb(60 36 18 / .3); background: #fbf6e6; }
.yard-prints .g-item:first-child { width: 100%; aspect-ratio: 3 / 4; rotate: -1.6deg; }
.yard-prints .g-item:last-child { position: absolute; bottom: 0; inset-inline-end: 0; width: 46%; aspect-ratio: 1; rotate: 3deg; }
.yard-prints .g-item img { border-radius: 3px; }
/* the steps are waypoints on a dashed trail */
.yard-trail { list-style: none; margin: 2.2em 0 0; padding: 0; display: grid; gap: 30px; }
.yard-trail li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.yard-trail li:not(:last-child)::before { content: ""; position: absolute; top: 64px; bottom: -30px; inset-inline-start: 30px; border-inline-start: 4px dashed var(--ember); opacity: .5; }
.yard-trail b {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: #f7ecd0; border: 3px solid var(--brown); font: 700 2.5rem/1 var(--display); color: var(--ember);
}
.yard-trail li:last-child b { background: var(--gold); color: var(--brown); }
.yard-trail h3 { margin: 8px 0 .15em; color: var(--brown); }
.yard-trail p { margin: 0; max-width: 38ch; }

.places { list-style: none; margin: 1.6em 0 0; padding: 0; border-top: 3px solid var(--canopy); }
.places li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.places h3 { margin: 0; }
.places p { margin: 0; color: var(--muted); }
.yard-where .yard-lead { color: inherit; }
.yard-where .yard-prints .g-item:first-child { rotate: 1.4deg; }
.yard-where .yard-prints .g-item:last-child { rotate: -3deg; }

.yard-cta { text-align: center; }
.yard-cta .has-dino { justify-content: center; }
.yard-cta .visit-lead { margin-inline: auto; }
.yard-cta .cta-row { justify-content: center; }
.yard-alt { margin: 2em 0 0; color: rgb(255 255 255 / .75); }

@media (max-width: 760px) {
  .yard-split { grid-template-columns: 1fr; }
  .yard-where .yard-prints { order: -1; }
  .yard-prints { max-width: 420px; }
  .yard-prints .g-item { border-width: 7px; }
  .places li { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--canopy-deep); color: rgb(255 255 255 / .78); padding: 96px 0 36px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 56px; align-items: center; }
.footer-logo { width: 240px; }
.footer-nav { display: flex; gap: 6px 28px; flex-wrap: wrap; }
.footer-nav a { color: #fff; text-decoration: none; font: 700 2.2rem/1 var(--display); letter-spacing: .02em; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact { text-align: end; }
.footer-contact p { margin: 0; }
.footer-phone { display: inline-block; font: 700 2.6rem/1 var(--display); color: var(--gold); text-decoration: none; }
/* Social row, same tiles as the Sababa site: official brand marks on light rounded squares */
.socials { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; margin-top: 18px; }
.social {
  width: 56px; height: 56px; border-radius: 16px; background: var(--chalk); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgb(4 19 10 / .35); transition: transform .18s ease-out, box-shadow .18s ease-out;
}
.social svg { width: 28px; height: 28px; }
@media (hover: hover) and (pointer: fine) { .social:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgb(4 19 10 / .45); } }
.social:active { transform: scale(.95); }
.footer-legal { margin: 48px auto 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .95rem; }
.walker { position: absolute; top: 10px; width: 120px; left: 100%; animation: walk 48s linear infinite; pointer-events: none; opacity: .9; }
.walker img { animation: bob .6s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-8px) rotate(2deg); } }
@keyframes walk { to { transform: translateX(calc(-100vw - 240px)); } }

/* Floating WhatsApp (desktop) / call + WhatsApp bar (phone) */
.action-bar a[href^="tel"] { display: none; }
.action-bar .wa {
  position: fixed; left: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: transform .15s;
}
.action-bar .wa:hover { transform: scale(1.06); }
.action-bar .wa svg { width: 32px; height: 32px; }
.action-bar .wa span { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .nav { gap: 2px; }   /* four links + the phone still fit on one line */
  .nav a:not(.btn) { font-size: 1.55rem; padding-inline: .35em; }
  .nav-call { margin-inline-start: 6px; padding-inline: 14px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile-big { min-height: 340px; }
  .gallery, .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .split { grid-template-columns: 1fr; }
  .split > .section-head { position: static; margin-bottom: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { text-align: start; }
  .socials { justify-content: flex-start; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --header-h: 64px; --radius: 18px; }
  body { font-size: 1.08rem; padding-bottom: 64px; }
  .wrap { width: min(1160px, 100% - 32px); }

  .menu-btn {
    display: grid; gap: 6px; place-content: center; width: 48px; height: 48px; background: transparent; border: 0; cursor: pointer; border-radius: 10px;
    position: relative; z-index: 2;
  }
  .menu-btn span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    background: var(--canopy-deep); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { font-size: 3.6rem; padding: .1em .4em; }
  .nav-call { margin: 22px 0 0; min-height: 54px; font-size: 1.15rem; }
  .brand { position: relative; z-index: 2; }
  .brand img { height: 44px; }

  .hero { padding-bottom: 88px; }
  .sign { width: min(430px, 92vw); }
  .logo-layers.wide { display: none; }
  .logo-layers.stack { display: block; }
  .sign-glint { -webkit-mask-image: url(img/brand/logo-stack-760.webp?v=2); mask-image: url(img/brand/logo-stack-760.webp?v=2); }
  .hero .cta-row { display: none; }   /* the sticky action bar at the bottom covers call + WhatsApp on phones */
  .peek { width: 130px; }
  /* at rest it hides below the hero's edge; when it pops up only its head and shoulders peek over it */
  .hero:not(.page-hero) { background: var(--canopy-deep); }
  .hero:not(.page-hero) .peek { transform: translateY(100%); }
  .hero:not(.page-hero) .peek.up { transform: translateY(22%); }
  /* zoomed out: the whole wide clip in a band across the middle, fading into the forest above and below */
  .hero:not(.page-hero) .hero-bg {
    inset: 20% 0 auto; height: 44%;
    -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
    mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  }
  .page-hero { padding-bottom: 56px; }

  .facts { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .facts li:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }

  /* tiles become a swipeable strip */
  .tiles {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile, .tile-big { flex: 0 0 78%; aspect-ratio: 3 / 4; min-height: 0; scroll-snap-align: center; }

  .menu li { grid-template-columns: 1fr; }
  .cost { justify-self: start; margin-top: 10px; }
  .panel, .visit, .about { grid-template-columns: 1fr; }
  .panel-media .h-dino { inset-inline-end: -6px; bottom: -18px; }
  /* the trail runs down the side; each station sits beside its waypoint */
  .station { grid-template-columns: 54px minmax(0, 1fr); column-gap: 12px; row-gap: 18px; align-items: start; }
  .station .waypoint { grid-column: 1; grid-row: 1 / span 2; width: 52px; height: 52px; margin-top: 6px; box-shadow: 0 0 0 5px var(--parch); }
  .station .station-media, .station:nth-of-type(even) .station-media { grid-column: 2; grid-row: 1; }
  .station .feature-body, .station:nth-of-type(even) .feature-body { grid-column: 2; grid-row: 2; }
  .waypoint b { font-size: 2rem; }
  .waypoint.is-x::before, .waypoint.is-x::after { width: 34px; height: 8px; }
  .station-media > .media, .station-media > .station-photo, .station-media > .trail-map { border-width: 7px; }
  .route { padding-top: 84px; }
  .route-start { left: auto; right: -4px; translate: none; font-size: 1.4rem; }
  .route-walker { width: 58px; }
  .route-dashes { stroke-width: 4; stroke-dasharray: 11 12; }
  .compass { width: 84px; top: 26px; left: 14px; }
  .gallery, .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .lightbox .lb-stage { inset: 64px 8px 72px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; translate: none; }
  .map { position: static; height: 320px; }
  .plan .btn { justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 84px; }
  .footer-nav { gap: 6px 18px; }
  .footer-nav a { font-size: 1.9rem; }

  .action-bar {
    position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr;
    background: var(--canopy-deep); box-shadow: 0 -4px 16px rgb(0 0 0 / .2); padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a, .action-bar a[href^="tel"] {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 64px;
    color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem;
  }
  .action-bar a[href^="tel"] { background: var(--gold); color: var(--ink); }
  .action-bar svg { width: 22px; height: 22px; }
  .action-bar .wa { position: static; display: flex; width: auto; height: 64px; border-radius: 0; box-shadow: none; background: #1a9c4b; }
  .action-bar .wa svg { width: 22px; height: 22px; }
  .action-bar .wa span { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ptero, .walker, .route-walker { display: none; }
}

/* ---------- First-visit intro ---------- */
html.intro-on, html.intro-on body { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #0a140e;
  transition: opacity .9s ease, transform .9s ease;
}
.intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .6s ease; }
.intro.show-logo video { filter: brightness(.35) blur(2px); }
.intro::after { content: ""; position: absolute; inset: 0; background: radial-gradient(transparent 55%, rgb(0 0 0 / .45)); pointer-events: none; }
.intro-logo {
  position: relative; z-index: 1; width: min(78vw, 520px); opacity: 0; transform: scale(.85);
  transition: opacity .6s ease, transform .6s ease; filter: drop-shadow(0 10px 30px rgb(0 0 0 / .6));
}
.intro.show-logo .intro-logo { opacity: 1; transform: none; }
.intro.out { opacity: 0; transform: scale(1.06); pointer-events: none; }
.intro-skip {
  position: absolute; z-index: 2; bottom: 28px; left: 28px; min-height: 46px; padding: .4em 1.3em; border-radius: 999px; cursor: pointer;
  border: 2px solid rgb(255 255 255 / .8); background: rgb(0 0 0 / .35); color: #fff; font: 700 1.05rem var(--text);
}
.intro-skip:hover { background: rgb(0 0 0 / .55); }
.intro-tagline {
  position: absolute; z-index: 1; top: 7%; left: 0; right: 0; margin: 0; text-align: center;
  font: 700 clamp(2.6rem, 12vw, 4rem)/1 var(--display); color: #fff; text-shadow: 0 4px 22px rgb(0 0 0 / .6);
  opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease;
}
.intro.tagline .intro-tagline { opacity: 1; transform: none; }

.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* ---- articles page ---- */
.article-index { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 700; font-size: 1.15rem; }
.article-index a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.articles .panel { scroll-margin-top: calc(var(--header-h) + 24px); }
.articles .panel-media { position: sticky; top: calc(var(--header-h) + 24px); }
.articles .panel h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.articles h4 { margin: 1.5em 0 .5em; font-size: 1.2rem; color: var(--canopy); }
.articles blockquote { margin: 0 0 1.4em; padding-inline-start: 16px; border-inline-start: 4px solid var(--gold); font-weight: 600; max-width: 54ch; }
.link.more { display: block; width: fit-content; margin-bottom: .8em; }
.articles .panel-text { grid-template-columns: minmax(0, 760px); }
.articles details h4 { color: var(--canopy); }
