/* ==========================================================================
   Barrel & Boots — Elevated Spirits, Texas Hospitality
   Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600&display=swap');

:root{
  /* -- Color tokens ---------------------------------------------------- */
  --bg:        #14100d;
  --bg-alt:    #1b140e;
  --panel:     #221a13;
  --panel-2:   #2a1f15;
  --ink:       #f5efe4;
  --ink-dim:   #cabfae;
  --ink-mute:  #8f8171;
  --gold:      #c89b3c;
  --gold-2:    #e6c56a;
  --wine:      #7a2e2e;
  --wine-2:    #a34141;
  --line:      rgba(245,239,228,0.12);
  --line-soft: rgba(245,239,228,0.07);

  /* -- Type -------------------------------------------------------------*/
  --f-display: 'Fraunces', Georgia, serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--f-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--f-display); font-weight:500; letter-spacing:-0.01em; }
p{ margin:0; }

.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding-left:var(--gutter);
  padding-right:var(--gutter);
}

.eyebrow{
  font-family:var(--f-body);
  font-size:13px;
  color:var(--gold-2);
  font-weight:500;
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{ content:''; width:22px; height:1px; background:var(--gold); display:inline-block; }

:focus-visible{ outline:2px solid var(--gold-2); outline-offset:3px; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:15px 28px;
  border-radius:999px;
  font-size:14.5px;
  font-weight:500;
  border:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  transition:background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg{ width:16px; height:16px; transition:transform .35s var(--ease); }
.btn:hover{ border-color:var(--gold); color:var(--bg); background:var(--gold-2); transform:translateY(-2px); }
.btn:hover svg{ transform:translate(3px,-3px); }
.btn.solid{ background:var(--gold-2); color:var(--bg); border-color:var(--gold-2); }
.btn.solid:hover{ background:var(--gold); }
.btn.ghost-light{ border-color:rgba(20,16,13,.25); color:var(--bg); }
.btn.ghost-light:hover{ background:var(--bg); color:var(--ink); }

/* ==========================================================================
   Age gate
   ========================================================================== */
.age-gate{
  position:fixed; inset:0; z-index:999;
  display:flex; align-items:center; justify-content:center;
  background:#0c0906;
  padding:24px;
  transition:opacity .6s var(--ease), visibility .6s var(--ease);
}
.age-gate[hidden]{ opacity:0; visibility:hidden; pointer-events:none; }
.age-gate__panel{ max-width:420px; text-align:center; }
.age-gate__panel .mark{ font-family:var(--f-display); font-size:15px; letter-spacing:.14em; color:var(--gold-2); text-transform:uppercase; margin-bottom:28px; display:block; }
.age-gate__panel h2{ font-size:clamp(28px,4vw,36px); color:var(--ink); margin-bottom:14px; }
.age-gate__panel p{ color:var(--ink-dim); font-size:15px; margin-bottom:32px; }
.age-gate__actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.age-gate__note{ margin-top:22px; font-size:12.5px; color:var(--ink-mute); }
.age-gate__denied{ display:none; }
.age-gate.is-denied .age-gate__form{ display:none; }
.age-gate.is-denied .age-gate__denied{ display:block; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:22px 0;
  transition:background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.is-scrolled{
  background:rgba(20,16,13,.86);
  backdrop-filter:blur(10px);
  padding:14px 0;
  border-color:var(--line-soft);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; }

.logo{ display:flex; align-items:center; gap:10px; font-family:var(--f-display); font-size:20px; letter-spacing:.01em; color:var(--ink); }
.logo em{ font-style:italic; color:var(--gold-2); font-weight:400; }
.logo svg{ width:30px; height:30px; flex:none; }

.nav-desktop{ display:flex; align-items:center; gap:38px; }
.nav-desktop a{ font-size:14.5px; color:var(--ink-dim); position:relative; padding:4px 0; transition:color .3s; }
.nav-desktop a::after{ content:''; position:absolute; left:0; right:100%; bottom:0; height:1px; background:var(--gold-2); transition:right .35s var(--ease); }
.nav-desktop a:hover{ color:var(--ink); }
.nav-desktop a:hover::after{ right:0; }

.header-actions{ display:flex; align-items:center; gap:18px; }
.hours-pill{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--ink-dim); }
.hours-pill .dot{ width:7px; height:7px; border-radius:50%; background:#7fbf6a; box-shadow:0 0 0 3px rgba(127,191,106,.18); }

.menu-toggle{ display:none; width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:transparent; align-items:center; justify-content:center; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after{ display:none; }
.menu-toggle .bars{ position:relative; width:16px; height:11px; }
.menu-toggle .bars span{ display:block; position:absolute; left:0; width:100%; height:1px; background:var(--ink); transition:transform .3s var(--ease), opacity .3s; }
.menu-toggle .bars span:nth-child(1){ top:0; }
.menu-toggle .bars span:nth-child(2){ top:5px; }
.menu-toggle .bars span:nth-child(3){ top:10px; }
.nav-open .menu-toggle .bars span:nth-child(1){ transform:translateY(5px) rotate(45deg); }
.nav-open .menu-toggle .bars span:nth-child(2){ opacity:0; }
.nav-open .menu-toggle .bars span:nth-child(3){ transform:translateY(-5px) rotate(-45deg); }

.nav-mobile{
  position:fixed; inset:0; z-index:90; background:var(--bg);
  display:flex; flex-direction:column; justify-content:center; padding:40px var(--gutter);
  transform:translateY(-100%); transition:transform .5s var(--ease);
}
.nav-open .nav-mobile{ transform:translateY(0); }
.nav-mobile a{ font-family:var(--f-display); font-size:clamp(30px,8vw,44px); padding:12px 0; border-bottom:1px solid var(--line-soft); color:var(--ink); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative;
  min-height:100svh;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding-top:140px;
  overflow:hidden;
  background:
    radial-gradient(60% 50% at 82% 18%, rgba(200,155,60,.16), transparent 60%),
    radial-gradient(45% 40% at 8% 85%, rgba(122,46,46,.20), transparent 65%),
    var(--bg);
}
.hero__glow{ position:absolute; inset:0; pointer-events:none; }
.hero__glow span{
  position:absolute; border-radius:50%; filter:blur(60px); opacity:.55;
  animation:float 14s ease-in-out infinite;
}
.hero__glow span:nth-child(1){ width:340px; height:340px; background:var(--gold); top:8%; right:8%; }
.hero__glow span:nth-child(2){ width:260px; height:260px; background:var(--wine); bottom:-40px; left:2%; animation-delay:-6s; }
@keyframes float{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(-20px,26px); } }

.hero__grid{ position:relative; display:grid; grid-template-columns:1fr; gap:28px; }

.hero__eyebrow{ margin-bottom:26px; }

.hero__title{
  font-size:clamp(46px, 8.4vw, 118px);
  line-height:.98;
  color:var(--ink);
  max-width:16ch;
}
.hero__title .line{ display:block; overflow:hidden; }
.hero__title .line span{ display:block; transform:translateY(105%); transition:transform 1s var(--ease); }
.is-loaded .hero__title .line span{ transform:translateY(0); }
.hero__title .line:nth-child(1) span{ transition-delay:.05s; }
.hero__title .line:nth-child(2) span{ transition-delay:.18s; }
.hero__title .line:nth-child(3) span{ transition-delay:.31s; }
.hero__title i{ font-style:italic; color:var(--gold-2); font-weight:400; }

.hero__sub{
  max-width:520px;
  margin-top:26px;
  font-size:clamp(16px,1.6vw,19px);
  color:var(--ink-dim);
  opacity:0; transform:translateY(14px);
  transition:opacity .9s var(--ease) .55s, transform .9s var(--ease) .55s;
}
.is-loaded .hero__sub{ opacity:1; transform:translateY(0); }

.hero__actions{
  display:flex; gap:16px; margin-top:38px; flex-wrap:wrap;
  opacity:0; transform:translateY(14px);
  transition:opacity .9s var(--ease) .7s, transform .9s var(--ease) .7s;
}
.is-loaded .hero__actions{ opacity:1; transform:translateY(0); }

.hero__marquee{
  margin-top:70px;
  border-top:1px solid var(--line-soft);
  padding:22px 0;
  overflow:hidden;
  white-space:nowrap;
  opacity:0; transition:opacity 1s var(--ease) .9s;
}
.is-loaded .hero__marquee{ opacity:1; }
.hero__marquee-track{ display:inline-flex; gap:0; animation:marquee 26s linear infinite; }
.hero__marquee-track span{
  font-family:var(--f-display); font-style:italic; font-weight:400;
  font-size:clamp(20px,3vw,30px); color:var(--ink-mute); padding:0 28px; white-space:nowrap;
}
.hero__marquee-track span.accent{ color:var(--gold-2); font-style:normal; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ==========================================================================
   Reveal utility
   ========================================================================== */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-child > *{ opacity:0; transform:translateY(20px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-child.is-visible > *{ opacity:1; transform:translateY(0); }
.reveal-child.is-visible > *:nth-child(1){ transition-delay:.05s; }
.reveal-child.is-visible > *:nth-child(2){ transition-delay:.15s; }
.reveal-child.is-visible > *:nth-child(3){ transition-delay:.25s; }
.reveal-child.is-visible > *:nth-child(4){ transition-delay:.35s; }

/* ==========================================================================
   Section basics
   ========================================================================== */
section{ position:relative; padding:120px 0; }
.section-head{ max-width:640px; margin-bottom:64px; }
.section-head h2{ font-size:clamp(32px,4.2vw,52px); margin-top:18px; color:var(--ink); }
.section-head p{ margin-top:18px; color:var(--ink-dim); font-size:17px; max-width:52ch; }

/* ==========================================================================
   Statement
   ========================================================================== */
.statement{ padding:100px 0 40px; }
.statement blockquote{
  font-family:var(--f-display); font-weight:400; font-style:italic;
  font-size:clamp(26px,4.6vw,52px); line-height:1.28; color:var(--ink); max-width:20ch; margin:0;
}
.statement blockquote .muted{ color:var(--ink-mute); }
.statement__meta{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-top:48px; flex-wrap:wrap; }
.statement__meta p{ max-width:34ch; color:var(--ink-dim); font-size:15px; }

/* ==========================================================================
   Collections (numbered)
   ========================================================================== */
.collection-row{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center;
  padding:56px 0; border-top:1px solid var(--line-soft);
}
.collections .collection-row:last-child{ border-bottom:1px solid var(--line-soft); }
.collection-row__num{ font-family:var(--f-display); font-style:italic; font-size:15px; color:var(--gold-2); margin-bottom:18px; }
.collection-row h3{ font-size:clamp(28px,3.4vw,42px); color:var(--ink); }
.collection-row__tag{ font-size:14px; color:var(--ink-mute); margin-top:10px; letter-spacing:.02em; }
.collection-row p.desc{ margin-top:22px; color:var(--ink-dim); font-size:16px; max-width:46ch; }
.collection-row .btn{ margin-top:28px; }
.collection-row__visual{
  position:relative; aspect-ratio:4/3; border-radius:18px; overflow:hidden;
  background:linear-gradient(155deg, var(--panel-2), var(--panel));
  border:1px solid var(--line-soft);
}
.collection-row__visual::after{ content:''; position:absolute; inset:0; background:radial-gradient(60% 60% at 30% 20%, rgba(230,197,106,.16), transparent 70%); }
.collection-row__visual .glyph{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:var(--gold-2); opacity:.9;
}
.collection-row__visual .glyph svg{ width:34%; height:34%; }
.collection-row__visual .clip{
  position:absolute; inset:0; background:var(--bg); transform-origin:bottom;
  transition:transform 1.1s var(--ease);
}
.reveal.is-visible .collection-row__visual .clip{ transform:scaleY(0); }
.collection-row:nth-child(even){ direction:rtl; }
.collection-row:nth-child(even) > *{ direction:ltr; }

/* ==========================================================================
   Featured carousel
   ========================================================================== */
.featured{ background:var(--bg-alt); }
.featured .section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; max-width:none; margin-bottom:44px; }
.carousel{ position:relative; }
.carousel__track{
  display:flex; gap:22px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px;
  scrollbar-width:none;
}
.carousel__track::-webkit-scrollbar{ display:none; }
.carousel__card{
  scroll-snap-align:start; flex:0 0 clamp(260px, 78vw, 360px);
  border:1px solid var(--line-soft); border-radius:16px; overflow:hidden;
  background:var(--panel); transition:transform .5s var(--ease), border-color .5s;
}
.carousel__card:hover{ transform:translateY(-6px); border-color:var(--line); }
.carousel__card-media{
  aspect-ratio:4/5; position:relative;
  background:linear-gradient(160deg, var(--panel-2), #171009);
  display:flex; align-items:center; justify-content:center;
}
.carousel__card-media svg{ width:38%; opacity:.85; color:var(--gold-2); }
.carousel__card-tag{ position:absolute; top:16px; left:16px; font-size:12px; padding:6px 12px; border-radius:999px; background:rgba(20,16,13,.6); border:1px solid var(--line-soft); color:var(--gold-2); }
.carousel__card-body{ padding:22px 22px 26px; }
.carousel__card-body h4{ font-size:20px; color:var(--ink); }
.carousel__card-body p{ margin-top:10px; font-size:14.5px; color:var(--ink-dim); }
.carousel__nav{ display:flex; gap:10px; }
.carousel__nav button{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--line); background:transparent; color:var(--ink);
  display:flex; align-items:center; justify-content:center; transition:background .3s, border-color .3s;
}
.carousel__nav button:hover{ background:var(--gold-2); border-color:var(--gold-2); color:var(--bg); }
.carousel__nav svg{ width:18px; height:18px; }

/* ==========================================================================
   Marquee strip (categories carried)
   ========================================================================== */
.strip{ padding:56px 0; border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); overflow:hidden; }
.strip p.label{ text-align:center; color:var(--ink-mute); font-size:13px; margin-bottom:26px; }
.strip__track{ display:flex; width:max-content; animation:marquee 34s linear infinite; }
.strip__track:hover{ animation-play-state:paused; }
.strip__item{ display:flex; align-items:center; gap:16px; padding:0 34px; font-family:var(--f-display); font-size:26px; color:var(--ink-dim); white-space:nowrap; }
.strip__item .sep{ width:6px; height:6px; border-radius:50%; background:var(--gold); opacity:.7; }

/* ==========================================================================
   About / story
   ========================================================================== */
.about{ display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.about__visual{
  position:relative; aspect-ratio:3/4; border-radius:20px; overflow:hidden;
  background:linear-gradient(165deg,#2a1f15,#14100d 70%);
  border:1px solid var(--line-soft);
}
.about__visual .ring{ position:absolute; border:1px solid var(--gold); border-radius:50%; opacity:.35; }
.about__visual .ring.r1{ width:70%; aspect-ratio:1; top:14%; left:14%; }
.about__visual .ring.r2{ width:44%; aspect-ratio:1; bottom:12%; right:10%; border-color:var(--wine-2); }
.about__badge{ position:absolute; left:24px; bottom:24px; background:rgba(20,16,13,.7); border:1px solid var(--line-soft); border-radius:14px; padding:16px 20px; backdrop-filter:blur(6px); }
.about__badge strong{ font-family:var(--f-display); font-size:28px; color:var(--gold-2); display:block; }
.about__badge span{ font-size:12.5px; color:var(--ink-dim); }
.about__copy p{ color:var(--ink-dim); font-size:16.5px; margin-top:18px; }
.about__stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:40px; }
.about__stats div{ border-top:1px solid var(--line-soft); padding-top:16px; }
.about__stats strong{ font-family:var(--f-display); font-size:30px; color:var(--ink); display:block; }
.about__stats span{ font-size:13px; color:var(--ink-mute); }

/* ==========================================================================
   CTA tiles
   ========================================================================== */
.cta-tiles{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.cta-tile{
  position:relative; padding:56px 44px; border-radius:22px; overflow:hidden; min-height:340px;
  display:flex; flex-direction:column; justify-content:flex-end;
  transition:transform .5s var(--ease);
}
.cta-tile:hover{ transform:translateY(-6px); }
.cta-tile.gold{ background:linear-gradient(150deg, var(--gold-2), #a9762a 80%); color:var(--bg); }
.cta-tile.wine{ background:linear-gradient(150deg, var(--wine-2), #4a1a1a 85%); color:var(--ink); }
.cta-tile .tag{ font-size:13px; letter-spacing:.03em; opacity:.85; margin-bottom:14px; }
.cta-tile h3{ font-size:clamp(26px,3vw,36px); max-width:14ch; }
.cta-tile p{ margin-top:14px; max-width:36ch; font-size:15px; opacity:.9; }
.cta-tile .btn{ margin-top:26px; align-self:flex-start; }

/* ==========================================================================
   Visit / map + hours
   ========================================================================== */
.visit{ display:grid; grid-template-columns:1fr 1fr; gap:64px; }
.visit__map{
  aspect-ratio:4/3; border-radius:20px; border:1px solid var(--line-soft);
  background:
    repeating-linear-gradient(0deg, rgba(245,239,228,.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(245,239,228,.05) 0 1px, transparent 1px 46px),
    var(--panel);
  position:relative; overflow:hidden;
}
.visit__map .pin{ position:absolute; top:44%; left:52%; transform:translate(-50%,-100%); text-align:center; }
.visit__map .pin svg{ width:40px; height:40px; color:var(--gold-2); filter:drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
.visit__list dt{ font-size:13px; color:var(--gold-2); margin-top:26px; }
.visit__list dt:first-child{ margin-top:0; }
.visit__list dd{ margin:6px 0 0; font-size:17px; color:var(--ink); }
.visit__hours{ width:100%; border-collapse:collapse; margin-top:26px; }
.visit__hours td{ padding:9px 0; border-top:1px solid var(--line-soft); font-size:14.5px; color:var(--ink-dim); }
.visit__hours td:last-child{ text-align:right; color:var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background:#0f0c09; padding-top:100px; border-top:1px solid var(--line-soft); }
.footer-top{ display:grid; grid-template-columns:1.4fr repeat(3, 1fr); gap:40px; padding-bottom:70px; }
.footer-brand p{ margin-top:18px; color:var(--ink-dim); font-size:15px; max-width:34ch; }
.footer-brand .logo{ margin-bottom:4px; }
.footer-col h5{ font-family:var(--f-body); font-weight:600; font-size:13px; color:var(--ink-mute); text-transform:uppercase; letter-spacing:.06em; margin-bottom:18px; }
.footer-col li{ margin-bottom:12px; }
.footer-col a{ font-size:14.5px; color:var(--ink-dim); transition:color .3s; }
.footer-col a:hover{ color:var(--gold-2); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; padding:26px 0; border-top:1px solid var(--line-soft); flex-wrap:wrap; }
.footer-bottom p{ font-size:13px; color:var(--ink-mute); }
.footer-legal{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-legal a{ font-size:13px; color:var(--ink-mute); }
.footer-legal a:hover{ color:var(--gold-2); }
.footer-responsibly{ text-align:center; padding:18px var(--gutter) 34px; font-size:12.5px; color:var(--ink-mute); border-top:1px solid var(--line-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:980px){
  .nav-desktop, .header-actions .hours-pill{ display:none; }
  .menu-toggle{ display:flex; }
  .collection-row, .collection-row:nth-child(even){ grid-template-columns:1fr; direction:ltr; }
  .about{ grid-template-columns:1fr; }
  .cta-tiles{ grid-template-columns:1fr; }
  .visit{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  section{ padding:80px 0; }
  .footer-top{ grid-template-columns:1fr; gap:36px; }
  .about__stats{ grid-template-columns:1fr 1fr; }
  .statement__meta{ flex-direction:column; align-items:flex-start; }
}

/* ==========================================================================
   WordPress wp_nav_menu() compatibility
   (wraps items in ul/li — the nav bars below already target `a` directly,
   these rules just neutralize default list styling and keep the flex layout)
   ========================================================================== */
.nav-desktop ul{ display:flex; align-items:center; gap:38px; list-style:none; margin:0; padding:0; }
.nav-desktop li{ list-style:none; }
.nav-mobile ul{ list-style:none; margin:0; padding:0; }
.nav-mobile li{ list-style:none; }
.footer-col ul{ margin:0; padding:0; }
