/* ==========================================================================
   Bolivar Cigar Lounge — Spicewood, TX
   Socia Visual · 2026
   Palette derived directly from the Bolivar logomark:
     oxblood #7F2629 · gold #F7BC60 · champagne #C2B59B
   ========================================================================== */

:root {
  /* Brand */
  --oxblood:       #7F2629;
  --oxblood-deep:  #521A1C;
  --oxblood-glow:  #9B3236;
  --gold:          #F7BC60;
  --gold-deep:     #C9954A;
  --champagne:     #C2B59B;

  /* Neutrals — warmed toward tobacco, never pure grey */
  --ink:           #0B0908;
  --ink-2:         #12100E;
  --ink-3:         #1B1613;
  --ink-line:      #2A231E;
  --cream:         #F3EDE3;
  --cream-dim:     #C9BFB1;
  --cream-faint:   #8C8177;

  /* Type */
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ui: "Jost", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(5rem, 12vw, 10rem);
  --maxw: 1240px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--ui);
  font-weight: 300;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; margin: 0; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--oxblood); color: var(--gold); }

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

/* ---------- Shared primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--ui);
  font-size: .6875rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.eyebrow::before {
  content: "";
  width: clamp(24px, 5vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep));
  flex: none;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.is-centered::after {
  content: "";
  width: clamp(24px, 5vw, 48px);
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--gold-deep));
  flex: none;
}

.h-xl { font-size: clamp(2.75rem, 8vw, 6rem); }
.h-lg { font-size: clamp(2.125rem, 5.2vw, 3.75rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.125rem); }

.lede {
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem);
  line-height: 1.75;
  color: var(--cream-dim);
  font-weight: 300;
}

.muted { color: var(--cream-faint); }

/* Ornamental fleur-de-lis — lifted from the lounge's own wall panelling */
.fleur { width: 22px; height: 30px; fill: var(--gold-deep); opacity: .85; flex: none; }
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0;
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  flex: 1 1 0;
  max-width: 170px;
  background: linear-gradient(90deg, transparent, rgba(201, 149, 74, .55), transparent);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.0625rem 2.125rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ui);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: 1px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: #fff; border-color: #fff; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: rgba(194, 181, 155, .35);
}
.btn--ghost:hover { background: rgba(247, 188, 96, .1); border-color: var(--gold); color: var(--gold); }

.btn--sm { padding: .8125rem 1.5rem; font-size: .6875rem; }

/* ---------- Preloader ----------
   A held breath, not a loading screen: the mark settles, a gold hairline
   draws out from the centre, then the curtain lifts into the age gate.   */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__inner { display: grid; justify-items: center; gap: 2rem; padding: var(--gutter); }

.preloader__logo {
  width: clamp(84px, 16vw, 118px);
  height: auto;
  opacity: 0;
  transform: translateY(10px) scale(.985);
  animation: pl-mark 1.1s var(--ease) forwards;
}
@keyframes pl-mark { to { opacity: 1; transform: none; } }

.preloader__rule {
  display: block;
  width: clamp(110px, 26vw, 168px);
  height: 1px;
  background: rgba(194, 181, 155, .16);
  overflow: hidden;
}
.preloader__rule i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: pl-draw 1.6s var(--ease) .25s forwards;
}
@keyframes pl-draw { to { transform: scaleX(1); } }

body.is-loading { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .preloader__logo { opacity: 1; transform: none; animation: none; }
  .preloader__rule i { transform: scaleX(1); animation: none; }
}

/* ---------- Age gate ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: var(--ink);
  text-align: center;
}
.gate[hidden] { display: none; }
.gate__inner { max-width: 30rem; }
.gate__logo { width: 96px; margin: 0 auto 2rem; }
.gate h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.gate p { font-size: .9375rem; color: var(--cream-faint); }
.gate__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.gate__deny { font-size: .8125rem; color: var(--cream-faint); margin-top: 1.75rem; }
body.is-gated { overflow: hidden; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-solid,
.header.is-stuck {
  background: rgba(11, 9, 8, .88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--ink-line);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: clamp(72px, 9vw, 96px);
}
.header__logo { display: flex; align-items: center; gap: .875rem; }
.header__logo img { width: clamp(34px, 4vw, 42px); height: auto; aspect-ratio: 1; }
.header__logo span {
  font-family: var(--display);
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  letter-spacing: .06em;
  white-space: nowrap;
}
.header__logo b { font-weight: 400; color: var(--gold); }

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
/* Scoped away from .btn: a bare `.nav a` (0,1,1) outranks `.btn`/`.btn--sm`
   (0,1,0) and silently steals their colour and padding. */
.nav a:not(.btn) {
  font-size: .6875rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding-block: .35rem;
  transition: color .35s var(--ease);
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav a:not(.btn):hover { color: var(--cream); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 1rem; }

.burger { display: none; width: 44px; height: 44px; place-items: center; }
.burger span {
  display: block; width: 22px; height: 1px; background: var(--cream);
  position: relative; transition: background .3s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: var(--cream);
  transition: transform .4s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-block: clamp(8rem, 18vh, 12rem) clamp(6rem, 12vh, 8.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(130% 95% at 24% 76%, rgba(11,9,8,.06) 0%, rgba(11,9,8,.74) 64%, var(--ink) 100%),
    linear-gradient(180deg, rgba(11,9,8,.72) 0%, rgba(11,9,8,.16) 34%, rgba(11,9,8,.88) 88%, var(--ink) 100%);
}
#smoke { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; mix-blend-mode: screen; }

/* Keep the hero flush with the site gutter like every other section:
   constrain the line length on the children, not on the .wrap itself
   (a narrower max-width on .wrap re-centres it via its margin-inline:auto). */
.hero__content { max-width: var(--maxw); }
.hero__content > * { max-width: 52rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: .42em;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-family: var(--ui);
  font-weight: 300;
  margin-top: 1.25rem;
}
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem;
  font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream-dim); margin-bottom: 2.5rem;
}
.hero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-deep); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .875rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%);
  font-size: .625rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-faint);
  display: grid; justify-items: center; gap: .625rem;
}
.hero__scroll i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--gold-deep), transparent); animation: drop 2.6s var(--ease) infinite; }
@keyframes drop { 0%, 100% { transform: scaleY(.35); opacity: .3; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }

/* The cue only earns its place when there is room below the CTAs. */
@media (max-height: 760px), (max-width: 640px) {
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  .hero__meta { display: grid; gap: .35rem; }
  .hero__meta .dot { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Ticker ---------- */
.ticker {
  border-block: 1px solid var(--ink-line);
  background: var(--ink-2);
  overflow: hidden;
  padding-block: 1.125rem;
}
.ticker__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; }
.ticker span {
  display: inline-flex; align-items: center; gap: 1.75rem;
  padding-inline: 1.75rem;
  font-size: .75rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-faint);
  white-space: nowrap;
}
.ticker span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--oxblood-glow); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tinted { background: var(--ink-2); }
.section--oxblood {
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(127,38,41,.34), transparent 62%),
    var(--ink);
}
.section__head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section__head.is-centered { margin-inline: auto; text-align: center; }
.section__head h2 { margin-bottom: 1.5rem; }

/* Faint fleur watermark */
.watermark {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: repeat;
  background-size: 110px 150px;
  opacity: .022;
}
.section > .wrap { position: relative; z-index: 1; }

/* ---------- Split (about) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
.split--flip .split__media { order: -1; }
@media (min-width: 900px) { .split--flip .split__media { order: 0; } }

.frame { position: relative; }
.frame picture { position: relative; display: block; }
.frame img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.frame picture::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(247, 188, 96, .34);
  pointer-events: none;
}
.frame__caption {
  margin-top: 1rem;
  font-size: .6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

.quote { border-left: 1px solid var(--gold-deep); padding-left: clamp(1.25rem, 3vw, 2rem); margin: 2.5rem 0 0; }
.quote p {
  font-family: var(--display);
  font-size: clamp(1.3125rem, 2.4vw, 1.75rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--cream);
}
.quote footer { font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 1rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.stat { background: var(--ink); padding: clamp(1.75rem, 3vw, 2.5rem); text-align: center; }
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: .625rem;
}
.stat span { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-faint); }

/* ---------- Amenity grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.card {
  background: var(--ink);
  padding: clamp(2rem, 3.6vw, 2.875rem);
  transition: background .5s var(--ease);
  position: relative;
}
.card:hover { background: var(--ink-3); }
.card__icon { width: 26px; height: 34px; fill: var(--gold); margin-bottom: 1.75rem; opacity: .9; }
.card h3 { font-size: 1.5rem; margin-bottom: .875rem; }
.card p { font-size: .9375rem; color: var(--cream-faint); line-height: 1.75; }

/* ---------- Cigars ---------- */
.cigar {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .cigar { grid-template-columns: repeat(2, 1fr); } }
.cigar__panel {
  border: 1px solid var(--ink-line);
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  height: 100%;
}
.cigar__panel h3 { font-size: clamp(1.875rem, 3.2vw, 2.5rem); margin-bottom: .5rem; }
.cigar__tag { font-size: .6875rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.5rem; display: block; }
.vitolas { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--ink-line); }
.vitolas li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: .9375rem;
}
.vitolas b { font-weight: 400; color: var(--cream); }
.vitolas span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-faint); }

/* ---------- Locations ---------- */
.locs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.loc {
  border: 1px solid var(--ink-line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .45s var(--ease), transform .45s var(--ease);
}
.loc:hover { border-color: rgba(247,188,96,.4); transform: translateY(-3px); }
.loc--primary {
  border-color: rgba(247, 188, 96, .42);
  background: linear-gradient(170deg, rgba(127,38,41,.24), transparent 65%);
}
.loc__flag {
  font-size: .625rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); align-self: flex-start;
  padding: .3125rem .75rem;
}
.loc h3 { font-size: 1.75rem; }
.loc address { font-style: normal; color: var(--cream-dim); font-size: .9375rem; line-height: 1.8; }
.loc__hours { font-size: .8125rem; color: var(--cream-faint); border-top: 1px solid var(--ink-line); padding-top: 1rem; }
.loc__links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; padding-top: .5rem; }
.loc a.link {
  font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid rgba(247,188,96,.3); padding-bottom: .25rem;
  transition: border-color .35s var(--ease);
}
.loc a.link:hover { border-color: var(--gold); }

/* ---------- Visit (single location) ---------- */
.visit {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
}
@media (min-width: 900px) {
  .visit { grid-template-columns: .85fr 1.15fr; }
  /* details beside the storefront, map full-width beneath both */
  .visit .map { grid-column: 1 / -1; }
}

.visit__info {
  border: 1px solid rgba(247, 188, 96, .34);
  background: linear-gradient(170deg, rgba(127,38,41,.24), transparent 62%);
  padding: clamp(1.75rem, 3.4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}
.visit__addr {
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  line-height: 1.32;
  color: var(--cream);
}
.visit__dl { margin: 0; display: grid; gap: 1.25rem; }
.visit__dl > div { display: grid; gap: .375rem; padding-top: 1.25rem; border-top: 1px solid var(--ink-line); }
.visit__dl dt {
  font-size: .625rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.visit__dl dd { margin: 0; font-size: .9375rem; line-height: 1.7; color: var(--cream-dim); }
.visit__dl dd a { border-bottom: 1px solid rgba(247,188,96,.35); padding-bottom: .1rem; transition: border-color .35s var(--ease); }
.visit__dl dd a:hover { border-bottom-color: var(--gold); }
.visit__info .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Map ---------- */
.map { border: 1px solid var(--ink-line); display: flex; }
.map iframe, .map__facade { flex: 1 1 auto; }
.map iframe {
  display: block; width: 100%; min-height: clamp(320px, 42vw, 460px); border: 0;
  filter: grayscale(.55) sepia(.22) contrast(1.06) brightness(.62);
}
.map__facade {
  display: grid; justify-items: center; align-content: center; gap: 1rem;
  width: 100%; min-height: clamp(320px, 42vw, 460px);
  padding: var(--gutter); text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(127,38,41,.26), transparent 70%),
    var(--ink-2);
  transition: background .5s var(--ease);
}
.map__facade:hover { background: radial-gradient(80% 120% at 50% 0%, rgba(127,38,41,.36), transparent 70%), var(--ink-3); }
.map__facade .fleur { width: 26px; height: 34px; }
.map__addr { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--cream); }
.map__cta {
  font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid rgba(247,188,96,.4); padding-bottom: .3rem; margin-top: .25rem;
  transition: border-color .35s var(--ease);
}
.map__facade:hover .map__cta { border-bottom-color: var(--gold); }
.map__note { font-size: .6875rem; color: var(--cream-faint); letter-spacing: .04em; }

/* ---------- A look inside (photo mosaic) ---------- */
/* Even columns on purpose: with uneven fr units the two cells in a row get
   different widths, so equal-aspect images produce different heights and the
   shorter one leaves a hole under it. */
.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
@media (min-width: 760px) { .shots { grid-template-columns: repeat(2, 1fr); } }

.shot { margin: 0; position: relative; }
.shot picture { position: relative; display: block; overflow: hidden; }
.shot img {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.shot:hover img { transform: scale(1.03); }
.shot picture::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(247, 188, 96, .26);
  pointer-events: none;
}
.shot figcaption {
  margin-top: .875rem;
  font-size: .625rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

/* Storefront shot in the Visit block.
   Fills the column height so it lines up with the details panel. The source
   JPEG is pre-cropped to the signage, so no object-position nudge is needed. */
/* Do NOT stretch this to the row height: the details panel beside it is taller
   than the cell is wide, so filling the height made object-fit:cover crop the
   sides off a landscape photo — it ate the "R" of BOLIVAR. The source JPEG is
   pre-cropped to the signage, so just let it keep its own 4:3. */
.visit__shot { margin: 0; align-self: start; }
.visit__shot picture { position: relative; display: block; overflow: hidden; }
.visit__shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.visit__shot picture::after {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(247, 188, 96, .26);
  pointer-events: none;
}
.visit__shot figcaption {
  margin-top: .875rem;
  font-size: .625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-faint);
}

/* ---------- Membership CTA ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 1.5rem; }
.cta .lede { max-width: 38rem; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .875rem; justify-content: center; margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); border-top: 1px solid var(--ink-line); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; }
.footer__grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--ink-line);
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo { width: 62px; margin-bottom: 1.5rem; }
.footer h3 { font-family: var(--ui); font-size: .6875rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.25rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.footer ul a, .footer address { font-size: .9375rem; color: var(--cream-faint); font-style: normal; line-height: 1.8; }
.footer ul a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  padding-top: 2rem; font-size: .75rem; color: var(--cream-faint);
}
.footer__bottom a:hover { color: var(--gold); }
.warning {
  margin-top: 2rem; padding: 1.125rem 1.25rem;
  border: 1px solid var(--ink-line);
  font-size: .75rem; letter-spacing: .02em; line-height: 1.75;
  color: var(--cream-faint);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }

/* ---------- Mobile nav ---------- */
@media (max-width: 880px) {
  .burger { display: grid; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 6rem var(--gutter) 3rem;
    background: rgba(11, 9, 8, .97);
    backdrop-filter: blur(18px);
    transform: translateY(-100%);
    /* visibility, not transform alone: if the drawer's content is ever taller
       than the viewport, flex centring lets it overflow the fixed box and the
       spill stays painted on screen after the translate. */
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: transform .6s var(--ease), visibility .6s var(--ease);
    z-index: -1;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { font-size: .875rem; letter-spacing: .26em; }
  .nav .btn { display: inline-flex; margin-top: 1rem; }
}
@media (min-width: 881px) { .nav .btn { display: none; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #smoke { display: none; }
}


/* ---------- Touch targets ----------
   Anything tappable gets a ~44px hit area on phones without changing how
   the type sits. Padding does the work so the layout is untouched.       */
@media (max-width: 880px) {
  .nav a:not(.btn) { padding-block: .75rem; }
  .footer ul a { display: inline-block; padding-block: .4375rem; }
  .footer address a,
  .strip__item .link,
  .visit__dl dd a { display: inline-block; padding-block: .625rem; }
  .footer__bottom a { display: inline-block; padding-block: .5rem; }
  .header__logo { padding-block: .25rem; }
  .btn--sm { padding-block: 1rem; }
}


/* ══════════════════════════════════════════════════════════════════════
   MULTI-PAGE LAYOUT
   The owner asked for the original bolivarlounge.com structure — Home /
   About / Cigars / Locations as real pages, Home being a gallery beside
   the welcome line. These are the pieces that replaced the one-page hero.
   ══════════════════════════════════════════════════════════════════════ */

/* Current page in the nav */
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Fixed header + no hero means content must clear the bar */
.masthead,
.section--intro { padding-top: calc(clamp(72px, 9vw, 96px) + clamp(2.5rem, 6vw, 5rem)); }

/* ---------- Page masthead (inner pages) ---------- */
.masthead { padding-bottom: clamp(2rem, 5vw, 3.5rem); position: relative; }
.masthead h1 { margin-bottom: 1.5rem; }
.masthead .lede { max-width: 54ch; }

/* The masthead already carries bottom padding; a .section straight after it
   would otherwise stack its own section-y on top and leave a dead band. */
.masthead + .section { padding-top: 0; }

/* ---------- Home: gallery beside the welcome copy ---------- */
.section--intro { padding-bottom: var(--section-y); }
.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) { .intro { grid-template-columns: 3fr 2fr; } }

.intro__copy h1 { margin-bottom: 0; line-height: 1.22; }
.intro__actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2.25rem; }
.intro .quote { margin-top: 2rem; }

/* ---------- Gallery slider (replaces the original's jQuery bjqs) ---------- */
.slider { position: relative; }
.slider__track {
  /* a <div>, not a <ul> — see build-pages.py: role="group" on an <li> breaks
     list semantics */
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ink-line);
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s var(--ease);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide picture, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.slider__track::after {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(247, 188, 96, .3);
  pointer-events: none; z-index: 2;
}

.slider__dots { display: flex; justify-content: center; gap: .625rem; margin-top: .25rem; }
.slider__dot {
  width: 32px; height: 44px; padding: 0;
  background: none; border: 0; border-radius: 0;
  position: relative;
}
/* the hairline is painted by ::after so the button itself can stay 44px tall
   and remain a comfortable tap target */
.slider__dot::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; transform: translateY(-50%);
  background: rgba(194, 181, 155, .28);
  transition: background .45s var(--ease);
}
.slider__dot.is-active::after { background: var(--gold); }
.slider__dot:hover::after { background: var(--gold-deep); }

/* Portrait variant — Charlie's product photos are 3:4 phone shots, so the
   frame follows the source rather than cropping the cigar in half. */
.frame--portrait img { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  /* give the text more room when the media column is portrait */
  .split:has(.frame--portrait) { grid-template-columns: 1.25fr .75fr; }
  .split--flip:has(.frame--portrait) { grid-template-columns: .75fr 1.25fr; }
}

/* ---------- Address / hours / call strip ---------- */
.strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 760px) { .strip { grid-template-columns: repeat(3, 1fr); } }
.strip__item h2 {
  font-family: var(--ui);
  font-size: .6875rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.strip__item address,
.strip__item p { font-style: normal; color: var(--cream-dim); font-size: .9375rem; line-height: 1.85; }
.strip__item .link {
  color: var(--gold);
  border-bottom: 1px solid rgba(247,188,96,.35);
  padding-bottom: .15rem;
  transition: border-color .35s var(--ease);
}
.strip__item .link:hover { border-bottom-color: var(--gold); }

/* ---------- Full-width framed photo ---------- */
.frame--wide { margin: 0; }
.frame--wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* On Locations the map sits under both columns */
@media (min-width: 900px) { .visit .map { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
