/* Raising The Bar Mixologists - demo site.
   Palette comes from their logo: black, red, white. Amber is the whiskey note. */
:root {
  --bg: #0a0909;
  --surface: #141111;
  --surface-2: #1d1818;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f6f1ec;
  --muted: #bdb2aa;
  --red: #d91e2a;          /* fills: white text on it is 4.9:1 */
  --red-hi: #ff5d66;       /* red as TEXT on the dark background: 6.4:1 */
  --amber: #e9a23b;
  --radius: 20px;
  --wrap: 1160px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain: one fixed layer, never intercepts input. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--red-hi); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; position: relative; z-index: 2; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--text); color: var(--bg); padding: 0.75rem 1rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid #ffb3b8; outline-offset: 3px; border-radius: 6px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 32px; height: 32px; stroke-width: 1.6; color: var(--red-hi); }

.eyebrow { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }

.tag { display: inline-flex; align-items: center; padding: 0.15rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; font: 600 0.6875rem/1.6 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tag-red { border-color: rgba(255, 93, 102, 0.45); color: var(--red-hi); }

/* ------------------------------ buttons ------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px; padding: 0.75rem 1.5rem; border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; touch-action: manipulation; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #ef2f3b; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.06); }
.btn-light { background: #fff; color: #1a0e0e; }
.btn-light:hover { background: #ffe9ea; }

/* ------------------------------- header ------------------------------ */
.demo-bar { position: relative; z-index: 2; padding: 0.5rem 1.25rem; text-align: center; font-size: 0.8125rem; color: var(--muted); background: #050404; border-bottom: 1px solid var(--line); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 9, 9, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 50%; border: 1px solid var(--line); }
.brand-text { font: 700 1.05rem/1.1 var(--display); }
.brand-text span { display: block; font: 600 0.625rem/1.6 var(--body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--red-hi); }

.site-nav { display: none; }
.site-nav a { display: block; padding: 0.75rem 0.25rem; color: var(--muted); font-weight: 500; text-decoration: none; transition: color 0.2s var(--ease); }
.site-nav a:hover { color: var(--text); }

.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.header-cta { display: none; }

/* Mobile: the nav opens as a panel under the header. */
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 0.5rem 1.25rem 1rem; background: #0d0b0b; border-bottom: 1px solid var(--line); }
.site-nav.is-open a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }

/* -------------------------------- hero ------------------------------- */
.hero { position: relative; padding: 3rem 0 3.5rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -220px; background: radial-gradient(closest-side, rgba(217, 30, 42, 0.34), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.lede { margin-top: 1.25rem; font-size: 1.1875rem; color: var(--muted); max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.checks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.9375rem; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.checks .icon { color: var(--red-hi); }

.hero-art { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.hero-frame { border-radius: 230px 230px var(--radius) var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; background: var(--surface); box-shadow: 0 40px 90px -30px rgba(217, 30, 42, 0.5); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; left: -0.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1.1rem 0.6rem 0.6rem; background: rgba(20, 17, 17, 0.92); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-chip img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.hero-chip strong { display: block; font-size: 0.9375rem; line-height: 1.2; }
.hero-chip span { font-size: 0.8125rem; color: var(--muted); }

/* ----------------------------- occasions ----------------------------- */
.occasions { border-block: 1px solid var(--line); background: #0d0b0b; padding: 1.25rem 0; }
.occasions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.occasions-label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.occasions ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font: italic 600 1.25rem/1.3 var(--display); }
.occasions li + li::before { content: "/"; margin-right: 1.75rem; color: var(--red); font-style: normal; }

/* ------------------------------ sections ----------------------------- */
.section { padding: 4.5rem 0; position: relative; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }
.section-sub { margin-top: 1rem; color: var(--muted); }

/* -------------------------------- about ------------------------------ */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-art { position: relative; padding: 0 2.5rem 2.5rem 0; }
.about-main { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 1; object-fit: cover; width: 100%; }
.about-side { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: 14px; border: 4px solid var(--bg); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.about-copy p + p { margin-top: 1rem; }
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy > p { color: var(--muted); }
.pull { margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--red); background: var(--surface); border-radius: 0 14px 14px 0; }
.pull p { font: italic 600 1.25rem/1.4 var(--display); color: var(--text); }
.pull cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.owner { margin-top: 1.25rem; font-size: 0.9375rem; }
.owner a, .footer-social a { color: var(--red-hi); text-underline-offset: 3px; }

/* -------------------------------- cards ------------------------------ */
.cards { display: grid; gap: 1rem; }
.card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.75rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.card:hover { border-color: rgba(255, 93, 102, 0.5); transform: translateY(-3px); }
.card p { color: var(--muted); font-size: 0.9875rem; }

/* -------------------------------- menu ------------------------------- */
.menu-grid { display: grid; gap: 1rem; }
.menu-group { padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.menu-group h3 { font-style: italic; color: var(--amber); padding-bottom: 0.9rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
.menu-group li { padding: 0.9rem 0; border-bottom: 1px dashed var(--line); }
.menu-group li:last-child { border-bottom: 0; padding-bottom: 0; }
.menu-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.menu-name { font-weight: 600; font-size: 1.0625rem; }
.menu-group p { margin-top: 0.2rem; color: var(--muted); font-size: 0.9375rem; }

.choice { display: grid; gap: 1.5rem; align-items: center; margin-top: 1rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid rgba(255, 93, 102, 0.35); background: linear-gradient(135deg, rgba(217, 30, 42, 0.2), rgba(20, 17, 17, 0.4) 60%); }
.choice img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 280px; }
.choice h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.choice p:not(.eyebrow) { color: var(--muted); max-width: 36rem; }
.choice .btn { margin-top: 1.25rem; }

/* ------------------------------- gallery ----------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.tile { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); cursor: pointer; aspect-ratio: 1; position: relative; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), filter 0.3s var(--ease); }
.tile-top img { object-position: 50% 8%; } /* tall reel cover: keep the bartender, not the counter */
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(217, 30, 42, 0.5), transparent 55%); opacity: 0; transition: opacity 0.3s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }

.lightbox { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); width: min(92vw, 640px); max-height: 92dvh; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.82); }
.lightbox img { width: 100%; max-height: 68dvh; object-fit: contain; background: #000; }
.lightbox-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.25rem; }
.lightbox-bar p { flex: 1 1 14rem; font-size: 0.9375rem; color: var(--muted); }
.lightbox-bar .btn { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.lightbox-close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10, 9, 9, 0.8); color: var(--text); cursor: pointer; }

/* -------------------------------- steps ------------------------------ */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.steps li { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 50%; background: var(--red); color: #fff; font: 700 1.25rem/1 var(--display); }
.steps p { margin-top: 0.5rem; color: var(--muted); font-size: 0.9875rem; }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.5rem; padding: 2.25rem 1.75rem; border-radius: var(--radius); background: linear-gradient(120deg, #b3121d, #e02a36 55%, #8f0d16); }
.cta-band h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.cta-band p { margin-top: 0.4rem; color: #ffe3e5; }

/* -------------------------------- footer ----------------------------- */
.site-footer { border-top: 1px solid var(--line); background: #050404; padding: 3rem 0 6.5rem; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; color: var(--muted); }
.footer-brand img { border-radius: 50%; border: 1px solid var(--line); }
.footer-brand strong { color: var(--text); font: 700 1.1rem/1.4 var(--display); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer nav a { padding: 0.65rem 0; color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.footer-social { display: grid; gap: 0.5rem; align-content: start; }
.footer-social a { padding: 0.35rem 0; }
.footer-note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #9d928a; font-size: 0.8125rem; display: grid; gap: 0.35rem; }

/* Thumb-reach booking bar on phones. */
.mobile-cta { position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 54px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
/* While the hero's own booking button is on screen the bar would be a duplicate. */
.js .mobile-cta.is-parked { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ----------------------------- scroll reveal ------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Rows that enter together arrive 45 ms apart. */
.js :is(.cards, .steps, .menu-grid) > :nth-child(2).reveal, .js .gallery > :nth-child(2) .reveal { transition-delay: 45ms; }
.js :is(.cards, .steps, .menu-grid) > :nth-child(3).reveal, .js .gallery > :nth-child(3) .reveal { transition-delay: 90ms; }
.js :is(.cards, .steps, .menu-grid) > :nth-child(4).reveal, .js .gallery > :nth-child(4) .reveal { transition-delay: 135ms; }

/* ------------------------------ breakpoints -------------------------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .choice { grid-template-columns: 240px 1fr; padding: 2rem; }
}

@media (min-width: 900px) {
  .section { padding: 6.5rem 0; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; position: static; gap: 1.75rem; padding: 0; background: none; border: 0; }
  .site-nav a, .site-nav.is-open a { padding: 0.75rem 0; border: 0; font-size: 0.9375rem; color: var(--muted); }
  .site-nav a:hover, .site-nav.is-open a:hover { color: var(--text); }
  .header-cta { display: inline-flex; min-height: 46px; padding: 0.5rem 1.25rem; font-size: 0.9375rem; }
  .brand { margin-right: 1.5rem; }
  .site-nav { margin-right: auto; }
  .hero { padding: 5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .hero-art { margin-inline: 0 0; justify-self: end; }
  .hero-chip { left: -2.5rem; bottom: 2.5rem; }
  .about-grid { grid-template-columns: 0.95fr 1.05fr; gap: 4.5rem; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer { padding-bottom: 3rem; }
  .mobile-cta { display: none; }
  .cta-band { padding: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
