/* ==========================================================
   ELLARA — Pub & Restaurant
   ========================================================== */

:root {
  --bg: #0d0b09;
  --bg-2: #15120f;
  --bg-3: #1d1915;
  --ink: #f3ece1;
  --ink-dim: #a99f91;
  --gold: #c9a467;
  --gold-2: #e3c48d;
  --line: rgba(243, 236, 225, 0.12);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --pad: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* Subtle film grain over everything */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 999;
  opacity: 0.05;
  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='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 4%); }
  40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 7%); }
  80% { transform: translate(6%, -2%); }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(90px, 14vw, 180px) 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 760px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 5.5vw, 4.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
em { font-style: italic; color: var(--gold-2); }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: inline-flex; align-items: center; gap: 0.8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* split-words helper (spans injected by JS) */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.split-words .w > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 100px;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--bg); }
.btn--small { padding: 0.7rem 1.4rem; font-size: 0.72rem; }
.btn--full { width: 100%; }

/* ---------- Media placeholders ----------
   Add data-src="assets/images/xyz.jpg" to any .media element
   and main.js will load it as a cover background. */
.media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(201, 164, 103, 0.22), transparent 60%),
    radial-gradient(100% 90% at 90% 100%, rgba(120, 60, 30, 0.35), transparent 60%),
    var(--bg-3);
  background-size: cover;
  background-position: center;
}
.media::after {
  content: attr(data-label);
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(243, 236, 225, 0.35);
  border: 1px dashed rgba(243, 236, 225, 0.2);
  padding: 0.6rem 1rem; border-radius: 100px;
  white-space: nowrap;
}
.media.has-img::after { display: none; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.preloader__logo { width: min(440px, 72vw); clip-path: inset(0 100% 0 0); }
.preloader__logo img { width: 100%; height: auto; }
.preloader__bar { width: min(220px, 50vw); height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 998;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), opacity 0.3s;
  opacity: 0;
}
.cursor.is-hover { width: 56px; height: 56px; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.4rem var(--pad);
  transition: background 0.4s, padding 0.4s var(--ease), transform 0.5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(13, 11, 9, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.9rem; padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 42px; width: auto; transition: height 0.4s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 34px; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim);
  position: relative; transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; width: 34px; height: 34px; position: relative; z-index: 101; }
.nav__burger span { position: absolute; left: 5px; right: 5px; height: 1px; background: var(--ink); transition: transform 0.4s var(--ease); }
.nav__burger span:first-child { top: 13px; }
.nav__burger span:last-child { top: 21px; }
.nav__burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(0.6rem, 2.2vh, 1.2rem);
  padding: 96px var(--pad) 40px;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.8s var(--ease);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu a:not(.btn) { font-family: var(--f-display); font-size: clamp(1.9rem, 6.5vh, 2.4rem); font-weight: 300; line-height: 1.2; }
.mobile-menu .btn { margin-top: 1.5rem; align-self: flex-start; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 0 var(--pad) clamp(70px, 12vh, 130px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; transform: scale(1.15); }
.hero__media::after { top: 30%; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(13, 11, 9, 0.55) 40%, rgba(13, 11, 9, 0.25) 100%);
}
.hero__overlay::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13, 11, 9, 0.75) 0%, rgba(13, 11, 9, 0.2) 60%, transparent 100%);
}

/* Reel: portrait frame on desktop */
.hero__reel {
  position: absolute; z-index: 2;
  right: calc(var(--pad) + 70px); top: 50%;
  height: min(74vh, 720px); aspect-ratio: 9 / 16;
  margin-top: calc(min(74vh, 720px) * -0.46);
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(227, 196, 141, 0.35);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8), 0 0 0 10px rgba(13, 11, 9, 0.35);
  background: var(--bg-3);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__sound {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.9rem; border-radius: 100px;
  background: rgba(13, 11, 9, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: border-color 0.3s;
}
.hero__sound:hover { border-color: var(--gold); }
.hero__sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.hero__sound-bars i { width: 2px; height: 3px; background: var(--gold); border-radius: 1px; transition: height 0.3s; }
.hero__sound[aria-pressed="true"] .hero__sound-bars i { animation: eq 0.9s ease-in-out infinite alternate; }
.hero__sound[aria-pressed="true"] .hero__sound-bars i:nth-child(2) { animation-delay: -0.3s; }
.hero__sound[aria-pressed="true"] .hero__sound-bars i:nth-child(3) { animation-delay: -0.6s; }
.hero__sound[aria-pressed="true"] .hero__sound-bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }

.hero__content { position: relative; z-index: 2; max-width: min(980px, 56%); }

/* Mobile / tablet: reel becomes the full-bleed background */
@media (max-width: 960px) {
  .hero__media { display: none; }
  .hero__reel {
    inset: 0; right: 0; top: 0; height: 100%; width: 100%; aspect-ratio: auto;
    margin-top: 0; border-radius: 0; border: 0; box-shadow: none;
    z-index: auto; /* no stacking context, so the sound button can sit above the overlay */
  }
  .hero__overlay { z-index: 1; pointer-events: none; }
  .hero__overlay::after { display: none; }
  .hero__sound { left: auto; right: var(--pad); bottom: auto; top: 88px; }
  .hero__content { max-width: 100%; }
}
.hero__title { font-size: clamp(3.4rem, 11vw, 9.5rem); line-height: 0.95; margin-bottom: 1.8rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); }
.hero__sub { max-width: 480px; color: var(--ink-dim); font-size: 1.05rem; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__eyebrow, .hero__sub, .hero__actions { opacity: 0; transform: translateY(20px); }

.hero__scroll {
  position: absolute; right: var(--pad); bottom: clamp(70px, 12vh, 130px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-dim);
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 70px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--gold); animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.6rem 0; overflow: hidden; white-space: nowrap;
}
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
.marquee__track > * { margin-right: 2.5rem; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 300; font-style: italic; }
.marquee__track b { color: var(--gold); font-weight: 400; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__text h2 { margin-bottom: 2rem; }
.about__text > p { color: var(--ink-dim); max-width: 520px; }
.stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--gold-2); line-height: 1; }
.stat strong::after { content: "+"; font-size: 0.5em; vertical-align: top; margin-left: 2px; }
.stat span { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--ink-dim); }

.about__images { position: relative; height: clamp(440px, 52vw, 680px); }
.about__img { position: absolute; border-radius: var(--radius); }
.about__img--1 { top: 0; left: 0; width: 72%; height: 78%; }
.about__img--2 { right: 0; bottom: 0; width: 52%; height: 52%; border: 8px solid var(--bg); }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__images { height: 480px; }
}

/* ---------- Spaces (horizontal) ---------- */
.spaces { background: var(--bg-2); overflow: hidden; }
.spaces__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(80px, 10vh, 120px) 0; }
.spaces__head { margin-bottom: clamp(30px, 5vh, 60px); }
.spaces__track {
  display: flex; gap: clamp(20px, 2.5vw, 36px);
  padding: 0 var(--pad);
  width: max-content;
  will-change: transform;
}
.space-card { width: clamp(300px, 34vw, 480px); flex-shrink: 0; }
.space-card__media { height: clamp(300px, 46vh, 460px); border-radius: var(--radius); transition: transform 0.8s var(--ease); }
.space-card:hover .space-card__media { transform: scale(0.98); }
.space-card__body { padding-top: 1.6rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; }
.space-card__num { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em; padding-top: 0.6rem; grid-row: span 2; }
.space-card__body p { color: var(--ink-dim); font-size: 0.95rem; margin-top: 0.6rem; max-width: 360px; }

@media (max-width: 768px) {
  .spaces__track { width: auto; flex-direction: column; }
  .space-card { width: 100%; }
}

/* ---------- Menu ---------- */
.menu__bar {
  position: sticky; top: 64px; z-index: 5;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem 0; margin-bottom: 2.5rem;
  background: var(--bg);
  box-shadow: 0 18px 18px -12px var(--bg);
  transition: top 0.5s var(--ease);
}
/* follow the nav when it slides away on scroll */
.nav.is-hidden ~ main .menu__bar { top: 0; }
.menu__cats {
  flex: 1; min-width: 0;
  display: flex; gap: 0.5rem;
  overflow-x: auto; scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  padding-right: 2rem;
}
.menu__cats::-webkit-scrollbar { display: none; }
.menu__cat, .menu__filter button {
  flex-shrink: 0;
  padding: 0.65rem 1.2rem; border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim);
  white-space: nowrap;
  transition: color 0.3s, background 0.4s var(--ease), border-color 0.3s;
}
.menu__cat:hover, .menu__filter button:hover { color: var(--ink); border-color: var(--ink-dim); }
.menu__cat.is-active { background: var(--gold); border-color: var(--gold); color: var(--bg); }

.menu__filter { display: flex; gap: 0.4rem; flex-shrink: 0; }
.menu__filter button { display: inline-flex; align-items: center; gap: 0.5rem; }
.menu__filter button.is-active { border-color: var(--gold); color: var(--gold-2); }

/* Indian veg / non-veg mark */
.diet { display: inline-block; width: 13px; height: 13px; border: 1.5px solid; border-radius: 2px; position: relative; flex-shrink: 0; }
.diet::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: currentColor; }
.diet--veg { color: #3fa45b; }
.diet--nonveg { color: #b5432f; }
.diet--nonveg::after {
  inset: auto; left: 50%; top: 50%; transform: translate(-50%, -55%);
  width: 0; height: 0; border-radius: 0; background: none;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-bottom: 6px solid currentColor;
}

.menu__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.menu__visual { position: sticky; top: 150px; }
.menu__img { aspect-ratio: 4 / 5; border-radius: 6px; transition: background-image 0s; }
.menu__img::after { display: none; }
.menu__caption { display: flex; align-items: baseline; gap: 1rem; margin-top: 1.4rem; }
.menu__index { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em; }
.menu__cat-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.menu__note { color: var(--gold-2); font-size: 0.9rem; padding: 1rem 1.2rem; border: 1px dashed rgba(201, 164, 103, 0.35); border-radius: 6px; margin-bottom: 1rem; }
.menu__note:empty { display: none; }
.menu__group { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-dim); padding: 2rem 0 0.4rem; display: flex; align-items: center; gap: 0.7rem; }
.menu__group:first-child { padding-top: 0.5rem; }
.menu__item {
  display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1.5rem; align-items: baseline;
  padding: 1.3rem 0; border-bottom: 1px solid var(--line);
}
.menu__item h4 { font-size: 1.3rem; display: flex; align-items: center; gap: 0.7rem; transition: color 0.3s; }
.menu__item p { grid-column: 1; color: var(--ink-dim); font-size: 0.88rem; max-width: 520px; }
.menu__item .price { color: var(--gold); font-size: 0.95rem; white-space: nowrap; grid-row: 1; grid-column: 2; }
.menu__item:hover h4 { color: var(--gold-2); }
.menu__empty { color: var(--ink-dim); padding: 2rem 0; }

.menu__cta { margin-top: 3.5rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.menu__tax { font-size: 0.8rem; color: var(--ink-dim); }

@media (max-width: 960px) {
  .menu__bar { flex-direction: column; align-items: stretch; gap: 0.7rem; top: 56px; padding: 0.8rem 0; }
}
@media (max-width: 700px) {
  .menu__layout { grid-template-columns: 1fr; }
  .menu__visual { position: relative; top: 0; }
  .menu__img { aspect-ratio: 16 / 10; }
}

/* ---------- Feature ---------- */
.feature {
  position: relative; min-height: 110vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.feature__media { position: absolute; inset: 0; clip-path: inset(18% 22% 18% 22% round 8px); }
.feature__media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13, 11, 9, 0.85) 0%, rgba(13, 11, 9, 0.2) 70%);
  z-index: 1;
}
.feature__content { position: relative; z-index: 2; }
.feature__title { font-size: clamp(2.6rem, 7vw, 6.4rem); max-width: 900px; margin-bottom: 1.8rem; }
.feature__title span { display: block; }
.feature__content > p:last-child { max-width: 440px; color: var(--ink-dim); }

@media (max-width: 760px) {
  /* text sits at the bottom over a vertical fade so it never lands on a bright face */
  .feature { align-items: flex-end; min-height: 100svh; padding-bottom: 14vh; }
  .feature__media::before {
    background: linear-gradient(to top, rgba(13, 11, 9, 0.95) 10%, rgba(13, 11, 9, 0.6) 45%, rgba(13, 11, 9, 0.15) 80%);
  }
  .feature__content > p:last-child { color: var(--ink); opacity: 0.85; }
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 22vw, 320px);
  gap: clamp(12px, 1.6vw, 22px);
}
.g-item { border-radius: var(--radius); }
.g-item--tall { grid-row: span 2; }
.g-item--wide { grid-column: span 2; }

@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g-item--wide { grid-column: span 2; }
}

/* ---------- Events ---------- */
.events { background: var(--bg-2); }
.events__list { list-style: none; border-top: 1px solid var(--line); }
.event {
  position: relative;
  display: grid; grid-template-columns: 140px 1fr 1fr 40px; align-items: center; gap: 2rem;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line);
  isolation: isolate; cursor: pointer;
}
.event::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.event > * { transition: color 0.4s, transform 0.6s var(--ease); }
.event:hover::before { transform: scaleY(1); }
.event:hover > * { color: var(--bg); }
.event:hover h3 { transform: translateX(1rem); }
.event:hover .event__arrow { transform: translateX(-1rem) rotate(-45deg); }
.event__day { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding-left: 1rem; }
.event p { color: var(--ink-dim); }
.event__arrow { font-size: 1.4rem; }

@media (max-width: 760px) {
  .event { grid-template-columns: 1fr auto; gap: 0.4rem 1rem; }
  .event__day { grid-column: 1 / -1; padding-left: 0; }
  .event p { grid-column: 1; }
  .event__arrow { grid-row: 2 / 4; grid-column: 2; }
}

/* ---------- Reviews ---------- */
.reviews { text-align: center; }
.reviews .eyebrow { justify-content: center; }
/* reviews stack in one grid cell, so the slider is as tall as the longest quote */
.reviews__slider { display: grid; max-width: 980px; margin: 0 auto; }
.review {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.review.is-active { opacity: 1; transform: none; pointer-events: auto; }
.review p { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.25; }
.review cite { display: block; margin-top: 2rem; font-style: normal; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.reviews__dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
/* 2px line drawn inside a 32px-tall tap area */
.reviews__dots button { width: 28px; height: 32px; position: relative; transition: width 0.4s var(--ease); }
.reviews__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: var(--line); transition: background 0.3s; }
.reviews__dots button.is-active { width: 48px; }
.reviews__dots button.is-active::before { background: var(--gold); }

/* ---------- Reserve ---------- */
.reserve { background: var(--bg-2); }
.reserve__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.reserve__grid h2 { margin-bottom: 1.8rem; }
.reserve__grid > div > p { color: var(--ink-dim); max-width: 440px; }
.reserve__phone { display: inline-block; margin-top: 2rem; font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gold-2); border-bottom: 1px solid var(--line); }

.reserve__form { display: flex; flex-direction: column; gap: 1.4rem; padding: clamp(24px, 4vw, 48px); background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { position: relative; }
.field input, .field select {
  width: 100%;
  padding: 1.5rem 0 0.6rem;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font: inherit; outline: none;
  color-scheme: dark;
  transition: border-color 0.3s;
}
.field select option { background: var(--bg-3); }
.field input:focus, .field select:focus { border-color: var(--gold); }
.field label {
  position: absolute; left: 0; top: 1.4rem;
  font-size: 0.95rem; color: var(--ink-dim); pointer-events: none;
  transition: all 0.3s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field label.is-fixed {
  top: 0; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.form-note { font-size: 0.85rem; color: var(--gold-2); min-height: 1.2em; }

@media (max-width: 860px) { .reserve__grid { grid-template-columns: 1fr; } }

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.visit__info h2 { margin-bottom: 2rem; }
.visit__info address { font-style: normal; color: var(--ink-dim); font-size: 1.05rem; margin-bottom: 2rem; }
.hours { margin-bottom: 2.4rem; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours div span:first-child { color: var(--ink-dim); }
.visit__map { height: clamp(360px, 40vw, 520px); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9) sepia(0.25); }

@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: clamp(60px, 10vw, 120px) 0 2rem; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { display: flex; justify-content: center; }
.footer__big img { width: min(820px, 88%); height: auto; }
.footer__row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--ink-dim);
}
.footer__social { display: flex; gap: 1.6rem; }
.footer__social a { display: inline-block; padding: 0.7rem 0; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; transition: color 0.3s; }
.footer__social a:hover { color: var(--gold); }

/* ==========================================================
   EVENTS
   ========================================================== */

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }
.nav__links a.is-current { color: var(--ink); }
.nav__links a.is-current::after { transform: scaleX(1); }
@media (max-width: 960px) { .nav__actions { display: none; } }
/* "Events" is already in the links, so drop the extra button where space is tight */
@media (max-width: 1240px) { .nav__actions .btn--ghost { display: none; } }

/* ---------- Event cards ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.event-card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color 0.4s, transform 0.6s var(--ease); }
.event-card:hover { border-color: rgba(201, 164, 103, 0.45); transform: translateY(-6px); }
.event-card__media { position: relative; aspect-ratio: 16 / 11; background: var(--bg-3) center / cover no-repeat; overflow: hidden; }
.event-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 11, 9, 0.6), transparent 50%); }
.event-card__date {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 0.5rem 0.6rem 0.45rem;
  background: rgba(13, 11, 9, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 164, 103, 0.4); border-radius: 8px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); line-height: 1.2;
}
.event-card__date b { font-family: var(--f-display); font-weight: 300; font-size: 1.7rem; letter-spacing: 0; color: var(--ink); line-height: 1; }
.event-card__tag {
  display: inline-block; padding: 0.35rem 0.75rem; border-radius: 100px;
  background: var(--gold); color: var(--bg);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.event-card__tag--muted { background: transparent; color: var(--ink-dim); border: 1px solid var(--line); }
.event-card__media .event-card__tag { position: absolute; right: 14px; bottom: 14px; z-index: 1; }
.event-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.4rem 1.4rem 1.6rem; flex: 1; }
.event-card__meta { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.event-card__body h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.event-card__short { color: var(--ink-dim); font-size: 0.92rem; }
.event-card__more { margin-top: auto; padding-top: 0.8rem; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.event-card__more i { display: inline-block; font-style: normal; transition: transform 0.4s var(--ease); }
.event-card:hover .event-card__more i { transform: translateX(6px); }
.event-card--past { opacity: 0.7; }
.event-card--past .event-card__media { filter: grayscale(0.6); }

/* ---------- Homepage upcoming block ---------- */
.upcoming { margin-bottom: clamp(50px, 7vw, 90px); }
.upcoming__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.upcoming__head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.events__all { margin-top: 3rem; }

/* ---------- Page hero (events list) ---------- */
.page-hero { padding: clamp(140px, 22vh, 220px) 0 clamp(50px, 8vw, 90px); }
.page-hero__title { font-size: clamp(3.2rem, 10vw, 8rem); line-height: 0.95; margin-bottom: 1.6rem; }
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.page-hero__title .line > span { display: inline-block; transform: translateY(110%); }
.page-hero__sub { color: var(--ink-dim); max-width: 520px; font-size: 1.05rem; margin-bottom: 2rem; }

/* ---------- Featured (next) event ---------- */
.event-feature {
  display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color 0.4s;
}
.event-feature:hover { border-color: rgba(201, 164, 103, 0.45); }
.event-feature__media { min-height: clamp(300px, 40vw, 520px); transition: transform 1.2s var(--ease); }
.event-feature:hover .event-feature__media { transform: scale(1.03); }
.event-feature__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; padding: clamp(28px, 4vw, 56px); }
.event-feature__label { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.event-feature__body h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.event-feature__when { color: var(--gold-2); }
.event-feature__short { color: var(--ink-dim); }
.event-feature .btn { margin-top: 0.8rem; }
@media (max-width: 860px) { .event-feature { grid-template-columns: 1fr; } }

.events-past-head { margin: clamp(70px, 9vw, 120px) 0 2rem; }
.events-empty { text-align: center; padding: clamp(50px, 8vw, 100px) 1rem; border: 1px dashed var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.events-empty h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.events-empty p { color: var(--ink-dim); max-width: 480px; }

/* ---------- Event detail ---------- */
.preview-bar { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 120; padding: 0.7rem 1.2rem; border-radius: 100px; background: var(--gold); color: var(--bg); font-size: 0.85rem; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.preview-bar a { text-decoration: underline; margin-left: 0.5rem; }

.event-hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(50px, 9vh, 100px); }
.event-hero__media { position: absolute; inset: -5% 0 0; }
.event-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(13, 11, 9, 0.6) 45%, rgba(13, 11, 9, 0.3) 100%); }
.event-hero__content { position: relative; z-index: 2; }
.event-hero__back { display: inline-block; padding: 0.6rem 0; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1.6rem; transition: color 0.3s; }
.event-hero__back:hover { color: var(--gold-2); }
.event-hero__tags { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; }
.event-hero__title { font-size: clamp(2.8rem, 8vw, 7rem); line-height: 0.98; max-width: 1100px; margin-bottom: 1.2rem; }
.event-hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.event-hero__title .line > span { display: inline-block; transform: translateY(110%); }
.event-hero__when { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--gold-2); margin-bottom: 2rem; }
.event-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.event-detail { padding-top: clamp(40px, 6vw, 80px); }
.event-detail__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.event-detail__body { font-size: 1.05rem; color: var(--ink-dim); }
.event-detail__body p + p { margin-top: 1.2em; }
.event-detail__lead { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--ink); margin-bottom: 1.6rem; }
.event-info { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 0.8rem; padding: clamp(22px, 3vw, 32px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.event-info dl { margin-bottom: 0.8rem; }
.event-info dl div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.event-info dl div:first-child { padding-top: 0; }
.event-info dt { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.event-info dd { font-size: 0.95rem; }
.event-info dd a { display: inline-block; padding: 0.5rem 0; color: var(--gold-2); font-size: 0.85rem; }
@media (max-width: 860px) {
  .event-detail__grid { grid-template-columns: 1fr; }
  .event-info { position: static; }
}

.event-gallery { padding-top: 0; }
.event-gallery__grid { columns: 3 260px; column-gap: clamp(12px, 1.6vw, 20px); }
.event-gallery__item { display: block; margin-bottom: clamp(12px, 1.6vw, 20px); border-radius: 8px; overflow: hidden; break-inside: avoid; }
.event-gallery__item img { width: 100%; height: auto; transition: transform 0.8s var(--ease); }
.event-gallery__item:hover img { transform: scale(1.04); }
.events-more { background: var(--bg-2); }

/* ==========================================================
   BLOG (/blog, /blog/{slug})
   ========================================================== */
.blog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-cats a {
  padding: 0.6rem 1.1rem; border: 1px solid var(--line); border-radius: 100px;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim);
  transition: border-color 0.3s, color 0.3s;
}
.blog-cats a:hover { color: var(--ink); border-color: rgba(201, 164, 103, 0.45); }
.blog-cats a.is-active { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.blog-end { height: clamp(70px, 10vw, 130px); }
.pager { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: clamp(40px, 6vw, 70px); color: var(--ink-dim); font-size: 0.9rem; }

.post-hero { min-height: 72svh; }
.post-hero .event-hero__title { font-size: clamp(2.4rem, 6vw, 5.2rem); }
.post-crumbs a { transition: color 0.3s; }
.post-crumbs a:hover { color: var(--gold-2); }

.post-detail__grid { display: grid; grid-template-columns: minmax(0, 720px) minmax(260px, 340px); justify-content: space-between; gap: clamp(36px, 6vw, 90px); align-items: start; }
.post-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.4rem; }
.post-toc { padding: 0 0 0 1.2rem; border-left: 1px solid var(--line); }
.post-toc__title { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.post-toc ol { list-style: none; display: flex; flex-direction: column; gap: 0.15rem; }
.post-toc a { display: block; padding: 0.35rem 0; font-size: 0.9rem; line-height: 1.4; color: var(--ink-dim); transition: color 0.3s; }
.post-toc a:hover, .post-toc a.is-active { color: var(--gold-2); }
.post-cta__title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 300; line-height: 1.2; }
.post-cta__text { color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 0.4rem; }

/* Article typography */
.prose { font-size: 1.06rem; line-height: 1.8; color: var(--ink-dim); }
.prose > * + * { margin-top: 1.3em; }
.prose .event-detail__lead { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.15; color: var(--ink); margin-top: 2.4em; scroll-margin-top: 100px; }
.prose h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.25; color: var(--ink); margin-top: 1.8em; scroll-margin-top: 100px; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--gold-2); text-decoration: underline; text-decoration-color: rgba(227, 196, 141, 0.4); text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.prose a:hover { text-decoration-color: var(--gold-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { padding: 0.4em 0 0.4em 1.4em; border-left: 2px solid var(--gold); font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.prose figure { margin-top: 2em; margin-bottom: 2em; }
.prose figure img { width: 100%; height: auto; border-radius: 10px; }
.prose figcaption { margin-top: 0.7rem; font-size: 0.85rem; color: var(--ink-dim); text-align: center; }
.prose-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; }
.prose th, .prose td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; background: var(--bg-2); }
.prose td:first-child { color: var(--ink); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }

.post-toc-mobile { display: none; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.post-toc-mobile summary { padding: 1rem 1.2rem; cursor: pointer; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.post-toc-mobile ol { padding: 0 1.2rem 1rem 2.4rem; }
.post-toc-mobile li + li { margin-top: 0; }
.post-toc-mobile a { display: block; padding: 0.45rem 0; font-size: 0.95rem; line-height: 1.4; color: var(--ink-dim); text-decoration: none; }

@media (max-width: 960px) {
  .post-detail__grid { grid-template-columns: minmax(0, 1fr); }
  .post-aside { position: static; }
  .post-toc { display: none; }
  .post-toc-mobile { display: block; }
}
@media (max-width: 560px) {
  .prose { font-size: 1rem; }
  .prose td:first-child { white-space: normal; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1001;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 7, 5, 0.94);
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; border-radius: 6px; object-fit: contain; }
.lightbox button { position: absolute; color: var(--ink); font-size: 2.4rem; line-height: 1; width: 56px; height: 56px; border-radius: 50%; transition: background 0.3s; }
.lightbox button:hover { background: rgba(243, 236, 225, 0.08); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

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