/* =========================================================
   SANDY RIVER DISTILLERY — srd.css
   Palette: Charred Oak & Copper (Virginia heritage distillery)
   Fonts: Marcellus (display) · Playfair Display (italic accent)
          Inter Tight (body) · JetBrains Mono (labels)
   Template: DISTILLERY / WINERY
   ========================================================= */

:root {
  /* ── CHARRED OAK & COPPER ── */
  --char:        #1B100A;   /* charred oak — near-black ink */
  --char-2:      #261509;   /* deeper char */
  --ash:         #F5F0E8;   /* Virginia cream — paper */
  --ash-2:       #EDE5D5;   /* warm off-white panel */
  --ash-soft:    #FAF7F1;   /* softest tint */
  --copper:      #B5622A;   /* the still — accent */
  --copper-2:    #CE7B3F;   /* polished copper */
  --copper-soft: #E8BF98;   /* light copper tint */
  --ember:       #7A3218;   /* whiskey amber — spot */
  --muted:       #4A3828;   /* warm body text on light */
  --muted-2:     #6B5844;

  /* structural aliases (base.css cascades) */
  --paper:       var(--ash);
  --paper-2:     var(--ash-2);
  --paper-soft:  var(--ash-soft);
  --ink:         var(--char);
  --ink-2:       var(--char-2);
  --accent:      var(--copper);
  --accent-2:    var(--copper-2);
  --accent-soft: var(--copper-soft);
  --spot:        var(--ember);
  --line:        rgba(27,16,10,.13);
  --line-2:      rgba(27,16,10,.06);

  /* ── TYPE ── */
  --f-display: "Marcellus", Georgia, serif;
  --f-accent:  "Playfair Display", Georgia, serif;
  --f-body:    "Inter Tight", "Inter", -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* ── SCALE + DEPTH ── */
  --container:        1320px;
  --container-narrow: 1040px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22,1,.36,1);
  --shadow-soft: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -16px rgba(0,0,0,.18);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.08), 0 24px 48px -20px rgba(0,0,0,.26);
}

/* ── RESET ── */
* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
*::selection { background: var(--char); color: var(--ash); }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; max-width: 100vw;
  -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.65; font-weight: 400;
  color: var(--ink); background: var(--paper);
  overflow-x: hidden; width: 100%; max-width: 100vw;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
section, header, footer { max-width: 100vw; overflow-x: clip; position: relative; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .35s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── FILM GRAIN (signature) ── */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: .045; 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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display); font-weight: 400;
  letter-spacing: .01em; line-height: 1.1; color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
p { color: var(--muted); }
em, .italic { font-style: italic; font-family: var(--f-accent); font-weight: 400; }
.serif { font-family: var(--f-display); font-weight: 400; }

/* eyebrow — house signature */
.eyebrow {
  font-family: var(--f-body); text-transform: uppercase;
  letter-spacing: .42em; font-size: 11px; font-weight: 500; color: var(--ink);
  display: inline-block;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--copper); margin-right: 14px; vertical-align: middle;
}
.eyebrow--light { color: var(--ash); }
.eyebrow--light::before { background: var(--copper-2); }
.label-mono {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted-2);
}

/* ── LAYOUT PRIMITIVES ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 148px) 0; }
.section--dark { background: var(--char); color: var(--ash); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: var(--ash); }
.section--dark p { color: rgba(245,240,232,.7); }
.section--dark .eyebrow { color: var(--ash); }
.section--char2 { background: var(--char-2); color: var(--ash); }
.section--char2 h2, .section--char2 h3 { color: var(--ash); }
.section--char2 p { color: rgba(245,240,232,.7); }
.section--paper2 { background: var(--ash-2); }
.grid { display: grid; gap: clamp(24px, 4vw, 60px); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 16px 32px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--ash);
  transition: all .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); opacity: 1; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ash); }
.btn--copper { background: var(--copper); border-color: var(--copper); color: var(--ash); }
.btn--copper:hover { background: var(--ember); border-color: var(--ember); opacity: 1; }
.btn--light { border-color: var(--ash); color: var(--ash); background: transparent; }
.btn--light:hover { background: var(--ash); color: var(--char); opacity: 1; }

/* ── ANNOUNCE BAR ── */
.announce {
  background: var(--char-2); text-align: center; padding: 11px 20px;
  font-size: 10.5px; letter-spacing: .36em; text-transform: uppercase;
  color: rgba(245,240,232,.7); font-weight: 400;
}
.announce a { color: var(--copper-2); }
.announce span { color: var(--copper-2); }

/* ── STICKY NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--ash) 93%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease);
}
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav-logo {
  justify-self: start; font-family: var(--f-display);
  font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--char); line-height: 1.2;
}
.nav-logo span { display: block; font-size: 9px; letter-spacing: .38em; font-family: var(--f-body); color: var(--copper); font-weight: 500; margin-top: 1px; }
.nav-links {
  display: flex; gap: 30px; justify-self: center; list-style: none;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
}
.nav-links a:hover { color: var(--copper); opacity: 1; }
.nav-cta { justify-self: end; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--char); transition: .3s var(--ease); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in, .no-js .reveal, .reveal.reveal--shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── IMG FALLBACK ── */
.img-fallback { display: flex; align-items: center; justify-content: center;
  background: var(--ash-2); border: 1px solid var(--line); min-height: 260px; }
.img-fallback-cap { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2); padding: 24px; text-align: center; }

/* ── UTILITIES ── */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 30px; } .mt-l { margin-top: 60px; }
.maxw-prose { max-width: 60ch; }

/* ── HERO (dark ground, split layout) ── */
.hero {
  background: var(--char);
  padding: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(56px, 10vw, 120px) 0 clamp(56px, 10vw, 120px) var(--gutter);
  max-width: calc(var(--container)/2 + var(--gutter));
  margin-left: auto;
}
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero-eyebrow span {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(245,240,232,.55);
}
.hero-eyebrow .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--copper); flex-shrink: 0; }
.hero h1 { color: var(--ash); line-height: 1.04; margin-bottom: 22px; }
.hero h1 em { color: var(--copper-2); }
.hero-tag { color: rgba(245,240,232,.66); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 46ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--char-2) 0%, #2E1A0A 60%, #1A0C04 100%);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 55% 50%, rgba(181,98,42,.22) 0%, transparent 70%);
}
.hero-visual-label {
  position: absolute; bottom: 32px; left: 32px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,240,232,.35);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .65;
}

/* ── MARQUEE ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 15px 0; background: var(--ash-2); }
.marquee-track {
  display: flex; gap: 30px; white-space: nowrap; width: max-content;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-2); animation: marq 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .sep { color: var(--copper); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── SPIRITS GRID ── */
.spirit-card {
  background: var(--ash-soft); border: 1px solid var(--line);
  padding: 0 0 28px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.spirit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.spirit-card-img { aspect-ratio: 4/5; overflow: hidden; background: var(--ash-2); }
.spirit-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.spirit-card:hover .spirit-card-img img { transform: scale(1.04); }
.spirit-card-body { padding: 22px 24px 0; }
.spirit-card-name { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .01em; }
.spirit-card-type { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--copper); margin-top: 4px; }
.spirit-card p { margin-top: 10px; font-size: .93rem; }

/* ── TASTING SECTION ── */
.tasting-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; }
.tasting-img { aspect-ratio: 1; overflow: hidden; }
.tasting-img img { width: 100%; height: 100%; object-fit: cover; }
.tasting-text { padding: clamp(40px, 6vw, 80px); }
.tasting-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.tasting-feature { display: flex; align-items: flex-start; gap: 16px; }
.tasting-feature-icon {
  width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px;
  border: 1px solid var(--copper-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 9px; color: var(--copper); letter-spacing: 0;
}

/* ── RESTAURANT (Barrelhouse) ── */
.restaurant-hero-text { max-width: 64ch; }
.restaurant-menu-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(245,240,232,.1); margin-top: clamp(40px, 6vw, 72px); }
.restaurant-menu-item { background: var(--char-2); padding: 32px 28px; }
.restaurant-menu-item h3 { font-family: var(--f-display); font-size: 1.2rem; color: var(--ash); }
.restaurant-menu-item p { font-size: .9rem; margin-top: 8px; }

/* ── HERITAGE ── */
.heritage-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.heritage-img { position: relative; }
.heritage-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.heritage-badge {
  position: absolute; bottom: -20px; right: -20px;
  width: 100px; height: 100px; background: var(--copper); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  font-family: var(--f-display); text-align: center; color: var(--ash); line-height: 1;
}
.heritage-badge span:first-child { font-size: 1.6rem; letter-spacing: .02em; }
.heritage-badge span:last-child { font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
.heritage-pull {
  font-family: var(--f-accent); font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45;
  color: var(--ember); margin: 24px 0; border-left: 3px solid var(--copper-soft); padding-left: 20px;
}

/* ── STORE ── */
.store-grid { display: grid; grid-template-columns: repeat(2,1fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
.store-highlights { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.store-highlight { display: flex; gap: 16px; align-items: flex-start; }
.store-hl-num { font-family: var(--f-mono); font-size: 28px; color: var(--copper-soft); letter-spacing: -.02em; flex-shrink: 0; line-height: 1; }

/* ── VISIT / CONTACT ── */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.hours-table td { padding: 8px 0; font-size: .92rem; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.hours-table td:last-child { text-align: right; font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; }
.visit-form input, .visit-form textarea, .visit-form select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line);
  background: var(--ash-soft); font-family: var(--f-body); font-size: 15px;
  color: var(--char); margin-bottom: 12px; outline: none;
  transition: border-color .3s var(--ease);
}
.visit-form input:focus, .visit-form textarea:focus { border-color: var(--copper); }
.visit-form textarea { rows: 4; resize: vertical; min-height: 110px; }

/* ── FOOTER ── */
.footer { background: var(--char-2); color: var(--ash); padding: clamp(56px, 8vw, 100px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 60px); }
.footer-brand-name { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .04em; color: var(--ash); }
.footer-brand-name span { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--copper-2); margin-top: 4px; }
.footer h4 { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--copper-2); font-weight: 500; margin-bottom: 16px; }
.footer p, .footer li { color: rgba(245,240,232,.62); font-size: .88rem; line-height: 1.8; }
.footer a { color: rgba(245,240,232,.62); }
.footer a:hover { color: var(--copper-2); opacity: 1; }
.footer ul { list-style: none; }
.footer-divider { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(245,240,232,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-credit { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; color: rgba(245,240,232,.35); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,240,232,.4); }
.footer-social a:hover { color: var(--copper-2); opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .heritage-grid { grid-template-columns: 1fr; }
  .heritage-badge { right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-links.open {
    display: flex; position: fixed; inset: 64px 0 auto 0; flex-direction: column;
    background: var(--ash); padding: 32px var(--gutter); gap: 22px;
    border-bottom: 1px solid var(--line); z-index: 99;
  }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: clamp(48px, 10vw, 80px) var(--gutter); max-width: 100%; }
  .hero-visual { min-height: 320px; }
  .tasting-grid { grid-template-columns: 1fr; }
  .tasting-img { aspect-ratio: 16/9; }
  .restaurant-menu-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid { gap: 28px; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .heritage-badge { display: none; }
  h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .section { padding: clamp(52px, 10vw, 80px) 0; }
}
