/* ==========================================================
   BUSINESS NAME: cocktail bar template
   Theme: dark, eclectic neon. Radius rule: buttons and chips
   are pills, photos and panels are square with 2px corners.
   ========================================================== */
:root {
  --bg: #0c0b10;
  --bg-2: #15131b;
  --ink: #f2efe9;
  --muted: rgba(242, 239, 233, 0.7);
  --line: rgba(242, 239, 233, 0.14);
  --magenta: #ff3d8b;
  --acid: #c6ff3d;
  --blue: #3d8bff;
  --accent: var(--magenta);

  --font-display: "Syne", "Syne Fallback", sans-serif;
  --font-cond: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --font-body: "Geologica", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --r: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Syne is wide; this fallback is sized so the swap barely re-wraps headlines */
@font-face { font-family: "Syne Fallback"; src: local("Arial Black"), local("Arial Bold"), local("Roboto Bold"); size-adjust: 96%; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scrollbar-color: rgba(242, 239, 233, 0.3) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
/* film grain on a fixed layer (never on scrolling content) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--acid); color: var(--bg); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; border-radius: 4px; }
.icon { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; vertical-align: -0.12em; }
.nav-sentinel { position: absolute; top: 40px; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* ---------- Layering ----------
   photos z0 · #glass3d z1 · content z2 · nav z50 · grain z90 · toast z95 */
#glass3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
#glass3d.is-ready { opacity: 1; }

.section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  overflow: clip;
}
.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */
.h1, .h2, .hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.h1 { font-size: clamp(40px, 6.4vw, 96px); }
.h2 { font-size: clamp(34px, 4.6vw, 68px); }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 52ch; margin: 22px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn--ghost { border: 1.5px solid currentColor; color: var(--ink); background: rgba(12, 11, 16, 0.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  color: var(--accent);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.03em;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.is-scrolled { background: rgba(12, 11, 16, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__brand { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.nav__links { display: flex; gap: 34px; font-family: var(--font-cond); font-weight: 600; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acid);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 6px; font-family: var(--font-cond); font-weight: 600; font-size: 18px; color: var(--muted); }
.lang button { padding: 6px 2px; color: var(--muted); transition: color 0.2s; }
.lang button[aria-pressed="true"] { color: var(--acid); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 64px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15); }
.hero__shade {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 70% at 78% 50%, rgba(12, 11, 16, 0.25), transparent 70%),
    linear-gradient(90deg, rgba(12, 11, 16, 0.94) 0%, rgba(12, 11, 16, 0.78) 45%, rgba(12, 11, 16, 0.45) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; }
.hero__title { font-size: clamp(46px, 6.8vw, 104px); line-height: 1.04; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: inline-block; }
.line--accent { color: var(--magenta); }
.hero__sub { font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); max-width: 40ch; margin: 26px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stage { aspect-ratio: 1 / 1.15; width: 100%; max-height: 72vh; }

/* hero intro (CSS so it plays before any JS) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { animation: rise 1.1s var(--ease-expo) both; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
  .js .hero__sub, .js .hero__cta { animation: fadeUp 1s var(--ease-expo) 0.35s both; }
  .js .hero__cta { animation-delay: 0.45s; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--acid);
  color: var(--bg);
  transform: rotate(-1.6deg) scale(1.03);
  margin: -8px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 46px);
  padding: 14px 0;
  white-space: nowrap;
}
.marquee__track span::after { content: "\00a0"; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Space (collage) ---------- */
.space { padding: 120px 0; }
.space__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.collage { position: relative; height: min(76vh, 720px); }
.collage__item { position: absolute; margin: 0; background: var(--ink); padding: 10px 10px 34px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
/* strip of tape */
.collage__item::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  width: 96px; height: 26px;
  transform: translateX(-50%) rotate(-4deg);
  background: color-mix(in srgb, var(--acid) 55%, transparent);
  mix-blend-mode: screen;
}
.collage__item--a { width: 56%; height: 58%; left: 0; top: 2%; --rot: -4deg; }
.collage__item--b { width: 46%; height: 44%; right: 0; top: 10%; --rot: 5deg; }
.collage__item--c { width: 36%; height: 42%; left: 12%; bottom: 0; --rot: 3deg; }
.collage__item--c::before { background: color-mix(in srgb, var(--magenta) 60%, transparent); }
.collage__item--d { width: 42%; height: 38%; right: 6%; bottom: 6%; --rot: -6deg; }
.collage__item--d::before { background: color-mix(in srgb, var(--blue) 60%, transparent); }
.collage__item { transform: rotate(var(--rot)); transition: transform 0.5s var(--ease), z-index 0s; }
.collage__item:hover { transform: rotate(0deg) scale(1.04); z-index: 3; }

/* ---------- Cocktails ---------- */
.cocktails { padding: 120px 0; background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.cocktails__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cocktails__stage {
  position: sticky;
  top: 12vh;
  height: min(76vh, 700px);
  border-radius: 50% 50% var(--r) var(--r) / 36% 36% var(--r) var(--r);
  background:
    radial-gradient(50% 40% at 50% 62%, color-mix(in srgb, var(--liquid, var(--magenta)) 30%, transparent), transparent 70%),
    radial-gradient(80% 60% at 50% 100%, rgba(61, 139, 255, 0.18), transparent 70%);
  border: 1px solid var(--line);
  transition: background 0.6s var(--ease);
}
.drinks { list-style: none; padding: 0; margin: 36px 0 34px; display: grid; gap: 10px; }
.drink {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  text-align: left;
  padding: 12px 18px 12px 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(242, 239, 233, 0.02);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.drink img { grid-row: 1 / span 2; width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
.drink__name { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.drink__desc { grid-column: 2; color: var(--muted); font-size: 15px; }
.drink__price { grid-row: 1 / span 2; grid-column: 3; font-family: var(--font-cond); font-weight: 800; font-size: 26px; color: var(--accent); }
.drink:hover { border-color: color-mix(in srgb, var(--ink) 40%, transparent); transform: translateX(4px); }
.drink.is-active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

/* ---------- Nights ---------- */
.nights { padding: 120px 0; }
#disco3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.nights__inner { max-width: var(--max); }
.nights .h1 { max-width: 12ch; font-size: clamp(40px, 5.4vw, 84px); }
.lineup { list-style: none; padding: 0; margin: 48px 0 0; max-width: 640px; }
.lineup li {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.lineup__day { font-family: var(--font-cond); font-weight: 800; font-size: 28px; text-transform: uppercase; color: var(--muted); }
.lineup__what { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 1.9vw, 26px); }
.lineup__time { font-family: var(--font-cond); font-weight: 600; font-size: 22px; color: var(--muted); }
.lineup li.is-today .lineup__day,
.lineup li.is-today .lineup__time { color: var(--accent); }
.lineup li.is-today .lineup__what { color: var(--accent); }
.lineup li.is-today .lineup__what::after {
  content: attr(data-today);
  margin-left: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  vertical-align: 4px;
}

/* ---------- Gallery ---------- */
.gallery { position: relative; z-index: 2; padding: 120px 0 80px; overflow: hidden; overflow: clip; }
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 56px; }
.gallery__follow { font-family: var(--font-cond); font-weight: 600; font-size: 20px; letter-spacing: 0.03em; }
.gallery__follow b { color: var(--blue); }
.gallery__follow:hover b { text-decoration: underline; }
.gallery__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.gallery__col { display: grid; gap: 18px; }
.gallery__col:nth-child(2) { margin-top: 90px; }
.gallery__col figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.gallery__col figure.tall { aspect-ratio: 3 / 4; }
.gallery__col img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.8s var(--ease); filter: saturate(0.9); }
.gallery__col figure:hover img { transform: scale(1.05); filter: saturate(1.2); }

/* ---------- Visit ---------- */
.visit { padding: 120px 0; }
.visit__bg { position: absolute; inset: 0; z-index: 0; }
.visit__bg img { width: 100%; height: 100%; object-fit: cover; }
.visit__shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(12, 11, 16, 0.86) 30%, rgba(12, 11, 16, 0.92) 100%); }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.visit__list { margin: 36px 0 0; display: grid; gap: 18px; }
.visit__list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: baseline; }
.visit__list dt { font-family: var(--font-cond); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }
.visit__list dd { margin: 0; font-size: 18px; }
.visit__list a:hover { color: var(--accent); }
.visit__social { display: flex; flex-wrap: wrap; gap: 22px; }
.visit__cta { margin-top: 36px; }
.visit__map { aspect-ratio: 4 / 3.4; border-radius: var(--r); overflow: hidden; border: 2px solid var(--accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 12%, transparent); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(180deg) saturate(0.6); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; padding: 40px 0 28px; overflow: hidden; }
.footer__word {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12vw; /* main.js shrinks it to fit the real business name */
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 40%, transparent);
}
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 95;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 22px; border-radius: 999px;
  background: var(--acid); color: var(--bg);
  font-family: var(--font-cond); font-weight: 800; font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal starting states (set only when JS + GSAP run) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); }
  .js .reveal-img { opacity: 0; transform: translateY(40px) scale(0.96); }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { height: 64px; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 28px;
    font-size: 40px;
    background: rgba(12, 11, 16, 0.97);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }

  .hero { padding: 84px 0 48px; align-items: flex-end; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__stage { order: -1; height: 34vh; max-height: none; aspect-ratio: auto; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(12, 11, 16, 0.86) 45%, rgba(12, 11, 16, 0.55) 100%); }

  .space, .cocktails, .nights, .visit { padding: 88px 0; }
  .space__grid, .cocktails__grid, .visit__grid { grid-template-columns: 1fr; gap: 40px; }
  .collage { height: 118vw; max-height: 620px; }
  .cocktails__stage { position: relative; top: 0; height: 58vh; }
  .drink { grid-template-columns: 56px 1fr auto; column-gap: 14px; }
  .drink img { width: 56px; height: 56px; }
  .drink__name { font-size: 17px; }
  .drink__desc { font-size: 14px; }

  .nights { align-items: flex-end; padding-top: 44vh; }
  .lineup li { grid-template-columns: 58px 1fr auto; gap: 12px; }
  .lineup__day { font-size: 22px; }
  .lineup li.is-today .lineup__what::after { display: none; }

  .gallery__cols { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery__col { gap: 12px; }
  .gallery__col:nth-child(2) { margin-top: 48px; }
  .gallery__col:nth-child(3) { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .gallery__col:nth-child(3) figure { aspect-ratio: 3 / 4; }

  .visit__list div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
