/* ==========================================================================
   GLENLOTHIAN FARM — "Golden Hour" design system
   Cinematic pastoral editorial · Fraunces + Karla
   ========================================================================== */

:root {
  /* palette */
  --ink: #131f16;          /* deep pine ink */
  --pine: #1b2c20;         /* dark section ground */
  --moss: #41573f;
  --sage: #93a486;
  --cream: #f4eee0;        /* oat paper */
  --cream-2: #ebe2cd;
  --warm-white: #faf7ee;
  --gold: #c2912e;         /* harvest gold */
  --gold-soft: #d9b264;
  --copper: #a8541f;       /* clay copper */
  --peacock: #20606b;      /* secondary accent */
  --line: rgba(19, 31, 22, .16);
  --line-light: rgba(244, 238, 224, .18);

  /* type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Karla", "Avenir Next", sans-serif;

  /* fluid scale */
  --text-hero: clamp(3.1rem, 10.5vw, 9rem);
  --text-h1: clamp(2.6rem, 7.5vw, 6.4rem);
  --text-h2: clamp(2.1rem, 5vw, 4.2rem);
  --text-h3: clamp(1.35rem, 2.4vw, 1.9rem);
  --text-lead: clamp(1.05rem, 1.6vw, 1.3rem);
  --text-body: clamp(1rem, 1.15vw, 1.11rem);

  --gutter: clamp(20px, 4.5vw, 72px);
  --section: clamp(96px, 14vw, 200px);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.45, 0, .15, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 470;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 0;
}

/* ---------- grain + vignette atmosphere ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.74' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.1s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.4%); }
  50% { transform: translate(1.2%, -1.8%); }
  75% { transform: translate(-1.4%, -0.8%); }
  100% { transform: translate(0, 0); }
}

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
}
.loader-logo {
  width: min(360px, 70vw); height: auto;
  opacity: 0; will-change: transform, opacity;
}
.loader-sub {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .42em;
  text-transform: uppercase; color: var(--copper); opacity: 0;
}
body.is-loading { overflow: hidden; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .45s var(--ease-soft);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 16, 11, .55), transparent);
  opacity: 1; transition: opacity .45s; pointer-events: none;
}
.site-header.is-solid { padding: 12px var(--gutter); }
.site-header.is-solid::before {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}
.brand { position: relative; display: flex; flex-direction: column; line-height: 1.1; color: var(--cream); }
.brand-name {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 560;
  letter-spacing: .01em;
}
.brand-name i { font-style: italic; color: var(--gold-soft); }
.brand-sub {
  font-size: .6rem; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(244, 238, 224, .72); margin-top: 3px;
}
.nav-desktop { position: relative; display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav-link {
  position: relative; color: var(--cream); font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--gold-soft); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-phone {
  color: var(--ink); background: var(--gold-soft); border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  padding: 10px 20px; transition: background .3s, transform .3s var(--ease-out);
}
.nav-phone:hover { background: var(--cream); }

/* burger */
.nav-toggle {
  display: none; position: relative; z-index: 1102;
  width: 46px; height: 46px; border: 1px solid var(--line-light); border-radius: 50%;
  background: rgba(19, 31, 22, .35); backdrop-filter: blur(8px);
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--cream);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* mobile overlay menu */
.nav-overlay {
  position: fixed; inset: 0; z-index: 998; /* below .site-header so brand + toggle stay usable */
  background: var(--pine);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 9vw;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
  visibility: hidden;
}
.nav-overlay.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.nav-overlay .overlay-link {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.6rem);
  color: var(--cream); padding: .35rem 0; line-height: 1.05;
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(28px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  border-bottom: 1px solid var(--line-light);
}
.nav-overlay.is-open .overlay-link { opacity: 1; transform: none; }
.nav-overlay .overlay-link:nth-child(2) { transition-delay: .08s; }
.nav-overlay .overlay-link:nth-child(3) { transition-delay: .16s; }
.nav-overlay .overlay-link:nth-child(4) { transition-delay: .24s; }
.nav-overlay .overlay-link:nth-child(5) { transition-delay: .32s; }
.overlay-num { font-family: var(--sans); font-size: .7rem; letter-spacing: .3em; color: var(--gold-soft); }
.overlay-foot { margin-top: 9vh; opacity: 0; transition: opacity .5s .4s; color: var(--sage); font-size: .85rem; }
.nav-overlay.is-open .overlay-foot { opacity: 1; }
.overlay-foot a { color: var(--gold-soft); }

@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 700; font-size: .84rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 17px 34px; border-radius: 999px; overflow: hidden;
  transition: color .35s var(--ease-out), border-color .35s, transform .35s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease-out);
  z-index: -1;
}
.btn .btn-arrow { transition: transform .35s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold::before { background: var(--cream); }
.btn-gold:hover::before { transform: scaleY(1); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream::before { background: var(--gold); }
.btn-cream:hover::before { transform: scaleY(1); }
.btn-outline { border: 1.5px solid rgba(244, 238, 224, .5); color: var(--cream); }
.btn-outline::before { background: var(--cream); }
.btn-outline:hover { color: var(--ink); border-color: var(--cream); }
.btn-outline:hover::before { transform: scaleY(1); }
.btn-outline-dark { border: 1.5px solid rgba(19, 31, 22, .4); color: var(--ink); }
.btn-outline-dark::before { background: var(--ink); }
.btn-outline-dark:hover { color: var(--cream); border-color: var(--ink); }
.btn-outline-dark:hover::before { transform: scaleY(1); }
.btn-pine { background: var(--pine); color: var(--cream); }
.btn-pine::before { background: var(--gold); }
.btn-pine:hover { color: var(--ink); }
.btn-pine:hover::before { transform: scaleY(1); }

/* ---------- shared layout ---------- */
.container { max-width: 1480px; margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 880px; margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .7rem; font-weight: 700; letter-spacing: .4em; text-transform: uppercase;
  color: var(--copper);
}
.eyebrow::before { content: ""; width: 44px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--center::after { content: ""; width: 44px; height: 1.5px; background: currentColor; }

.section-title { font-size: var(--text-h2); }
.section-title em, .hero-title em, .slab-title em {
  font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 80;
  color: var(--copper);
}
.on-dark .section-title em, .hero-title em, .animals .section-title em { color: var(--gold-soft); }

.lead { font-size: var(--text-lead); line-height: 1.6; }

/* reveal helpers (JS adds .is-inview) */
[data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].is-inview { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
.reveal-line { display: block; overflow: hidden; }
.reveal-line > .reveal-inner { display: block; transform: translateY(115%); transition: transform 1.1s var(--ease-soft); }
.is-inview .reveal-line > .reveal-inner, .reveal-line.is-inview > .reveal-inner { transform: none; }

/* image frame w/ clip reveal + inner parallax */
.frame { position: relative; overflow: hidden; border-radius: 18px; }
.frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
[data-clip] { clip-path: inset(12% 6% 12% 6% round 18px); transition: clip-path 1.2s var(--ease-soft); }
[data-clip].is-inview { clip-path: inset(0 0 0 0 round 18px); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream); background: var(--ink);
  overflow: hidden;
}
.hero-media { position: absolute; inset: -12% 0 0 0; }
.hero-media img { width: 100%; height: 112%; object-fit: cover; transform-origin: center; will-change: transform; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 16, 11, .48) 0%, rgba(10, 16, 11, .05) 24%, rgba(10, 16, 11, .22) 44%, rgba(11, 18, 12, .74) 70%, rgba(11, 18, 12, .93) 100%),
    radial-gradient(130% 92% at 50% 116%, rgba(19, 31, 22, .6), transparent 62%);
}
.hero-content { position: relative; z-index: 3; padding-bottom: clamp(110px, 14vh, 170px); }
.hero-logo {
  width: clamp(148px, 16vw, 208px); height: auto; margin-bottom: 22px;
  filter: drop-shadow(0 1px 2px rgba(8, 13, 9, .95)) drop-shadow(0 8px 26px rgba(8, 13, 9, .6));
}
.hero-title {
  font-size: var(--text-hero); font-weight: 440;
  margin: 18px 0 26px; max-width: 13ch;
}
.hero-lead { max-width: 52ch; font-size: var(--text-lead); color: rgba(244, 238, 224, .9); margin-bottom: 38px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-side {
  position: absolute; right: var(--gutter); bottom: clamp(110px, 14vh, 170px); z-index: 3;
  text-align: right; display: flex; flex-direction: column; gap: 6px;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(244, 238, 224, .65);
}
.hero-side strong { color: var(--gold-soft); }
@media (max-width: 880px) { .hero-side { display: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 86px; transform: translateX(-50%); z-index: 3;
  width: 1.5px; height: 56px; background: rgba(244, 238, 224, .25); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-soft);
  animation: cue-drop 2s var(--ease-soft) infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@media (max-width: 880px) { .scroll-cue { display: none; } }

/* marquee */
.marquee {
  position: relative; z-index: 4;
  border-top: 1px solid var(--line-light);
  padding-block: 16px;
  overflow: hidden; white-space: nowrap;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  backdrop-filter: blur(6px);
}
.marquee-track { display: inline-flex; gap: 0; will-change: transform; animation: marquee 32s linear infinite; }
.marquee-track > span {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(244, 238, 224, .85);
}
.marquee-track .star { color: var(--gold); font-style: normal; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- WELCOME / editorial intro ---------- */
.welcome { padding-block: var(--section); position: relative; }
.statement {
  font-family: var(--serif); font-size: var(--text-h2); line-height: 1.12;
  max-width: 22ch; margin-bottom: clamp(48px, 7vw, 90px);
}
.statement .w { opacity: .14; transition: opacity .6s var(--ease-out); }
.statement .w.is-on { opacity: 1; }
.welcome-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 110px); align-items: start;
}
.welcome-copy p { margin-bottom: 1.4em; max-width: 56ch; }
.welcome-copy .text-link, .text-link {
  color: var(--copper); font-weight: 600;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: color .3s;
}
.text-link:hover { color: var(--gold); }

.welcome-cards { display: flex; flex-direction: column; gap: 18px; margin-top: 34px; }
.info-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px;
  background: var(--warm-white);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(19, 31, 22, .35); }
.info-card h3 { font-size: var(--text-h3); margin-bottom: 8px; }
.info-card p { color: color-mix(in srgb, var(--ink) 78%, transparent); }

/* layered photo stack */
.photo-stack { position: relative; aspect-ratio: 4 / 4.6; }
.photo-stack .frame { position: absolute; box-shadow: 0 40px 80px -40px rgba(19, 31, 22, .5); }
.stack-a { inset: 0 12% 18% 0; z-index: 2; }
.stack-b { inset: auto 0 0 38%; width: 62%; aspect-ratio: 1.1; z-index: 3; border: 6px solid var(--cream); border-radius: 22px; }
.stack-tag {
  position: absolute; z-index: 4; left: 4%; bottom: 8%;
  background: var(--gold); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 999px; transform: rotate(-5deg);
}

/* ---------- TICKER STATS ---------- */
.stats { border-block: 1px solid var(--line); background: var(--cream-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(34px, 4.5vw, 60px) 20px; text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--serif); font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 470;
  color: var(--pine); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num sup { font-size: .45em; color: var(--copper); }
.stat-label { margin-top: 10px; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 64%, transparent); }
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
}

/* ---------- ANIMALS — pinned horizontal gallery ---------- */
.animals { background: var(--pine); color: var(--cream); position: relative; }
.animals-head { padding-block: clamp(90px, 12vh, 168px) clamp(24px, 3vh, 48px); }
.animals-head .section-title { max-width: 16ch; }
.animals-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.animals-note { max-width: 36ch; color: rgba(244, 238, 224, .72); }

/* On desktop the WHOLE section is pinned (heading + cards) so the heading stays
   visible while the cards scroll horizontally. min-height fills the viewport so
   the dark ground covers the screen during the pin (no gap below). */
@media (min-width: 881px) {
  .animals { min-height: 100svh; }
  /* clear breathing room between the pinned heading and the cards */
  .h-scroll { margin-top: clamp(24px, 4vh, 64px); }
}

.h-scroll { position: relative; overflow: hidden; }
.h-track {
  display: flex; gap: clamp(18px, 2.4vw, 36px);
  padding: 0 var(--gutter) clamp(46px, 6vw, 88px);
  will-change: transform; width: max-content;
}
.animal-panel {
  position: relative; flex: 0 0 auto;
  width: clamp(290px, 34vw, 480px);
  border-radius: 20px; overflow: visible;
}
.animal-panel .frame { aspect-ratio: 4 / 5; max-height: 62vh; border-radius: 20px; background: var(--ink); }
.animal-panel .frame img {
  height: 116%; width: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.animal-panel:hover .frame img { transform: scale(1.045); }
.panel-idx {
  position: absolute; top: -0.55em; right: 14px; z-index: 3;
  font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 5vw, 4.4rem);
  color: var(--gold-soft); opacity: .9; pointer-events: none;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}
.panel-meta {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 26px 24px;
  background: linear-gradient(to top, rgba(10, 16, 11, .88), transparent);
  border-radius: 0 0 20px 20px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.panel-meta h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.panel-meta .panel-sub { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-top: 4px; display: block; font-family: var(--sans); font-style: normal; }
.panel-go {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(244, 238, 224, .45);
  display: grid; place-items: center; font-size: 1.05rem; color: var(--cream);
  transition: background .35s, color .35s, transform .45s var(--ease-out);
}
.animal-panel:hover .panel-go { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(45deg); }
.badge {
  display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 10px;
}
.badge-rare { background: var(--gold); color: var(--ink); }
.badge-soft { background: rgba(244, 238, 224, .16); color: var(--cream); border: 1px solid var(--line-light); }

.h-progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 5vw, 64px);
  height: 1.5px; background: var(--line-light);
}
.h-progress-bar { height: 100%; width: 0; background: var(--gold); }

@media (max-width: 880px) {
  .h-scroll { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .h-scroll::-webkit-scrollbar { display: none; }
  .animal-panel { scroll-snap-align: center; width: min(78vw, 360px); }
  .h-progress { display: none; }
}

/* ---------- AERIAL / STORY BAND ---------- */
.story-band {
  position: relative; color: var(--cream); overflow: hidden;
  padding-block: clamp(140px, 20vw, 260px);
  background: var(--ink);
}
.story-band .band-media { position: absolute; inset: -18% 0; }
.story-band .band-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.story-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(13, 21, 14, .72), rgba(13, 21, 14, .55) 45%, rgba(13, 21, 14, .8));
}
.story-inner { position: relative; z-index: 2; max-width: 980px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.story-quote { font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.22; margin: 26px 0 40px; }
.story-quote em { font-style: italic; color: var(--gold-soft); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 20px; border: 1px solid rgba(244, 238, 224, .35); border-radius: 999px;
  color: rgba(244, 238, 224, .92);
  backdrop-filter: blur(4px);
  transition: background .35s, color .35s, border-color .35s;
}
.pill:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- OUR STORY / HERITAGE ---------- */
.heritage { padding-block: var(--section); background: var(--cream); position: relative; }
.heritage-grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 6vw, 110px); align-items: center;
}
.heritage-media { position: relative; }
.heritage-frame { aspect-ratio: 4 / 5; border-radius: 20px; box-shadow: 0 44px 90px -44px rgba(19, 31, 22, .5); }
.heritage-frame img { width: 100%; height: 112%; object-fit: cover; }
.heritage-badge {
  position: absolute; right: clamp(-22px, -1.6vw, -10px); bottom: -30px;
  width: clamp(176px, 16vw, 216px);
  background: var(--pine); color: var(--cream);
  border-radius: 18px; padding: 22px 24px;
  box-shadow: 0 30px 60px -28px rgba(19, 31, 22, .65);
}
.heritage-badge-num {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.3rem); line-height: 1;
  color: var(--gold-soft); font-variant-numeric: tabular-nums;
}
.heritage-badge-label { display: block; font-size: .74rem; line-height: 1.45; color: rgba(244, 238, 224, .82); margin-top: 10px; }
.heritage-copy .eyebrow { margin-bottom: 18px; }
.heritage-copy .section-title { margin-bottom: 30px; }
.heritage-copy p { margin-bottom: 1.3em; max-width: 56ch; }
.heritage-sign { font-family: var(--serif); font-style: italic; font-size: 1.22rem; color: var(--copper); margin-top: 6px; margin-bottom: 0; }
@media (max-width: 880px) {
  .heritage-grid { grid-template-columns: 1fr; gap: 64px; }
  .heritage-badge { right: 16px; bottom: -26px; }
}

/* ---------- VISIT ---------- */
.visit { padding-block: var(--section); }
.visit-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(44px, 6vw, 80px); }
.visit-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: stretch; }
.panel {
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--warm-white); padding: clamp(28px, 3vw, 42px);
  display: flex; flex-direction: column;
}
.panel > h3 { font-size: var(--text-h3); margin-bottom: 18px; }
.panel-kicker { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--copper); font-weight: 700; margin-bottom: 10px; }
.hours-line { padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.hours-line:last-of-type { border-bottom: 0; }
.note-box {
  margin-top: auto; padding: 16px 20px; border-radius: 14px;
  background: var(--cream-2); font-size: .92rem;
}

.price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 15px 0; border-bottom: 1px dashed var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-label { font-weight: 600; }
.price-label small { display: block; font-weight: 400; font-size: .78rem; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.price-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.price-val { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 520; color: var(--pine); white-space: nowrap; }
.price-val .cur { font-size: .55em; vertical-align: super; color: var(--copper); }
.price-enquire { font-style: italic; font-family: var(--serif); color: var(--copper); font-size: 1.05rem; }

.panel--dark { background: var(--pine); color: var(--cream); border-color: transparent; }
.panel--dark .panel-kicker { color: var(--gold-soft); }
.find-label { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); margin: 18px 0 6px; font-weight: 700; }
.find-value { font-size: 1.02rem; line-height: 1.55; color: rgba(244, 238, 224, .92); }
.find-value a { color: var(--cream); border-bottom: 1px solid rgba(244,238,224,.35); transition: border-color .3s, color .3s; }
.find-value a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.panel--dark .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 1080px) {
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .panel--dark { grid-column: 1 / -1; }
}
@media (max-width: 680px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- CONTACT ---------- */
.contact { padding-bottom: var(--section); }
.contact-card {
  border-radius: 26px; background: var(--cream-2);
  border: 1px solid var(--line);
  padding: clamp(34px, 5vw, 70px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 80px);
}
.contact-intro h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 14px 0 16px; }
.contact-intro p { max-width: 38ch; color: color-mix(in srgb, var(--ink) 75%, transparent); }
.contact-direct { margin-top: 30px; display: flex; flex-direction: column; gap: 6px; font-family: var(--serif); font-size: 1.15rem; }
.contact-direct a { color: var(--copper); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 64%, transparent); }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line);
  padding: 10px 2px; border-radius: 0; resize: vertical;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); }
.char-count { font-size: .72rem; color: color-mix(in srgb, var(--ink) 50%, transparent); text-align: right; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: .8rem; color: color-mix(in srgb, var(--ink) 55%, transparent); font-style: italic; }
@media (max-width: 880px) {
  .contact-card { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA SLAB ---------- */
.slab {
  position: relative; overflow: hidden;
  background: linear-gradient(118deg, var(--copper), var(--gold) 78%);
  color: var(--ink); text-align: center;
  padding-block: clamp(100px, 13vw, 180px);
}
.slab::before {
  content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}
.slab-inner { position: relative; max-width: 980px; margin-inline: auto; padding-inline: var(--gutter); }
.slab-title { font-size: clamp(2.4rem, 6vw, 5rem); margin: 20px 0 18px; }
.slab-title em { color: var(--ink); font-style: italic; }
.slab .eyebrow { color: rgba(19, 31, 22, .75); justify-content: center; }
.slab-lead { max-width: 52ch; margin: 0 auto 40px; font-size: var(--text-lead); color: rgba(19, 31, 22, .82); }
.slab .btn-row { justify-content: center; }
.slab-phone {
  display: block; font-family: var(--serif); font-weight: 520;
  font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 34px; color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: opacity .3s;
}
.slab-phone:hover { opacity: .7; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-top: clamp(70px, 9vw, 130px); position: relative; overflow: hidden; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(50px, 7vw, 100px);
}
.footer-brand p { color: var(--sage); max-width: 30ch; margin-top: 14px; }
.footer-logo { width: clamp(190px, 19vw, 248px); height: auto; display: block; }
.footer-head { font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(244, 238, 224, .82); width: fit-content; transition: color .3s, transform .35s var(--ease-out); }
.footer-links a:hover { color: var(--gold-soft); transform: translateX(6px); }
.footer-wordmark {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(4rem, 14.5vw, 15rem); line-height: .9;
  white-space: nowrap; text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 238, 224, .3);
  transition: color 1s var(--ease-out);
  user-select: none; pointer-events: none;
  transform: translateY(.16em);
}
.footer-wordmark.is-inview { color: rgba(244, 238, 224, .12); }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-block: 26px; font-size: .78rem; color: var(--sage);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* page hero (animals index + animal detail) */
.page-hero {
  position: relative; min-height: 78svh;
  display: flex; align-items: flex-end;
  color: var(--cream); background: var(--ink); overflow: hidden;
}
.page-hero .hero-content { padding-bottom: clamp(60px, 9vh, 110px); width: 100%; }
.page-hero .hero-title { font-size: var(--text-h1); max-width: 14ch; }
.back-link {
  display: flex; width: fit-content; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(244, 238, 224, .8); margin-bottom: 26px;
  transition: color .3s, gap .3s var(--ease-out);
}
.back-link:hover { color: var(--gold-soft); gap: 14px; }

/* animal index — editorial field guide (photos visible on arrival) */
.index-tag { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: var(--cream-2); border: 1px solid var(--line); color: var(--moss); }
.index-tag--rare { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.menagerie { padding-block: clamp(56px, 7vw, 110px) var(--section); }
.menagerie-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 22px; padding-bottom: clamp(30px, 4.5vw, 64px);
}
.menagerie-note {
  max-width: 38ch; text-align: right;
  font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.5;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
}

.m-entry {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr);
  gap: clamp(28px, 5vw, 96px); align-items: center;
  padding-block: clamp(44px, 5.5vw, 92px);
  border-top: 1px solid var(--line);
}
.m-entry:nth-of-type(even) { grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); }
.m-entry:nth-of-type(even) .m-media { order: 2; }
.m-entry:nth-of-type(even) .m-copy { text-align: right; }
.m-entry:nth-of-type(even) .m-desc { margin-left: auto; }

.m-media { position: relative; }
.m-media .frame {
  aspect-ratio: 16 / 10; background: var(--ink);
  box-shadow: 0 44px 88px -52px rgba(19, 31, 22, .6);
}
.m-entry:nth-of-type(even) .m-media .frame { aspect-ratio: 16 / 11; }
.m-media .frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.m-entry:hover .frame img { transform: scale(1.055); }

.m-num {
  position: absolute; z-index: 3; top: -0.52em;
  font-style: italic; font-weight: 460; line-height: 1;
  font-size: clamp(4rem, 8vw, 7.6rem);
  color: var(--gold); pointer-events: none;
  text-shadow: 0 3px 12px rgba(19, 31, 22, .22), 0 18px 50px rgba(19, 31, 22, .3);
}
.m-entry:nth-of-type(odd) .m-num { left: -0.06em; }
.m-entry:nth-of-type(even) .m-num { right: -0.06em; }

.m-caption {
  display: flex; justify-content: space-between; gap: 18px;
  margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 56%, transparent);
}
.m-caption span:last-child { color: var(--copper); }

.m-copy .eyebrow { gap: 12px; flex-wrap: wrap; }
.m-entry:nth-of-type(even) .m-copy .eyebrow { flex-direction: row-reverse; }
.m-entry:nth-of-type(even) .m-copy .eyebrow::before { order: -1; display: none; }
.m-entry:nth-of-type(even) .m-copy .eyebrow::after { content: ""; width: 44px; height: 1.5px; background: currentColor; }
.m-name {
  font-size: clamp(2.5rem, 5.4vw, 4.9rem); line-height: .98;
  margin: 18px 0 22px; transition: color .45s;
}
.m-name em { font-style: italic; color: var(--ink); font-variation-settings: "opsz" 144, "SOFT" 80; }
.m-desc {
  max-width: 42ch; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}
.m-cta {
  margin-top: clamp(24px, 2.6vw, 36px);
  display: inline-flex; align-items: center; gap: 16px;
  font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink); transition: color .35s;
}
.m-go {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid rgba(19, 31, 22, .35);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: background .35s, border-color .35s, transform .5s var(--ease-out);
}
.m-entry:hover .m-cta { color: var(--copper); }
.m-entry:hover .m-go { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }

@media (max-width: 880px) {
  .menagerie-note { text-align: left; }
  .m-entry, .m-entry:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; padding-block: 46px; }
  .m-entry:nth-of-type(even) .m-media { order: 0; }
  .m-entry:nth-of-type(even) .m-copy { text-align: left; }
  .m-entry:nth-of-type(even) .m-desc { margin-left: 0; }
  .m-entry:nth-of-type(even) .m-copy .eyebrow { flex-direction: row; }
  .m-entry:nth-of-type(even) .m-copy .eyebrow::before { display: inline-block; }
  .m-entry:nth-of-type(even) .m-copy .eyebrow::after { display: none; }
  .m-num { font-size: clamp(3.4rem, 15vw, 5rem); }
  .m-name { margin: 14px 0 16px; }
}

/* rare band */
.rare-band { background: var(--pine); color: var(--cream); text-align: center; padding-block: clamp(90px, 12vw, 170px); position: relative; overflow: hidden; }
.rare-band .story-quote { max-width: 30ch; margin-inline: auto; }
.rare-band .lead { max-width: 58ch; margin: 0 auto; color: rgba(244, 238, 224, .78); }

/* ---------- animal detail ---------- */
.animal-hero { min-height: 88svh; }
.animal-hero .hero-title { font-size: var(--text-hero); }
.detail { padding-block: var(--section); }
.detail-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(40px, 7vw, 120px); align-items: start;
}
.detail-copy > p { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.75; margin-bottom: 1.5em; max-width: 58ch; }
.detail-copy > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 560; float: left;
  font-size: 4.2em; line-height: .82; padding: .06em .14em 0 0; color: var(--copper);
}
.facts {
  position: sticky; top: 110px;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--warm-white); padding: clamp(26px, 2.6vw, 38px);
}
.facts h3 { font-size: 1.1rem; letter-spacing: .26em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; color: var(--copper); margin-bottom: 8px; font-size: .72rem; }
.fact-row { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.fact-row:last-child { border-bottom: 0; }
.fact-k { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 55%, transparent); font-weight: 700; }
.fact-v { font-family: var(--serif); font-size: 1.18rem; margin-top: 3px; }

/* prev / next */
.pn { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pn-link {
  position: relative; overflow: hidden;
  padding: clamp(44px, 6vw, 90px) var(--gutter);
  display: flex; flex-direction: column; gap: 10px;
  transition: background .5s var(--ease-out);
}
.pn-link + .pn-link { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.pn-link:hover { background: var(--cream-2); }
.pn-k { font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--copper); }
.pn-name { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1; transition: transform .5s var(--ease-out); }
.pn-link:first-child:hover .pn-name { transform: translateX(10px); }
.pn-link:last-child:hover .pn-name { transform: translateX(-10px); }
@media (max-width: 680px) {
  .pn { grid-template-columns: 1fr; }
  .pn-link + .pn-link { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .reveal-line > .reveal-inner, [data-clip] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .statement .w { opacity: 1; }
  .grain { display: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   VIDEO — ambient hero loop, film band, shared lightbox (added 2026-07-03)
   ========================================================================== */

/* ---------- ambient hero video ---------- */
.hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-media video.is-playing { opacity: 1; }

/* ---------- film band ---------- */
.film {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: clamp(90px, 12vw, 170px) 0;
  overflow: hidden;
}
/* faint golden-hour glow behind the poster so the band reads cinematic, not flat */
.film::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 88% at 72% 50%, rgba(194, 145, 46, .13), transparent 70%);
}
.film .container { position: relative; }
.film-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.film .section-title { color: var(--cream); }
.film .section-title em { color: var(--gold-soft); }
.film-lead { font-size: var(--text-lead); color: rgba(244, 238, 224, .78); max-width: 46ch; margin-top: 18px; }
.film-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0; padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  box-shadow: 0 44px 90px -40px rgba(0, 0, 0, .75);
}
.film-poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), opacity .4s;
}
.film-poster:hover img { transform: scale(1.045); }
.film-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 7vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  transition: transform .45s var(--ease-out), background .3s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
.film-poster:hover .film-play { transform: translate(-50%, -50%) scale(1.12); background: var(--gold-soft); }
.film-play::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  animation: play-pulse 2.6s var(--ease-soft) infinite;
}
@keyframes play-pulse {
  0% { transform: scale(1); opacity: .9; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.film-play::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent var(--pine);
  margin-left: 4px;
}
.film-dur {
  position: absolute; right: 14px; bottom: 12px;
  font: 600 12px/1 var(--sans);
  letter-spacing: .08em;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: 7px 11px;
  border-radius: 99px;
}
@media (max-width: 880px) {
  .film-grid { grid-template-columns: 1fr; }
}

/* ---------- info card with photo (Craft Shop) ---------- */
.info-card--media { padding: 0; overflow: hidden; }
.info-card-media { height: clamp(140px, 15vw, 190px); overflow: hidden; }
.info-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.info-card--media:hover .info-card-media img { transform: scale(1.05); }
.info-card-body { padding: 24px 28px 26px; }

/* ---------- video lightbox ---------- */
.video-modal {
  position: fixed; inset: 0;
  z-index: 400;
  display: flex;
  align-items: center; justify-content: center;
  padding: clamp(14px, 4vw, 48px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s var(--ease-out), visibility 0s .45s;
}
.video-modal.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .45s var(--ease-out);
}
.video-modal-frame { transform: scale(.965) translateY(10px); transition: transform .55s var(--ease-out); }
.video-modal.is-open .video-modal-frame { transform: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 11, .92); }
.video-modal-frame {
  position: relative;
  width: min(1280px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}
.video-modal-frame video { width: 100%; height: 100%; display: block; }
.video-modal-close {
  position: absolute; top: 12px; right: 12px;
  z-index: 2;
  background: rgba(8, 14, 11, .6);
  border: 0;
  border-radius: 99px;
  color: var(--cream);
  font: 500 13px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.video-modal-close:hover { color: var(--gold-soft); }
