:root {
  color-scheme: light dark;
  --black: #0a0a0a;
  --white: #f6f5f2;
  --red: #bd1e2d;
  --red-dark: #85121d;
  --red-glow: rgba(189, 30, 45, 0.22);
  --gray: #b2b0a9;
  --line: rgba(246, 245, 242, 0.14);

  /* High-Craft Dynamic Theme Tokens (Warm Off-White & Deep Carbon Black) */
  --bg-primary: #f6f5f2;
  --bg-secondary: #eceae4;
  --text-primary: #0a0a0a;
  --text-secondary: #5c5a54;
  --line-color: rgba(10, 10, 10, 0.08);
  --card-bg: #ffffff;
  --card-border: rgba(10, 10, 10, 0.11);

  /* Fonts */
  --font-sans: "DM Sans", sans-serif;
  --font-serif: "Bodoni Moda", serif;

  /* Layout & Motion Proportions */
  --max: 1440px;
  --max-zoomed-out: 1320px;
  --header-height: 68px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 180ms;
  --dur-reveal: 520ms;
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-drawer: 30;
  --z-modal: 40;
  --z-toast: 50;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg-primary: #0a0a0a;
  --bg-secondary: #121211;
  --text-primary: #f6f5f2;
  --text-secondary: #9c9a93;
  --line-color: rgba(246, 245, 242, 0.09);
  --card-bg: #141413;
  --card-border: rgba(246, 245, 242, 0.12);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
  scrollbar-gutter: stable;
  background: var(--black) url("/assets/images/hero/alter-ace-hero.jpg") no-repeat center top / cover;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background-color: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s var(--ease-out-quart), color 0.4s var(--ease-out-quart);
}
main, .section, .site-footer {
  max-width: 100%;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: var(--z-toast);
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
}
.skip-link:focus { top: 1rem; }

.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
}

:focus {
  outline: none;
}

:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

:focus-visible {
  outline: none;
}

/* Modals, shells, and containers never show outlines */
dialog,
.member-modal,
.gallery-lightbox,
.member-modal-shell,
.lightbox-shell,
.member-modal-card {
  outline: none !important;
}

/* Pointer/mouse interactions: suppress all focus outlines/rings */
body:not(.is-keyboard-nav) *,
body:not(.is-keyboard-nav) *:focus,
body:not(.is-keyboard-nav) *:focus-visible,
body:not(.is-keyboard-nav) *:active {
  outline: none !important;
}

body:not(.is-keyboard-nav) .member,
body:not(.is-keyboard-nav) .member:focus,
body:not(.is-keyboard-nav) .member:focus-visible,
body:not(.is-keyboard-nav) .member:active {
  border-color: rgba(10, 10, 10, 0.14) !important;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.22) !important;
  outline: none !important;
}

html[data-theme="dark"] body:not(.is-keyboard-nav) .member,
html[data-theme="dark"] body:not(.is-keyboard-nav) .member:focus,
html[data-theme="dark"] body:not(.is-keyboard-nav) .member:focus-visible,
html[data-theme="dark"] body:not(.is-keyboard-nav) .member:active {
  border-color: rgba(246, 245, 242, 0.14) !important;
}

body:not(.is-keyboard-nav) .album-card,
body:not(.is-keyboard-nav) .album-card:focus,
body:not(.is-keyboard-nav) .album-card:focus-visible,
body:not(.is-keyboard-nav) .album-card:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Keyboard Tab Navigation Only: apply red focus indicator */
body.is-keyboard-nav :focus-visible {
  outline: 2px solid var(--red) !important;
  outline-offset: 2px !important;
}

body.is-keyboard-nav .member:focus-visible {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px var(--red), 0 22px 45px rgba(0,0,0,.28) !important;
  outline: none !important;
}

body.is-keyboard-nav .member-cta:focus-visible {
  outline: 2px solid var(--red) !important;
  outline-offset: 2px !important;
}

body.is-keyboard-nav .album-card:focus-visible {
  outline: 2px solid var(--red) !important;
  outline-offset: 2px !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   LOADING OVERLAY (Spinning Alter Ace vinyl)
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-toast);
  /* Reset popover UA styles; keep it rendered so the fade also works without popover support */
  display: grid;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: inherit;
  place-items: center;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* overlay keeps it in the top layer until the fade-out finishes (180ms asymmetric exit) */
  transition: opacity 180ms var(--ease-out-expo), visibility 0s linear 180ms, overlay 180ms allow-discrete;
}
.page-loader::backdrop { background: transparent; }
.page-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 280ms var(--ease-out-expo), visibility 0s linear 0s, overlay 0s allow-discrete;
}
.page-loader-disc {
  position: relative;
  width: clamp(180px, 36vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.65));
  /* See-through spindle hole in the middle */
  -webkit-mask: radial-gradient(circle, transparent 0 11%, #000 calc(11% + 0.5px));
  mask: radial-gradient(circle, transparent 0 11%, #000 calc(11% + 0.5px));
}
.page-loader-vinyl {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  will-change: transform;
  animation: page-loader-spin 1.8s linear infinite;
}
/* Static vinyl sheen + grooves (stay fixed while the label spins, like a real record) */
.page-loader-disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    conic-gradient(from 30deg, transparent 0deg, rgba(255, 255, 255, 0.16) 30deg, transparent 70deg, transparent 180deg, rgba(255, 255, 255, 0.16) 210deg, transparent 250deg),
    repeating-radial-gradient(circle, transparent 0 3px, rgba(255, 255, 255, 0.035) 3px 4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
/* Thin rim around the spindle hole */
.page-loader-disc::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(246, 245, 242, 0.4);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
@keyframes page-loader-spin {
  to { transform: rotate(1turn); }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader-vinyl { animation-duration: 6s; }
}

/* Custom Scrollbar - Masked with dark background */
html {
  scrollbar-color: rgba(246, 245, 242, 0.16) transparent;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(246, 245, 242, 0.16);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(246, 245, 242, 0.32);
}

/* ==========================================================================
   HEADER / TOP MENU BAR
   ========================================================================== */
/* ==========================================================================
   HEADER / TOP MENU BAR (Flush Ceiling -> Dynamic Island on Scroll)
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-sticky);
  isolation: isolate;
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0 max(2.5rem, calc((100vw - var(--max)) / 2));
  color: #FAF9F6;
  border-radius: 0;
  transition:
    inset 340ms var(--ease-out-expo),
    height 340ms var(--ease-out-expo),
    padding 340ms var(--ease-out-expo),
    border-radius 340ms var(--ease-out-expo),
    background-color 340ms var(--ease-out-expo);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: -2px 0 0 0;
  z-index: -1;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid transparent;
  border-bottom-color: rgba(246, 245, 242, 0.09);
  border-radius: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transition:
    inset 340ms var(--ease-out-expo),
    border-color 340ms var(--ease-out-expo),
    box-shadow 340ms var(--ease-out-expo),
    background-color 340ms var(--ease-out-expo);
}

/* Dynamic Island Scrolled State */
.site-header.is-condensed {
  inset: 1rem max(1.75rem, calc((100vw - var(--max-zoomed-out)) / 2)) auto;
  height: 60px;
  padding: 0 2rem;
  border-radius: 32px;
}
.site-header.is-condensed::before {
  inset: 0;
  border-color: rgba(246, 245, 242, 0.2);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.58);
}
.nav-drawer-head { display: none; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  transition: opacity var(--dur-micro) var(--ease-out-expo);
}
.wordmark:hover {
  opacity: 0.88;
}
.wordmark:active {
  opacity: 0.75;
}

.wordmark-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
}

.wordmark span { letter-spacing: -0.02em; }
.wordmark strong { margin-left: -0.06em; color: var(--red); font-style: italic; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav a {
  position: relative;
  padding: .5rem .15rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.78;
  transition: opacity var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

/* Hover Red Line Animation */
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease-out-expo);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: .2rem;
  font-size: .72rem;
  font-weight: 700;
  opacity: 0.85;
}

.language-option {
  appearance: none;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .3rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .5;
  font-weight: 800;
  transition: opacity var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
}

.language-option:hover {
  opacity: .85;
}
.language-option:active {
  transform: scale(0.97);
}

.language-option.is-active {
  color: var(--red);
  opacity: 1;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #FAF9F6;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
}

.theme-toggle:hover {
  color: #0a0a0a;
  background: #FAF9F6;
  border-color: #FAF9F6;
}

.theme-toggle:active {
  transform: scale(0.97);
  opacity: 0.88;
}

.theme-toggle svg { width: 15px; height: 15px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 120ms var(--ease-out-expo);
}
.menu-toggle:active {
  transform: scale(0.97);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ==========================================================================
   HERO SECTION (Codex)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92dvh;
  max-height: 980px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--header-height) + 5rem) 6vw 7dvh;
  color: var(--white);
  background-color: var(--black);
  border-bottom: 1px solid #333;
  touch-action: pan-x pan-y;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(13,13,12,.96) 0%, rgba(13,13,12,.76) 42%, rgba(13,13,12,.22) 100%),
    linear-gradient(0deg, rgba(13,13,12,.92) 0%, rgba(13,13,12,0) 46%);
}
.hero::after {
  content: "A";
  position: absolute;
  z-index: 2;
  right: -2vw;
  bottom: -17dvh;
  color: rgba(255,255,255,.028);
  font-family: var(--font-serif);
  font-size: 50rem;
  font-weight: 900;
  line-height: .8;
  pointer-events: none;
}
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.hero-copy { position: relative; z-index: 3; width: min(780px, 86vw); }
.ace-fan { display: none; }
.fan-card {
  position: absolute;
  inset: 0 auto auto 50%;
  width: 190px;
  aspect-ratio: 5 / 7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid #cbc9c2;
  border-radius: 7px;
  box-shadow: 0 20px 45px rgba(0,0,0,.42);
  transform-origin: 50% 100%;
}
.fan-card b { font-family: var(--font-serif); font-size: 2.1rem; line-height: .75; }
.fan-card i { align-self: center; font-family: Georgia, serif; font-size: 6rem; font-style: normal; line-height: 1; }
.fan-spade { transform: translateX(-50%) rotate(-22deg); }
.fan-heart { color: var(--red); transform: translateX(-50%) rotate(-7deg); }
.fan-club { transform: translateX(-50%) rotate(8deg); }
.fan-diamond { color: var(--red); transform: translateX(-50%) rotate(23deg); }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 10rem;
  font-weight: 900;
  line-height: .7;
  letter-spacing: -0.03em;
}
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { color: var(--red); font-style: italic; transform: translateX(1.1em); }
.hero-intro { max-width: 560px; margin: 2.5rem 0 0; font-size: 1.7rem; letter-spacing: -0.015em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), box-shadow var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
}
.button:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.button:active {
  transform: scale(0.97);
  opacity: 0.92;
}
.button svg { width: 17px; height: 17px; }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: #fff; color: var(--black); }
.button-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.button-ghost:hover { border-color: #fff; background: #fff; color: var(--black); }
.button-dark { background: var(--text-primary); color: var(--bg-primary); }
.button-dark:hover { background: var(--red); color: #fff; }
.hero-image-note { display: none; }
.scroll-cue { position: absolute; z-index: 2; right: 3vw; bottom: 3rem; display: none; }

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: clamp(5rem, 10vw, 9rem) max(4vw, calc((100vw - var(--max)) / 2));
  background-color: var(--bg-primary);
  position: relative;
  z-index: 2;
  transition: background-color 0.4s var(--ease-out-quart), color 0.4s var(--ease-out-quart);
}
.tour,
.section-gallery,
.merch,
.booking,
.contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 750px;
}
.section-heading {
  display: grid;
  grid-template-columns: clamp(55px, 8vw, 110px) 1fr;
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.section-heading > div { min-width: 0; }
.section-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 6.5rem;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.section-number {
  margin: .4rem 0 0;
  font-size: .75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.section-dark { color: var(--white); background: var(--black); }

/* ==========================================================================
   01. NAŠA GLASBA
   ========================================================================== */
.music {
  padding: clamp(6rem, 11vw, 9.5rem) max(2rem, calc((100vw - var(--max-zoomed-out)) / 2));
}
.music .section-heading {
  grid-template-columns: 80px 1fr;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.music .section-heading h2 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.music .section-number {
  color: var(--red);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.music .section-heading .eyebrow {
  color: var(--text-secondary);
}

.release-list { border-top: 1px solid var(--line-color); transition: border-color 0.4s var(--ease-out-quart); }
.release {
  position: relative;
  display: grid;
  grid-template-columns: 60px 80px 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.8rem 1rem;
  border-bottom: 1px solid var(--line-color);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  translate: 0 0;
  scale: 1;
  transition: color var(--dur-micro) var(--ease-out-expo), background-color var(--dur-micro) var(--ease-out-expo), translate 220ms var(--ease-out-expo), scale 220ms var(--ease-out-expo), border-color 0.4s var(--ease-out-quart);
}
.release:active {
  scale: 0.98;
}
.release.is-playing {
  background: rgba(189, 30, 45, 0.07);
  border-color: rgba(189, 30, 45, 0.28);
}
html[data-theme="dark"] .release.is-playing {
  background: rgba(189, 30, 45, 0.14);
  border-color: rgba(189, 30, 45, 0.36);
}
@media (hover: hover) and (pointer: fine) {
  .release:hover {
    color: var(--red);
    background: rgba(189, 30, 45, 0.05);
    translate: 8px 0;
  }
  .release.is-playing:hover {
    background: rgba(189, 30, 45, 0.1);
  }
  .release:active {
    translate: 4px 0;
    scale: 0.98;
  }
  html[data-theme="dark"] .release:hover {
    background: rgba(189, 30, 45, 0.1);
  }
  html[data-theme="dark"] .release.is-playing:hover {
    background: rgba(189, 30, 45, 0.18);
  }
  .release:hover .release-art {
    scale: 1.06;
  }
  .release:hover .release-action {
    opacity: 1;
    color: var(--red);
    translate: 2px -1px;
  }
  .release:hover .release-art-overlay {
    opacity: 1;
  }
}
.release-play-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.release-play-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
body.is-keyboard-nav .release:has(.release-play-trigger:focus-visible) {
  outline: 2px solid var(--red) !important;
  outline-offset: 2px !important;
}
body.is-keyboard-nav .release-play-trigger:focus-visible {
  outline: none !important;
}
.release-index {
  font-size: .8rem;
  font-weight: 800;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  transition: opacity var(--dur-micro) ease;
}
.release-eq {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  width: 18px;
}
.release-eq span {
  display: block;
  width: 3px;
  height: 18px;
  background-color: var(--red);
  border-radius: 2px;
  transform-origin: bottom;
  scale: 1 0.22;
  animation: release-eq-bounce 0.85s ease-in-out infinite alternate;
  @media (prefers-reduced-motion: reduce) {
    animation: none;
    scale: 1 0.6;
  }
}
.release-eq span:nth-child(2) { animation-delay: 0.18s; }
.release-eq span:nth-child(3) { animation-delay: 0.36s; }

@keyframes release-eq-bounce {
  0% { scale: 1 0.22; }
  100% { scale: 1 1; }
}

.release.is-playing .release-index,
.release.is-paused .release-index {
  display: none;
}
.release.is-playing .release-eq,
.release.is-paused .release-eq {
  display: inline-flex;
}
.release.is-paused .release-eq span {
  animation-play-state: paused;
}

.release-art-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: var(--card-bg);
  flex-shrink: 0;
}
html[data-theme="dark"] .release-art-wrap {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.48);
}
.release-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  scale: 1;
  transition: scale 220ms var(--ease-out-expo);
}
.release-art-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-out-expo), background-color var(--dur-micro) var(--ease-out-expo);
  backdrop-filter: blur(1.5px);
}
.release-art-overlay svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.release-art-overlay .release-icon-play,
.release-art-overlay .release-icon-pause {
  display: none;
  align-items: center;
  justify-content: center;
}
.release:not(.is-playing) .release-icon-play,
.release.is-paused .release-icon-play {
  display: flex;
}
.release.is-playing:not(.is-paused) .release-icon-pause {
  display: flex;
}
.release.is-playing .release-art-overlay {
  opacity: 1;
  background: rgba(189, 30, 45, 0.5);
}
.release.is-paused .release-art-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.48);
}

.release-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 0.45rem;
}
progress.release-progress {
  appearance: none;
  border: 0 solid;
  overflow: clip;
  --progress-bar-radius: 2px;
  border-radius: var(--progress-bar-radius);
  height: 3px;
  width: 100%;
  max-width: 320px;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  contain: layout style paint;
  transition: opacity var(--dur-micro) ease;
}
html[data-theme="dark"] progress.release-progress {
  background: rgba(255, 255, 255, 0.12);
}
.release.is-playing progress.release-progress,
.release.is-paused progress.release-progress {
  opacity: 1;
}
progress.release-progress::-webkit-progress-bar {
  background: transparent;
}
progress.release-progress::-webkit-progress-value {
  background: var(--red);
  border-radius: var(--progress-bar-radius);
}
progress.release-progress::-moz-progress-bar {
  background: var(--red);
  border-radius: var(--progress-bar-radius);
}

.release-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.release-name small {
  display: block;
  margin-top: .3rem;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.release-action {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  translate: 0 0;
  transition: opacity var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo), background-color var(--dur-micro) var(--ease-out-expo), translate var(--dur-micro) var(--ease-out-expo);
}
.release-action:hover {
  background: rgba(189, 30, 45, 0.12);
}
.release-action svg { width: 15px; }

/* ==========================================================================
   02. O NAS
   ========================================================================== */
.about {
  padding: clamp(6rem, 11vw, 9.5rem) max(2rem, calc((100vw - var(--max-zoomed-out)) / 2));
}
.about .section-heading {
  grid-template-columns: 80px 1fr;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.about .section-heading h2 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  letter-spacing: -0.03em;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.placeholder-photo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255,255,255,.45);
  background: #141413;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
}
.placeholder-photo::before {
  content: "";
  position: absolute;
  width: 160%;
  height: 1px;
  background: rgba(255,255,255,.28);
  transform: rotate(-24deg);
}
.placeholder-photo span, .member-photo span { position: relative; z-index: 1; }
.about-photo {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141413;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-copy {
  min-width: 0;
}
.about-copy .lead {
  margin: 0;
  max-width: 580px;
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: pretty;
}
.about-copy p:not(.lead) {
  margin-top: 1.25rem;
  max-width: 520px;
  color: var(--gray);
  line-height: 1.7;
  font-size: 0.96rem;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.9rem, 2vw, 1.6rem);
  margin-top: clamp(4.5rem, 7.5vw, 7.5rem);
  background: transparent;
  perspective: 1200px;
}
.member {
  position: relative;
  overflow: visible;
  padding: .55rem .55rem 1.2rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: 8px;
  box-shadow: 0 22px 45px rgba(0,0,0,.22);
  cursor: pointer;
  user-select: none;
  outline: none;
  transform: translate3d(0, 0, 0) rotate(0deg);
  transition: transform 280ms var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo);
}
body.is-keyboard-nav .member:focus-visible {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px var(--red), 0 22px 45px rgba(0,0,0,.28) !important;
  outline: none !important;
}

body.is-keyboard-nav .member-cta:focus-visible {
  outline: 2px solid var(--red) !important;
  outline-offset: 2px !important;
}
/* Invisible hover extension to prevent cursor boundary oscillation (shaking) */
.member::after {
  content: "";
  position: absolute;
  inset: -15px -10px -25px -10px;
  z-index: 0;
  pointer-events: auto;
}
.member:nth-child(1) { translate: 0 10px 0; rotate: -2deg; --hover-unrotate: 2deg; }
.member:nth-child(2) { translate: 0 -8px 0; rotate: 1.2deg; --hover-unrotate: -1.2deg; }
.member:nth-child(3) { translate: 0 4px 0; rotate: -1deg; --hover-unrotate: 1deg; }
.member:nth-child(4) { translate: 0 -4px 0; rotate: 2deg; --hover-unrotate: -2deg; }

.member:active {
  transform: scale(0.98);
  z-index: 6;
}
@media (hover: hover) and (pointer: fine) {
  .member:hover {
    transform: translate3d(0, -12px, 0) rotate(var(--hover-unrotate, 0deg));
    z-index: 6;
  }
  .member:active {
    transform: translate3d(0, -8px, 0) rotate(var(--hover-unrotate, 0deg)) scale(0.98);
    z-index: 6;
  }
}

/* Non-Overlapping Scroll-Driven Parallax & Tilt (Modern Web Guidance: scroll-entry-exit-effects) */
@keyframes scroll-float-card-1 {
  0%   { translate: 0 56px 0; rotate: 2.5deg; scale: 0.96; }
  50%  { translate: 0 10px 0; rotate: -2deg; scale: 1; }
  100% { translate: 0 -34px 0; rotate: -3.8deg; scale: 0.98; }
}
@keyframes scroll-float-card-2 {
  0%   { translate: 0 -24px 0; rotate: -2.2deg; scale: 0.97; }
  50%  { translate: 0 -8px 0; rotate: 1.2deg; scale: 1; }
  100% { translate: 0 32px 0; rotate: 3.2deg; scale: 0.98; }
}
@keyframes scroll-float-card-3 {
  0%   { translate: 0 48px 0; rotate: 2deg; scale: 0.96; }
  50%  { translate: 0 4px 0; rotate: -1deg; scale: 1; }
  100% { translate: 0 -30px 0; rotate: -3deg; scale: 0.98; }
}
@keyframes scroll-float-card-4 {
  0%   { translate: 0 -20px 0; rotate: -2.4deg; scale: 0.97; }
  50%  { translate: 0 -4px 0; rotate: 2deg; scale: 1; }
  100% { translate: 0 36px 0; rotate: 3.8deg; scale: 0.98; }
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) and (animation-range: entry 0% exit 100%) {
    .member-grid {
      view-timeline: --member-scroll block;
    }
    .member:nth-child(1) {
      animation: scroll-float-card-1 linear both;
      animation-timeline: --member-scroll;
      animation-range: entry 5% exit 95%;
    }
    .member:nth-child(2) {
      animation: scroll-float-card-2 linear both;
      animation-timeline: --member-scroll;
      animation-range: entry 5% exit 95%;
    }
    .member:nth-child(3) {
      animation: scroll-float-card-3 linear both;
      animation-timeline: --member-scroll;
      animation-range: entry 5% exit 95%;
    }
    .member:nth-child(4) {
      animation: scroll-float-card-4 linear both;
      animation-timeline: --member-scroll;
      animation-range: entry 5% exit 95%;
    }
  }
}

.member-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--black);
  background: #e5e3dc;
  border: 1px solid #d1cfc8;
  border-radius: 4px;
  font-family: var(--font-serif);
}
.member-card-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 280ms var(--ease-out-expo);
}
.member-photo:has(.member-card-img) .member-initials,
.member-photo:has(.member-card-img) .member-suit {
  display: none;
}
.member-photo:has(.member-card-img) .card-corner {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
}
.member-spade .member-photo:has(.member-card-img) .card-corner,
.member-club .member-photo:has(.member-card-img) .card-corner {
  color: var(--white);
}
.member-heart, .member-diamond,
.member-heart .member-photo, .member-diamond .member-photo { color: var(--red); }
.member-suit {
  position: absolute;
  color: currentColor;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  opacity: .12;
  transition: transform 280ms var(--ease-out-expo), opacity 220ms var(--ease-out-expo);
}
.member-initials {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--white);
  background: var(--black);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 900;
  transition: transform 260ms var(--ease-out-expo);
}
.member-heart .member-initials, .member-diamond .member-initials { background: var(--red); }
.card-corner {
  position: absolute !important;
  z-index: 3 !important;
  left: .75rem;
  top: .65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: currentColor;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: .8;
}
.card-corner small { margin-top: .18rem; font-family: Georgia, serif; font-size: .95rem; }
.card-corner-bottom { inset: auto .75rem .65rem auto; transform: rotate(180deg); }
.member-copy {
  position: relative;
  z-index: 2;
  padding: .85rem .6rem 0;
  color: var(--black);
}
.member h3 { margin: .1rem 0 .25rem; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.05; letter-spacing: -0.02em; }
.member .member-copy > p { margin: 0; color: #55534f; font-size: .75rem; }
.member-cta {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  margin-top: .85rem;
  padding: .52rem .9rem;
  width: 100%;
  color: var(--black);
  background: rgba(10, 10, 10, 0.05);
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: 8px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo),
              border-color var(--dur-micro) var(--ease-out-expo),
              color var(--dur-micro) var(--ease-out-expo),
              box-shadow var(--dur-micro) var(--ease-out-expo),
              transform 120ms var(--ease-out-expo);
}
.member-cta:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(189, 30, 45, 0.3);
  transform: translateY(-1px);
}
.member-cta:active {
  transform: translateY(0) scale(0.97);
}
.member-cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-micro) var(--ease-out-expo);
}
.member-cta:hover svg {
  transform: translate3d(2px, -2px, 0);
}
@media (hover: hover) and (pointer: fine) {
  .member:hover .member-card-img {
    transform: scale(1.04);
  }
  .member:hover .member-suit {
    transform: scale(1.08);
    opacity: .18;
  }
  .member:hover .member-initials {
    transform: scale(1.06);
  }
  .member:hover .member-cta:not(:hover) {
    border-color: rgba(10, 10, 10, 0.24);
  }
}

/* ==========================================================================
   MEMBER MODAL DIALOG (Top-Layer Entry/Exit + Playing-Card Dossier)
   ========================================================================== */
/* Non-invasive modal scroll locking: never set overflow:hidden on html/body to preserve view-timeline */
html.modal-locked,
html:has(.member-modal[open]),
html:has(.gallery-lightbox[open]),
body.modal-locked,
body:has(.member-modal[open]),
body:has(.gallery-lightbox[open]) {
  overscroll-behavior: none !important;
}

/* Invariant root scrollbar dimensions to prevent horizontal layout shift / window snapping */
html.modal-locked,
html:has(.member-modal[open]),
html:has(.gallery-lightbox[open]) {
  scrollbar-color: transparent transparent !important;
}
html.modal-locked::-webkit-scrollbar-thumb,
html:has(.member-modal[open])::-webkit-scrollbar-thumb,
html:has(.gallery-lightbox[open])::-webkit-scrollbar-thumb,
body.modal-locked::-webkit-scrollbar-thumb,
body:has(.member-modal[open])::-webkit-scrollbar-thumb,
body:has(.gallery-lightbox[open])::-webkit-scrollbar-thumb {
  background: transparent !important;
}

dialog:modal {
  overscroll-behavior: contain;
}
dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
}

.member-modal {
  position: fixed;
  inset: 0;
  width: min(860px, calc(100% - 9rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--white);
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transform-origin: center center;
  transform: scale(0.97);
  transition:
    opacity 180ms var(--ease-out-expo),
    transform 180ms var(--ease-out-expo);
  pointer-events: none;
}

.member-modal[open] {
  pointer-events: auto;
}

.member-modal.is-open {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 280ms var(--ease-out-expo),
    transform 280ms var(--ease-out-expo);
}

.member-modal.is-closing {
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 180ms var(--ease-out-expo),
    transform 180ms var(--ease-out-expo);
}

.member-modal::backdrop {
  background-color: rgba(10, 10, 10, 0);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 180ms var(--ease-out-quart);
}

.member-modal.is-open::backdrop {
  background-color: rgba(10, 10, 10, 0.82);
  transition: background-color 280ms var(--ease-out-quart);
}

.member-modal.is-closing::backdrop {
  background-color: rgba(10, 10, 10, 0);
  transition: background-color 180ms var(--ease-out-quart);
}

.member-modal-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  max-height: calc(100dvh - 2rem);
  background: #111110;
  border: 1px solid rgba(246, 245, 242, 0.14);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75);
  overflow: visible;
  box-sizing: border-box;
}

.member-modal-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(246, 245, 242, 0.09);
  border-radius: 16px 16px 0 0;
  background: rgba(10, 10, 10, 0.55);
}

.member-suit-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 245, 242, 0.11);
  border-radius: 999px;
  isolation: isolate;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  max-width: 100%;
}
.member-suit-tabs::-webkit-scrollbar { display: none; }

.member-suit-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0 0.9rem;
  color: rgba(246, 245, 242, 0.65);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out-expo), transform var(--dur-micro) var(--ease-out-expo);
}
.member-suit-tab:hover {
  color: var(--white);
}
.member-suit-tab:active {
  transform: scale(0.97);
}
.member-suit-tab.is-active {
  color: #fff;
}
.member-suit-tabs:not(.has-slider) .member-suit-tab.is-active {
  background: var(--red);
}
.suit-mark {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 0.85rem;
}
.suit-name {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.suit-short {
  display: none;
}
.suit-full {
  display: inline;
}

.member-modal-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(246, 245, 242, 0.16);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
}
.member-modal-close:hover {
  background: var(--red);
  border-color: var(--red);
}
.member-modal-close:active {
  transform: scale(0.97);
  opacity: 0.88;
}
.member-modal-close svg { width: 17px; height: 17px; }

.member-modal-stage {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  perspective: 1200px;
}

.member-modal-card {
  position: relative;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.15);
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  font-family: var(--font-serif);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: color 280ms var(--ease-out-expo);
}
.member-modal-card[data-suit="heart"],
.member-modal-card[data-suit="diamond"] {
  color: var(--red);
}

.member-card-ghost {
  pointer-events: none !important;
  user-select: none !important;
  will-change: transform, opacity;
}

.member-modal-poster {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #e5e3dc;
  border: 1px solid #d1cfc8;
  border-radius: 6px;
  overflow: hidden;
}
.member-modal-poster[hidden] { display: none; }

.member-modal-watermark {
  position: absolute;
  color: currentColor;
  font-family: Georgia, serif;
  font-size: 8.5rem;
  line-height: 1;
  opacity: 0.13;
  pointer-events: none;
}

.member-modal-monogram {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--black);
  border-radius: 50%;
  font-size: 1.65rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: background-color 280ms var(--ease-out-expo);
}
.member-modal-card[data-suit="heart"] .member-modal-monogram,
.member-modal-card[data-suit="diamond"] .member-modal-monogram {
  background: var(--red);
}

.member-modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d1cfc8;
}
.member-modal-photo[hidden] { display: none; }

.member-modal-photo-monogram {
  position: absolute;
  z-index: 3;
  bottom: 1rem;
  left: 1rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(246, 245, 242, 0.25);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  transition: background-color 280ms var(--ease-out-expo);
}
.member-modal-photo-monogram[hidden] { display: none; }
.member-modal-card[data-suit="heart"] .member-modal-photo-monogram,
.member-modal-card[data-suit="diamond"] .member-modal-photo-monogram {
  background: var(--red);
}

.member-modal-card .card-corner {
  left: 1rem;
  top: 0.9rem;
}
.member-modal-card .card-corner-bottom {
  inset: auto 1rem 0.9rem auto;
}

.member-modal-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-width: 0;
}

.member-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray);
}

.member-modal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  background: rgba(189, 30, 45, 0.16);
  border: 1px solid rgba(189, 30, 45, 0.4);
  color: var(--red);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.member-modal-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}

.member-modal-bio {
  margin: 0;
  color: rgba(246, 245, 242, 0.78);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 60ch;
}

.member-modal-section {
  display: grid;
  gap: 0.65rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(246, 245, 242, 0.09);
}

.member-modal-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.member-modal-label svg {
  width: 14px;
  height: 14px;
}

.member-gear-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-gear-list li {
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 245, 242, 0.11);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.member-modal-links {
  padding-top: 0.25rem;
}

.member-personal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0 1.1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(246, 245, 242, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo);
}
.member-personal-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.member-personal-link:active {
  opacity: 0.85;
}
.member-personal-link svg {
  width: 15px;
  height: 15px;
}

.member-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border-top: 1px solid rgba(246, 245, 242, 0.09);
  border-radius: 0 0 16px 16px;
  background: rgba(10, 10, 10, 0.55);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.member-prev,
.member-next {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(246, 245, 242, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
}
.member-prev:hover,
.member-next:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}
.member-prev:active,
.member-next:active {
  transform: scale(0.97);
  opacity: 0.88;
}
.member-prev svg,
.member-next svg {
  width: 17px;
  height: 17px;
}

@media (min-width: 993px) {
  .member-modal-footer {
    justify-content: center;
  }
  .member-prev,
  .member-next {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    margin: 0;
    background: rgba(18, 18, 17, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(246, 245, 242, 0.22);
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    z-index: 10;
  }
  .member-prev {
    right: calc(100% + 1.5rem);
    transform: translateY(-50%);
  }
  .member-next {
    left: calc(100% + 1.5rem);
    transform: translateY(-50%);
  }
  .member-prev svg,
  .member-next svg {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 993px) and (hover: hover) and (pointer: fine) {
  .member-prev:hover,
  .member-next:hover {
    background: rgba(246, 245, 242, 0.16);
    border-color: rgba(246, 245, 242, 0.48);
    transform: translateY(-50%) scale(1.06);
  }
  .member-prev:active {
    transform: translateY(-50%) scale(0.97);
    opacity: 0.88;
  }
  .member-next:active {
    transform: translateY(-50%) scale(0.97);
    opacity: 0.88;
  }
}


/* ==========================================================================
   03. KONCERTI
   ========================================================================== */
.tour-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-color);
  transition: border-color 0.4s var(--ease-out-quart);
}
.tour-list[hidden] {
  display: none;
}
.tour-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: 1.4rem 0.75rem;
  border-bottom: 1px solid var(--line-color);
  border-radius: 8px;
  transition: background-color var(--dur-micro) var(--ease-out-expo),
              transform 220ms var(--ease-out-expo),
              border-color 0.4s var(--ease-out-quart);
}
@media (hover: hover) and (pointer: fine) {
  .tour-item:hover {
    background: rgba(189, 30, 45, 0.05);
    transform: translate3d(6px, 0, 0);
  }
}
.tour-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.45rem;
  background: rgba(189, 30, 45, 0.08);
  border: 1px solid rgba(189, 30, 45, 0.22);
  border-radius: 6px;
  text-align: center;
  min-width: 68px;
}
.tour-day {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.tour-month {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}
.tour-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.tour-venue {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.tour-location {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}
.tour-location svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}
.tour-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tour-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  background: rgba(189, 30, 45, 0.09);
  border: 1px solid rgba(189, 30, 45, 0.3);
}
.tour-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-gpu 2s var(--ease-out-quart) infinite;
}
.empty-state {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-block: 1px solid var(--line-color);
  text-align: center;
  transition: border-color 0.4s var(--ease-out-quart);
}
.pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-gpu 2s var(--ease-out-quart) infinite;
  pointer-events: none;
}
@keyframes pulse-gpu {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3.2); opacity: 0; }
}
.empty-state p { margin: 1.2rem 0; font-size: 2rem; letter-spacing: -0.02em; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity var(--dur-micro) var(--ease-out-expo);
}
.text-link:hover { opacity: 0.8; }
.text-link svg { width: 17px; }
.subsection-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin: 7rem 0 2rem;
  border-bottom: 1px solid var(--line-color);
  transition: border-color 0.4s var(--ease-out-quart);
}
.subsection-heading h3 { margin: 0 0 1rem; font-family: var(--font-serif); font-size: 3.8rem; letter-spacing: -0.03em; }
.subsection-heading p { margin: 0 0 1.25rem; color: var(--text-secondary); }
.gig-archive {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  border-top: 1px solid var(--line-color);
  transition: border-color 0.4s var(--ease-out-quart);
}
.gig-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) auto;
  grid-template-columns: subgrid;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem .75rem;
  border-bottom: 1px solid var(--line-color);
  border-radius: 8px;
  transition: background-color var(--dur-micro) var(--ease-out-expo), transform 220ms var(--ease-out-expo), border-color 0.4s var(--ease-out-quart);
}
@media (hover: hover) and (pointer: fine) {
  .gig-card:hover { background: rgba(189,30,45,.05); transform: translate3d(6px, 0, 0); }
}
.gig-order {
  color: var(--red);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gig-image { aspect-ratio: 4 / 3; color: rgba(255,255,255,.7); }
.gig-photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.gig-image:has(.gig-photo)::before { display: none; }
.gig-card h4 { margin: 0 0 .25rem; font-size: 1.2rem; letter-spacing: -0.015em; }
.gig-card p { margin: 0; color: var(--text-secondary); font-size: .8rem; }
.gig-album-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  margin: 0;
  padding: 0 .9rem;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out-expo), background-color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
  white-space: nowrap;
}
.gig-album-link:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.gig-album-link:active {
  transform: scale(0.97);
  opacity: 0.9;
}
.gig-album-link svg { width: 15px; height: 15px; }

/* ==========================================================================
   04. FOTOGRAFIJE
   ========================================================================== */
.section-gallery {
  color: #fff;
  background: #0a0a0a !important;
  background-image: none !important;
  border-block: 1px solid rgba(246, 245, 242, 0.09);
}
.section-gallery .section-number { color: var(--red); }

/* Animated Pill Bar (GPU-only transform for Gallery Filters & Merch Tabs) */
.tab-slider-pill {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  background: var(--red);
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(189, 30, 45, 0.32);
  z-index: 0;
  pointer-events: none;
  transition: transform 340ms cubic-bezier(0.2, 0.9, 0.3, 1), width 340ms cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform, width;
}

.gallery-filters {
  position: relative;
  display: inline-flex;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  padding: 4px;
  isolation: isolate;
}

.gallery-filter {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 0 1.3rem;
  color: rgba(250, 249, 246, 0.65);
  background: transparent;
  border: 0;
  border-radius: 22px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
}
.gallery-filter:hover { color: #fff; }
.gallery-filter:active { transform: scale(0.97); }
.gallery-filter.is-active {
  color: #fff;
  background: transparent;
}
/* Fallback if JS hasn't initialized slider pill yet */
.gallery-filters:not(.has-slider) .gallery-filter.is-active {
  background: var(--red);
}

.gallery-albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 1.25rem;
  align-items: start;
}
.album-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 0;
  color: #fff;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.album-card[hidden] { display: none; }
.album-card-wide { grid-column: span 2; }
.album-cover {
  position: relative;
  height: clamp(280px, 28vw, 360px);
  width: 100%;
  display: block;
  overflow: hidden;
  background: var(--black);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
  transition: transform 280ms var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo);
}
.album-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Previous setting (v1): scale: 1.18; */
  scale: 1.38;
  filter: brightness(.72) contrast(1.06);
  transition: transform 280ms var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo);
}
.album-cover:has(.album-cover-image)::before { display: none; }
.album-card:active .album-cover {
  transform: scale(0.98);
}
@media (hover: hover) and (pointer: fine) {
  .album-card:hover .album-cover {
    transform: translate3d(0, -5px, 0);
    border-color: rgba(255,255,255,.45);
  }
  .album-card:active .album-cover {
    transform: translate3d(0, -2px, 0) scale(0.98);
  }
  .album-card:hover .album-cover-image {
    transform: scale(1.04);
  }
}

/* Album Cover "Viewport Window" Parallax (Modern Web Guidance: scroll-entry-exit-effects)
   Previous setting (v1): 0% { translate: 0 -8.5% 0; } -> 100% { translate: 0 8.5% 0; } (with scale: 1.18) */
@keyframes album-window-parallax {
  0%   { translate: 0 -17.5% 0; }
  100% { translate: 0 17.5% 0; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) and (animation-range: entry 0% exit 100%) {
    .album-cover {
      view-timeline: --album-window block;
    }
    .album-cover-image {
      animation: album-window-parallax linear both;
      animation-timeline: --album-window;
      animation-range: entry 0% exit 100%;
    }
  }
}
.album-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.48) 100%);
  pointer-events: none;
}
.album-cover-01 { background: #111; }
.album-cover-02 { background: #272725; }
.album-cover-03 { background: #3b3936; }
.album-cover-backstage { background: #171717; }
.album-cover-promo { background: #111; }
.album-info { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.album-info > span:first-child { min-width: 0; display: grid; }
.album-info small, .album-count { font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.album-info strong {
  overflow-wrap: anywhere;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.album-count { flex: none; opacity: .75; font-variant-numeric: tabular-nums; }

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  color: var(--white);
  background: var(--black);
  opacity: 0;
  transform-origin: center center;
  transform: scale(0.97);
  transition: opacity 280ms var(--ease-out-expo), transform 280ms var(--ease-out-expo);
}
.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 280ms var(--ease-out-quart);
}
.gallery-lightbox.is-open {
  opacity: 1;
  transform: scale(1);
}
.gallery-lightbox.is-open::backdrop {
  opacity: 1;
}
.gallery-lightbox.is-closing {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 180ms var(--ease-out-expo), transform 180ms var(--ease-out-expo);
}
.gallery-lightbox.is-closing::backdrop {
  opacity: 0;
  transition: opacity 180ms var(--ease-out-quart);
}
.lightbox-shell {
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.lightbox-close {
  position: fixed;
  z-index: 3;
  top: max(1rem, calc(env(safe-area-inset-top, 0px) + 0.5rem));
  right: max(1rem, calc(env(safe-area-inset-right, 0px) + 0.5rem));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(10,10,10,.78);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
}
.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
}
.lightbox-close:active {
  transform: scale(0.97);
  opacity: 0.88;
}
.lightbox-close svg, .lightbox-controls svg { width: 19px; height: 19px; }
.lightbox-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 4rem 5vw 2rem;
  background: #141413;
  touch-action: pan-y;
}
.lightbox-stage.is-map-view {
  align-items: start;
  place-items: stretch;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 5rem 4vw 2rem;
  touch-action: auto;
}
.lightbox-image {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 190px);
  object-fit: contain;
  transition: opacity 180ms var(--ease-out-expo), filter 220ms var(--ease-out-expo);
}
.lightbox-image.is-loading {
  opacity: 0.4;
  filter: blur(4px);
}
.lightbox-image[hidden], .lightbox-placeholder[hidden] { display: none; }
.lightbox-placeholder {
  width: min(900px, 80vw);
  height: min(64dvh, 650px);
  display: grid;
  place-items: center;
  align-content: center;
  color: #fff;
  background: var(--red);
  border: 1px solid rgba(255,255,255,.25);
}
.lightbox-placeholder span {
  font-family: var(--font-serif);
  font-size: 8rem;
  font-style: italic;
  line-height: .8;
}
.lightbox-placeholder small { margin-top: 1rem; font-weight: 700; }
.lightbox-stage[data-tone="black"] .lightbox-placeholder { background: #101010; }
.lightbox-stage[data-tone="white"] .lightbox-placeholder { color: var(--black); background: var(--white); }
.lightbox-stage[data-tone="gray"] .lightbox-placeholder { background: #4a4844; }
.lightbox-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem max(4vw, calc(env(safe-area-inset-right, 0px) + 1rem)) max(1.2rem, calc(env(safe-area-inset-bottom, 0px) + 0.5rem)) max(4vw, calc(env(safe-area-inset-left, 0px) + 1rem));
  border-top: 1px solid rgba(255,255,255,.14);
}
.lightbox-footer .eyebrow { margin-bottom: .2rem; color: var(--gray); }
.lightbox-footer h2 { margin: 0; font-family: var(--font-serif); font-size: 2rem; letter-spacing: -0.02em; }
.lightbox-photographer {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .28rem 0 0;
  font-size: .78rem;
  color: rgba(244, 241, 234, 0.68);
  letter-spacing: 0.03em;
}
.lightbox-photographer[hidden] { display: none; }
.lightbox-photographer-link {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  color: rgba(244, 241, 234, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.28);
  padding-bottom: 1px;
  transition: color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo);
}
.lightbox-photographer-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.lightbox-photographer-link:hover,
.lightbox-photographer-link:focus-visible {
  color: var(--red);
  border-color: var(--red);
}
.lightbox-counter { font-size: .78rem; font-variant-numeric: tabular-nums; }
.lightbox-controls { display: flex; gap: .5rem; }
.lightbox-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
}
.lightbox-controls button:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}
.lightbox-controls button:active {
  transform: scale(0.97);
  opacity: 0.88;
}
.lightbox-map { width: min(1400px, 100%); margin: 0 auto; }
.lightbox-map[hidden] { display: none; }
.lightbox-folder-bar {
  display: flex;
  gap: .75rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: .4rem;
}
.lightbox-folder {
  flex: 0 0 auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .9rem;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
}
.lightbox-folder:hover {
  border-color: rgba(255, 255, 255, 0.4);
}
.lightbox-folder:active {
  transform: scale(0.97);
  opacity: 0.88;
}
.lightbox-folder.is-active { background: var(--red); border-color: var(--red); }
.lightbox-folder svg { width: 16px; height: 16px; }
.lightbox-folder small { opacity: .7; font-variant-numeric: tabular-nums; }
.lightbox-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .7rem;
}
.lightbox-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: #101010;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo);
}
.lightbox-thumb:active {
  transform: scale(0.98);
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms var(--ease-out-expo);
}
@media (hover: hover) and (pointer: fine) {
  .lightbox-thumb:hover {
    border-color: rgba(255,255,255,.65);
    transform: translate3d(0, -3px, 0);
  }
  .lightbox-thumb:hover img {
    transform: scale(1.05);
  }
}
.lightbox-thumb span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-serif);
  font-size: 2rem;
}

/* ==========================================================================
   05. MERCH SECTION
   ========================================================================== */
.merch {
  padding: clamp(6rem, 11vw, 9.5rem) max(2rem, calc((100vw - var(--max-zoomed-out)) / 2));
}
.merch .section-heading {
  grid-template-columns: 80px 1fr;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.merch .section-heading h2 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.merch .section-number {
  color: var(--red);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.merch .section-heading .eyebrow {
  color: var(--text-secondary);
}

.merch-showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.merch-viewer {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: border-color 0.4s var(--ease-out-quart), background-color 0.4s var(--ease-out-quart);
}

.merch-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.5rem;
  padding: 2rem;
}
.merch-panel[hidden] { display: none; }

.merch-panel > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.merch-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.merch-panel > .merch-image {
  width: min(480px, 92%);
  height: auto;
  max-height: 72dvh;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.shirt-mockup {
  width: min(340px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0a0a0a;
  clip-path: polygon(20% 3%, 37% 12%, 63% 12%, 80% 3%, 98% 22%, 82% 39%, 77% 98%, 23% 98%, 18% 39%, 2% 22%);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}

.shirt-mockup > span {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-style: italic;
  font-weight: 900;
  line-height: .8;
  text-align: center;
}
.shirt-mockup strong { color: var(--red); }
.shirt-back > span { font-size: 1.8rem; font-style: normal; line-height: 1.3; }
.shirt-back > span::first-line { color: var(--red); }

.merch-panel-worn {
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  align-content: stretch;
}
.worn-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255,255,255,.35);
  background: #141414;
  border-radius: 8px;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
}
.worn-photo-main { grid-row: span 2; background: #1a1a1a; }
.worn-photo span { max-width: 140px; text-align: center; }

.merch-details h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.merch-details > p:not(.eyebrow):not(.merch-status) {
  max-width: 480px;
  margin: 1.5rem 0 2rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
}

.merch-details .eyebrow {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.6rem;
}

.merch-tabs {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 4px;
  isolation: isolate;
  transition: background-color 0.4s var(--ease-out-quart), border-color 0.4s var(--ease-out-quart);
}

.merch-tab {
  position: relative;
  z-index: 1;
  min-height: 36px;
  padding: 0 1.2rem;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: 18px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out-expo), transform var(--dur-micro) var(--ease-out-expo);
}
.merch-tab:hover { color: var(--text-primary); }
.merch-tab:active { transform: scale(0.97); }
.merch-tab.is-active {
  color: #fff;
  background: transparent;
}
.merch-tabs:not(.has-slider) .merch-tab.is-active {
  background: var(--red);
}

.merch-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 1.5rem 0 0;
  color: var(--red);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.merch-status > span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ==========================================================================
   BOOKING SECTION ("Pripeljite Alter Ace na svoj oder")
   ========================================================================== */
.booking {
  padding: clamp(6rem, 11vw, 9.5rem) max(2rem, calc((100vw - var(--max-zoomed-out)) / 2));
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.booking-copy .eyebrow {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.6rem;
}

.booking h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.booking-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 1.5rem 0 2rem;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.65;
}

.booking-details {
  border-top: 1px solid rgba(246, 245, 242, 0.11);
}

.booking-details div {
  display: grid;
  gap: .3rem;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(246, 245, 242, 0.11);
  border-radius: 8px;
  transition: background-color var(--dur-micro) var(--ease-out-expo), transform 220ms var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .booking-details div:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translate3d(8px, 0, 0);
  }
}

.booking-details span {
  color: var(--red);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.booking-details p, .booking-details a {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  transition: color var(--dur-micro) var(--ease-out-expo);
}

.booking-details a:hover {
  color: var(--red);
}

/* ==========================================================================
   06. KONTAKT SECTION
   ========================================================================== */
.contact {
  padding: clamp(6rem, 11vw, 9.5rem) max(2rem, calc((100vw - var(--max-zoomed-out)) / 2));
}
.contact .section-heading {
  grid-template-columns: 80px 1fr;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.contact .section-heading h2 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.contact .section-number {
  color: var(--red);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.contact .section-heading .eyebrow {
  color: var(--text-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(3rem, 6vw, 6rem);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color var(--dur-micro) var(--ease-out-expo);
}

.contact-form label:focus-within {
  color: var(--red);
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  outline: none;
  background: var(--bg-secondary);
  color: var(--text-primary);
  resize: vertical;
  transition: border-color var(--dur-micro) var(--ease-out-expo), background-color var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo);
}

.contact-form input:focus, .contact-form textarea:focus {
  background: var(--card-bg);
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.contact-form input:user-invalid,
.contact-form textarea:user-invalid,
.contact-form input.user-invalid-fallback,
.contact-form textarea.user-invalid-fallback {
  border-color: var(--red);
  background-color: rgba(189, 30, 45, 0.06);
}

.contact-form input:user-valid,
.contact-form textarea:user-valid {
  border-color: rgba(34, 197, 94, 0.45);
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.contact-form .button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 30px;
  padding: 0 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out-expo), background-color var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-submit-btn .spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-spin 0.8s var(--ease-out-quart) infinite;
  display: inline-block;
}

@keyframes contact-spin {
  to { transform: rotate(360deg); }
}

.contact-feedback {
  flex: 1 1 100%;
  font-size: 0.86rem;
  line-height: 1.45;
  border-radius: 10px;
  transition: opacity var(--dur-micro) var(--ease-out-expo), transform var(--dur-micro) var(--ease-out-expo);
}

.contact-feedback:empty {
  display: none;
}

.contact-feedback.is-success {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

html[data-theme="dark"] .contact-feedback.is-success {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.35);
}

.contact-feedback.is-error {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  color: var(--red);
  background: rgba(189, 30, 45, 0.1);
  border: 1px solid rgba(189, 30, 45, 0.3);
}

.contact-feedback svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Direct Email Box & Copy Button */
.direct-email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 1.35rem;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: border-color 0.4s var(--ease-out-quart), background-color 0.4s var(--ease-out-quart);
}

.direct-email-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.direct-email-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.direct-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--dur-micro) var(--ease-out-expo);
  word-break: break-all;
}

.direct-email-link:hover {
  color: var(--red);
}

.direct-email-link svg {
  width: 17px;
  height: 17px;
  color: var(--red);
  flex-shrink: 0;
}

.button-copy-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo), transform 120ms var(--ease-out-expo);
  white-space: nowrap;
}

.button-copy-email:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button-copy-email:active {
  transform: scale(0.97);
  opacity: 0.9;
}

.button-copy-email.is-copied {
  color: #fff;
  background: #15803d;
  border-color: #15803d;
}

.button-copy-email svg {
  width: 15px;
  height: 15px;
}

.social-block {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-color);
  transition: border-color 0.4s var(--ease-out-quart);
}

.social-block p {
  color: var(--text-secondary);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.5rem 0.5rem 0.5rem;
  margin: 0;
}

.social-block a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem .8rem;
  border-bottom: 1px solid var(--line-color);
  border-radius: 10px;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  transition: transform 220ms var(--ease-out-expo), background-color var(--dur-micro) var(--ease-out-expo), color var(--dur-micro) var(--ease-out-expo), border-color 0.4s var(--ease-out-quart);
}

.social-block a:active {
  transform: scale(0.98);
}

.social-block svg { width: 18px; height: 18px; transition: transform 220ms var(--ease-out-expo); }

@media (hover: hover) and (pointer: fine) {
  .social-block a:hover {
    background: var(--bg-secondary);
    color: var(--red);
    transform: translate3d(8px, 0, 0);
  }
  html[data-theme="dark"] .social-block a:hover {
    background: rgba(255, 255, 255, 0.03);
  }
  .social-block a:hover svg {
    transform: rotate(45deg) scale(1.1);
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem 4vw;
  color: var(--white);
  background: var(--black);
}
.footer-wordmark { font-size: 1.4rem; }
.site-footer p { color: var(--gray); font-size: .75rem; font-variant-numeric: tabular-nums; }
.back-top {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color var(--dur-micro) var(--ease-out-expo), opacity var(--dur-micro) var(--ease-out-expo);
}
.back-top:hover {
  color: var(--red);
  opacity: 0.85;
}
.back-top svg { width: 16px; }

/* ==========================================================================
   CHOREOGRAPHED ENTRANCE & STAGGERED REVEALS (Web-Craft 60/120fps)
   ========================================================================== */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-copy > * {
  animation: reveal-up var(--dur-reveal) var(--ease-out-expo) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 40ms; }
.hero-copy > *:nth-child(2) { animation-delay: 95ms; }
.hero-copy > *:nth-child(3) { animation-delay: 150ms; }
.hero-copy > *:nth-child(4) { animation-delay: 205ms; }

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity var(--dur-reveal) var(--ease-out-expo),
    transform var(--dur-reveal) var(--ease-out-expo);
  transition-delay: calc(var(--stagger-index, 0) * 50ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Preserve member cards hover responsiveness once revealed */
.member[data-reveal].is-revealed:active {
  transform: scale(0.98);
  transition-delay: 0ms;
}
@media (hover: hover) and (pointer: fine) {
  .member[data-reveal].is-revealed:hover {
    transform: translate3d(0, -12px, 0) rotate(var(--hover-unrotate, 0deg));
    transition-delay: 0ms;
  }
  .member[data-reveal].is-revealed:active {
    transform: translate3d(0, -8px, 0) rotate(var(--hover-unrotate, 0deg)) scale(0.98);
    transition-delay: 0ms;
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .site-header {
    inset: 0 0 auto 0;
    padding: 0 1.5rem;
    gap: 1rem;
    border-radius: 0;
  }
  .site-header.is-condensed {
    inset: 0.85rem 1rem auto;
    padding: 0 1.25rem;
    border-radius: 32px;
  }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: 0.72rem; }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto auto;
    gap: 0.65rem;
  }
  .wordmark {
    grid-column: 1;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 0;
  }
  .language-switch { grid-column: 3; }
  .theme-toggle { grid-column: 4; }
  .menu-toggle {
    display: inline-flex;
    grid-column: 5;
    color: #FAF9F6;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease-out-expo);
  }
  body.menu-open::before {
    opacity: 1;
    pointer-events: auto;
  }
  body.menu-open .site-header {
    z-index: 100;
    pointer-events: none;
  }
  body.menu-open .site-nav {
    pointer-events: auto;
  }
  .site-header > :not(.site-nav) {
    transition: translate 240ms var(--ease-out-expo), opacity 220ms var(--ease-out-expo);
  }
  .site-header::before {
    transition: translate 240ms var(--ease-out-expo), border-color 240ms var(--ease-out-expo), box-shadow 240ms var(--ease-out-expo), opacity 220ms var(--ease-out-expo);
  }
  body.menu-open .site-header::before,
  body.menu-open .site-header > :not(.site-nav) {
    opacity: 0;
    pointer-events: none;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: clamp(270px, 72vw, 360px);
    height: 100dvh;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: max(0.75rem, env(safe-area-inset-top)) max(1.75rem, calc(env(safe-area-inset-right) + 1rem)) 2.5rem 1.75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #0a0a0a;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.65);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    z-index: 102;
    transition: transform .35s var(--ease-out-expo), visibility .35s;
  }
  .site-nav.is-visible { display: flex; }
  .site-nav.is-open {
    display: flex;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin-bottom: 1.25rem;
  }
  .nav-drawer-close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -0.25rem;
    color: #FAF9F6;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 120ms var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo), background-color var(--dur-micro) var(--ease-out-expo);
  }
  .nav-drawer-close:hover { border-color: var(--red); background: rgba(189, 30, 45, 0.16); }
  .nav-drawer-close:active { transform: scale(0.97); }
  .nav-drawer-close svg { width: 20px; height: 20px; }
  .site-nav .nav-drawer-logo {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    border: 0;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 900;
    color: #FAF9F6;
  }
  .site-nav .nav-drawer-logo strong {
    color: var(--red);
    font-style: italic;
  }
  .nav-drawer-logo img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
  }
  .site-nav a:not(.nav-drawer-logo) {
    width: 100%;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 6.8vw, 2.3rem);
    line-height: 1.1;
    text-transform: none;
    letter-spacing: -0.02em;
    color: #FAF9F6;
    transition: color var(--dur-micro) var(--ease-out-expo), transform var(--dur-micro) var(--ease-out-expo);
  }
  .site-nav a:not(.nav-drawer-logo):hover,
  .site-nav a:not(.nav-drawer-logo):active {
    color: var(--red);
    transform: translate3d(8px, 0, 0);
  }
  .site-nav a::after { display: none; }

  .hero { min-height: 88dvh; }
  .hero h1 { font-size: 6rem; }
  .hero-intro { font-size: 1.35rem; }
  .section-heading h2 { font-size: 4.2rem; }
  .release-name { font-size: 2rem; }
  .about-copy { order: -1; }
  .about-copy .lead { font-size: 1.35rem; line-height: 1.45; }
  .subsection-heading h3 { font-size: 2.8rem; }
  .merch-showcase, .about-layout, .booking, .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
  }
  .member-grid {
    --carousel-gutter: clamp(2.4rem, calc(var(--section-pad-x, 1.25rem) + 8.5vw), 6.5rem);
    display: flex;
    gap: 1.15rem;
    margin-inline: calc(-1 * var(--section-pad-x, 1.25rem));
    padding: 1.5rem var(--carousel-gutter) 2.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--carousel-gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .member-grid::-webkit-scrollbar { display: none; }
  .member,
  .member:nth-child(1),
  .member:nth-child(2),
  .member:nth-child(3),
  .member:nth-child(4) {
    flex: 0 0 min(74vw, 270px);
    scroll-snap-align: start;
    translate: 0 0 0;
    rotate: 0deg;
  }
  .member::after { display: none; }
  .member-photo { aspect-ratio: 3 / 4; }
  .gallery-albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-details { margin-top: 1rem; }
  .about { --section-pad-x: 2rem; }
  .member-modal-stage {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.35rem;
  }
}

@media (max-width: 768px) {
  .member-modal {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
  }
  .member-modal-shell {
    max-height: calc(100dvh - 1rem);
    border-radius: 14px;
  }
  .member-modal-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.15rem;
  }
  .member-modal-card {
    flex: none;
    width: min(210px, 56vw);
    aspect-ratio: 3 / 4;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 60px;
  }
  .site-header {
    inset: 0 0 auto 0;
    height: calc(env(safe-area-inset-top, 0px) + 54px);
    padding: env(safe-area-inset-top, 0px) 1rem 0;
    border-radius: 0;
    gap: 0.35rem;
  }
  .site-header.is-condensed {
    inset: calc(env(safe-area-inset-top, 0px) + 0.65rem) 0.65rem auto;
    height: 52px;
    padding: 0 0.85rem;
    border-radius: 32px;
  }
  .wordmark {
    font-size: clamp(1.12rem, 4vw, 1.25rem);
    gap: .45rem;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 0;
  }
  .wordmark-logo { width: 30px; height: 30px; }
  .theme-toggle { width: 40px; height: 40px; }
  .menu-toggle { width: 40px; height: 40px; }
  .language-switch { gap: .1rem; }
  .site-nav {
    width: clamp(250px, 78vw, 320px);
    padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) 1.35rem 2rem;
  }
  .site-nav a:not(.nav-drawer-logo) {
    padding: .75rem 0;
    font-size: clamp(1.55rem, 6.5vw, 2.05rem);
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 0.25rem;
  }
  .site-header.is-condensed {
    inset: calc(env(safe-area-inset-top, 0px) + 0.5rem) 0.5rem auto;
    padding: 0 0.65rem;
  }
  .wordmark {
    font-size: 1.08rem;
    gap: 0.35rem;
  }
  .wordmark-logo {
    width: 26px;
    height: 26px;
  }
  .theme-toggle,
  .menu-toggle {
    width: 36px;
    height: 36px;
  }
  .theme-toggle svg,
  .menu-toggle svg {
    width: 18px;
    height: 18px;
  }
  .language-switch {
    font-size: 0.7rem;
  }
}

  .hero { min-height: 86dvh; padding-right: 1.25rem; padding-left: 1.25rem; }
  .ace-fan { top: 14%; bottom: auto; right: 1rem; width: 170px; height: 155px; }
  .fan-card { width: 92px; padding: .5rem; border-radius: 5px; }
  .fan-card b { font-size: 1.15rem; }
  .fan-card i { font-size: 2.8rem; }
  .hero h1 { font-size: 4.65rem; }
  .hero h1 strong { transform: translateX(1.3rem); }
  .hero-intro { font-size: 1.15rem; }
  .about-copy .lead { font-size: 1.15rem; }

  .section, .music, .about, .merch, .booking, .contact {
    --section-pad-x: 1.25rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
  .section-heading,
  .music .section-heading,
  .about .section-heading,
  .merch .section-heading,
  .contact .section-heading {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .section-heading h2 { font-size: 2.65rem; }
  .photos .section-heading h2 { font-size: 2.35rem; }

  .release { grid-template-columns: 30px 64px minmax(0, 1fr); gap: .8rem; padding: 1.2rem 0.5rem; }
  .release-art-wrap { width: 64px; height: 64px; border-radius: 6px; }
  .release-action { grid-column: 3; }
  .release-name { font-size: 1.35rem; }

  .about-photo { min-height: 0; }
  .member-photo { aspect-ratio: 3 / 4; }

  .member-modal {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
  }
  .member-modal-shell {
    max-height: calc(100dvh - 1rem);
    border-radius: 14px;
  }
  .member-modal-header {
    border-radius: 14px 14px 0 0;
    padding: 0.75rem 0.85rem;
    gap: 0.5rem;
  }
  .suit-short {
    display: inline;
  }
  .suit-full {
    display: none;
  }
  .member-suit-tab {
    padding: 0 0.55rem;
    min-height: 32px;
    font-size: 0.68rem;
    gap: 0.25rem;
  }
  .member-modal-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.15rem;
  }
  .member-modal-card {
    flex: none;
    width: min(210px, 56vw);
    aspect-ratio: 3 / 4;
    margin-inline: auto;
  }
  .member-modal-footer {
    border-radius: 0 0 14px 14px;
    padding: 0.65rem 0.65rem;
    gap: 0.35rem;
  }
  .member-prev,
  .member-next {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .member-prev svg,
  .member-next svg {
    width: 14px;
    height: 14px;
  }

  .tour-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.2rem 0;
  }
  .tour-date-box {
    min-width: 54px;
    padding: 0.4rem 0.2rem;
  }
  .tour-day {
    font-size: 1.45rem;
  }
  .tour-month {
    font-size: 0.6rem;
  }
  .tour-venue {
    font-size: 1.2rem;
  }
  .tour-action {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.2rem;
  }

  .gig-archive { grid-template-columns: max-content minmax(0, 1fr); }
  .gig-card { grid-template-columns: 112px minmax(0, 1fr); grid-template-columns: subgrid; gap: .9rem; padding: 1rem 0; }
  .gig-album-link { grid-column: 2; justify-self: start; }
  .gig-order { font-size: 1.15rem; }
  .subsection-heading { align-items: start; flex-direction: column; gap: 0; }
  .subsection-heading h3 { font-size: 2rem; }

  .gallery-filters { width: 100%; overflow-x: auto; }
  .gallery-filter { flex: 1 0 auto; padding: 0 0.8rem; font-size: 0.68rem; }
  .gallery-albums { grid-template-columns: minmax(0, 1fr); }
  .album-card-wide { grid-column: auto; }
  .album-cover { height: clamp(230px, 58vw, 320px); min-height: unset; }

  .lightbox-stage { padding: 4.5rem 1rem 1rem; }
  .lightbox-stage.is-map-view { padding: 4.5rem 1rem 1rem; }
  .lightbox-placeholder { width: 100%; height: 55dvh; }
  .lightbox-placeholder span { font-size: 5rem; }
  .lightbox-footer { grid-template-columns: 1fr auto; gap: .75rem; padding: 1rem; }
  .lightbox-footer h2 { font-size: 1.4rem; }
  .lightbox-photographer { font-size: .72rem; margin-top: .18rem; }
  .lightbox-counter { grid-column: 1; margin: 0; }
  .lightbox-controls { grid-column: 2; grid-row: 1 / span 2; }
  .lightbox-thumb-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .lightbox-folder { min-height: 42px; padding: 0 .75rem; }

  .merch-viewer { min-height: 400px; }
  .merch-panel { padding: 1rem; }
  .shirt-mockup { width: min(280px, 90%); }
  .shirt-mockup > span { font-size: 2.5rem; }
  .shirt-back > span { font-size: 1.5rem; }
  .merch-panel-worn { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr .6fr; }
  .worn-photo-main { grid-column: span 2; grid-row: auto; }
  .merch-details h3 { font-size: 2.2rem; }
  .merch-tabs { width: 100%; }
  .merch-tab { flex: 1; padding: 0 .4rem; font-size: 0.68rem; }

  .booking h2 { font-size: 2.2rem; }
  .direct-email-box { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .button-copy-email { justify-content: center; width: 100%; }
  .social-block a { font-size: 1.4rem; padding: 1rem 0.5rem; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { grid-row: 2; }
}

/* Landscape phones: compact header + notch-safe side padding (sections now paint edge-to-edge via viewport-fit=cover) */
@media (orientation: landscape) and (max-height: 500px) {
  :root {
    --header-height: 50px;
  }
  .site-header {
    inset: 0 0 auto 0;
    height: 48px;
    padding: 0 max(1.25rem, calc(env(safe-area-inset-right, 0px) + 1rem)) 0 max(1.25rem, calc(env(safe-area-inset-left, 0px) + 1rem));
    border-radius: 0;
    gap: 0.6rem;
  }
  .site-header.is-condensed {
    inset: 0.45rem max(0.75rem, calc(env(safe-area-inset-right, 0px) + 0.5rem)) auto max(0.75rem, calc(env(safe-area-inset-left, 0px) + 0.5rem));
    height: 44px;
    padding: 0 1rem;
    border-radius: 28px;
  }
  .wordmark { font-size: 1.18rem; gap: .45rem; }
  .wordmark-logo { width: 30px; height: 30px; }
  .theme-toggle { width: 44px; height: 44px; }
  .menu-toggle { width: 44px; height: 44px; }
  .menu-toggle svg { width: 20px; height: 20px; }
  .language-switch { gap: .1rem; }
  .site-nav a:not(.nav-drawer-logo) { padding: .5rem 0; font-size: 1.45rem; }
  .nav-drawer-head { min-height: 44px; margin-bottom: .5rem; }

  #main > section,
  .site-footer {
    --section-pad-x: max(2rem, calc(env(safe-area-inset-left, 0px) + 1rem));
    padding-left: var(--section-pad-x);
    padding-right: max(2rem, calc(env(safe-area-inset-right, 0px) + 1rem));
  }
  .member,
  .member:nth-child(1),
  .member:nth-child(2),
  .member:nth-child(3),
  .member:nth-child(4) {
    flex-basis: min(34vw, 240px);
  }
}

@property --animation-reduced {
  syntax: "*";
  inherits: false;
  initial-value: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse::after,
  .contact-submit-btn .spinner {
    animation: none !important;
    opacity: 0.5;
  }
  [data-reveal],
  .member,
  .release,
  .album-card,
  .lightbox-image {
    opacity: 1 !important;
    transform: none !important;
    translate: 0 0 !important;
    scale: 1 !important;
    transition-duration: 150ms !important;
    transition-delay: 0ms !important;
  }
}
