/* ============================================================
   JUMPINGOAT COFFEE ROASTERS - Design System
   Warm editorial: espresso, gold, burnt orange, cream.
   Serif display (Fraunces) + clean sans (Barlow).
   Fonts self-hosted (SIL OFL). No external connections.
   ============================================================ */

/* ---------- Self-hosted fonts (latin) ---------- */
@font-face { font-family:"Barlow"; font-style:normal; font-weight:300; font-display:swap; src:url("assets/fonts/barlow-300.woff2") format("woff2"); }
@font-face { font-family:"Barlow"; font-style:normal; font-weight:400; font-display:swap; src:url("assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family:"Barlow"; font-style:normal; font-weight:500; font-display:swap; src:url("assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family:"Barlow"; font-style:normal; font-weight:600; font-display:swap; src:url("assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family:"Fraunces"; font-style:normal; font-weight:400; font-display:swap; src:url("assets/fonts/fraunces-400.woff2") format("woff2"); }
@font-face { font-family:"Fraunces"; font-style:normal; font-weight:500; font-display:swap; src:url("assets/fonts/fraunces-500.woff2") format("woff2"); }
@font-face { font-family:"Fraunces"; font-style:italic; font-weight:400; font-display:swap; src:url("assets/fonts/fraunces-400-italic.woff2") format("woff2"); }

/* ---------- Design Tokens ---------- */
:root {
  /* Color */
  --paper:        #fffdf8;
  --cream:        #f7f1e6;
  --cream-deep:   #efe6d5;
  --espresso:     #2a1c11;
  --ink:          #1a120b;
  --ink-soft:     #241811;
  --muted:        #6f6052;
  --muted-light:  #8a7b6b;
  --gold:         #b9842b;
  --gold-light:   #d3a249;
  --gold-deep:    #946317;
  --burnt:        #9c4a1a;
  --line:         rgba(42, 28, 17, 0.12);
  --line-strong:  rgba(42, 28, 17, 0.22);
  --line-light:   rgba(255, 253, 248, 0.18);
  --overlay:      rgba(20, 13, 7, 0.42);
  --overlay-deep: rgba(20, 13, 7, 0.62);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Spacing (8px base) */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  /* Layout */
  --maxw: 1320px;
  --maxw-narrow: 880px;
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.4s;

  /* Header */
  --nav-h: 84px;
  --nav-h-shrunk: 62px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (not hidden) so horizontal overflow is contained without creating a
     scroll container, which would break position: sticky on the scrub hero */
  overflow-x: clip;
}
img, video, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Custom goat cursor ---------- */
/* 48x75 PNG (under the 128px browser cap); hotspot 14 44 sits on the snout.
   Applied to interactive elements too so the brand cursor stays consistent;
   text fields keep the I-beam so the caret stays usable. */
html,
body {
  cursor: url("images/goat-cursor.png") 14 44, auto;
}
a,
button,
.btn,
[role="button"],
label[for],
summary,
select,
input[type="submit"],
input[type="button"],
input[type="checkbox"],
input[type="radio"] {
  cursor: url("images/goat-cursor.png") 14 44, pointer;
}
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="url"],
textarea,
[contenteditable="true"] {
  cursor: text;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 2000;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-optical-sizing: auto;
}
.display {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
}
h2.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
}
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
  margin-bottom: var(--s2);
}
.eyebrow--light { color: var(--gold-light); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  line-height: 1.7;
  font-weight: 400;
}
.serif-quote {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s4); }
.wrap--narrow { max-width: var(--maxw-narrow); }
.section { padding: var(--s8) 0; }
.section--sm { padding: var(--s7) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--deep  { background: var(--cream-deep); }
.section--dark  { background: var(--ink); color: var(--paper); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: var(--paper); }
.section--dark .lede { color: rgba(255,253,248,0.75); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur) var(--ease-out);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary::after { background: var(--gold); }
.btn--primary:hover { color: var(--ink); }
.btn--primary:hover::after { transform: scaleX(1); }

.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }
.btn--ghost:hover::after { transform: scaleX(1); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light::after { background: var(--gold); }
.btn--light:hover { color: var(--ink); }
.btn--light:hover::after { transform: scaleX(1); }

.btn--outline-light { background: transparent; color: var(--paper); border: 1.5px solid rgba(255,253,248,0.5); }
.btn--outline-light::after { background: var(--paper); }
.btn--outline-light:hover { color: var(--ink); }
.btn--outline-light:hover::after { transform: scaleX(1); }

.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  font-family: var(--sans);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; padding-bottom: 4px;
}
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(1); }
.text-link .arrow { transition: transform var(--dur) var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--s4);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4);
}
/* Transparent over hero (with a top scrim so white logo + nav stay legible) */
.header--transparent {
  background: linear-gradient(to bottom, rgba(20,13,7,0.74) 0%, rgba(20,13,7,0.6) 62%, rgba(20,13,7,0) 100%);
}
.header--transparent .nav__link,
.header--transparent .header__logo-text,
.header--transparent .icon-btn { color: var(--paper); }
.header--transparent .logo-img { filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.45)); }
/* Solid after scroll */
.header.scrolled {
  height: var(--nav-h-shrunk);
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(42,28,17,0.08), 0 8px 30px rgba(42,28,17,0.06);
  border-bottom-color: var(--line);
}
.header.scrolled .nav__link,
.header.scrolled .icon-btn { color: var(--espresso); }
.header.scrolled .logo-img { filter: none; }

.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; transition: filter var(--dur) var(--ease), height var(--dur) var(--ease); }
.header.scrolled .logo-img { height: 36px; }

.nav { display: flex; align-items: center; gap: var(--s4); }
.nav__link {
  font-family: var(--sans);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; padding: 6px 2px;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--s2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: rgba(185,132,43,0.14); }
.icon-btn svg { width: 21px; height: 21px; }

.nav-toggle { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--cream);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column;
  padding: var(--s4);
  overflow-y: auto;
  visibility: hidden;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s5); }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.drawer__link {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 500;
  color: var(--ink); padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.drawer__link:hover { color: var(--gold-deep); padding-left: 10px; }
.drawer__foot { margin-top: auto; padding-top: var(--s5); }
.drawer__foot p { font-size: 0.95rem; color: var(--muted); margin-bottom: 6px; }
.drawer__foot a { color: var(--gold-deep); font-weight: 600; }

/* ============================================================
   DUAL-LOCATION HERO
   ============================================================ */
.hero-split {
  display: flex;
  height: 100vh; min-height: 640px;
  width: 100%;
  position: relative;
}
.hero-panel {
  position: relative;
  flex: 1 1 50%;
  overflow: hidden;
  border: none;
}
.hero-panel__media { position: absolute; inset: 0; z-index: 0; }
.hero-panel__media video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.6s var(--ease-out);
  will-change: transform;
}
@media (min-width: 901px) and (hover: hover) {
  .hero-panel.is-playing .hero-panel__media video { transform: scale(1.07); }
}
.hero-panel__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,13,7,0.42) 0%, rgba(20,13,7,0.06) 26%, rgba(20,13,7,0.14) 54%, rgba(20,13,7,0.78) 100%);
  transition: background var(--dur) var(--ease);
}
.hero-panel.is-playing .hero-panel__scrim {
  background: linear-gradient(180deg, rgba(20,13,7,0.30) 0%, rgba(20,13,7,0.02) 30%, rgba(20,13,7,0.08) 58%, rgba(20,13,7,0.64) 100%);
}
/* Location CTAs anchored to the bottom corners (Cleveland bottom-left, Helen bottom-right) */
.hero-panel__cta {
  position: absolute; z-index: 3;
  display: flex; flex-direction: column; gap: var(--s3);
}
.hero-panel--cle .hero-panel__cta {
  bottom: clamp(84px, 13vh, 140px);
  left: clamp(var(--s4), 5vw, var(--s7));
  align-items: flex-start; text-align: left;
}
.hero-panel--hel .hero-panel__cta {
  bottom: clamp(84px, 13vh, 140px);
  right: clamp(var(--s4), 5vw, var(--s7));
  align-items: flex-end; text-align: right;
}
.hero-panel__eyebrow {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
  display: flex; align-items: center; gap: 12px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.55);
}
.hero-panel--cle .hero-panel__eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--gold-light); }
.hero-panel--hel .hero-panel__eyebrow::after { content: ""; width: 30px; height: 1.5px; background: var(--gold-light); }
.hero-panel__btn { box-shadow: 0 14px 36px rgba(0,0,0,0.32); }
/* Center logo straddling the seam (logo only -- no medallion) */
.hero-badge {
  position: absolute; z-index: 4;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(160px, 15vw, 220px); height: auto;
  display: block;
  pointer-events: none;
}
.hero-badge img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 5px 16px rgba(0,0,0,0.5)) drop-shadow(0 1px 3px rgba(0,0,0,0.42));
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 5;
  transform: translateX(-50%);
  color: var(--paper); display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; opacity: 0.85;
}
.hero-scroll svg { width: 20px; height: 20px; animation: bob 2s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ============================================================
   GENERIC HERO (interior pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 64vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img, .page-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(20,13,7,0.72) 0%, rgba(20,13,7,0.40) 55%, rgba(20,13,7,0.30) 100%);
}
.page-hero__content { position: relative; z-index: 2; color: var(--paper); padding-top: var(--nav-h); }
.page-hero__content h1 { color: var(--paper); margin-bottom: var(--s2); }
.page-hero__content .lede { color: rgba(255,253,248,0.85); max-width: 600px; }

/* ============================================================
   SCROLL-SCRUB HERO + VIDEO LIGHTBOX (location pages)
   ============================================================ */
.page-hero--scrub { display: block; overflow: visible; min-height: 0; }
.page-hero__sticky {
  position: relative;
  display: flex; align-items: center;
  min-height: 64vh;
  overflow: hidden;
}
/* JS adds .is-scrub once the clip can seek; the tall section gives the sticky
   child scroll distance to map onto the video timeline */
.page-hero--scrub.is-scrub { height: 240vh; }
.page-hero--scrub.is-scrub .page-hero__sticky {
  position: sticky; top: 0;
  height: 100vh; min-height: 100vh;
}

/* Scroll cue */
.hero-scrub__cue {
  position: absolute; z-index: 3;
  left: 50%; bottom: clamp(18px, 4vh, 40px);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--paper);
  opacity: 0; transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.page-hero--scrub.is-scrub .hero-scrub__cue { opacity: 1; }
.hero-scrub__cue-text {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(20,13,7,0.5);
}
.hero-scrub__cue-track {
  width: 120px; height: 3px; border-radius: 100px;
  background: rgba(255,253,248,0.32); overflow: hidden;
}
.hero-scrub__cue-fill {
  display: block; height: 100%; width: 0%;
  background: var(--paper); border-radius: 100px;
  transition: width 0.1s linear;
}

/* Watch-full-screen affordance */
.hero-expand { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.hero-expand__icon { flex: 0 0 auto; }

/* Lightbox */
.hero-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(12, 8, 4, 0.92);
  opacity: 0; transition: opacity 0.32s var(--ease);
}
.hero-lightbox[hidden] { display: none; }
.hero-lightbox.is-open { opacity: 1; }
.hero-lightbox__frame {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  transform: scale(0.96); transition: transform 0.32s var(--ease-out);
  line-height: 0;
}
.hero-lightbox.is-open .hero-lightbox__frame { transform: scale(1); }
.hero-lightbox__video {
  display: block;
  max-width: min(1280px, 92vw); max-height: 86vh;
  width: auto; height: auto; background: #000;
}
.hero-lightbox__close {
  position: absolute; top: clamp(12px, 2.5vw, 28px); right: clamp(12px, 2.5vw, 28px);
  z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,253,248,0.12); color: var(--paper);
  border: 1px solid rgba(255,253,248,0.28);
  cursor: pointer; transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.hero-lightbox__close:hover { background: rgba(255,253,248,0.24); transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .hero-lightbox, .hero-lightbox__frame { transition: none; }
  .hero-lightbox__frame { transform: none; }
}
@media (max-width: 640px) {
  .hero-lightbox { padding: 14px; }
}

/* ============================================================
   BRAND STATEMENT / STATS
   ============================================================ */
.statement { text-align: center; }
.statement__bean {
  display: block;
  width: clamp(58px, 7vw, 84px);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
  animation: beanFloat 5.5s ease-in-out infinite;
}
@keyframes beanFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}
.statement .serif-quote { max-width: 900px; margin: 0 auto var(--s6); }
/* Word-by-word reveal on the brand-statement quote (ported from Bokma) */
.serif-quote[data-words] .word {
  display: inline-block;
  opacity: 0.16;
  transition: opacity 0.5s var(--ease);
}
.serif-quote[data-words] .word.is-lit { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .statement__bean { animation: none; }
  .serif-quote[data-words] .word { opacity: 1; }
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  max-width: 820px; margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: var(--s6);
}
.stat__num {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1;
  color: var(--gold-deep); margin-bottom: 8px;
}
.stat__label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   FEATURE BLOCK (alternating)
   ============================================================ */
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: var(--s8);
}
.feature--reverse .feature__media { order: 2; }
.feature__media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.045); }
.feature__media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.feature:hover .feature__media video { transform: scale(1.045); }
.feature__media--tall { aspect-ratio: 3 / 4; }
.feature__media--wide { aspect-ratio: 16 / 10; }
/* Featured product: full-bleed coffee LABEL artwork (not a photo) with text to
   every edge. Matched to the label's own ratio and shown complete (contain),
   capped + centered so the whole label reads as a premium spotlight, never cropped. */
.feature__media--product {
  aspect-ratio: 625 / 1025; background: transparent;
  width: 100%; max-width: clamp(300px, 38vw, 460px); margin-inline: auto;
}
.feature__media--product img { object-fit: contain; }
.feature__badge {
  position: absolute; top: var(--s3); left: var(--s3); z-index: 2;
  background: var(--paper); color: var(--ink);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 100px;
}
.feature__body { max-width: 520px; }
.feature__notes {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: var(--s3) 0;
}
.feature__notes span {
  font-size: 0.78rem; font-weight: 500;
  color: var(--muted); letter-spacing: 0.04em;
  border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 6px 14px;
}
.feature__price {
  font-family: var(--serif); font-size: 1.6rem; color: var(--ink);
  margin: var(--s3) 0 var(--s4);
}
.feature__price small { font-size: 0.85rem; color: var(--muted); font-family: var(--sans); }
.feature p + p { margin-top: var(--s2); }
.feature .lede + .btn-row { margin-top: var(--s4); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

/* ============================================================
   ORIGIN / PRODUCT GRID
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }

.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(42,28,17,0.12); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--cream-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
/* Category tile holding a full-bleed product LABEL (not a photo): show the whole
   label inside the square tile (cream matte) instead of cropping it, so the tile
   stays the same height as its photo siblings in the row. */
.card__media--contain { background: var(--cream-deep); }
.card__media--contain img { object-fit: contain; padding: var(--s4); }
.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--ink); color: var(--paper);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 100px;
}
.card__tag--gold { background: var(--gold); color: var(--ink); }
.card__body { padding: var(--s3); display: flex; flex-direction: column; flex: 1; }
.card__origin {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 8px;
}
.card__title { font-family: var(--serif); font-size: 1.22rem; font-weight: 500; line-height: 1.2; margin-bottom: 8px; }
.card__notes { font-size: 0.9rem; color: var(--muted); line-height: 1.5; margin-bottom: var(--s2); flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--line); }
.card__price { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.card__price small { font-size: 0.7rem; color: var(--muted); font-family: var(--sans); }
.card__cta {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-deep); display: inline-flex; align-items: center; gap: 6px;
}
.card__cta .arrow { transition: transform 0.3s var(--ease); }
.card:hover .card__cta .arrow { transform: translateX(4px); }

/* compact product card for shop */
.pcard .card__body { padding: var(--s2) var(--s3) var(--s3); }
.pcard .card__title { font-size: 1.05rem; }

/* Product media: catalog graphics are full-bleed label/badge artwork in many
   aspect ratios (portrait coffee labels, landscape tea labels, small flavor
   badges) with text running to every edge, so cropping clips the text. Each
   card instead takes its image's own aspect ratio and the artwork bleeds flush
   to all edges. width/height attrs on every product <img> reserve the box at the
   correct ratio (no layout shift before lazy-load). */
.pcard .card__media { background: transparent; aspect-ratio: auto; }
.pcard .card__media img { height: auto; object-fit: contain; padding: 0; display: block; }
.card.pcard:hover .card__media img { transform: scale(1.04); }
/* Catalog rows hug their content so a short badge is not stretched to match a
   tall label in the same row (uniform sections stay uniform either way). */
.grid-4--catalog { align-items: start; }

/* ============================================================
   SPLIT CTA (gifting / wholesale)
   ============================================================ */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.cta-panel {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex; align-items: flex-end;
  padding: var(--s5);
  color: var(--paper);
}
.cta-panel__media { position: absolute; inset: 0; z-index: 0; }
.cta-panel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.cta-panel:hover .cta-panel__media img { transform: scale(1.06); }
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,13,7,0.15), rgba(20,13,7,0.78));
}
.cta-panel__inner { position: relative; z-index: 2; max-width: 420px; }
.cta-panel__inner h3 { color: var(--paper); margin-bottom: var(--s2); font-size: clamp(1.6rem,2.6vw,2.2rem); }
.cta-panel__inner p { color: rgba(255,253,248,0.85); margin-bottom: var(--s3); }

/* ============================================================
   FLAVOR STRIP / SCROLLER
   ============================================================ */
.flavor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.flavor {
  text-align: center;
}
/* Flavor tiles hold the same full-bleed coffee LABEL artwork as the catalog, so
   they mirror the label's portrait ratio and show it complete (contain) rather
   than cropping it into a circle. */
.flavor__media {
  aspect-ratio: 625 / 1025; border-radius: var(--radius-lg); overflow: hidden;
  background: transparent; margin: 0 auto var(--s3);
  width: 100%; max-width: 200px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.flavor:hover .flavor__media { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(42,28,17,0.14); }
.flavor__media img { width: 100%; height: 100%; object-fit: contain; }
.flavor__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 4px; }
.flavor__price { font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.review {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s4);
  display: flex; flex-direction: column;
}
.review__stars { display: flex; gap: 3px; margin-bottom: var(--s2); color: var(--gold); }
.review__stars svg { width: 18px; height: 18px; }
.review__text { font-family: var(--serif); font-size: 1.15rem; font-style: italic; line-height: 1.45; color: var(--ink); margin-bottom: var(--s3); flex: 1; }
.review__author { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--espresso); }
.review__meta { font-size: 0.78rem; color: var(--muted); }
.disclaimer { font-size: 0.78rem; color: var(--muted-light); margin-top: var(--s4); text-align: center; }

/* ============================================================
   SUBSCRIBE
   ============================================================ */
.subscribe { text-align: center; }
.subscribe h2 { color: var(--paper); margin-bottom: var(--s2); }
.subscribe p { color: rgba(255,253,248,0.78); max-width: 540px; margin: 0 auto var(--s4); }
.subscribe-form {
  display: flex; gap: var(--s2); max-width: 520px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.subscribe-form input[type="email"] {
  flex: 1; min-width: 260px;
  background: rgba(255,253,248,0.08);
  border: 1.5px solid rgba(255,253,248,0.28);
  color: var(--paper);
  padding: 16px 20px; border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.subscribe-form input::placeholder { color: rgba(255,253,248,0.5); }
.subscribe-form input:focus { border-color: var(--gold-light); background: rgba(255,253,248,0.12); outline: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 0.78rem; color: rgba(255,253,248,0.55); margin-top: var(--s3); }
.form-status { font-size: 0.85rem; margin-top: var(--s3); }
.form-status.vh { display: none; }
.form-status[data-state="error"] { color: #e08585; }

/* ============================================================
   EVENTS
   ============================================================ */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.event {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.event:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(42,28,17,0.12); }
.event__media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.event:hover .event__media img { transform: scale(1.06); }
.event__loc {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--paper); color: var(--ink);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.event__body { padding: var(--s3); display: flex; flex-direction: column; flex: 1; }
.event__date {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 8px;
}
.event__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 8px; }
.event__desc { font-size: 0.92rem; color: var(--muted); line-height: 1.55; flex: 1; margin-bottom: var(--s2); }

/* ============================================================
   INQUIRY FORM
   ============================================================ */
.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s5);
  max-width: 720px; margin: 0 auto;
  box-shadow: 0 18px 44px rgba(42,28,17,0.07);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s4); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  background: var(--cream); border: 1.5px solid var(--line);
  color: var(--ink); padding: 13px 15px; border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); background: var(--paper); outline: none;
}
.form-card .btn { margin-top: var(--s2); }
.form-card .form-note { color: var(--muted); margin-top: var(--s3); }
.form-card .form-status { color: var(--ink); }
.form-card .form-status[data-state="error"] { color: #b23c3c; }

/* ============================================================
   LOCATION DETAIL
   ============================================================ */
.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
.info-list { display: flex; flex-direction: column; gap: var(--s3); }
.info-item { display: flex; gap: var(--s3); align-items: flex-start; }
.info-item__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-deep); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.info-item__icon svg { width: 20px; height: 20px; }
.info-item__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.info-item__value { font-size: 1.05rem; color: var(--ink); line-height: 1.5; }
.info-item__value a:hover { color: var(--gold-deep); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: var(--s2); font-weight: 700; }
.hours-table td { padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.hours-table tr.today td { color: var(--gold-deep); font-weight: 600; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.gallery__item { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 8/3; }

/* ============================================================
   SHOP
   ============================================================ */
.shop-nav { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; margin-bottom: var(--s6); }
.shop-nav button {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--line-strong);
  color: var(--muted); transition: all 0.25s var(--ease);
}
.shop-nav button:hover { border-color: var(--ink); color: var(--ink); }
.shop-nav button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.shop-cat { margin-bottom: var(--s8); scroll-margin-top: 120px; }
.shop-cat__title { font-family: var(--serif); font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: var(--s2); }
.shop-cat__desc { color: var(--muted); max-width: 620px; margin-bottom: var(--s5); }

/* ============================================================
   PRESS STRIP
   ============================================================ */
.press { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s5) 0; }
.press__label { text-align: center; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s4); font-weight: 600; }
.press__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s5); }
.press__item { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--muted-light); letter-spacing: 0.02em; transition: color 0.3s var(--ease); }
.press__item:hover { color: var(--espresso); }

/* ============================================================
   LEGAL / PROSE PAGES
   ============================================================ */
.prose { max-width: var(--maxw-narrow); }
.prose h2 { font-size: clamp(1.5rem,2.6vw,2.1rem); margin: var(--s6) 0 var(--s2); }
.prose h3 { font-size: 1.25rem; margin: var(--s4) 0 var(--s1); }
.prose p, .prose li { color: var(--muted); margin-bottom: var(--s2); line-height: 1.75; }
.prose ul { list-style: disc; padding-left: var(--s3); margin-bottom: var(--s3); }
.prose a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--espresso); }
.updated { font-size: 0.85rem; color: var(--muted-light); margin-bottom: var(--s5); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,253,248,0.7); padding: var(--s8) 0 var(--s5); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s5); padding-bottom: var(--s6); border-bottom: 1px solid var(--line-light); }
.footer__brand .logo-img { height: 46px; filter: brightness(0) invert(1); margin-bottom: var(--s3); }
.footer__brand p { font-size: 0.95rem; line-height: 1.6; max-width: 320px; margin-bottom: var(--s3); }
.footer__col h4 { font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); margin-bottom: var(--s3); }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 0.95rem; color: rgba(255,253,248,0.7); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: var(--s2); margin-top: var(--s3); }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper); transition: all 0.25s var(--ease);
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer__social svg { width: 18px; height: 18px; }
.footer__locations { display: flex; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s3); }
.footer__loc { font-size: 0.9rem; line-height: 1.5; }
.footer__loc strong { color: var(--paper); display: block; margin-bottom: 4px; letter-spacing: 0.04em; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s2);
  padding-top: var(--s4); font-size: 0.82rem;
}
.footer__legal { display: flex; gap: var(--s3); flex-wrap: wrap; }
.footer__legal a:hover { color: var(--gold-light); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie {
  position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 1200;
  max-width: 520px; margin: 0 auto;
  background: var(--ink); color: rgba(255,253,248,0.85);
  border-radius: var(--radius-lg); padding: var(--s3) var(--s4);
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
  display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
  transform: translateY(140%); transition: transform 0.5s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie p { font-size: 0.88rem; flex: 1; min-width: 220px; line-height: 1.5; }
.cookie a { color: var(--gold-light); text-decoration: underline; }
.cookie__btns { display: flex; gap: 10px; }
.cookie__btns button {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: var(--radius);
}
.cookie__accept { background: var(--gold); color: var(--ink); }
.cookie__accept:hover { background: var(--gold-light); }
.cookie__decline { color: rgba(255,253,248,0.7); border: 1px solid var(--line-light); }
.cookie__decline:hover { color: var(--paper); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid-4, .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --nav-h: 70px; --nav-h-shrunk: 58px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .feature, .info-row { grid-template-columns: 1fr; gap: var(--s5); }
  .feature--reverse .feature__media { order: 0; }
  .feature__media { aspect-ratio: 16/11; }
  .feature__media--tall { aspect-ratio: 4 / 5; }
  .feature__media--product { aspect-ratio: 625 / 1025; }
  .grid-3, .reviews-grid, .event-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .form-grid { grid-template-columns: 1fr; }
  .split-cta { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .section { padding: var(--s7) 0; }

  /* hero stacks: Cleveland CTA at top of first panel, Helen CTA at bottom of last, badge on the seam */
  .hero-split { flex-direction: column; height: auto; min-height: 0; }
  .hero-panel { min-height: 68vh; flex: none; }
  .hero-panel__cta { left: var(--s4); right: var(--s4); align-items: stretch; text-align: center; gap: var(--s2); }
  .hero-panel--cle .hero-panel__cta { top: clamp(84px, 14vh, 120px); bottom: auto; left: var(--s4); }
  .hero-panel--hel .hero-panel__cta { top: auto; bottom: var(--s5); right: var(--s4); }
  .hero-panel__eyebrow { justify-content: center; }
  .hero-panel--cle .hero-panel__eyebrow::before,
  .hero-panel--hel .hero-panel__eyebrow::after { display: none; }
  .hero-badge { width: 132px; height: auto; }
  .hero-scroll { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 var(--s3); }
  .grid-4, .flavor-grid, .grid-2, .gallery { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; gap: var(--s4); }
  .gallery__item--wide { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .hero-badge { width: 116px; height: auto; }
}

/* ============================================================
   INSTAGRAM CAROUSEL
   ============================================================ */
.ig-carousel {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s4);
}
.ig-track {
  display: flex;
  gap: var(--s3);
  margin: 0;
  padding: var(--s1) 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ig-track::-webkit-scrollbar { display: none; }
.ig-cell {
  flex: 0 0 auto;
  width: clamp(180px, 30vw, 260px);
  scroll-snap-align: start;
}
.ig-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--espresso);
}
.ig-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.ig-tile__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--overlay);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.ig-tile__icon svg { width: 34px; height: 34px; }
.ig-tile:hover img,
.ig-tile:focus-visible img { transform: scale(1.06); }
.ig-tile:hover .ig-tile__icon,
.ig-tile:focus-visible .ig-tile__icon { opacity: 1; }
.ig-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ig-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.ig-nav svg { width: 20px; height: 20px; }
.ig-nav--prev { left: 0; }
.ig-nav--next { right: 0; }
.ig-nav:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.ig-nav[disabled] { opacity: 0; pointer-events: none; }
@media (hover: hover) and (min-width: 901px) {
  .ig-nav { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-tile img { transition: none; }
  .ig-tile:hover img,
  .ig-tile:focus-visible img { transform: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-panel__media video { transform: scale(1.02); }
}
