/* ============================================================
   Casa Tequila Prime — Luxury Design System
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #080806;
  --black-2:     #0f0f0c;
  --black-3:     #161612;
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --gold-dim:    #a88a38;
  --gold-dark:   #6b5218;
  --amber:       #e07818;
  --amber-light: #f09030;
  --ivory:       #f5f0e8;
  --ivory-dim:   #c8c2b5;
  --gray:        #857c6d;
  --gray-dark:   #7d7565;
  --border:      rgba(201,168,76,.15);
  --border-hover:rgba(201,168,76,.4);
  --glow-gold:   0 0 40px rgba(201,168,76,.25);
  --glow-amber:  0 0 60px rgba(224,120,24,.3);

  /* Aliases — for backward-compat with inline styles using these names */
  --cream:       #f5f0e8;
  --cream-dim:   #c8c2b5;
  --gold-20:     rgba(201,168,76,.2);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --ease-out:  cubic-bezier(.16,1,.3,1);
  --ease-in:   cubic-bezier(.7,0,.84,0);
  --ease-circ: cubic-bezier(.85,0,.15,1);

  --nav-h: 118px;
  --section-pad: clamp(80px, 10vw, 140px);
  --content-w: 1280px;
  --content-w-narrow: 960px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
button { cursor: none; font-family: var(--font-body); border: none; background: none; }
::selection { background: rgba(201,168,76,.3); }

/* --- Accessibility: focus & skip link ---------------------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}
.skip-link {
  position: absolute; top: -100px; left: 16px;
  z-index: 10001;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 500;
  padding: 12px 22px;
  text-decoration: none;
  transition: top .3s ease;
}
.skip-link:focus { top: 16px; }

/* --- Custom Cursor ---------------------------------------- */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: normal;
  transition: opacity .3s ease;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%,-50%);
  transition: transform .1s ease, background .3s ease;
  z-index: 9999;
  pointer-events: none;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(201,168,76,.6);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%,-50%);
  transition: transform .12s var(--ease-out), width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s ease, background .3s ease;
  z-index: 9998;
  pointer-events: none;
}
body.cursor-hover .cursor-dot  { transform: translate(-50%,-50%) scale(1.5); background: var(--gold-light); }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: rgba(201,168,76,.8); }

/* --- Loading Screen --------------------------------------- */
#loading {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity .9s var(--ease-in), visibility .9s var(--ease-in);
}
/* Warm ambient glow behind the plant */
#loading::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 38%, rgba(201,168,76,.07) 0%, rgba(224,120,24,.04) 42%, transparent 68%),
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 52%, rgba(0,0,0,.55) 100%);
}
/* Subtle film grain */
#loading::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
#loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loading-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 clamp(24px, 5vw, 60px);
  text-align: center;
}

/* Agave plant */
.loading-agave-wrap {
  margin-bottom: clamp(18px, 3vh, 30px);
  opacity: 0;
  animation: agaveFadeIn .95s var(--ease-out) .15s forwards,
             agaveFloat  4s   ease-in-out    1.1s  infinite;
}
.loading-agave {
  height: clamp(110px, 20vh, 168px);
  width: auto;
  display: block;
  animation: agaveGlow 3s ease-in-out infinite;
}

/* Brand name */
.loading-brand {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.5vw, 3.2rem);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: .18em;
  line-height: 1;
  margin: 0 0 clamp(16px, 2.5vh, 26px);
  opacity: 0;
  animation: fadeUp .85s var(--ease-out) .72s forwards;
}
.loading-brand em {
  font-style: italic;
  color: var(--gold);
  letter-spacing: .06em;
}

/* Expanding gold line */
.loading-line {
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold), var(--gold-light), var(--gold), var(--gold-dim), transparent);
  margin: 0 0 clamp(14px, 2.2vh, 22px);
  animation: lineExpand 1.5s var(--ease-out) 1.1s forwards;
}
@keyframes lineExpand { to { width: clamp(150px, 24vw, 240px); } }

/* Sub text */
.loading-sub {
  font-family: var(--font-body);
  font-size: clamp(.5rem, 1.3vw, .6rem);
  letter-spacing: .42em;
  color: var(--gold-dim);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp .65s var(--ease-out) 1.52s forwards;
}

/* Keyframes */
@keyframes agaveFadeIn {
  from { opacity: 0; transform: scale(.8) translateY(20px); }
  to   { opacity: 1; transform: scale(1)  translateY(0);   }
}
@keyframes agaveFloat {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-11px); }
}
@keyframes agaveGlow {
  0%, 100% {
    filter: drop-shadow(0 0 14px rgba(201,168,76,.48))
            drop-shadow(0 4px 38px rgba(201,168,76,.16));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(201,168,76,.92))
            drop-shadow(0 0 72px rgba(201,168,76,.4))
            drop-shadow(0 0 120px rgba(224,120,24,.24));
  }
}

/* --- Utility Animations ----------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideLeft { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(.96);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * .1s); }

/* --- Scroll Progress Bar ---------------------------------- */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--amber));
  z-index: 8000;
  width: 0%;
  transition: width .1s linear;
}

/* --- Navigation ------------------------------------------ */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 124px;
  z-index: 1000;
  display: flex; align-items: center;
  transition: height .5s var(--ease-out), background .5s ease, backdrop-filter .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  height: var(--nav-h);
  background: rgba(8,8,6,.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-color: var(--border);
}

.nav-inner {
  max-width: var(--content-w);
  width: 100%; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 48px);
  list-style: none;
}
.nav-links.right { justify-content: flex-end; }

.nav-links a {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  position: relative;
  transition: color .3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-circ);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-logo-wrap {
  display: flex; justify-content: center;
}
.nav-logo {
  height: 136px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(201,168,76,.35));
  transition: height .5s var(--ease-out), filter .4s ease, transform .4s ease;
}
#nav.scrolled .nav-logo { height: 76px; }
.nav-logo:hover { filter: drop-shadow(0 0 24px rgba(201,168,76,.6)); transform: scale(1.03); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px; margin-left: auto;
  cursor: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--ivory);
  transition: transform .4s var(--ease-circ), opacity .3s ease, background .3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }


/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(8,8,6,.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease-out), visibility .5s var(--ease-out);
}
.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-overlay-links {
  list-style: none;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.nav-overlay-links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  transition: color .3s ease;
}
.nav-overlay-links a:hover { color: var(--gold); }

.nav-overlay-ctas {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.nav-overlay-address {
  font-size: .7rem; letter-spacing: .15em;
  color: var(--gray); text-transform: uppercase;
  text-align: center; margin-top: 8px;
}
.nav-overlay-address a {
  color: var(--gray);
  text-decoration: none;
  transition: color .3s ease;
}
.nav-overlay-address a:hover { color: var(--ivory-dim); }

/* Overlay close button */
.nav-overlay-close {
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: clamp(16px, 4vw, 32px); right: clamp(16px, 4vw, 32px);
  width: 44px; height: 44px;
  color: var(--ivory);
  background: transparent; border: 1px solid rgba(245,240,232,.2); border-radius: 50%;
  cursor: none;
  transition: color .3s ease, border-color .3s ease, transform .3s ease;
}
.nav-overlay-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
.nav-overlay-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid transparent;
  position: relative; overflow: hidden;
  transition: color .4s ease, border-color .4s ease, background .4s ease;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform .5s var(--ease-circ);
}
.btn:hover::before { transform: translateX(0); }
.btn > * { position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold::before { background: var(--gold-light); }
.btn-gold:hover   { color: var(--black); }

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245,240,232,.35);
}
.btn-outline::before { background: var(--gold); }
.btn-outline:hover   { color: var(--black); border-color: var(--gold); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold::before { background: var(--gold); }
.btn-outline-gold:hover   { color: var(--black); }

.btn-sm { font-size: .65rem; padding: 10px 24px; }
.btn-lg { font-size: .78rem; padding: 17px 40px; }

/* --- Section Labels -------------------------------------- */
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .65rem; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold);
}
.section-label::before,
.section-label::after {
  content: '';
  display: block; width: 32px; height: 1px;
  background: var(--gold);
  opacity: .6;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
  letter-spacing: -.01em;
}
.section-heading em { font-style: italic; color: var(--gold); }

.section-subtext {
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  color: var(--ivory-dim);
  max-width: 580px;
  line-height: 1.75;
  font-weight: 300;
}

.divider-gold {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px 0;
}

/* --- Hero Section ---------------------------------------- */
#hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: var(--black);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 110% 100% at 50% 50%, transparent 38%, rgba(8,8,6,.52) 100%),
    linear-gradient(
      to bottom,
      rgba(8,8,6,.72) 0%,
      rgba(8,8,6,.58) 35%,
      rgba(8,8,6,.72) 72%,
      rgba(8,8,6,.97) 100%
    );
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Warm center glow */
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 75% at 50% 54%,
    rgba(201,168,76,.075) 0%,
    rgba(224,120,24,.04) 30%,
    transparent 68%
  );
}

/* Fire Canvas */

/* Ember particles (CSS) */
.ember {
  position: absolute; bottom: 0;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--amber-light);
  box-shadow: 0 0 6px 2px rgba(240,144,48,.6);
  pointer-events: none;
  z-index: 3;
  animation: emberRise var(--dur, 4s) var(--delay, 0s) infinite ease-out;
}
@keyframes emberRise {
  0%   { transform: translateX(0) translateY(0) scale(1); opacity: 1; }
  50%  { transform: translateX(var(--sway, 20px)) translateY(-140px) scale(.7); opacity: .8; }
  100% { transform: translateX(calc(var(--sway, 20px) * 1.5)) translateY(-280px) scale(.2); opacity: 0; }
}

/* Floating dust motes */
.mote {
  position: absolute;
  border-radius: 50%;
  background: rgba(248, 240, 210, 0.9);
  pointer-events: none;
  z-index: 3;
  animation: moteFloat var(--dur, 18s) var(--delay, 0s) infinite ease-in-out;
}
@keyframes moteFloat {
  0%   { transform: translate(0, 0) scale(1);                               opacity: 0; }
  14%  { opacity: 1; }
  50%  { transform: translate(var(--sway, 25px), -90px)   scale(.85); }
  86%  { opacity: 1; }
  100% { transform: translate(calc(var(--sway, 25px)*1.6), -210px) scale(.35); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 4;
  text-align: center;
  max-width: 900px;
  padding: 0 clamp(20px, 5vw, 60px);
}

.hero-label {
  font-size: .65rem; font-weight: 500;
  letter-spacing: .45em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.hero-label::before, .hero-label::after {
  content: ''; display: block;
  width: 48px; height: 1px;
  background: var(--gold); opacity: .7;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 9vw, 8rem);
  font-weight: 300;
  line-height: .95;
  color: var(--ivory);
  letter-spacing: -.02em;
  margin-bottom: 24px;
  text-shadow: 0 0 80px rgba(201,168,76,.16), 0 0 200px rgba(201,168,76,.08);
}
.hero-headline em {
  font-style: italic;
  background: linear-gradient(
    105deg,
    var(--gold-dim)           0%,
    var(--gold)               20%,
    var(--amber)              38%,
    var(--gold-light)         46%,
    rgba(255,248,225,.98)     50%,
    var(--gold-light)         54%,
    var(--amber)              62%,
    var(--gold)               80%,
    var(--gold-dim)           100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  animation: heroShimmer 6s ease-in-out infinite;
}
@keyframes heroShimmer {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-tagline {
  font-size: clamp(.8rem, 1.2vw, .95rem);
  font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.hero-scroll span {
  font-size: .58rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gray);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.1); }
}

/* --- Marquee Strip --------------------------------------- */
#marquee {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex; gap: 0;
  animation: marqueeScroll 30s linear infinite;
  white-space: nowrap;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex; align-items: center; gap: 32px;
  font-size: .62rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 0 32px;
  flex-shrink: 0;
}
.marquee-sep {
  color: var(--gold);
  font-size: .7rem;
  opacity: .7;
}

/* --- About / Experience ---------------------------------- */
#about {
  padding: var(--section-pad) 0;
  background: var(--black);
  overflow: hidden;
}

.about-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-image-frame::before {
  content: '';
  position: absolute; inset: -1px;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 50%);
  z-index: 1; opacity: .3;
  pointer-events: none;
}
.about-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.about-image-frame:hover img { transform: scale(1.04); }

.about-accent-box {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 160px; height: 160px;
  border: 1px solid var(--border-hover);
  z-index: -1;
  background: linear-gradient(135deg, rgba(201,168,76,.06), transparent);
}
.about-accent-number {
  position: absolute;
  top: -20px; left: 24px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(201,168,76,.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.about-text { display: flex; flex-direction: column; gap: 20px; }

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 12px;
}
.stat-item { border-left: 1px solid var(--border); padding-left: 20px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .65rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* --- Menu Preview ---------------------------------------- */
#menu {
  padding: var(--section-pad) 0;
  background: var(--black-2);
  overflow: hidden;
}

.menu-header {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(48px, 6vw, 80px);
  gap: 20px; flex-wrap: wrap;
}
.menu-header-text { display: flex; flex-direction: column; gap: 16px; }

.menu-tabs {
  display: flex; gap: 2px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 4px;
}
.menu-tab {
  font-size: .62rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gray);
  padding: 9px 18px;
  transition: color .3s ease, background .3s ease;
  cursor: none;
}
.menu-tab.active, .menu-tab:hover {
  background: var(--gold);
  color: var(--black);
}

.menu-grid {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.menu-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: none;
}
.menu-card.featured {
  grid-row: span 2;
  aspect-ratio: auto;
}
.menu-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
  filter: brightness(.88) saturate(1.1);
}
.menu-card:hover img { transform: scale(1.07); }

.menu-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,6,.92) 0%, rgba(8,8,6,.2) 50%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: background .4s ease;
}
.menu-card:hover .menu-card-overlay {
  background: linear-gradient(to top, rgba(8,8,6,.95) 0%, rgba(8,8,6,.3) 55%, transparent 100%);
}

.menu-card-label {
  font-size: .58rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.menu-card-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 400; line-height: 1.2;
  color: var(--ivory);
}
.menu-card-desc {
  font-size: .78rem; color: var(--ivory-dim);
  margin-top: 8px; line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.menu-card:hover .menu-card-desc { opacity: 1; transform: translateY(0); }

.menu-footer {
  max-width: var(--content-w);
  margin: 48px auto 0;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex; justify-content: center; gap: 16px;
  flex-wrap: wrap;
}

/* --- Cocktails / Tequila --------------------------------- */
#cocktails {
  padding: var(--section-pad) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.cocktails-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw; height: 70vw;
  background: radial-gradient(ellipse at center, rgba(224,120,24,.05) 0%, transparent 70%);
  pointer-events: none;
}

.cocktails-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.cocktails-header {
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
  margin-bottom: clamp(56px, 7vw, 96px);
}

.cocktails-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.cocktail-card {
  display: flex; flex-direction: column;
  align-items: center;
  padding: 32px 16px 28px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--black-3) 0%, var(--black) 100%);
  position: relative;
  overflow: hidden;
  transition: border-color .4s ease, transform .5s var(--ease-out), box-shadow .5s ease;
  cursor: none;
}
.cocktail-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  transform: scaleX(0);
  transition: transform .5s var(--ease-circ);
}
.cocktail-card:hover::before { transform: scaleX(1); }
.cocktail-card:hover {
  border-color: rgba(201,168,76,.35);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 40px rgba(224,120,24,.08);
}

.cocktail-img-wrap {
  width: 100%; aspect-ratio: 2/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-bottom: 24px;
  position: relative;
}
.cocktail-img-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--black-3) 0%, transparent 100%);
}
.cocktail-img-wrap img {
  width: 80%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(224,120,24,.3));
  transition: transform .6s var(--ease-out), filter .4s ease;
}
.cocktail-card:hover .cocktail-img-wrap img {
  transform: scale(1.05) translateY(-4px);
  filter: drop-shadow(0 12px 48px rgba(224,120,24,.5));
}

.cocktail-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 400;
  font-style: italic; line-height: 1.2;
  color: var(--ivory); text-align: center;
  margin-bottom: 8px;
}
.cocktail-desc {
  font-size: .72rem; color: var(--gray);
  text-align: center; line-height: 1.55;
}

.cocktails-feature {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: clamp(56px, 7vw, 80px);
}

.cocktails-feature-text { display: flex; flex-direction: column; gap: 20px; }

.tequila-shelf {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 8px;
}
.tequila-item {
  border: 1px solid var(--border);
  padding: 20px 16px;
  text-align: center;
  background: linear-gradient(160deg, rgba(201,168,76,.04) 0%, transparent 100%);
  transition: border-color .3s ease, background .3s ease;
}
.tequila-item:hover { border-color: var(--border-hover); background: linear-gradient(160deg, rgba(201,168,76,.08) 0%, transparent 100%); }
.tequila-item-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
  font-style: italic; color: var(--gold);
  margin-bottom: 6px;
}
.tequila-item-text {
  font-size: .68rem; color: var(--gray);
  letter-spacing: .05em; line-height: 1.5;
}

.cocktails-feature-image {
  position: relative; aspect-ratio: 4/5;
  overflow: hidden;
}
.cocktails-feature-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.85) saturate(1.2);
  transition: transform 1.2s var(--ease-out);
}
.cocktails-feature-image:hover img { transform: scale(1.04); }
.cocktails-feature-image::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, transparent 60%, rgba(224,120,24,.12) 100%);
}
.cocktails-feature-image::after {
  content: '';
  position: absolute; top: 20px; right: 20px; bottom: -20px; left: -20px;
  border: 1px solid var(--border); z-index: -1;
}

/* --- Reservations CTA ------------------------------------ */
#reservations {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0;
  overflow: hidden;
}

.reservations-bg {
  position: absolute; inset: 0;
  background-image: url('../img/interior-dining.jpg');
  background-size: cover;
  background-position: center;
}
.reservations-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,6,.82) 0%,
    rgba(8,8,6,.7) 50%,
    rgba(8,8,6,.88) 100%
  );
}
.reservations-bg-fire {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px; z-index: 1;
  background: linear-gradient(to top, rgba(8,8,6,1) 20%, transparent 100%);
}

.reservations-inner {
  position: relative; z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 24px;
}

.reservations-inner .section-heading { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.reservations-inner .section-subtext { text-align: center; }

.reservations-ctas {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

/* --- Gallery --------------------------------------------- */
#gallery {
  padding: var(--section-pad) 0;
  background: var(--black-2);
  overflow: hidden;
}

.gallery-header {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.gallery-grid {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 240px);
  gap: 4px;
}

.gallery-item {
  overflow: hidden; position: relative;
  cursor: none;
}
.gallery-item:nth-child(1)  { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(2)  { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(3)  { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(4)  { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(5)  { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(6)  { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(7)  { grid-column: span 5; grid-row: span 1; }
.gallery-item:nth-child(8)  { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(9)  { grid-column: span 4; grid-row: span 1; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(1.05);
  transition: transform 1.2s var(--ease-out), filter .6s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(.95) saturate(1.15);
}
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* --- Order Online ---------------------------------------- */
#order {
  padding: var(--section-pad) 0;
  background: var(--black);
  overflow: hidden;
}

.order-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.order-text { display: flex; flex-direction: column; gap: 20px; }

.order-visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.order-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.8) saturate(1.15);
  transition: transform 1.2s var(--ease-out);
}
.order-visual:hover img { transform: scale(1.04); }
.order-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(8,8,6,.6) 100%);
}
.order-badge {
  position: absolute; bottom: 28px; right: 28px;
  z-index: 1;
  border: 1px solid var(--border-hover);
  background: rgba(8,8,6,.7);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  text-align: center;
  min-width: 140px;
}
.order-badge-label { font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.order-badge-value {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 300; font-style: italic;
  color: var(--ivory); margin-top: 4px;
}

.order-features { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.order-feature {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: var(--black-2);
  transition: border-color .3s ease;
}
.order-feature:hover { border-color: var(--border-hover); }
.order-feature-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  border: 1px solid var(--border); display: flex;
  align-items: center; justify-content: center;
}
.order-feature-icon svg { width: 16px; height: 16px; stroke: var(--gold); }
.order-feature-text h4 {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; color: var(--ivory);
  margin-bottom: 3px;
}
.order-feature-text p { font-size: .7rem; color: var(--gray); line-height: 1.5; }

/* --- Location / Contact ---------------------------------- */
#location {
  padding: var(--section-pad) 0;
  background: var(--black-2);
  overflow: hidden;
}

.location-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.location-text { display: flex; flex-direction: column; gap: 32px; }

.location-address-block {
  display: flex; flex-direction: column; gap: 20px;
}
.location-detail {
  display: flex; align-items: flex-start; gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.location-detail:last-child { border-bottom: none; padding-bottom: 0; }
.location-detail-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.location-detail-icon svg { width: 16px; height: 16px; stroke: var(--gold); }
.location-detail-body { display: flex; flex-direction: column; gap: 4px; }
.location-detail-label { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.location-detail-value {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 400;
  color: var(--ivory); line-height: 1.4;
}
.location-detail-value a {
  transition: color .3s ease;
}
.location-detail-value a:hover { color: var(--gold); }

.hours-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}
.hours-row {
  display: flex; align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.hours-day  { font-size: .7rem; letter-spacing: .1em; color: var(--gray); }
.hours-time { font-size: .7rem; color: var(--ivory-dim); }
.hours-note { font-size: .65rem; color: var(--gold); letter-spacing: .1em; }

.map-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-placeholder {
  width: 100%; height: 100%;
  background: var(--black-3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.map-placeholder svg { width: 40px; height: 40px; stroke: var(--gold-dim); }
.map-placeholder p { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.map-placeholder a {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid var(--border-hover);
  padding-bottom: 2px; transition: color .3s ease, border-color .3s ease;
}
.map-placeholder a:hover { color: var(--gold-light); border-color: var(--gold); }

/* --- Hero Video (suppress browser native UI) ------------- */
#hero-video::-webkit-media-controls,
#hero-video::-webkit-media-controls-enclosure,
#hero-video::-webkit-media-controls-panel,
#hero-video::-webkit-media-controls-play-button,
#hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/* --- Mobile Sticky CTA ----------------------------------- */
#mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(8,8,6,.96);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-cta-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .62rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 13px 8px;
  border: 1px solid transparent;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.mobile-cta-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.mobile-cta-btn.call   { background: var(--gold); color: var(--black); }
.mobile-cta-btn.reserve{ background: transparent; border-color: var(--border-hover); color: var(--ivory); }
.mobile-cta-btn.order  { background: transparent; border-color: var(--border-hover); color: var(--ivory); }

/* --- Footer ---------------------------------------------- */
#footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: clamp(56px, 8vw, 96px) 0 0;
  overflow: hidden;
}

.footer-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.footer-logo-col {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 20px;
}
.footer-logo { width: 140px; height: auto; opacity: .9; }
.footer-tagline {
  font-size: .68rem; color: var(--gray);
  line-height: 1.7; max-width: 220px;
}

.footer-nav-cols {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-nav-col h4 {
  font-size: .6rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col li a {
  font-size: .75rem; color: var(--gray);
  transition: color .3s ease;
}
.footer-nav-col li a:hover { color: var(--ivory); }

.footer-cta-col {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 14px;
}

.footer-social {
  display: flex; gap: 12px; margin-top: 8px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s ease, background .3s ease;
}
.footer-social a:hover { border-color: var(--border-hover); background: rgba(201,168,76,.08); }
.footer-social svg { width: 14px; height: 14px; stroke: var(--ivory-dim); transition: stroke .3s ease; }
.footer-social a:hover svg { stroke: var(--gold); }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px; flex-wrap: wrap;
}
.footer-copyright {
  font-size: .65rem; color: var(--gray);
  letter-spacing: .05em;
}
.footer-legal {
  display: flex; gap: 24px; list-style: none;
}
.footer-legal a {
  font-size: .62rem; color: var(--gray-dark);
  letter-spacing: .1em; text-transform: uppercase;
  transition: color .3s ease;
}
.footer-legal a:hover { color: var(--gray); }

/* --- Responsive: Tablet (<=1024px) ----------------------- */
@media (max-width: 1024px) {
  .cocktails-grid { grid-template-columns: repeat(3, 1fr); }
  .cocktail-card:nth-child(4), .cocktail-card:nth-child(5) { display: flex; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; aspect-ratio: 4/3; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-cta-col { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; }
}

/* --- Responsive: Mobile (<=768px) ------------------------ */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 88px; }

  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  /* Lighter blur on mobile — backdrop-filter on fixed/full-screen elements is a common jank source on mid-tier GPUs */
  #nav.scrolled { backdrop-filter: blur(10px) saturate(1.2); }
  .nav-overlay { backdrop-filter: blur(14px); }

  #nav { height: var(--nav-h); }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { grid-template-columns: auto 1fr; align-items: center; }
  .nav-logo-wrap { display: flex; align-items: center; justify-content: flex-start; }
  .nav-logo,
  #nav.scrolled .nav-logo { height: 64px; }

  #mobile-cta { display: flex; }

  .hero-headline { font-size: clamp(2.8rem, 12vw, 5rem); }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-image-frame { aspect-ratio: 3/2; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .menu-grid { grid-template-columns: 1fr 1fr; }
  .menu-card.featured { grid-column: span 2; }
  .menu-header { flex-direction: column; align-items: flex-start; }
  .menu-tabs { width: 100%; }

  .cocktails-grid { grid-template-columns: repeat(2, 1fr); }
  .cocktails-feature { grid-template-columns: 1fr; }
  .cocktails-feature-image { aspect-ratio: 3/2; }

  .order-inner { grid-template-columns: 1fr; }
  .order-visual { aspect-ratio: 3/2; }

  .location-inner { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4/3; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; }
  .footer-cta-col { align-items: flex-start; }
  .footer-logo-col { align-items: center; text-align: center; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .cocktails-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card.featured { grid-column: span 1; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tequila-shelf { grid-template-columns: repeat(2, 1fr); }
  .footer-nav-cols { grid-template-columns: 1fr; }
  .reservations-ctas { flex-direction: column; align-items: center; width: 100%; }
  .reservations-ctas .btn { width: 100%; justify-content: center; }
}

/* --- Reduced Motion --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-headline em { animation: none; }
  .mote  { animation: none !important; opacity: 0 !important; }
  .ember { animation: none !important; opacity: 0 !important; }
  .scroll-line { animation: none; }
}

/* --- Misc Utilities -------------------------------------- */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.italic { font-style: italic; }
.font-display { font-family: var(--font-display); }

/* --- Active Nav Link ------------------------------------- */
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   SUB-PAGE STYLES
   ============================================================ */

/* --- Page Hero ------------------------------------------- */
.page-hero {
  position: relative;
  height: var(--hero-h, 56vh); min-height: var(--hero-min-h, 460px); max-height: var(--hero-max-h, 680px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 110% 100% at 50% 50%, transparent 35%, rgba(8,8,6,.48) 100%),
    linear-gradient(to bottom, rgba(8,8,6,.72) 0%, rgba(8,8,6,.58) 40%, rgba(8,8,6,.92) 100%);
}
.page-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 80% 70% at 50% 52%,
    rgba(201,168,76,.07) 0%,
    transparent 65%
  );
}
.page-hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 760px;
  padding: calc(var(--nav-h) + 20px) clamp(20px,5vw,60px) 20px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.page-hero-content .hero-headline { font-size: clamp(3rem, 8vw, 6.5rem); margin-bottom: 0; }
.page-hero-content .hero-tagline  { margin-bottom: 0; }

/* --- Pillars / Philosophy -------------------------------- */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pillar-card {
  padding: clamp(32px,4vw,52px) clamp(24px,3vw,40px);
  border: 1px solid var(--border);
  background: var(--black-3);
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .4s ease, background .4s ease;
}
.pillar-card:hover { border-color: var(--border-hover); background: rgba(201,168,76,.03); }
.pillar-number {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 300; font-style: italic;
  color: rgba(201,168,76,.18); line-height: 1;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem,2.5vw,1.8rem); font-weight: 400;
  color: var(--ivory); line-height: 1.2;
}
.pillar-title em { font-style: italic; color: var(--gold); }
.pillar-text { font-size: .82rem; color: var(--ivory-dim); line-height: 1.75; }

/* --- Menu Page Layout ------------------------------------ */
.menu-categories {
  max-width: var(--content-w);
  margin: 0 auto; padding: 0 clamp(20px,4vw,60px);
}
.menu-category { margin-bottom: clamp(48px,6vw,72px); }
.menu-category-header {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: 28px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.menu-category-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 400;
  font-style: italic; color: var(--ivory);
}
.menu-category-sub {
  font-size: .6rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-left: auto;
}
.menu-items-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.menu-item-card {
  display: flex; gap: 18px; padding: 18px;
  background: var(--black-3); border: 1px solid var(--border);
  transition: border-color .3s ease;
}
.menu-item-card:hover { border-color: var(--border-hover); }
.menu-item-img {
  flex-shrink: 0; width: 76px; height: 76px; overflow: hidden;
}
.menu-item-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.menu-item-card:hover .menu-item-img img { transform: scale(1.1); }
.menu-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500; color: var(--ivory);
}
.menu-item-desc { font-size: .72rem; color: var(--gray); line-height: 1.5; }
.menu-item-price {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 400; color: var(--gold);
  margin-top: auto; padding-top: 6px;
}

/* --- Info Cards ------------------------------------------ */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.info-card {
  padding: clamp(28px,3.5vw,44px) clamp(20px,2.5vw,32px);
  background: var(--black-3); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .4s ease;
}
.info-card:hover { border-color: var(--border-hover); }
.info-card-icon {
  width: 42px; height: 42px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.info-card-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.info-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 400;
  color: var(--ivory); font-style: italic;
}
.info-card-text { font-size: .78rem; color: var(--ivory-dim); line-height: 1.65; }

/* --- OpenTable Placeholder ------------------------------- */
.ot-placeholder {
  background: var(--black-3); border: 1px solid var(--border);
  padding: clamp(48px,8vw,100px) clamp(24px,6vw,80px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  max-width: 700px; margin: 0 auto;
}
.ot-icon {
  width: 64px; height: 64px;
  border: 1px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
}
.ot-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ot-title {
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,3rem); font-weight: 300;
  font-style: italic; color: var(--ivory);
}
.ot-text { font-size: .85rem; color: var(--ivory-dim); max-width: 480px; line-height: 1.7; }

/* --- Gallery Full Page ----------------------------------- */
.gallery-full-grid {
  max-width: var(--content-w); margin: 0 auto;
  padding: 0 clamp(20px,4vw,60px);
  columns: 3; column-gap: 4px;
}
.gallery-full-item {
  break-inside: avoid; margin-bottom: 4px;
  overflow: hidden; position: relative; cursor: none;
}
.gallery-full-item img {
  width: 100%; display: block;
  filter: brightness(.85) saturate(1.05);
  transition: transform 1.2s var(--ease-out), filter .6s ease;
}
.gallery-full-item:hover img { transform: scale(1.04); filter: brightness(.95) saturate(1.15); }
.gallery-full-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(8,8,6,.88) 0%, transparent 100%);
  padding: 28px 16px 14px;
  opacity: 0; transition: opacity .4s ease;
}
.gallery-full-item:hover .gallery-full-caption { opacity: 1; }
.gallery-full-caption span {
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ivory-dim);
}

/* --- Interior Strip (About) ------------------------------ */
.interior-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: var(--content-w); margin: 0 auto;
  padding: 0 clamp(20px,4vw,60px);
}
.interior-strip-item { aspect-ratio: 4/3; overflow: hidden; }
.interior-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.82) saturate(1.05);
  transition: transform 1.2s var(--ease-out), filter .6s ease;
}
.interior-strip-item:hover img { transform: scale(1.06); filter: brightness(.92) saturate(1.1); }

/* --- Private Events Card --------------------------------- */
.events-card {
  background: var(--black-3); border: 1px solid var(--border);
  padding: clamp(40px,5vw,64px) clamp(28px,4vw,56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.events-card-text { display: flex; flex-direction: column; gap: 20px; }
.events-card-image { aspect-ratio: 4/3; overflow: hidden; }
.events-card-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8) saturate(1.1); }

/* --- Responsive (sub-pages) ------------------------------ */
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .menu-items-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .gallery-full-grid { columns: 2; }
  .interior-strip { grid-template-columns: 1fr 1fr; }
  .events-card { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .gallery-full-grid { columns: 1; }
  .interior-strip { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE UX IMPROVEMENTS
   ============================================================ */

@media (max-width: 768px) {

  /* ── Section breathing room ── */
  :root { --section-pad: 52px; }

  /* ── Nav: fix 2-row layout bug, center logo, slim down ── */
  :root { --nav-h: 72px; }
  #nav { height: 72px; }
  .nav-inner {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    grid-template-columns: unset;
    padding: 0 18px;
    gap: 0;
  }
  .nav-inner > nav { display: none !important; }
  .nav-logo-wrap {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    justify-content: center !important;
    pointer-events: auto;
  }
  .nav-logo, #nav.scrolled .nav-logo { height: 52px; }
  .nav-hamburger {
    margin-left: auto;
    padding: 14px 12px;
    cursor: auto;
    min-width: 44px; min-height: 44px;
    justify-content: center;
  }
  .nav-hamburger span { width: 20px; }
  .nav-hamburger span:nth-child(2) { width: 14px; }

  /* ── Overlay: compact, still luxury ── */
  .nav-overlay { gap: 22px; padding: 0 20px; overflow-y: auto; }
  .nav-overlay-links { gap: 14px; }
  .nav-overlay-links a {
    font-size: clamp(1.3rem, 5.2vw, 1.65rem);
    letter-spacing: .04em;
  }
  .nav-overlay-ctas { gap: 10px; }
  .nav-overlay-address { font-size: .62rem; margin-top: 2px; letter-spacing: .12em; }

  /* ── Page hero: less tall ── */
  .page-hero { height: 36vh; min-height: 260px; max-height: 360px; }

  /* ── About ── */
  .about-inner { gap: 28px; }

  /* ── Cocktails ── */
  .cocktails-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cocktail-card { padding: 20px 12px 16px; cursor: auto; }
  .cocktail-img-wrap { aspect-ratio: 1/1; margin-bottom: 14px; }
  .cocktail-name { font-size: 1rem; margin-bottom: 6px; }
  .cocktail-desc { font-size: .68rem; }
  .cocktails-feature { gap: 28px; }

  /* ── Footer ── */
  .footer-top { gap: 28px; }
}

@media (max-width: 480px) {

  /* ── Section heading scale ── */
  .hero-headline { font-size: clamp(2.5rem, 11vw, 4rem); }

  /* ── Menu grid: horizontal scroll carousel ── */
  .menu-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 0 20px 14px;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .menu-grid::-webkit-scrollbar { display: none; }
  .menu-card,
  .menu-card.featured {
    flex: 0 0 72vw;
    scroll-snap-align: start;
    aspect-ratio: 3/4;
    grid-row: unset;
    grid-column: unset;
  }

  /* ── Cocktails: horizontal scroll carousel ── */
  .cocktails-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cocktails-grid::-webkit-scrollbar { display: none; }
  .cocktail-card {
    flex: 0 0 72vw;
    scroll-snap-align: start;
  }
  .cocktail-img-wrap { aspect-ratio: 3/4; }

  /* ── Hero ── */
  .hero-tagline { font-size: .7rem; margin-bottom: 24px; }
  .hero-scroll { display: none; }

  /* ── About stats ── */
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: .58rem; }

  /* ── Buttons ── */
  .btn-lg { padding: 13px 24px; font-size: .7rem; }
}

/* =============================================================
   COMPONENT PATCHES — replaces inline JS/style handlers
   ============================================================= */

/* Classic cocktail list rows (cocktails.html) */
.cocktail-classic-row {
  padding: 16px 20px;
  border: 1px solid var(--border);
  background: var(--black-3);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  transition: border-color .3s ease;
}
.cocktail-classic-row:hover { border-color: rgba(201,168,76,.4); }

/* Sidebar image zoom (reservations.html) */
.sidebar-img-zoom {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.78) saturate(1.1);
  display: block;
  transition: transform 1.4s var(--ease-out);
}
.sidebar-img-zoom:hover { transform: scale(1.05); }

/* Event intro grid responsive (events.html) */
.ev-intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 768px) {
  .ev-intro-grid { grid-template-columns: 1fr; }
}

/* Footer mobile improvements */
@media (max-width: 768px) {
  .footer-cta-col { display: none; }
  .footer-top { grid-template-columns: 1fr !important; }
  .footer-logo-col { align-items: center; text-align: center; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr !important; gap: 20px 12px; }
  .footer-nav-col h4 { font-size: .55rem; margin-bottom: 10px; }
  .footer-nav-col ul li { margin-bottom: 6px; }
  .footer-nav-col ul li a { font-size: .65rem; }
  .footer-nav-col > div { margin-top: 10px !important; }
}
@media (max-width: 480px) {
  .footer-nav-cols { grid-template-columns: 1fr 1fr !important; gap: 16px 12px; }
}

/* =============================================================
   HERO PREMIUM EFFECTS — Coal Glow + Smoke
   ============================================================= */

/* Glowing coal bed at base of hero */
.hero-coal-bed {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 100% at 12% 100%, rgba(190,65,12,.38) 0%, transparent 68%),
    radial-gradient(ellipse 45% 85%  at 42% 100%, rgba(220,105,18,.3) 0%, transparent 62%),
    radial-gradient(ellipse 50% 90%  at 75% 100%, rgba(165,42,10,.34) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50%  at 50% 100%, rgba(201,168,76,.09) 0%, transparent 55%);
  animation: coalGlow 7s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  z-index: 3;
}
@keyframes coalGlow {
  0%   { opacity: .6; }
  50%  { opacity: .95; }
  100% { opacity: .7; }
}

/* Smoke wisps — generated by JS */
.smoke-wisp {
  position: absolute;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,175,155,.55) 0%, transparent 68%);
  filter: blur(14px);
  animation: smokeRise var(--dur, 65s) var(--delay, 0s) ease-in-out infinite;
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 2;
}
@keyframes smokeRise {
  0%   { transform: translateY(0)     translateX(0)               scale(.6)  rotate(0deg);  opacity: 0; }
  12%  { opacity: 1; }
  70%  { opacity: .5; }
  100% { transform: translateY(-80vh) translateX(var(--sway,40px)) scale(2.0) rotate(12deg); opacity: 0; }
}

/* =============================================================
   COCKTAIL MENU — Full Menu Layout (cocktails.html)
   ============================================================= */
.ct-menu-section { padding: var(--section-pad) 0; }
.ct-menu-inner   { max-width: 880px; margin: 0 auto; padding: 0 clamp(20px,4vw,60px); }
.ct-menu-cat-hd  { text-align: center; margin-bottom: clamp(36px,5vw,56px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ct-menu-cat-title {
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 400; color: var(--cream);
  letter-spacing: .04em; margin: 0; line-height: 1.1;
}
.ct-drink-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 0;
}
.ct-drink {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s ease;
}
.ct-drink:nth-child(odd)  { padding-right: 40px; }
.ct-drink:nth-child(even) { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.06); }
.ct-drink-name {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 400;
  color: var(--cream); margin: 0 0 6px;
  letter-spacing: .03em;
}
.ct-drink-ing { font-size: .72rem; color: var(--gray); line-height: 1.7; margin: 0; }
.ct-drink-note {
  font-size: .6rem; color: var(--gold-dim);
  letter-spacing: .1em; text-transform: uppercase;
  margin-top: 5px;
}
.ct-drink-flavors {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px;
}
.ct-flavor-tag {
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 9px; border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-dim);
}

/* Classics grid — 3 columns */
.ct-drink-grid-3 { grid-template-columns: repeat(3,1fr); }
.ct-drink-grid-3 .ct-drink:nth-child(3n)   { padding-right: 0; border-right: none; }
.ct-drink-grid-3 .ct-drink:nth-child(3n+1) { padding-right: 28px; }
.ct-drink-grid-3 .ct-drink:nth-child(3n+2) { padding-left: 28px; padding-right: 28px; border-left: 1px solid rgba(255,255,255,.06); }
.ct-drink-grid-3 .ct-drink:nth-child(3n)   { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.06); }

@media (max-width: 600px) {
  .ct-drink-grid, .ct-drink-grid-3 { grid-template-columns: 1fr; }
  .ct-drink:nth-child(odd)  { padding-right: 0; }
  .ct-drink:nth-child(even) { padding-left: 0; border-left: none; }
  .ct-drink-grid-3 .ct-drink:nth-child(n) { padding-left: 0; padding-right: 0; border-left: none; }
}
