:root {
  --bg: #0b0b0c;
  --panel: #101114;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f2f2f3;
  --muted: #b1b2b7;
  --accent: #d7b46a;
  --accent-soft: rgba(215, 180, 106, 0.2);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --max: 76rem;
  --section: 7.25rem;
  --beat: 0;
  --header-height: 5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-content: center;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  --preloader-to-x: 0px;
  --preloader-to-y: 0px;
  --preloader-to-scale: 0.18;
}

.preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 2;
  opacity: 1;
  animation: preloaderBlackToJog 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}

.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at center, #17191f 0%, #0a0a0c 65%);
  opacity: 1;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.preloader-cdj {
  z-index: 1;
  width: min(72vw, 30rem);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, #0e1117 0 12%, #2c313d 12% 16%, #0b0c10 16% 28%, #181d27 28% 44%, #0b0c0f 44% 55%, #11141b 55% 68%, #090a0d 68% 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 10px rgba(255, 255, 255, 0.02),
    0 32px 65px rgba(0, 0, 0, 0.58);
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 0;
  filter: blur(10px);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
  will-change: transform, opacity;
  animation: jogFadeIn 0.62s ease 0.18s forwards, cdjZoomIn 2s linear both;
}

.preloader-cdj.preloader-cdj-ready {
  transform: translate3d(0, 0, 0) scale(1.1);
  opacity: 1;
  filter: blur(0);
}

.preloader-cdj::before {
  content: "";
  position: absolute;
  inset: -1.8%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(248, 250, 255, 0.72) 0deg 0.85deg,
      rgba(27, 30, 37, 0.98) 0.85deg 2deg,
      rgba(8, 9, 12, 0.94) 2deg 4deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 90.5%, #000 90.5% 100%);
  mask: radial-gradient(circle, transparent 0 90.5%, #000 90.5% 100%);
  opacity: 1;
  pointer-events: none;
}

.preloader-cdj::after {
  content: "";
  position: absolute;
  inset: -0.7%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.preloader-jog {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.055) 0 1px, rgba(255, 255, 255, 0) 1px 6px),
    radial-gradient(circle at 50% 50%, #10131a 0%, #08090c 68%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  animation: jogSpin 2s linear both;
}

.preloader.is-exiting .preloader-cdj {
  transform: translate3d(var(--preloader-to-x), var(--preloader-to-y), 0) scale(var(--preloader-to-scale));
  opacity: 0.08;
}

.preloader.is-exiting {
  pointer-events: none;
}

.preloader.is-exiting::after {
  opacity: 0;
}

@keyframes preloaderBlackToJog {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes jogFadeIn {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.preloader-jog::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  opacity: 0.6;
}

.preloader-jog::after {
  content: "";
  position: absolute;
  inset: -3.7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 4%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 67% 7%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 82% 16%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 93% 31%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 96% 50%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 93% 69%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 82% 84%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 67% 93%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 50% 96%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 33% 93%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 18% 84%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 7% 69%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 4% 50%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 7% 31%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 18% 16%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 33% 7%, rgba(0, 0, 0, 0.92) 0 2.45%, rgba(0, 0, 0, 0) 4.9%),
    radial-gradient(circle at 50.9% 3.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 67.9% 6.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 82.9% 15.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 93.9% 30.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 96.9% 49.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 93.9% 68.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 82.9% 83.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 67.9% 92.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 50.9% 95.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 33.9% 92.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 18.9% 83.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 7.9% 68.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 4.9% 49.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 7.9% 30.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 18.9% 15.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    radial-gradient(circle at 33.9% 6.1%, rgba(255, 255, 255, 0.42) 0 1.35%, rgba(255, 255, 255, 0) 2.9%),
    repeating-conic-gradient(
      from 0deg,
      rgba(6, 7, 10, 0.98) 0deg 0.95deg,
      rgba(255, 255, 255, 0.55) 0.95deg 1.42deg,
      rgba(22, 24, 31, 0.98) 1.42deg 2.5deg,
      rgba(255, 255, 255, 0.08) 2.5deg 3.15deg,
      rgba(10, 11, 14, 0.98) 3.15deg 5.4deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 88.4%, #000 88.4% 100%);
  mask: radial-gradient(circle, transparent 0 88.4%, #000 88.4% 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.78),
    inset 0 0 16px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.preloader-jog-core {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #303546 0%, #151922 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.preloader-jog-core span {
  text-align: center;
  font-size: clamp(0.9rem, 2.4vw, 1.3rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e2e5eb;
  font-weight: 800;
}

body.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
}

@keyframes jogSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes cdjZoomIn {
  0% { transform: translate3d(0, 0, 0) scale(0.78); }
  100% { transform: translate3d(0, 0, 0) scale(1.1); }
}

.club-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  opacity: calc(0.34 + (var(--beat) * 0.28));
  filter: saturate(calc(1 + (var(--beat) * 0.4)));
}

.ambient,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient {
  z-index: -2;
  background:
    radial-gradient(70rem 32rem at 15% -10%, rgba(215, 180, 106, calc(0.15 + var(--beat) * 0.2)), transparent 60%),
    radial-gradient(52rem 28rem at 85% 0%, rgba(126, 97, 49, calc(0.2 + var(--beat) * 0.14)), transparent 72%),
    linear-gradient(180deg, #121317 0%, #09090b 100%);
}

.grain {
  z-index: -1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.beams {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.beam {
  position: absolute;
  top: -10%;
  width: 7.5rem;
  height: 120%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(215, 180, 106, 0.01) 24%,
    rgba(215, 180, 106, 0.05) 50%,
    rgba(215, 180, 106, 0.01) 76%,
    transparent 100%
  );
  animation-duration: 22s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.beam-1 { animation-name: beamSweep1; }
.beam-2 { animation-name: beamSweep2; }
.beam-3 { animation-name: beamSweep3; }
.beam-4 { animation-name: beamSweep4; }

/* Spotlight souris (poursuite) - blanc froid, bords nets - derrière le contenu cliquable */
.cursor-spotlight {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    circle 22rem at var(--spotlight-x) var(--spotlight-y),
    rgba(235, 242, 255, 0.32) 0%,
    rgba(220, 228, 245, 0.2) 44%,
    transparent 50%
  );
}

.cursor-spotlight.is-active {
  opacity: 0.55;
}

/* Bande millimétrée gauche (mètre déroulé) */
.page-ruler {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  z-index: 0;
  pointer-events: none;
}

.page-ruler-track {
  position: absolute;
  inset: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.page-ruler-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-ruler-marks--short {
  left: 0;
  width: 2px;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.14) 3px,
    rgba(255, 255, 255, 0.14) 4px
  );
}

.page-ruler-marks--long {
  left: 0;
  width: 6px;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 19px,
    rgba(255, 255, 255, 0.22) 19px,
    rgba(255, 255, 255, 0.22) 21px
  );
}

@keyframes beamSweep1 {
  0% { transform: translateX(-12rem) rotate(-11deg); opacity: 0; }
  3% { opacity: 0.55; }
  22% { transform: translateX(calc(100vw + 12rem)) rotate(-11deg); opacity: 0.55; }
  26% { opacity: 0; }
  100% { transform: translateX(calc(100vw + 12rem)) rotate(-11deg); opacity: 0; }
}

@keyframes beamSweep2 {
  0%, 4% { transform: translateX(calc(100vw + 12rem)) rotate(8deg); opacity: 0; }
  8% { opacity: 0.45; }
  38% { transform: translateX(-12rem) rotate(8deg); opacity: 0.45; }
  42% { opacity: 0; }
  100% { transform: translateX(-12rem) rotate(8deg); opacity: 0; }
}

@keyframes beamSweep3 {
  0%, 48% { transform: translateX(-12rem) rotate(-6deg); opacity: 0; }
  52% { opacity: 0.5; }
  72% { transform: translateX(calc(100vw + 12rem)) rotate(-6deg); opacity: 0.5; }
  76% { opacity: 0; }
  100% { transform: translateX(calc(100vw + 12rem)) rotate(-6deg); opacity: 0; }
}

@keyframes beamSweep4 {
  0%, 50% { transform: translateX(calc(100vw + 12rem)) rotate(14deg); opacity: 0; }
  54% { opacity: 0.42; }
  84% { transform: translateX(-12rem) rotate(14deg); opacity: 0.42; }
  88% { opacity: 0; }
  100% { transform: translateX(-12rem) rotate(14deg); opacity: 0; }
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header,
main,
.footer,
.floating-actions {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-loaded .header,
body.is-loaded main,
body.is-loaded .footer,
body.is-loaded .floating-actions {
  opacity: 1;
}

body.is-preloader-exiting .header,
body.is-preloader-exiting main,
body.is-preloader-exiting .footer,
body.is-preloader-exiting .floating-actions {
  opacity: 1;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -10rem;
  left: 1rem;
  z-index: 100;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  border-radius: 0.6rem;
  text-decoration: none;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  top: 1rem;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 0.21rem 0;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(0.34rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.nav-list {
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  display: flex;
  gap: 0.15rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.nav {
  position: relative;
}

.nav-list a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 0.78rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-list a.active {
  color: var(--text);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
}

.nav-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateX(0);
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

/* --- Mètre à ruban --- */
.nav--ruler .nav-ruler {
  --ruler-glow-left: 0%;
  --ruler-glow-width: 25%;
  width: 100%;
  min-width: 32rem;
  max-width: 52rem;
}

.nav-ruler-track {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 2.85rem;
  padding: 0 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-ruler-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

/* Marques courtes : 2px de hauteur */
.nav-ruler-marks--short::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.14) 3px,
    rgba(255, 255, 255, 0.14) 4px
  );
}

.nav-ruler-marks--short::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.14) 3px,
    rgba(255, 255, 255, 0.14) 4px
  );
}

/* Marques longues tous les 5 : 6px de hauteur */
.nav-ruler-marks--long::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 19px,
    rgba(255, 255, 255, 0.22) 19px,
    rgba(255, 255, 255, 0.22) 21px
  );
}

.nav-ruler-marks--long::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 19px,
    rgba(255, 255, 255, 0.22) 19px,
    rgba(255, 255, 255, 0.22) 21px
  );
}

.nav-ruler-glow {
  position: absolute;
  top: 0.18rem;
  bottom: 0.18rem;
  left: var(--ruler-glow-left);
  width: var(--ruler-glow-width);
  border-radius: 0.2rem;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(215, 180, 106, 0.08) 0%,
    rgba(215, 180, 106, 0.18) 50%,
    rgba(215, 180, 106, 0.08) 100%
  );
  box-shadow: 0 0 20px rgba(215, 180, 106, 0.2);
  border: 1px solid rgba(215, 180, 106, 0.2);
  transition: left 0.12s ease-out, width 0.12s ease-out;
}

.nav-ruler-ticks {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  margin: 0;
  padding: 0;
}

.nav-ruler-tick {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.4rem 0.25rem;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
  min-width: 0;
}

.nav-ruler-tick:hover,
.nav-ruler-tick:focus-visible {
  color: var(--text);
}

.nav-ruler-tick.active {
  color: var(--accent);
}

.nav-ruler-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

main {
  padding-top: 4.4rem;
}

.sections-ruler-wrap {
  position: relative;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100vh;
  padding: 5.4rem 1.25rem 4rem;
  display: grid;
  gap: 2.25rem;
  align-content: center;
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-content {
  max-width: 42rem;
  position: relative;
  z-index: 3;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-lead {
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #dddfe4;
  max-width: 33rem;
}

.hero-sub {
  margin: 0.8rem 0 1.7rem;
  color: var(--muted);
  max-width: 33rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--bg);
  padding: 0 1.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
  z-index: 5;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background: var(--accent);
  color: #1a1a1b;
}

.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.glitch-text::before {
  color: rgba(255, 64, 64, 0.62);
  animation: glitchLayerA 6.5s steps(2, end) infinite;
}

.glitch-text::after {
  color: rgba(90, 160, 255, 0.66);
  animation: glitchLayerB 6.5s steps(2, end) infinite reverse;
}

@keyframes glitchLayerA {
  0%, 93%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  94% { opacity: 0.9; transform: translate(-0.03em, 0.01em); clip-path: inset(68% 0 8% 0); }
  95% { opacity: 0.85; transform: translate(-0.08em, -0.02em); clip-path: inset(25% 0 52% 0); }
  96% { opacity: 0.35; transform: translate(-0.01em, 0); clip-path: inset(0 0 0 0); }
}

@keyframes glitchLayerB {
  0%, 93%, 100% { opacity: 0; transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  94% { opacity: 0.9; transform: translate(0.04em, -0.01em); clip-path: inset(60% 0 12% 0); }
  95% { opacity: 0.8; transform: translate(0.09em, 0.02em); clip-path: inset(15% 0 66% 0); }
  96% { opacity: 0.35; transform: translate(0.01em, 0); clip-path: inset(0 0 0 0); }
}

@keyframes ctaGlitch {
  0% { filter: none; }
  33% { filter: hue-rotate(8deg) contrast(1.08); transform: translateX(-0.5px); }
  66% { filter: hue-rotate(-8deg) contrast(1.1); transform: translateX(0.5px); }
  100% { filter: none; transform: translateX(0); }
}

.hero-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  align-self: end;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(16, 17, 20, 0.55);
  position: relative;
  z-index: 3;
}

.hero-fact {
  font-size: 0.86rem;
  color: #d0d2d8;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-fact i {
  color: var(--accent);
  font-size: 0.78rem;
  width: 0.9rem;
  text-align: center;
}

.hero-fact:last-child {
  border-bottom: 0;
}

.ambient-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
}

.ambient-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.08) brightness(0.78);
  -webkit-mask-image: radial-gradient(ellipse 84% 78% at center, #000 44%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 78% at center, #000 44%, transparent 100%);
}

.ambient-photo.is-missing {
  display: none;
}

.section-inner {
  position: relative;
  overflow: hidden;
}

.section-photo {
  top: 50%;
  width: clamp(10rem, 18vw, 14rem);
  aspect-ratio: 1 / 1;
  opacity: 0.427;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.section-photo--right {
  right: -2rem;
  transform: translateY(-50%) rotate(5deg);
}

.section-photo--left {
  left: -2rem;
  transform: translateY(-50%) rotate(-5deg);
}

.section-photo img {
  filter: grayscale(1) contrast(1.12) brightness(0.79);
  -webkit-mask-image: radial-gradient(circle at center, #000 46%, transparent 100%);
  mask-image: radial-gradient(circle at center, #000 46%, transparent 100%);
}

.section-num,
.section-title,
.section-text,
.formats-grid,
.signature-tags,
.contact-grid {
  position: relative;
  z-index: 2;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(1.2rem);
  animation: heroIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-kicker.hero-reveal {
  animation-delay: 0.1s;
}

.hero-title.hero-reveal {
  animation-delay: 0.2s;
}

.hero-lead.hero-reveal {
  animation-delay: 0.35s;
}

.hero-sub.hero-reveal {
  animation-delay: 0.48s;
}

.hero-cta.hero-reveal {
  animation-delay: 0.55s;
}

.hero-fact.hero-reveal:nth-child(1) {
  animation-delay: 0.35s;
}

.hero-fact.hero-reveal:nth-child(2) {
  animation-delay: 0.47s;
}

.hero-fact.hero-reveal:nth-child(3) {
  animation-delay: 0.58s;
}

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

.section {
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: var(--header-height);
}

.section-inner {
  max-width: 58rem;
  margin: 0 auto;
  padding: var(--section) 1.25rem;
}

.section-num {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
}

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-text {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: var(--muted);
}

.formats-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.format-card {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(16, 17, 20, 0.52);
  padding: 1.15rem 1rem;
}

.format-card h3 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.format-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.signature-tags {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.signature-tags span {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.38rem 0.8rem;
  font-size: 0.78rem;
  color: #dbdde2;
  background: rgba(255, 255, 255, 0.02);
}

.signature-media {
  margin-top: 1.35rem;
}

.signature-media-title {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9ccd3;
  font-weight: 700;
}

.signature-video-wrap {
  position: relative;
  width: min(100%, 28rem);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #090a0c;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
}

.signature-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(16, 17, 20, 0.58);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.contact-card .section-text {
  margin: 0;
  max-width: none;
  font-size: 0.95rem;
}

.booking-cta {
  align-self: flex-start;
  margin-top: 0.1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-row--full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #0f1013;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  padding: 0.72rem 0.78rem;
  font-family: inherit;
  font-size: 0.92rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid transparent;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.btn-submit {
  grid-column: 1 / -1;
  min-height: 2.8rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--accent);
  color: #1a1a1a;
}

.contact-aside {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(16, 17, 20, 0.58);
  padding: 1.1rem;
}

.aside-mail {
  margin: 0;
  font-weight: 600;
}

.aside-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.social-links {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.social-links a {
  text-decoration: none;
  color: #d5d7dd;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.social-links a i {
  color: var(--accent);
  width: 0.9rem;
  text-align: center;
  font-size: 0.82rem;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--text);
}

.reveal-el {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-el.in-view {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 2.2rem;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
}

.footer-brand,
.footer-mail {
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-brand {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.footer-meta,
.footer-mail,
.footer-legal {
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-legal {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

@media (max-width: 1100px) {
  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-legal {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0.35rem;
  }
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  gap: 0.55rem;
  justify-items: end;
}

.sticky-booking {
  min-height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(215, 180, 106, 0.46);
  background: rgba(9, 10, 14, 0.84);
  color: #dfc383;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.sticky-booking:hover,
.sticky-booking:focus-visible {
  background: rgba(20, 22, 28, 0.92);
}

.sticky-booking.is-hidden {
  opacity: 0;
  transform: translateY(0.6rem);
  pointer-events: none;
}

.sticky-booking {
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4.8rem;
  }

  .formats-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-photo {
    width: clamp(7.5rem, 31vw, 10.5rem);
    opacity: 0.33;
  }

  .section-photo--right {
    right: -3.2rem;
  }

  .section-photo--left {
    left: -3.2rem;
  }
}

@media (max-width: 760px) {
  .page-ruler {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 18rem);
    background: #0d0e11;
    border-left: 1px solid var(--line-soft);
    transform: translateX(100%);
    transition: transform 0.23s ease;
    padding: 5.2rem 1.3rem 2rem;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav--ruler .nav-ruler {
    min-width: 0;
    max-width: none;
  }

  .nav-ruler-track {
    flex-direction: column;
    min-height: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-ruler-glow,
  .nav-ruler-marks {
    display: none;
  }

  .nav-ruler-ticks {
    flex-direction: column;
    gap: 0.4rem;
  }

  .nav-ruler-tick {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    min-height: 2.2rem;
  }

  .nav-ruler-tick.active {
    text-shadow: 0 0 0.4rem rgba(255, 255, 255, 0.22);
  }

  .nav-list {
    flex-direction: column;
    gap: 0.4rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .nav-list a {
    justify-content: flex-start;
    min-height: 1.8rem;
    padding: 0;
    border-radius: 0;
  }

  .nav-list a.active {
    color: var(--text);
    text-shadow: 0 0 0.4rem rgba(255, 255, 255, 0.22);
  }

  .nav-slider {
    display: none;
  }

  .section-inner {
    padding-top: 5.2rem;
    padding-bottom: 5.2rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .booking-cta {
    width: 100%;
  }

  .footer-inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-legal {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .floating-actions {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.8rem;
    justify-items: stretch;
  }

  .sticky-booking {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .beam {
    animation: none;
    opacity: 0;
  }

  .nav-ruler-glow {
    transition: none;
  }

  .hero-reveal,
  .reveal-el {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .preloader {
    display: none;
  }

  .club-canvas {
    display: none;
  }

  .cursor-spotlight {
    display: none;
  }

  .page-ruler {
    display: none;
  }

  .glitch-text::before,
  .glitch-text::after,
  .hero-cta:hover,
  .hero-cta:focus-visible {
    animation: none;
    filter: none;
    transform: none;
  }
}
