/* ============================================================
   VELVET VIBRANCE — style.css  v2
   "Blood runs velvet gold"
   ============================================================ */

/* Fonts are loaded via <link> in each HTML head — no @import here so the
   stylesheet isn't render-blocked by a duplicate fetch. */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --velvet:       #8B1A1A;
  --velvet-light: #C0392B;
  --gold:         #D4AF37;
  --gold-light:   #F0C842;
  --dark:         #000000;
  --dark-mid:     #0a0505;
  --dark-card:    #0d0606;
  --text-primary: #f5ede0;
  --text-muted:   #9a8070;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-prose:   'EB Garamond', Georgia, 'Times New Roman', serif;
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:   0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
  background: var(--dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.entry-open { overflow: hidden; }
body.nav-open   { overflow: hidden; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(232,181,71,0.4);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fff2b5, var(--gold-light));
}
/* Firefox */
html { scrollbar-color: var(--gold) var(--dark); scrollbar-width: thin; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

/* ════════════════════════════════════════════════════════════
   SIDE RAIL — landing-hero-only navigation.
   Lives inside <section id="hero"> as an absolutely-positioned
   left column so it scrolls out of the viewport naturally with
   the hero image itself. Only rendered on index.html. Other
   pages fall back to the top #nav bar (VV + hamburger, opens
   .nav-overlay for the menu).
════════════════════════════════════════════════════════════ */
#side-rail {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 88px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.1rem 0.6rem 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.55) 100%);
  border-right: 1px solid rgba(232,181,71,0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  width: 100%;
  align-items: center;
}
.rail-link {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,237,224,0.7);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  border-left: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease, letter-spacing 0.3s ease;
}
.rail-link:hover,
.rail-link[aria-current="page"] {
  color: var(--gold);
  letter-spacing: 0.32em;
}
/* Hide rail on narrow viewports — hero has less width to spare
   and the hamburger already covers the menu on mobile. */
@media (max-width: 768px) {
  #side-rail { display: none; }
}

/* On pages WITHOUT a rail (gallery, events, privacy) the top #nav
   is the primary navigation. Force the hamburger visible at every
   viewport width so desktop visitors can open the menu. Uses :has()
   so the rule only applies where no rail exists. */
body:not(:has(#side-rail)) .nav-hamburger { display: flex; }

/* ── Scroll Progress Bar ────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #a67518, var(--gold), var(--gold-light), var(--gold), #a67518);
  box-shadow: 0 0 12px rgba(232,181,71,0.55);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   ENTRY / BACKGROUND-PATHS LOADING SCREEN
════════════════════════════════════════════════════════════ */
#entry-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1s ease;
}

#entry-screen.sweep-out {
  opacity: 0;
  pointer-events: none;
}

/* SVG paths layer — fills the entire entry screen */
.entry-paths-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.entry-paths-layer svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Centered title */
.entry-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 4.8rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.07em;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 60px rgba(160,20,20,0.55);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0 0.18em;
  white-space: nowrap;
}

/* Each letter springs up */
.entry-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: letterSpring 0.7s var(--ease-elastic) forwards;
}

@keyframes letterSpring {
  0%   { opacity: 0; transform: translateY(60px) skewX(-8deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0px) skewX(0deg); }
}

/* Space character between words */
.entry-letter-space {
  display: inline-block;
  width: 0.4em;
}

/* ── Entry Scroll Hint ──────────────────────────────────────── */
.entry-scroll-hint {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  animation: entryHintIn 0.8s ease forwards;
  animation-delay: 1.7s;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.35s ease;
}

.entry-scroll-text {
  font-family: var(--font-body, sans-serif);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.entry-scroll-line {
  width: 1px;
  height: 2.6rem;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.entry-scroll-line::after {
  content: '';
  position: absolute;
  top: -60%;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(220, 30, 30, 0.8));
  animation: entryScrollDrop 1.5s ease-in-out infinite;
  animation-delay: 2.1s;
}

@keyframes entryHintIn {
  to { opacity: 1; }
}

@keyframes entryScrollDrop {
  0%   { top: -60%; opacity: 0; }
  20%  { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* ── Scroll Comet ───────────────────────────────────────────── */
.scroll-comet {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: comet 2.6s var(--ease-out) infinite;
  transform-origin: top center;
}

@keyframes comet {
  0%   { transform: scaleY(0) translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: scaleY(1.6) translateY(20%); }
  80%  { opacity: 1; }
  100% { transform: scaleY(0.2) translateY(100%); opacity: 0; }
}

/* ── Dual-text Button ───────────────────────────────────────── */
.btn-dual {
  position: relative;
  display: inline-block;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.btn-dual .btn-text-top {
  display: block;
  transition: transform 0.5s var(--ease-out);
  white-space: nowrap;
}

.btn-dual .btn-text-bot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-out);
}

.btn-dual:hover .btn-text-top { transform: translateY(-110%); }
.btn-dual:hover .btn-text-bot { transform: translateY(0); }

/* ── Elastic Button ─────────────────────────────────────────── */
.btn-elastic {
  transition: transform 0.35s var(--ease-elastic);
}
.btn-elastic:hover  { transform: scale(1.025); }
.btn-elastic:active { transform: scaleX(0.95) scaleY(0.93); transition-duration: 0.1s; }

/* (enter button removed — replaced by auto-progress loader) */

/* ════════════════════════════════════════════════════════════
   NAV OVERLAY (Full-screen)
════════════════════════════════════════════════════════════ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  pointer-events: none;
  visibility: hidden;
}

.nav-overlay.open {
  pointer-events: all;
  visibility: visible;
}

.nav-overlay-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(2, 0, 0, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 5vw;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-out);
}

.nav-overlay.open .nav-overlay-inner {
  clip-path: inset(0 0 0% 0);
}

.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 4rem;
}

.overlay-link {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.overlay-link span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out), color 0.3s ease;
}

.nav-overlay.open .overlay-link span {
  transform: translateY(0);
}

.overlay-link:nth-child(1) span { transition-delay: 0.08s; }
.overlay-link:nth-child(2) span { transition-delay: 0.15s; }
.overlay-link:nth-child(3) span { transition-delay: 0.22s; }
.overlay-link:nth-child(4) span { transition-delay: 0.29s; }

.overlay-link:hover span {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(212,175,55,0.35);
}

/* Underline draw on hover */
.overlay-link::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--gold);
  width: 0;
  transition: width 0.5s var(--ease-out);
  margin-top: -0.15em;
}

.overlay-link:hover::after { width: 100%; }

.overlay-footer {
  display: flex;
  gap: 2rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.4s, transform 0.5s var(--ease-out) 0.4s;
}

.nav-overlay.open .overlay-footer {
  opacity: 1;
  transform: translateY(0);
}

.overlay-footer a {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out), color 0.25s ease;
}

.nav-overlay.open .overlay-footer a { opacity: 1; transform: translateY(0); }
.nav-overlay.open .overlay-footer a:nth-child(1) { transition-delay: 0.38s; }
.nav-overlay.open .overlay-footer a:nth-child(2) { transition-delay: 0.44s; }
.nav-overlay.open .overlay-footer a:nth-child(3) { transition-delay: 0.50s; }

.overlay-footer a:hover { color: var(--text-primary); }

/* ════════════════════════════════════════════════════════════
   NAVIGATION BAR
════════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition);
}

#nav.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  z-index: 101;
}

.nav-logo:hover { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  position: relative;
  z-index: 101;
  width: 28px;
  height: 28px;
  align-items: flex-end;
  justify-content: center;
}

.ham-line {
  display: block;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.4s var(--ease-out), width 0.3s ease, opacity 0.3s ease;
}

.ham-top { width: 22px; }
.ham-bot { width: 14px; }

.nav-hamburger.open .ham-top {
  width: 22px;
  transform: translateY(3.5px) rotate(45deg);
}

.nav-hamburger.open .ham-bot {
  width: 22px;
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  /* Banner-style: content anchored to the TOP of the frame instead of
     the bottom. Paired with the reversed overlay below to keep the
     text against a dark backdrop. */
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Reversed: darker at top now that the headline is anchored high. */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.22) 55%,
    rgba(0,0,0,0.06) 100%
  );
}

/* second parallax vignette layer */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, transparent 35%, rgba(0,0,0,0.65) 100%);
  will-change: transform;
  pointer-events: none;
}

/* subtle noise texture */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem 3rem calc(88px + 2.5rem);
  max-width: 1200px;
}
/* Once the rail collapses on mobile, reset the left padding. */
@media (max-width: 768px) {
  .hero-content { padding: 3rem 2.5rem; }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

/* Clip-path line reveal for hero headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--text-primary);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.hl-line {
  display: block;
  overflow: hidden;
}

.hl-line span {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: lineReveal 1s var(--ease-out) forwards;
}

.hl-line:nth-child(1) span { animation-delay: 0.35s; }
.hl-line:nth-child(2) span { animation-delay: 0.5s; }
.hl-line:nth-child(3) span { animation-delay: 0.65s; }

@keyframes lineReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,237,224,0.3);
  padding-bottom: 0.3rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
  transition: color var(--transition), border-color var(--transition);
}

.hero-cta:hover { color: var(--gold); border-bottom-color: var(--gold); }

.hero-scroll-cue {
  display: none;
}

/* ════════════════════════════════════════════════════════════
   ABOUT / PHILOSOPHY
════════════════════════════════════════════════════════════ */
#about {
  background: var(--dark-mid);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Row height driven by whichever column is taller — usually the
     text. Removes the previous 48vh floor that was stretching the
     photo far beyond the text. */
  align-items: stretch;
}

.about-text {
  padding: 2rem 3rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  /* Anchor to top and tighten the gap so eyebrow → quote → body
     reads as a single stacked block instead of three floating
     pieces. Between-paragraph spacing lives inside .about-body. */
  justify-content: flex-start;
  gap: 0.55rem;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-quote {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  color: var(--text-primary);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.about-body p {
  font-family: var(--font-prose);
  font-size: clamp(1.25rem, 1.55vw, 1.7rem);
  font-weight: 400;
  color: rgba(245, 237, 224, 0.82);
  letter-spacing: 0.005em;
  line-height: 1.45;
  margin: 0;
}

.about-image {
  overflow: hidden;
}

.about-img-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: saturate(0.85) contrast(1.06);
  transform: scale(1.18);
  transition: transform 0.8s var(--ease-out);
}

.about-image:hover .about-img-inner img { transform: scale(1.04); }

/* ════════════════════════════════════════════════════════════
   PHILOSOPHY / MANIFESTO
════════════════════════════════════════════════════════════ */
.philosophy-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(139,26,26,0.08) 0%, transparent 65%);
}

.philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem 7rem;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  margin-top: 3.5rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.pillar--full {
  grid-column: 1 / -1;
  padding-bottom: 0;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  opacity: 0.6;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.2;
}

.pillar-body {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(245, 237, 224, 0.55);
  line-height: 1.95;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .philosophy-pillars { grid-template-columns: 1fr; }
  .pillar--full { grid-column: 1; }
  .philosophy-inner { padding: 4rem 1.25rem 5rem; }
}

/* ════════════════════════════════════════════════════════════
   SECTION HEADER
════════════════════════════════════════════════════════════ */
.section-header {
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.section-header--padded {
  padding: 2rem 2.5rem 0;
  max-width: unset;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  font-style: italic;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ════════════════════════════════════════════════════════════
   EVENTS
════════════════════════════════════════════════════════════ */
#events {
  padding: 4rem 2.5rem;
  background: var(--dark-mid);
}

.events-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}

@media (max-width: 640px) {
  .events-grid { grid-template-columns: 1fr; gap: 1.1rem; }
}

.events-empty {
  color: var(--text-muted);
  font-family: var(--font-body);
  letter-spacing: 2px;
  font-size: 0.82rem;
  text-align: center;
  grid-column: 1 / -1;
  padding: 4rem 0;
}

/* Event Card — poster-first, info scrimmed over the bottom third.
   Portrait aspect so each card reads like a real gig flyer. */
.event-card {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #0a0505;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(212,175,55,0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  transition: border-color 0.4s ease, box-shadow 0.5s ease, transform 0.5s var(--ease-out);
  opacity: 0;
  transform: translateY(24px);
}

.event-card.card-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out),
              border-color 0.4s ease, box-shadow 0.5s ease;
}

.event-card:hover {
  border-color: rgba(232,181,71,0.55);
  box-shadow: 0 0 40px rgba(232,181,71,0.15), 0 28px 70px rgba(0,0,0,0.6);
  transform: translateY(-4px);
}

/* Poster fills the whole card behind the scrim. */
.event-poster-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.event-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: grab;
  transition: transform 0.8s var(--ease-out), filter 0.8s ease;
  filter: saturate(0.92) brightness(0.92);
}

.event-card:hover .event-poster {
  transform: scale(1.04);
  filter: saturate(1.05) brightness(1);
}

/* Bottom-anchored dark scrim so info stays readable over any poster. */
.event-poster-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.55) 72%, rgba(0,0,0,0.92) 100%);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.7rem 0.85rem;
  transition: opacity 0.35s var(--transition);
  opacity: 0;
}
.event-card:hover .event-poster-overlay { opacity: 1; }

.event-poster-hint {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0,0,0,0.6);
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
  border: 1px solid rgba(232,181,71,0.35);
}

/* Info block sits on top of the scrim, bottom-left of the card. */
.event-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.45) 30%, rgba(0,0,0,0.9) 100%);
}

.event-date {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  margin-bottom: 0.15rem;
}

.event-time {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: rgba(245,237,224,0.7);
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  margin-top: -0.05rem;
}

.event-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text-primary);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
  margin: 0.35rem 0 0.15rem;
}

.event-venue {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(245,237,224,0.82);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.event-tickets {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  padding: 0.55rem 1rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #14090b;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s;
}

.event-tickets:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fff2b5, var(--gold-light));
  box-shadow: 0 8px 20px rgba(232,181,71,0.35), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* ════════════════════════════════════════════════════════════
   GALLERY — Masonry Grid
════════════════════════════════════════════════════════════ */
#gallery {
  background: var(--dark);
  padding-bottom: 2px;
}

.raw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 3px;
}

.rg-item {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  cursor: default;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.rg-item.rg-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Tall / wide variants for masonry feel */
.rg-item.rg-tall  { grid-row: span 2; }
.rg-item.rg-wide  { grid-column: span 2; }

.rg-item img,
.rg-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out), filter 0.8s ease;
  /* start grayscale; gallery-section enter will lift it via JS class */
  filter: grayscale(0.9) saturate(0.4) brightness(0.85);
}

.rg-item:hover img,
.rg-item:hover video {
  transform: scale(1.12);
  filter: grayscale(0) saturate(1.1) brightness(1.05);
}

/* when gallery section is in view, images shift toward colour */
#gallery.gallery-active .rg-item img,
#gallery.gallery-active .rg-item video {
  filter: grayscale(0.2) saturate(0.85) brightness(0.92);
}

/* Overlay with caption */
.rg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  pointer-events: none;
}

.rg-item:hover .rg-overlay { opacity: 1; }

.rg-overlay span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,237,224,0.85);
  transform: translateY(8px);
  transition: transform 0.4s var(--ease-out);
}

.rg-item:hover .rg-overlay span { transform: translateY(0); }

/* ════════════════════════════════════════════════════════════
   PAGE FADE — curtain wipe between internal pages
════════════════════════════════════════════════════════════ */
#page-fade {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.48s ease;
}
#page-fade.active {
  opacity: 1;
  pointer-events: auto;
}

/* ════════════════════════════════════════════════════════════
   JOIN THE FREQUENCY
════════════════════════════════════════════════════════════ */
#join {
  padding: 3rem 2rem;
  background: var(--dark-mid);
}

.join-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.join-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  letter-spacing: -0.02em;
}

.join-headline span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-out);
}

.join-headline.visible span { transform: translateY(0); }
.join-headline.visible span:nth-child(2) { transition-delay: 0.1s; }

.join-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 460px;
  gap: 0;
}

.join-input {
  flex: 1;
  padding: 0.9rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,237,224,0.18);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  outline: none;
  transition: border-color var(--transition);
}

.join-input::placeholder {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.join-input:focus { border-bottom-color: rgba(245,237,224,0.55); }

.join-btn {
  padding: 0.9rem 0 0.9rem 2rem;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: none;
  border-bottom: 1px solid rgba(245,237,224,0.18);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  height: 3rem;
  align-items: flex-end;
}

.join-btn:hover { color: var(--gold-light); }

.join-privacy {
  margin-top: 1.4rem;
  max-width: 42rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: rgba(245,237,224,0.48);
}
.join-privacy a {
  color: rgba(245,237,224,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232,181,71,0.4);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.join-privacy a:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

/* ════════════════════════════════════════════════════════════
   CONTACT / BOOKING PAGE — tabbed form (contact.html)
════════════════════════════════════════════════════════════ */
.contact-section {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem) 5rem;
  background: var(--dark);
}
.contact-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.contact-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid rgba(232,181,71,0.18);
}
.contact-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 1rem 1rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,237,224,0.5);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  margin-bottom: -1px;
}
.contact-tab:hover { color: rgba(245,237,224,0.85); }
.contact-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.contact-form { display: none; }
.contact-form.active { display: block; }

.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.4rem;
}
.cf-field { display: flex; flex-direction: column; }
.cf-full  { grid-column: 1 / -1; }

.cf-field label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,237,224,0.55);
  margin-bottom: 0.5rem;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(232,181,71,0.22);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  width: 100%;
}
.cf-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
  font-family: var(--font-prose);
  font-size: 1.05rem;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0,0,0,0.6);
}
.cf-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.cf-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.cf-submit {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #14090b;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border: none;
  padding: 0.95rem 1.8rem;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s;
}
.cf-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fff2b5, var(--gold-light));
  box-shadow: 0 8px 20px rgba(232,181,71,0.35), inset 0 1px 0 rgba(255,255,255,0.5);
}
.cf-submit:disabled { opacity: 0.55; cursor: wait; }

.cf-status {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(245,237,224,0.75);
  margin: 0;
}
.cf-status.success { color: var(--gold-light); }
.cf-status.error   { color: #ff8a8a; }

@media (max-width: 640px) {
  .cf-grid { grid-template-columns: 1fr; }
  .contact-tab {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    padding: 0.85rem 0.5rem;
  }
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
#footer {
  background: #000;
  padding: 1.4rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-monogram {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.58rem;
  color: rgba(154,128,112,0.45);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-social a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-social a:hover { color: var(--text-primary); }

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(38px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fade-up reveal */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Clip-path line reveal */
.reveal-clip {
  overflow: visible;
}

.reveal-clip > span {
  display: block;
  overflow: hidden;
}

.reveal-clip > span::after {
  content: attr(data-text);
}

/* Using inner transform approach */
.reveal-clip span {
  display: block;
}

/* For about-quote: spans slide up */
.about-quote.reveal-clip span {
  display: block;
  overflow: hidden;
}

.about-quote.reveal-clip span {
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}

.about-quote.reveal-clip.visible span { transform: translateY(0); }
.about-quote.reveal-clip.visible span:nth-child(2) { transition-delay: 0.12s; }

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .raw-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 300px;
  }
  .rg-item.rg-wide { grid-column: span 2; }
  .rg-item.rg-tall { grid-row: span 1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-text  { padding: 3rem 1.5rem; }
  .about-image { height: 38vh; }

  .hero-content { padding: 2rem 1.5rem; }

  #events { padding: 3rem 1.5rem; }

  #join { padding: 3.5rem 1.5rem; }

  .section-header--padded { padding: 2.5rem 1.5rem 0; }

  .raw-grid { grid-auto-rows: 200px; }

  .join-form { flex-direction: column; }
  .join-btn  { padding: 1.2rem 0 0.5rem 0; border-bottom: none; }

  .footer-inner  { flex-direction: column; text-align: center; }
  .footer-left   { justify-content: center; }
  .footer-social { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .raw-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .rg-item.rg-wide,
  .rg-item.rg-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .overlay-link span {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }
}

@media (max-width: 480px) {
  #nav { padding: 1.2rem 1.5rem; }
  .hero-content { padding: 2.5rem 1.5rem; }
  .about-text   { padding: 4rem 1.5rem; }
}

/* ════════════════════════════════════════════════════════════
   WORD-LEVEL STAGGER ANIMATION
════════════════════════════════════════════════════════════ */
.word-split .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.word-split .word-inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px) skewX(-5deg);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.word-split.words-visible .word-inner {
  opacity: 1;
  transform: translateY(0) skewX(0deg);
}

/* ════════════════════════════════════════════════════════════
   SECTION DEPTH-OF-FIELD BLUR
════════════════════════════════════════════════════════════ */
.section-dof {
  transition: filter 0.7s ease, opacity 0.7s ease;
}

.section-dof.dof-blur {
  filter: blur(3px) brightness(0.65);
  opacity: 0.75;
}

/* ════════════════════════════════════════════════════════════
   JOIN — VV WATERMARK
════════════════════════════════════════════════════════════ */
#join {
  position: relative;
}

.join-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.join-watermark span {
  font-family: var(--font-display);
  font-size: clamp(14rem, 35vw, 32rem);
  font-weight: 900;
  font-style: italic;
  color: var(--gold);
  opacity: 0.028;
  letter-spacing: -0.06em;
  line-height: 1;
  user-select: none;
}

.join-inner { position: relative; z-index: 1; }

/* Input underline flash on focus */
.join-input:focus {
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 var(--gold);
}

/* ════════════════════════════════════════════════════════════
   FOOTER SOCIAL — ARROW REVEAL
════════════════════════════════════════════════════════════ */
.footer-social a {
  position: relative;
  padding-left: 0;
  transition: color var(--transition), padding-left 0.35s var(--ease-out);
}

.footer-social a::before {
  content: '→ ';
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
  color: var(--gold);
}

.footer-social a:hover {
  color: var(--text-primary);
  padding-left: 1.3em;
}

.footer-social a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ════════════════════════════════════════════════════════════
   3D DEPTH LAYER
════════════════════════════════════════════════════════════ */

/* Hero gets perspective so layered children can sit on a Z axis */
#hero {
  perspective: 1400px;
  perspective-origin: 50% 40%;
}
.hero-bg,
.hero-vignette,
.hero-content {
  transform-style: preserve-3d;
  will-change: transform;
}
/* Generic mouse-tilt target (gallery only) */
.tilt-3d {
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
  will-change: transform;
}
.tilt-3d-wrap {
  perspective: 1100px;
}

.rg-item.tilt-3d:hover {
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 18px 30px -12px rgba(0, 0, 0, 0.35);
}

/* Section depth on reveal: subtle rotateX prelude */
.reveal-up {
  transform: translateY(36px) perspective(1200px) rotateX(6deg);
  transform-origin: 50% 100%;
}
.reveal-up.visible {
  transform: translateY(0) perspective(1200px) rotateX(0deg);
}
.reveal-right {
  transform: translateX(50px) perspective(1200px) rotateY(-8deg);
  transform-origin: 100% 50%;
}
.reveal-right.visible {
  transform: translateX(0) perspective(1200px) rotateY(0deg);
}

/* Nav links + CTA depth lift */
.nav-links {
  perspective: 600px;
}
.nav-links a {
  display: inline-block;
  transform-style: preserve-3d;
  transition: color var(--transition), transform 0.35s var(--ease-out), text-shadow 0.35s ease;
}
.nav-links a:hover {
  transform: translateZ(14px) translateY(-1px);
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.hero-cta {
  transform-style: preserve-3d;
  transition: color var(--transition), border-color var(--transition),
              transform 0.45s var(--ease-out), text-shadow 0.45s ease;
}
.hero-cta:hover {
  transform: translateZ(18px) translateY(-2px);
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .tilt-3d,
  .reveal-up,
  .reveal-right {
    animation: none !important;
    transform: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   ABOUT — FEATURE IMAGE TUNING (portrait letterboxed source)
════════════════════════════════════════════════════════════ */
.about-img-inner img.about-img-feature {
  object-position: 38% 52%;
  transform: scale(1.32);
  filter: saturate(0.92) contrast(1.08);
}
.about-image:hover .about-img-inner img.about-img-feature { transform: scale(1.22); }

/* ════════════════════════════════════════════════════════════
   GALLERY TEASER (links to gallery.html)
════════════════════════════════════════════════════════════ */
#gallery-teaser { position: relative; isolation: isolate; }
.gt-link {
  position: relative;
  display: block;
  height: 48vh;
  min-height: 360px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.gt-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(0.6) saturate(0.85) contrast(1.05) brightness(0.55);
  transform: scale(1.08);
  transition: transform 1.4s var(--ease-out), filter 1.2s var(--ease-out);
  z-index: 0;
}
.gt-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(139,26,26,0.22) 0%, transparent 55%),
    linear-gradient(180deg, rgba(8,5,5,0.55) 0%, rgba(8,5,5,0.25) 45%, rgba(8,5,5,0.85) 100%);
  z-index: 1;
}
.gt-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  gap: 1.4rem;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  max-width: 980px;
}
.gt-body {
  font-family: var(--font-prose);
  font-size: 1.25rem; font-weight: 400;
  font-style: italic;
  color: rgba(245, 237, 224, 0.82);
  letter-spacing: 0.01em; line-height: 1.5;
  max-width: 38rem;
}
.gt-cta {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold);
  padding: 0.9rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  transition: letter-spacing 0.5s var(--ease-out), color 0.4s var(--ease-out);
}
.gt-link:hover .gt-bg { transform: scale(1.14); filter: grayscale(0.2) saturate(1) contrast(1.08) brightness(0.65); }
.gt-link:hover .gt-cta { letter-spacing: 0.5em; color: #f3d56b; }

/* ════════════════════════════════════════════════════════════
   GALLERY PAGE (gallery.html) — IMMERSIVE LAYOUT
════════════════════════════════════════════════════════════ */
.gallery-page { background: var(--bg); }
.gallery-hero {
  position: relative;
  min-height: 44vh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 6rem);
  overflow: hidden;
  background: #0a0505;
  text-align: center;
}
/* Legacy red gradient — only when the hero has NO slideshow. Pages
   that use the new .has-slideshow variant get an image sequence
   underneath the text instead of the flat red panel. */
.gallery-hero:not(.has-slideshow)::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(139,26,26,0.55) 0%, transparent 65%),
              linear-gradient(180deg, #2a0707 0%, #3a0a0a 55%, var(--bg) 100%);
  z-index: 0;
}
/* Light scrim so the hero H1 stays legible over any photo in the
   slideshow, but the images still read clearly through. */
.gallery-hero.has-slideshow::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.35) 90%),
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── Hero slideshow ──
   Container fills the .gallery-hero. Each .hero-slide is absolutely
   positioned and cross-fades. JS in script.js reads the container's
   data-photos attribute, creates one slide per photo, and rotates
   .active every ~6s. */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0505;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  filter: saturate(0.9);
}
.hero-slide.active { opacity: 1; }
/* Text layer needs to be above scrim (z-index 1). */
.gallery-hero.has-slideshow .gallery-hero-inner { z-index: 2; }
.gallery-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.gallery-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0.6rem 0 1.4rem;
  padding-bottom: 0.12em;
  color: var(--text-primary);
}
/* Sentence-length hero titles (like Book: "Bring the house vibes...")
   need to size WAY down from the 8rem short-title default so they
   don't blow past the viewport. Applied via .hero-sentence class
   rather than :has(br) so it works in every browser. */
.gallery-hero h1.hero-sentence {
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0.01em;
  max-width: 44rem;
  margin: 0 auto;
  padding-bottom: 0.12em;
}
.gallery-hero h1.hero-sentence em {
  font-weight: 700;
}
.gallery-hero h1 em {
  font-style: italic; font-weight: 700;
  /* All-gold gradient — no red end stop. Was reading too dark red on
     the slideshow pages. */
  background: linear-gradient(180deg, #f5d576 0%, #d19a2a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* Right padding so the italic serif tail (e.g. the P in LINEUP) isn't
     clipped by the inline-block bounding box. */
  padding: 0 0.12em 0.08em 0;
  line-height: 1.15;
}
.gallery-hero p {
  font-family: var(--font-prose);
  font-weight: 400; font-size: 1.25rem;
  font-style: italic;
  letter-spacing: 0.01em; line-height: 1.5;
  color: rgba(245, 237, 224, 0.78);
  max-width: 42rem;
  margin-inline: auto;
}
.gallery-stage {
  padding: clamp(1.2rem, 3vw, 2.4rem) clamp(0.5rem, 2vw, 2rem) 4rem;
  background: #000;
}
/* Uniform square grid — every tile the same size; uploads crop-fit identically */
.mosaic {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: 1fr !important;
  gap: 10px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 10px;
  background: #000;
  column-count: unset !important; /* kill any inherited masonry */
}
.mosaic .rg-item {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 0 !important;            /* belt: padding-bottom trick */
  padding-bottom: 100% !important; /* suspenders: square cell on every browser */
  aspect-ratio: 1 / 1;             /* preferred path on modern browsers */
  margin: 0 !important;
  overflow: hidden;
  cursor: default;
  background: #000;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  break-inside: avoid;
}
.mosaic .rg-item.rg-revealed { opacity: 1; transform: translateY(0); }
.mosaic .rg-item img,
.mosaic .rg-item video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  filter: grayscale(0.75) contrast(1.05) brightness(0.88);
  transition: filter 0.8s var(--ease-out), transform 1.2s var(--ease-out);
  transform: scale(1.01);
}
.mosaic .rg-item:hover img,
.mosaic .rg-item:hover video {
  filter: grayscale(0) contrast(1.1) brightness(1);
  transform: scale(1.03);
}
.mosaic .rg-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, transparent 100%);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.62rem; letter-spacing: 0.36em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.mosaic .rg-item:hover .rg-overlay { opacity: 1; transform: none; }
@media (max-width: 1100px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .mosaic { grid-template-columns: 1fr; gap: 8px; padding: 8px; } }
