/* =========================================================
   Gypsy Distillery — style.css
   Palette: Midnight-Amber (Luxury-Dark variant)
   Tokens named after the brand's world: --midnight, --amber, --copper, --grain, --smoke
   Fonts: Fraunces (display) + Inter Tight (body) + JetBrains Mono (labels)
   ========================================================= */

:root {
  /* Brand palette — dark distillery ground, amber spirit accent */
  --midnight:     #0C0D0E;   /* deep still-dark ground */
  --midnight-2:   #141517;   /* panel dark */
  --midnight-soft:#1C1D20;   /* card dark */
  --grain:        #F4F0E6;   /* warm ivory — paper / light text */
  --grain-2:      #E8E2D4;   /* softer ivory */
  --amber:        #C4872A;   /* the spirit — distilled gold */
  --amber-2:      #D9A24E;   /* polished amber highlight */
  --amber-soft:   #ECCC96;   /* lightest amber tint */
  --bay:          #2E5A50;   /* Little Traverse Bay teal — spot */
  --smoke:        #A8A29A;   /* warm grey for muted body on dark */
  --smoke-2:      #7A756E;   /* deeper muted */

  /* Structural aliases (base.css conventions kept) */
  --paper:        var(--midnight);
  --paper-2:      var(--midnight-2);
  --paper-soft:   var(--midnight-soft);
  --ink:          var(--grain);
  --ink-2:        var(--grain-2);
  --accent:       var(--amber);
  --accent-2:     var(--amber-2);
  --accent-soft:  var(--amber-soft);
  --spot:         var(--bay);
  --muted:        var(--smoke);
  --muted-2:      var(--smoke-2);
  --line:         rgba(244,240,230,.10);
  --line-2:       rgba(244,240,230,.05);

  /* Type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body:    "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", 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,.2), 0 12px 32px -16px rgba(0,0,0,.5);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -20px rgba(0,0,0,.6);
}

/* ---- RESET ---- */
* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
*::selection { background: var(--amber); color: var(--midnight); }
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(--grain);
  background: var(--midnight);
  overflow-x: hidden;
  width: 100%; max-width: 100vw;
  position: relative;
  -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; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--midnight-2); }
::-webkit-scrollbar-thumb { background: var(--amber); }

/* ---- FILM GRAIN (signature finish) ---- */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: .055; mix-blend-mode: screen;
  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: -.012em;
  line-height: 1.08;
  color: var(--grain);
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); }
p  { color: var(--smoke); }
em, .italic { font-style: italic; font-family: var(--f-display); }
.serif { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; }

/* Signature eyebrow with amber rule */
.eyebrow {
  font-family: var(--f-body);
  text-transform: uppercase;
  letter-spacing: .4em;
  font-size: 11px;
  font-weight: 500;
  color: var(--grain);
  display: inline-block;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--amber); margin-right: 14px; vertical-align: middle;
}
.label-mono {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--smoke-2);
}

/* ---- LAYOUT ---- */
.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(64px, 10vw, 140px) 0; }
.section--light { background: var(--grain); color: var(--midnight); }
.section--light h2, .section--light h3, .section--light h4 { color: var(--midnight); }
.section--light p { color: #3A3530; }
.section--light .eyebrow { color: var(--midnight); }
.section--mid { background: var(--midnight-2); }
.grid { display: grid; gap: clamp(24px, 4vw, 64px); }

/* ---- 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 30px; border: 1px solid var(--grain);
  background: var(--grain); color: var(--midnight);
  transition: all .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--grain); opacity: 1; }
.btn--ghost { background: transparent; color: var(--grain); }
.btn--ghost:hover { background: var(--grain); color: var(--midnight); opacity: 1; }
.btn--amber { background: var(--amber); border-color: var(--amber); color: var(--midnight); }
.btn--amber:hover { background: transparent; border-color: var(--amber); color: var(--amber); opacity: 1; }

/* ---- ANNOUNCE BAR ---- */
.announce {
  background: var(--midnight-2); text-align: center; padding: 11px 20px;
  font-size: 10.5px; letter-spacing: .36em; text-transform: uppercase;
  color: rgba(244,240,230,.6); font-weight: 400;
  border-bottom: 1px solid var(--line);
}
.announce span { color: var(--amber-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(--midnight) 88%, 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-brand {
  justify-self: start; display: flex; flex-direction: column; gap: 0;
}
.nav-wordmark {
  font-family: var(--f-display);
  font-size: 1.25rem;
  letter-spacing: .04em;
  color: var(--grain);
  font-style: italic;
  line-height: 1;
}
.nav-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--amber);
}
.nav-links {
  display: flex; gap: 32px; justify-self: center; list-style: none;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
}
.nav-links a:hover { color: var(--amber); opacity: 1; }
.nav-cta { justify-self: end; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--grain); transition: .3s var(--ease); }

/* ---- HERO ---- */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 clamp(56px, 8vw, 100px);
  position: relative;
  background: var(--midnight);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(
    170deg,
    rgba(12,13,14,0) 0%,
    rgba(12,13,14,.3) 40%,
    rgba(12,13,14,.85) 75%,
    rgba(12,13,14,1) 100%
  );
  z-index: 1;
}
.hero-img-placeholder {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,13,14,0) 0%, rgba(12,13,14,.9) 100%),
    linear-gradient(135deg, #1a1208 0%, #0e1510 35%, #0C0D0E 60%, #100e08 100%);
  z-index: 0;
}
/* amber barrel texture overlay */
.hero-img-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 40%, rgba(196,135,42,.12) 0%, transparent 70%);
}
/* teal lake reflection */
.hero-img-placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 30% 60%, rgba(46,90,80,.08) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--gutter);
  max-width: var(--container); margin: 0 auto; width: 100%;
}
.hero-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--smoke-2);
  margin-bottom: 28px;
}
.hero-meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.hero-title { margin-bottom: 22px; color: var(--grain); }
.hero-title em { color: var(--amber-2); }
.hero-tag {
  font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 52ch; color: var(--smoke);
  margin-bottom: 40px; line-height: 1.6;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-cta-note {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--smoke-2); text-transform: uppercase;
}

/* ---- MARQUEE / TICKER ---- */
.marquee-strip {
  background: var(--midnight-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; overflow: hidden;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--smoke); white-space: nowrap; padding: 0 40px;
}
.marquee-item .sep { color: var(--amber); margin: 0 0 0 40px; }
@keyframes marquee-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- STORY SECTION ---- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.story-img-frame {
  position: relative; padding-top: 125%;
  background: var(--midnight-soft);
  overflow: hidden;
}
.story-img-frame-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1208 0%, #0d1410 50%, #0e0c0a 100%);
}
.story-img-frame-inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(196,135,42,.15) 0%, transparent 65%);
}
.story-img-frame::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(0deg, rgba(12,13,14,.8) 0%, transparent 100%);
}
.story-img-caption {
  position: absolute; bottom: 24px; left: 24px; z-index: 2;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber-soft);
}
.story-text { display: flex; flex-direction: column; gap: 24px; }
.story-quote {
  margin: 16px 0; padding: 20px 0 20px 24px;
  border-left: 2px solid var(--amber);
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: var(--grain-2); line-height: 1.5;
}
.story-stat-row { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 8px; }
.story-stat { display: flex; flex-direction: column; gap: 4px; }
.story-stat-num {
  font-family: var(--f-display); font-size: 2.4rem; font-weight: 400;
  color: var(--amber); letter-spacing: -.02em; line-height: 1;
}
.story-stat-label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--smoke-2);
}

/* ---- SPIRITS / PRODUCT CARDS ---- */
.spirits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.spirit-card {
  background: var(--midnight-soft); border: 1px solid var(--line);
  padding: 36px 28px 32px;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.spirit-card:hover { transform: translateY(-4px); border-color: var(--amber); }
.spirit-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-2) 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.spirit-card:hover::before { transform: scaleX(1); }
.spirit-icon {
  width: 48px; height: 48px; margin-bottom: 24px;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber);
}
.spirit-card h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--grain); }
.spirit-card p { font-size: 0.9rem; color: var(--smoke); line-height: 1.6; }
.spirit-award {
  margin-top: 20px; padding: 8px 12px;
  background: rgba(196,135,42,.08); border: 1px solid rgba(196,135,42,.2);
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber-2); display: inline-block;
}

/* ---- VENUE SECTION ---- */
.venue-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.venue-img-stack { display: grid; grid-template-rows: auto auto; gap: 16px; }
.venue-img-main {
  padding-top: 66%; background: var(--midnight-soft); position: relative; overflow: hidden;
}
.venue-img-main-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1810 0%, #0e150c 40%, #12100a 100%);
}
.venue-img-main-inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(46,90,80,.18) 0%, transparent 70%);
}
.venue-img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.venue-img-sm {
  padding-top: 70%; background: var(--midnight-soft); position: relative; overflow: hidden;
}
.venue-img-sm-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #120d08 0%, #0a0e0d 100%);
}
.venue-features { display: flex; flex-direction: column; gap: 24px; }
.venue-feature-item { display: flex; gap: 20px; align-items: flex-start; }
.venue-feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: 1rem;
}
.venue-feature-text h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: var(--grain); margin-bottom: 4px; letter-spacing: .02em; }
.venue-feature-text p { font-size: 0.875rem; color: var(--smoke); }

/* ---- AWARDS STRIP ---- */
.awards-row {
  display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); justify-content: center; align-items: center;
  padding: clamp(48px, 7vw, 80px) 0;
}
.award-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.award-badge {
  width: 72px; height: 72px; border: 1px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; position: relative;
}
.award-badge::before {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid rgba(196,135,42,.3); border-radius: 50%;
}
.award-badge svg { width: 28px; height: 28px; fill: var(--amber); }
.award-title { font-family: var(--f-display); font-size: 1rem; color: var(--grain); font-weight: 400; }
.award-detail { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke-2); }

/* ---- VISIT SECTION ---- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--line); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 14px 0; font-size: 0.9rem; }
.hours-table td:first-child { color: var(--smoke); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-family: var(--f-mono); }
.hours-table td:last-child { color: var(--grain); text-align: right; }
.visit-info { display: flex; flex-direction: column; gap: 20px; }
.visit-info-item { display: flex; flex-direction: column; gap: 4px; }
.visit-info-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.visit-info-value { color: var(--grain); font-size: 1rem; }
.visit-info-value a { color: var(--grain); }
.visit-info-value a:hover { color: var(--amber-2); opacity: 1; }

/* ---- CTA BANNER ---- */
.cta-banner {
  text-align: center; padding: clamp(80px, 12vw, 140px) var(--gutter);
  position: relative; overflow: hidden;
  background: var(--midnight-soft);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(196,135,42,.07) 0%, transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { max-width: 18ch; margin: 16px auto 24px; }
.cta-banner p { max-width: 44ch; margin: 0 auto 40px; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer { background: #080909; color: var(--grain); padding: clamp(56px, 8vw, 100px) 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); margin-bottom: 56px; }
.footer a { color: rgba(244,240,230,.6); font-size: 0.875rem; transition: color .3s; }
.footer a:hover { color: var(--amber-2); opacity: 1; }
.footer-brand-name {
  font-family: var(--f-display); font-size: 1.6rem; font-style: italic;
  color: var(--grain); margin-bottom: 4px; line-height: 1;
}
.footer-brand-tagline { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.footer-brand-desc { font-size: 0.85rem; color: var(--smoke-2); max-width: 28ch; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-credit {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; color: rgba(244,240,230,.3);
}
.footer-credit a { color: rgba(244,240,230,.3); font-size: 10.5px; }
.footer-credit a:hover { color: var(--amber); opacity: 1; }

/* ---- 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; } }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .spirits-grid { grid-template-columns: repeat(2, 1fr); }
  .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(--midnight-2); padding: 32px var(--gutter); gap: 22px;
    border-bottom: 1px solid var(--line); z-index: 99;
  }
  .story-grid { grid-template-columns: 1fr; }
  .story-img-frame { padding-top: 65%; }
  .venue-layout { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .spirits-grid { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .awards-row { gap: 32px; }
  .story-stat-row { gap: 28px; }
  .footer-credit { flex-direction: column; text-align: center; }
}

/* ---- DIVIDER ---- */
.divider {
  display: flex; align-items: center; gap: 20px;
  margin: 0 auto; max-width: 280px;
}
.divider-line { flex: 1; height: 1px; background: var(--line); }
.divider-icon { color: var(--amber); font-size: 0.8rem; letter-spacing: .3em; }

/* Utilities */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.maxw-prose { max-width: 60ch; }
.amber { color: var(--amber); }
