/* =========================================================
   Black Market Barbeque
   Palette + type pulled from the bottle labels.
   ========================================================= */

:root {
  /* base */
  --ink:      #100E0D;   /* warm near-black background */
  --ink-2:    #181513;   /* raised panels */
  --ink-3:    #221D19;   /* cards */
  --cream:    #F4EFE6;   /* primary text */
  --cream-dim: rgba(244, 239, 230, 0.66);
  --cream-faint: rgba(244, 239, 230, 0.38);
  --line:     rgba(244, 239, 230, 0.12);

  /* brand accents (one per sauce, from the labels) */
  --ember:    #D5302A;   /* signature red */
  --ember-2:  #E2772B;   /* orange */
  --gold:     #F2B100;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);

  --serif: "Domine", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.01em; }
h2 em { font-style: normal; color: var(--ember-2); }

p { margin: 0 0 1rem; }

.container { width: min(var(--maxw), 92vw); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ember-2);
  margin: 0 0 1rem;
}
/* keep kickers orange even inside story/visit copy (which set their <p> to cream) */
.story-copy .eyebrow, .visit-copy .eyebrow { color: var(--ember-2); }

.muted  { color: var(--cream-faint); }
.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;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ember); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ember); color: #fff;
  box-shadow: 0 10px 30px rgba(213, 48, 42, 0.35);
}
.btn-primary:hover { background: #e23a33; box-shadow: 0 14px 38px rgba(213, 48, 42, 0.5); }

.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(244, 239, 230, 0.06); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(8px);
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(16, 14, 13, 0.86);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-badge { width: 44px; height: 44px; object-fit: contain; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-line-1 { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.03em; text-transform: uppercase; }
.brand-line-2 {
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--cream-dim); padding-left: 2px;
}
.brand-est {
  align-self: center; margin-left: 0.8rem; padding-left: 0.8rem; border-left: 1px solid var(--line);
  font-family: var(--sans); font-weight: 700; font-size: 0.6rem; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--ember-2);
}
@media (max-width: 600px) { .brand-est { display: none; } }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav > a {
  font-size: 0.92rem; font-weight: 500; color: var(--cream-dim);
  transition: color 0.18s ease; position: relative;
}
.nav > a:hover { color: var(--cream); }
.nav-socials { display: flex; gap: 0.85rem; padding-left: 0.4rem; border-left: 1px solid var(--line); }
.nav-socials a {
  display: inline-flex; align-items: center; gap: 0.32rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--cream-dim); padding-left: 0.85rem;
}
.nav-socials .social-ico { width: 1.25em; height: 1.25em; }
.nav-socials a:first-child { padding-left: 0; }
.nav-socials a:hover { color: var(--ember-2); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--cream); transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  min-height: clamp(560px, 86vh, 820px); display: flex; align-items: center;
  background: #0d0b0a url('smokehouse.jpg') 72% 38% / cover no-repeat;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    /* extra shade over JUST the truck grille + license plate, lower-left */
    radial-gradient(24% 21% at 35% 89%, rgba(13,11,10,0.95) 0%, rgba(13,11,10,0.5) 46%, transparent 76%),
    /* dark top hides the sky + power lines, open middle shows the smoke house, dark base */
    linear-gradient(to bottom, rgba(13,11,10,0.96) 0%, rgba(13,11,10,0.88) 32%, rgba(13,11,10,0.4) 54%, rgba(13,11,10,0.5) 70%, rgba(13,11,10,0.88) 100%),
    /* left = solid to cover the truck + back the text, fading right to reveal the building */
    linear-gradient(to right, #0d0b0a 0%, #0d0b0a 30%, rgba(13,11,10,0.5) 52%, rgba(13,11,10,0.12) 82%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 600px; }
.hero-title {
  font-size: clamp(3.2rem, 11vw, 7rem);
  line-height: 0.92; letter-spacing: -0.02em; text-transform: uppercase;
  margin: 0.3rem 0 1.1rem;
}
.hero-title span { display: block; }
.hero-title-sub {
  font-family: var(--sans); font-weight: 600; font-size: clamp(0.9rem, 2.4vw, 1.3rem);
  letter-spacing: 0.55em; text-transform: uppercase; color: var(--cream);
  padding-left: 0.4rem; margin-top: 0.5rem;
}
.hero-slogan {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1; color: var(--ember-2);
  margin: 0.6rem 0 0.5rem;
}
.hero-tagline {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.22em; font-size: clamp(0.72rem, 1.5vw, 0.9rem);
  color: var(--cream-dim); margin: 0 0 1.4rem;
}
.hero-lede { color: var(--cream-dim); max-width: 38ch; font-size: 1.05rem; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.8rem 0 1.4rem; }
.hero-note {
  font-size: 0.85rem; color: var(--cream-dim); display: flex; align-items: center; gap: 0.5rem; margin: 0;
}
.hero-note a { color: var(--ember-2); border-bottom: 1px solid rgba(226, 119, 43, 0.4); }
.hero-note .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ember-2);
  box-shadow: 0 0 0 0 rgba(226, 119, 43, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(226, 119, 43, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(226, 119, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 119, 43, 0); }
}

.hero-badge-wrap { display: flex; justify-content: center; }
.hero-badge {
  width: min(420px, 80%);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- section heads ---------- */
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { color: var(--cream-dim); margin-top: 0.9rem; }

/* ---------- sauces ---------- */
.sauces {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4.5rem, 9vw, 7rem);
  background: #100E0D url('lineup.jpg') center / contain no-repeat;
}
.sauces::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(rgba(16,14,13,0.9) 0%, rgba(16,14,13,0.8) 50%, rgba(16,14,13,0.92) 100%);
}
.sauces .container { position: relative; z-index: 1; }
.sauce-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem;
}
.sauce-card {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sauce-card:hover {
  transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}

/* recreate the bottle label as the top of each card */
.label {
  background: #0b0a09; padding: 1.6rem 1.4rem 1.4rem; text-align: center;
  border-bottom: 1px solid var(--line); position: relative;
}
.label-brand {
  font-family: var(--serif); font-weight: 800; text-transform: uppercase;
  font-size: 1.15rem; line-height: 1.1; letter-spacing: 0.02em; margin: 0 0 0.9rem;
}
.label-brand span {
  display: block; font-size: 0.9rem; font-weight: 700; color: var(--cream-dim); letter-spacing: 0.04em;
}
.label-band {
  background: var(--accent); margin: 0 -0.2rem 0.9rem; padding: 0.32rem;
}
.label-band span {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.78rem;
  color: #1a1410; mix-blend-mode: normal;
}
/* dark accents need light text on the band */
.sauce-card[style*="#8A4B2A"] .label-band span,
.sauce-card[style*="#D5302A"] .label-band span,
.sauce-card[style*="#1E6CA0"] .label-band span,
.sauce-card[style*="#9C1B1B"] .label-band span { color: #fdf6ee; }

.label-batch { font-family: var(--serif); font-style: italic; font-size: 0.9rem; color: var(--cream-dim); margin: 0 0 0.8rem; }
.label-dot {
  display: block; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); margin: 0 auto 0.9rem;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}
.label-tag {
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--cream-faint); margin: 0 0 0.6rem;
}
.label-size { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--cream-dim); margin: 0; }

.sauce-info { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sauce-info h3 { font-size: 1.4rem; margin-bottom: 0.5rem; display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.style-tag {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  padding: 0.15rem 0.5rem; border-radius: 999px;
}
.hot-tag { color: #fff; background: var(--ember); border-color: var(--ember); }
.sauce-info p { color: var(--cream-dim); font-size: 0.95rem; flex: 1; }

.heat { display: flex; gap: 5px; margin-top: 0.6rem; }
.heat i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.heat i.off { background: rgba(244, 239, 230, 0.14); }
.sauce-card.hot .heat i:not(.off) { background: var(--ember); }

/* ---------- story ---------- */
.story { padding: clamp(3.5rem, 9vw, 7rem) 0; background: var(--ink-2); border-block: 1px solid var(--line); }
.story-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-media {
  background: var(--cream); border-radius: var(--radius); padding: 2.5rem;
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
}
.story-media img { width: 88%; }
.story-copy h2 { margin-bottom: 1.2rem; }
.story-copy p { color: var(--cream-dim); }
.story-facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.6rem; }
.story-facts li {
  padding-left: 1.4rem; position: relative; color: var(--cream-dim); font-size: 0.96rem;
}
.story-facts li::before { content: "★"; position: absolute; left: 0; color: var(--ember-2); font-size: 0.8rem; top: 2px; }
.story-facts strong { color: var(--cream); }

/* ---------- press / paper trail ---------- */
.press { padding: clamp(3.5rem, 8vw, 6rem) 0; }
/* award badge */
.award {
  display: flex; align-items: center; gap: 1rem; justify-content: center;
  max-width: 560px; margin: 0 auto clamp(2rem, 4vw, 3rem);
  background: var(--ink-2); border: 1px solid rgba(226,119,43,0.45); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; text-align: left; transition: border-color 0.2s, transform 0.2s;
}
.award:hover { border-color: var(--ember-2); transform: translateY(-2px); }
.award-medal { color: var(--ember-2); flex: none; line-height: 0; }
.award-medal svg { width: 2.3rem; height: 2.3rem; }
.award-copy strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--cream); line-height: 1.2; }
.award-copy span { display: block; margin-top: 0.25rem; font-size: 0.76rem; color: var(--cream-dim); }
/* masonry-style clipping gallery (handles mixed photo shapes) */
.clippings { column-count: 2; column-gap: 1.6rem; max-width: 1000px; margin: 0 auto; }
.clipping { break-inside: avoid; margin: 0 0 1.6rem; text-align: center; }
.clipping a {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}
.clipping img { width: 100%; display: block; transition: transform 0.35s ease; }
.clipping a:hover img { transform: scale(1.03); }
.clipping figcaption {
  margin-top: 1rem; font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--cream-dim);
}

/* ---------- heritage / show-me state ---------- */
.heritage { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) 0; border-block: 1px solid var(--line); }
/* faint "ghost" American flag behind the Show-Me State section */
.heritage::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('flag.jpg') center / contain no-repeat;
  opacity: 0.035;
}
.heritage-inner { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; text-align: center; }
.heritage-title {
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.1;
  margin: 0.4rem 0 1.2rem; color: var(--cream);
}
.heritage-body {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.62;
  color: var(--cream); max-width: 60ch; margin: 0 auto 1.3rem;
}
.heritage-body strong { color: var(--ember-2); font-weight: 700; }
.heritage-sub { color: var(--cream-dim); max-width: 48ch; margin-inline: auto; font-size: 1.05rem; }

/* ---------- visit ---------- */
.visit { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.visit-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.visit-copy p { color: var(--cream-dim); }
.services {
  margin-top: 1.4rem; font-weight: 600; color: var(--cream);
  font-size: 0.95rem; letter-spacing: 0.01em;
}
.visit-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(440px, 40vw, 560px);
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem; box-shadow: var(--shadow);
}
.visit-card > * { position: relative; z-index: 1; }
/* neon "OPEN" sign — zoomed so OPEN spans the box, rotated level, glows behind content */
.visit-neon {
  position: absolute; top: 50%; left: 50%; z-index: 0;
  width: 105%; height: auto; max-width: none;
  transform: translate(-50%, -50%) rotate(0deg);
  filter: blur(2px) saturate(1.15);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
}
/* OPEN + scrolled into view → flicker the neon to life and hold lit */
.visit-card.is-open.lit .visit-neon { opacity: 0.42; animation: neon-on 1.6s ease forwards; }
/* CLOSED → baseline dark; when scrolled into view it sputters and dies out */
.visit-card.is-closed .visit-neon { opacity: 0.05; }
.visit-card.is-closed.lit .visit-neon { animation: neon-die 2s ease forwards; }
@keyframes neon-on {
  0%{opacity:0} 8%{opacity:.5} 10%{opacity:0} 18%{opacity:.55} 21%{opacity:.08}
  29%{opacity:.62} 33%{opacity:.2} 44%{opacity:.6} 48%{opacity:.32}
  62%{opacity:.5} 100%{opacity:.42}
}
/* CLOSED: flickers like it's straining to fire up, then gives out and stays dark */
@keyframes neon-die {
  0%{opacity:0} 7%{opacity:.45} 10%{opacity:.04} 16%{opacity:.5} 19%{opacity:.03}
  27%{opacity:.34} 31%{opacity:0} 40%{opacity:.22} 44%{opacity:.02}
  55%{opacity:.12} 61%{opacity:.02} 72%{opacity:.06} 100%{opacity:.05}
}
.visit-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.visit-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
  margin: 0 0 1.3rem; color: var(--cream-faint); min-height: 1rem;
}
.visit-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.visit-status.open { color: #4ED17A; text-shadow: 0 0 12px rgba(78,209,122,0.55); }
.visit-status.open::before { box-shadow: 0 0 9px 1px rgba(78,209,122,0.9); animation: statuspulse 2s infinite; }
.visit-status.closed { color: var(--cream-faint); }
@keyframes statuspulse { 0%,100%{opacity:1} 50%{opacity:0.45} }
.visit-meta { margin: 0 0 1.6rem; display: grid; gap: 1.1rem; }
.visit-meta dt {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--cream-faint); margin-bottom: 0.25rem;
}
.visit-meta dd { margin: 0; font-size: 1.02rem; color: var(--cream); }
.visit-meta a { border-bottom: 1px solid var(--line); transition: color 0.18s, border-color 0.18s; }
.visit-meta a:hover { color: var(--ember-2); border-color: var(--ember-2); }
.visit-card .btn { width: 100%; }
/* translucent so the neon glows through the Get Directions button */
.visit-card .btn-primary {
  background: rgba(213, 48, 42, 0.4);
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 24px rgba(213, 48, 42, 0.25);
}
.visit-card .btn-primary:hover { background: rgba(226, 58, 51, 0.62); }

/* ---------- catering ---------- */
.catering { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(4rem, 9vw, 7rem); }
.catering-panel {
  background:
    linear-gradient(rgba(16,14,13,0.84), rgba(16,14,13,0.9)),
    #100E0D url('bbq.jpg') center / cover no-repeat;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  padding: clamp(2.4rem, 5vw, 3.8rem); text-align: center;
  max-width: 820px; margin-inline: auto; box-shadow: var(--shadow);
}
.catering-panel h2 { margin: 0.2rem 0 1rem; }
.catering-panel > p { color: var(--cream-dim); max-width: 54ch; margin: 0 auto 1.9rem; }
.catering-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- merch ---------- */
.merch { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.merch-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.6rem; max-width: 880px; margin: 2.8rem auto 0;
}
.merch-card { margin: 0; text-align: center; }
.merch-card a {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--ink-3);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.merch-card a:hover { border-color: var(--ember-2); transform: translateY(-3px); }
.merch-shot { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.merch-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.merch-card a:hover .merch-shot img { transform: scale(1.05); }
.merch-card figcaption { margin-top: 0.95rem; }
.merch-card figcaption strong {
  display: block; font-family: var(--serif); font-size: 1rem; color: var(--cream); line-height: 1.2;
}
.merch-card figcaption span {
  display: block; margin-top: 0.28rem; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--cream-dim);
}
.merch-note { text-align: center; margin: 2.4rem auto 0; color: var(--cream-dim); font-size: 0.95rem; }
.merch-note a { color: var(--ember-2); border-bottom: 1px solid rgba(226, 119, 43, 0.4); }

/* ---------- gallery ---------- */
.gallery { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--ink-2); border-block: 1px solid var(--line); }
.gallery-grid { column-count: 3; column-gap: 1.1rem; max-width: 1080px; margin: 2.8rem auto 0; }
.gallery-item { break-inside: avoid; margin: 0 0 1.1rem; }
.gallery-item a {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--ink-3);
}
.gallery-item img { width: 100%; display: block; transition: transform 0.45s ease; }
.gallery-item a:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.7rem 0.95rem 0.7rem;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--cream);
  background: linear-gradient(to top, rgba(16, 14, 13, 0.9), rgba(16, 14, 13, 0));
  pointer-events: none;
}
.gallery-note { text-align: center; margin: 2.4rem auto 0; color: var(--cream-dim); font-size: 0.95rem; }
.gallery-note a { color: var(--ember-2); border-bottom: 1px solid rgba(226, 119, 43, 0.4); }
@media (max-width: 860px) { .gallery-grid { column-count: 2; } }
@media (max-width: 560px) { .gallery-grid { column-count: 1; max-width: 460px; } }

/* ---------- buy ---------- */
.buy {
  position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 7rem) 0; text-align: center;
  background:
    linear-gradient(rgba(16,14,13,0.92), rgba(16,14,13,0.84) 45%, rgba(16,14,13,0.92)),
    #100E0D url('store.jpg') center / contain no-repeat;
}
.buy-glow { display: none; }
.buy-inner { position: relative; z-index: 1; }
.notify-form {
  display: flex; gap: 0.6rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.notify-form input {
  flex: 1; min-width: 220px;
  background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 999px;
  color: var(--cream); font-family: var(--sans); font-size: 1rem; padding: 0.85rem 1.3rem;
}
.notify-form input:focus { outline: none; border-color: var(--ember-2); }
.notify-form input::placeholder { color: var(--cream-faint); }
.form-msg { min-height: 1.4rem; margin: 1rem 0 0; color: var(--ember-2); font-size: 0.95rem; }

.buy-alt { margin-top: 2.6rem; color: var(--cream-dim); }
.buy-alt p { margin-bottom: 0.8rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.16em; }
.buy-links { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.buy-links a { font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.buy-links a:hover { color: var(--ember-2); border-color: var(--ember-2); }

/* ---------- footer ---------- */
.site-footer { background: #0b0a09; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand-badge { width: 64px; height: 64px; }
.footer-tag { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; color: var(--cream-dim); margin-top: 1rem; max-width: 26ch; }
.footer-est {
  margin-top: 0.7rem; font-family: var(--sans); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; color: var(--ember-2);
}
.footer-col h4 {
  font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--cream-faint); margin-bottom: 1rem; font-weight: 600;
}
.footer-col a { display: block; color: var(--cream-dim); margin-bottom: 0.6rem; font-size: 0.95rem; transition: color 0.18s; }
.footer-col a:hover { color: var(--ember-2); }
.footer-col a.social-link { display: flex; align-items: center; gap: 0.55rem; }
.social-ico { width: 1.05em; height: 1.05em; flex: none; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--cream-faint);
}
.footer-bottom p { margin: 0; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge-wrap { order: -1; }
  .hero-badge { width: min(300px, 62%); }
  .hero-lede { max-width: none; }
  .hero { min-height: auto; background-position: center 42%; }
  .hero-glow { background: linear-gradient(to bottom, rgba(13,11,10,0.82), rgba(13,11,10,0.9)); }
  .hero-copy { max-width: none; }
  .story-inner { grid-template-columns: 1fr; }
  .clippings { column-count: 1; max-width: 480px; }
  .story-media { max-width: 360px; }
  .visit-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* nav collapses to a hamburger earlier (980px) so the 8 links never crowd the brand */
@media (max-width: 980px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: rgba(16, 14, 13, 0.98); border-bottom: 1px solid var(--line);
    padding: 0.5rem 0; transform: translateY(-130%); transition: transform 0.3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav > a { width: 100%; padding: 0.9rem 4vw; font-size: 1.05rem; }
  .nav-socials { width: 100%; padding: 0.9rem 4vw; border-left: 0; border-top: 1px solid var(--line); }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
