/* ============================================================
   RV RESORTS OF RUIDOSO — rvr.talkapoo.com
   Design language: outdoor / adventure / high-country
   Palette family: Forest (deep pine + bone + amber accent)
   Type: Anton (display) + Archivo (body)
   Shape rule: buttons are full-pill; cards & images are 10px;
   nothing else uses radius. Applied site-wide.
   Motion: clip-wipe + slide reveals, parallax, accordion gallery.
   NO opacity-fade technique. Reduced-motion collapses to static.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-var-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --ink:        #0F1C13;
  --pine-950:   #0B1610;
  --pine-900:   #122419;
  --pine-800:   #193324;
  --pine-700:   #22452F;
  --pine-600:   #2E5A3E;
  --sage-500:   #7FA288;
  --sage-300:   #A7BFA9;
  --bone-50:    #F5F3EC;
  --bone-100:   #EDE9DC;
  --bone-200:   #DFD8C4;
  --amber-300:  #EDB84C;
  --amber-500:  #D99823;
  --amber-600:  #B07615;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;

  --r-card: 10px;
  --nav-h: 72px;

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font-body);
  font-weight: 420;
  background: var(--bone-50);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
::selection { background: var(--amber-500); color: var(--pine-950); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.01em;
}
h1, h2, h3 { text-wrap: balance; }
.h-hero { font-size: clamp(3rem, 8.5vw, 7.25rem); }
.h-sect  { font-size: clamp(2.1rem, 4.6vw, 3.75rem); }
.h-sub   { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 58ch; }
.body-copy { max-width: 65ch; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber-600);
}
.on-dark .kicker { color: var(--amber-300); }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }

/* ---------- Buttons (pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--amber-500); color: var(--pine-950); box-shadow: 0 10px 26px color-mix(in srgb, var(--amber-600) 38%, transparent); }
.btn-primary:hover { background: var(--amber-300); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid currentColor; color: var(--bone-50); }
.btn-ghost:hover { background: rgba(245, 243, 236, 0.12); transform: translateY(-2px); }
.btn-ghost.on-light { color: var(--pine-800); }
.btn-ghost.on-light:hover { background: color-mix(in srgb, var(--pine-800) 8%, transparent); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
  color: var(--bone-50);
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--pine-950) 92%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(245, 243, 236, 0.08), 0 12px 32px rgba(0, 0, 0, 0.28);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.3em; color: var(--amber-300); margin-top: 0.28rem; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem); margin-left: auto; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  padding-block: 0.4rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--amber-500);
  transition: right 0.3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-cta { margin-left: 0.5rem; padding: 0.75rem 1.5rem; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; position: relative; z-index: 130; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--bone-50);
  transition: transform 0.3s var(--ease-out), opacity 0.2s, top 0.3s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--pine-950);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.55s var(--ease-out), visibility 0s 0.55s;
}
.mobile-menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 0.55s var(--ease-out); }
.mobile-menu a.mm-link {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  text-transform: uppercase;
  color: var(--bone-50);
  padding-block: 0.45rem;
  transform: translateY(24px);
  transition: transform 0.5s var(--ease-out), color 0.2s;
  transition-delay: 0s;
}
.mobile-menu.is-open a.mm-link { transform: translateY(0); }
.mobile-menu.is-open a.mm-link:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu.is-open a.mm-link:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.is-open a.mm-link:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu.is-open a.mm-link:nth-child(4) { transition-delay: 0.30s; }
.mobile-menu.is-open a.mm-link:nth-child(5) { transition-delay: 0.36s; }
.mobile-menu.is-open a.mm-link:nth-child(6) { transition-delay: 0.42s; }
.mobile-menu a.mm-link:hover { color: var(--amber-300); }
.mobile-menu .btn { margin-top: 2rem; align-self: flex-start; }
.mm-meta { margin-top: 2.5rem; color: var(--sage-300); font-size: 0.9rem; display: grid; gap: 0.25rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--bone-50);
  overflow: hidden;
  background: var(--pine-950);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.12);
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11, 22, 16, 0.92) 0%, rgba(11, 22, 16, 0.35) 42%, rgba(11, 22, 16, 0.25) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 7vh, 5.5rem);
  display: grid;
  gap: 1.6rem;
}
.hero-title { max-width: 12ch; }
.hero-title .row { display: block; overflow: hidden; }
.hero-title .row > span { display: inline-block; transform: translateY(110%); }
.hero-sub { max-width: 46ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(245, 243, 236, 0.88); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber-300);
}
.hero-badge::before { content: ""; width: 34px; height: 2px; background: var(--amber-500); }

/* ---------- Reveal system (clip + slide, no fades) ---------- */
.rv { --rv-d: 0s; }
.rv-mask { display: block; overflow: hidden; }
.rv-mask .rv-item { transform: translateY(104%); }
.rv-item {
  transform: translateY(28px);
  transition: transform var(--dur) var(--ease-out) var(--rv-d);
  will-change: transform;
}
.rv-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path calc(var(--dur) + 0.15s) var(--ease-out) var(--rv-d);
  will-change: clip-path;
}
.rv-clip.is-in, .rv-item.is-in { transform: translateY(0); clip-path: inset(0 0 0% 0); }
.rv-item.is-in { transform: translateY(0); }
.rv-clip > img { transform: scale(1.14); transition: transform 1.15s var(--ease-out) var(--rv-d); }
.rv-clip.is-in > img { transform: scale(1); }
.rv-slide-l { transform: translateX(-6%); clip-path: inset(0 100% 0 0); transition: transform var(--dur) var(--ease-out) var(--rv-d), clip-path var(--dur) var(--ease-out) var(--rv-d); }
.rv-slide-l.is-in { transform: translateX(0); clip-path: inset(0 0 0 0); }

/* ---------- Stats strip ---------- */
.stats { background: var(--pine-950); color: var(--bone-50); padding-block: clamp(2.2rem, 4vw, 3.4rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { display: grid; gap: 0.3rem; border-left: 2px solid var(--pine-700); padding-left: 1.1rem; }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; color: var(--amber-300); }
.stat span { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-300); }

/* ---------- About / welcome split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split figure { position: relative; }
.split figure img { border-radius: var(--r-card); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.6; }
.split .stack-copy { display: grid; gap: 1.3rem; align-content: start; }
.split .stack-copy .lead { color: color-mix(in srgb, var(--ink) 78%, transparent); }
.feature-list { display: grid; gap: 0.85rem; margin-top: 0.6rem; }
.feature-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 600; }
.feature-list svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--pine-600); margin-top: 0.15rem; }

/* ---------- Sites & rates (bento) ---------- */
.sites { background: var(--bone-100); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.bento-cell {
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
  background: var(--bone-50);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  display: flex; flex-direction: column;
}
.bento-cell.img { border: 0; min-height: 320px; }
.bento-cell.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell-a { grid-column: span 7; }
.cell-b { grid-column: span 5; }
.cell-c { grid-column: span 5; }
.cell-d { grid-column: span 7; }
.bento-cell .cell-body { padding: clamp(1.4rem, 2.5vw, 2.1rem); display: grid; gap: 0.9rem; align-content: start; flex: 1; }
.bento-cell h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1; }
.rate-line { display: flex; align-items: baseline; gap: 0.5rem; }
.rate-line b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--pine-700); }
.rate-line span { color: color-mix(in srgb, var(--ink) 60%, transparent); font-size: 0.9rem; }
.cell-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.cell-tags li {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: color-mix(in srgb, var(--pine-700) 10%, transparent);
  color: var(--pine-800);
}
.cell-note { font-size: 0.92rem; color: color-mix(in srgb, var(--ink) 70%, transparent); max-width: 52ch; }

/* ---------- Amenities ---------- */
.amenities { background: var(--pine-900); color: var(--bone-50); }
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem); margin-top: clamp(2rem, 4vw, 3rem); }
.amen-group h3 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber-300); padding-bottom: 0.9rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(245, 243, 236, 0.14);
}
.amen-group ul { display: grid; gap: 0.7rem; }
.amen-group li { display: flex; gap: 0.7rem; align-items: center; color: rgba(245, 243, 236, 0.9); font-size: 0.98rem; }
.amen-group svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--amber-300); }

/* ---------- Gallery (accordion strips) ---------- */
.gallery-strip {
  display: flex;
  gap: 0.5rem;
  height: clamp(420px, 62vh, 620px);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.g-strip {
  position: relative;
  flex: 1 1 0;
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: pointer;
  transition: flex-grow 0.65s var(--ease-out);
  min-width: 0;
}
.g-strip.is-active { flex-grow: 5.2; }
.g-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-strip figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(to top, rgba(11, 22, 16, 0.85), transparent);
  color: var(--bone-50);
  font-weight: 600; font-size: 0.95rem;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.45s var(--ease-out) 0.15s;
}
.g-strip.is-active figcaption { clip-path: inset(0); }

/* ---------- Explore / area attractions (scroll-snap) ---------- */
.explore { background: var(--bone-50); overflow: hidden; }
.explore-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 26vw, 380px);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem var(--gutter) 1.5rem;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.explore-track::-webkit-scrollbar { display: none; }
.x-card {
  scroll-snap-align: start;
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--pine-800);
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.x-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s var(--ease-out); }
.x-card:hover img { transform: scale(1.06); }
.x-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11, 22, 16, 0.88) 8%, rgba(11, 22, 16, 0.12) 55%); }
.x-card .x-body { padding: 1.4rem; color: var(--bone-50); display: grid; gap: 0.4rem; }
.x-card h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.45rem; line-height: 1; }
.x-card p { font-size: 0.9rem; color: rgba(245, 243, 236, 0.85); }
.x-card .x-dist { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-300); }
.track-nav { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.track-nav button {
  width: 48px; height: 48px; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent);
  display: grid; place-items: center;
  transition: background-color 0.25s, color 0.25s, transform 0.2s var(--ease-out);
}
.track-nav button:hover { background: var(--pine-800); color: var(--bone-50); transform: translateY(-2px); }
.track-nav svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bone-100); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.review {
  background: var(--bone-50);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: var(--r-card);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  display: grid; gap: 1rem; align-content: start;
}
.review .stars { display: flex; gap: 0.2rem; color: var(--amber-500); }
.review .stars svg { width: 1rem; height: 1rem; }
.review blockquote { font-size: 1.02rem; line-height: 1.55; }
.review figcaption { font-size: 0.85rem; color: color-mix(in srgb, var(--ink) 60%, transparent); font-weight: 600; }

/* ---------- Location / contact ---------- */
.contact { background: var(--pine-950); color: var(--bone-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); margin-top: clamp(2rem, 4vw, 3rem); align-items: stretch; }
.map-frame { border-radius: var(--r-card); overflow: hidden; min-height: 380px; border: 1px solid rgba(245, 243, 236, 0.12); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(0.85); }
.contact-card { display: grid; gap: 1.6rem; align-content: center; }
.c-row { display: grid; gap: 0.25rem; }
.c-row b { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber-300); }
.c-row a, .c-row span { font-size: 1.15rem; font-weight: 600; }
.c-row a:hover { color: var(--amber-300); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--pine-800); color: var(--bone-50); text-align: center; }
.cta-band .wrap { display: grid; gap: 1.6rem; justify-items: center; }
.cta-band .h-sect { max-width: 18ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-950); color: var(--sage-300); border-top: 1px solid rgba(245, 243, 236, 0.08); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-brand { display: grid; gap: 1.1rem; align-content: start; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid rgba(245, 243, 236, 0.18);
  display: grid; place-items: center;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease-out);
}
.footer-social a:hover { background: var(--amber-500); color: var(--pine-950); border-color: var(--amber-500); transform: translateY(-2px); }
.footer-social svg { width: 1.15rem; height: 1.15rem; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-50); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber-300); }
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: 0.2rem; color: var(--amber-300); }
.footer-bottom {
  border-top: 1px solid rgba(245, 243, 236, 0.08);
  padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem;
}
.footer-bottom a:hover { color: var(--amber-300); }

/* ---------- Parallax (scroll-driven, progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-media img {
      animation: hero-pan linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes hero-pan {
      from { transform: scale(1.12) translateY(0); }
      to   { transform: scale(1.12) translateY(9%); }
    }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .cell-a, .cell-b, .cell-c, .cell-d { grid-column: auto; }
  .bento-cell.img { min-height: 260px; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .split figure img { aspect-ratio: 16 / 11; }
  .contact-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .gallery-strip { flex-direction: column; height: auto; }
  .g-strip { min-height: 84px; }
  .g-strip.is-active { min-height: 320px; }
  .g-strip figcaption { clip-path: inset(0); }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .amen-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv-item, .rv-clip, .rv-slide-l, .hero-title .row > span { transform: none !important; clip-path: none !important; }
  .hero-media img { transform: scale(1.02); }
  .g-strip figcaption { clip-path: inset(0); }
}
