:root {
  --bg: #07080d;
  --bg-soft: #111322;
  --text: #f2f2f5;
  --muted: #a7acc2;
  --accent: #6de7ff;
  --accent-2: #be7dff;
  --glass: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.13);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #1c2042 0%, var(--bg) 40%),
    radial-gradient(circle at 80% 80%, #2f0f44 0%, var(--bg) 35%), var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 30;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(#ffffff 0.6px, transparent 0.6px);
  background-size: 2px 2px;
  z-index: 1;
}

.spotlight {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle 260px at 50% 50%, rgba(109, 231, 255, 0.12), transparent 60%);
  opacity: 0.75;
}

.sound-toggle {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 40;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(10, 15, 33, 0.78);
  color: #eaf3ff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.sound-toggle:hover {
  border-color: rgba(109, 231, 255, 0.7);
  color: #ffffff;
}

.sound-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-logo {
  display: block;
  width: min(820px, 98vw);
  max-height: 420px;
  object-fit: contain;
  margin: 0.15rem 0 1rem;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.5));
}

.nav-links {
  display: flex;
  gap: 1.4rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

.hero {
  min-height: 84vh;
  min-height: 84svh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  position: relative;
}

@supports (min-height: 84dvh) {
  .hero {
    min-height: 84dvh;
  }
}

.hero-aurora {
  position: absolute;
  width: 55%;
  height: 70%;
  left: 8%;
  top: 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 40%, rgba(109, 231, 255, 0.2), rgba(190, 125, 255, 0.05) 60%, transparent 70%);
  filter: blur(12px);
  animation: drift 8s ease-in-out infinite alternate;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.tagline {
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  color: #e7e9f8;
  max-width: 58ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: -0.2rem 0 0.8rem;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 17, 37, 0.65);
  backdrop-filter: blur(8px);
  color: #dce5ff;
  border-radius: 999px;
  padding: 0.35rem 0.68rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.6rem;
  margin-top: 1.1rem;
  max-width: 760px;
}

.hero-stats article {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.hero-stats small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-stats strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
}

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  transition: 220ms ease;
}

.btn-primary {
  background: linear-gradient(125deg, var(--accent), var(--accent-2));
  color: #0a0911;
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
}

.btn-ghost {
  color: var(--text);
}

.hero-panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem 1.35rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  transform: translateY(24px);
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 520px;
}

.eq-bars {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.eq-bar {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  animation: equalize 1.2s ease-in-out infinite;
}

.eq-bar:nth-child(2) { animation-delay: 0.12s; }
.eq-bar:nth-child(3) { animation-delay: 0.24s; }
.eq-bar:nth-child(4) { animation-delay: 0.36s; }
.eq-bar:nth-child(5) { animation-delay: 0.48s; }

@keyframes equalize {
  0%, 100% { height: 7px; opacity: 0.7; }
  50% { height: 22px; opacity: 1; }
}

@keyframes drift {
  0% { transform: translate(-8px, -4px) scale(1); }
  100% { transform: translate(14px, 8px) scale(1.06); }
}

.panel-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-size: 0.74rem;
  margin: 0 0 0.8rem;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem 0.2rem;
  border-top: 1px dashed var(--line);
  font-size: 1rem;
}

.hero-panel li > * {
  min-width: 0;
}

.hero-panel li:first-child {
  border-top: none;
}

.hero-panel span {
  color: var(--muted);
}

.hero-panel strong {
  text-align: left;
  max-width: 100%;
  font-size: 1.05rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section {
  padding: 4rem 0;
}

.floating-strip {
  margin-top: -2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 0.8rem;
  position: relative;
  z-index: 3;
}

.sound-strip {
  margin-top: 1rem;
}

.floating-strip article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  padding: 0.8rem 1rem;
  text-align: center;
}

.floating-strip p {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.about p,
.booking-copy {
  color: #d9ddf2;
  max-width: 78ch;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.pill-grid p {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f6ff;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.gallery-head p {
  color: var(--muted);
}

.gallery-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #181b31, #1f1232);
  min-height: 240px;
  position: relative;
  transition: transform 220ms ease, border-color 220ms ease;
}

.gallery-grid figure:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  border-color: rgba(255, 255, 255, 0.35);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid figcaption {
  padding: 0.6rem 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #b9bfdf;
  font-size: 0.95rem;
}

.booking-cards {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
}

.booking-cards article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  padding: 1rem;
  transition: transform 200ms ease;
}

.booking-cards article:hover {
  transform: translateY(-4px);
}

.booking-cards a {
  color: var(--accent);
  text-decoration: none;
}

.booking-cards a:hover {
  color: #d5b3ff;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  position: relative;
  z-index: 2;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms ease, transform 550ms ease;
}

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

/* Secret mode activated from logo taps */
body.secret-mode {
  --accent: #8eff7d;
  --accent-2: #ffec78;
}

body.secret-mode .hero::after {
  content: "Sonic Alchemy Mode ✨";
  position: absolute;
  right: 0;
  top: 20%;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    gap: 1.3rem;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-logo {
    width: min(640px, 100%);
    max-height: 300px;
  }

  .hero-panel {
    transform: none;
    max-width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-aurora {
    width: 90%;
    left: 0;
  }

  .booking-cards {
    grid-template-columns: 1fr;
  }

  .floating-strip {
    grid-template-columns: 1fr;
    margin-top: 0.6rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, 94vw);
  }

  .section {
    padding: 2.8rem 0;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .kicker {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .hero {
    min-height: auto;
    padding-top: calc(0.6rem + env(safe-area-inset-top));
  }

  .hero-logo {
    width: min(520px, 100%);
    max-height: 220px;
    margin-bottom: 0.7rem;
  }

  .hero-badges span {
    font-size: 0.73rem;
    padding: 0.3rem 0.6rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 0.5rem;
    margin-top: 0.8rem;
  }

  .hero-stats article {
    padding: 0.6rem 0.65rem;
  }

  .hero-panel {
    padding: 1rem 0.9rem;
    border-radius: 16px;
  }

  .panel-title {
    margin-bottom: 0.5rem;
  }

  .eq-bars {
    top: 10px;
    right: 10px;
  }

  .hero-panel li {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    font-size: 0.95rem;
    gap: 0.7rem;
    padding: 0.75rem 0.1rem;
  }

  .hero-panel strong {
    font-size: 1rem;
    max-width: 100%;
  }

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

  .booking-cards {
    gap: 0.75rem;
  }

  .sound-toggle {
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
    font-size: 0.74rem;
    padding: 0.38rem 0.68rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95vw;
  }

  .hero-logo {
    max-height: 180px;
  }

  .hero-panel li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .hero-panel strong {
    text-align: left;
    max-width: 100%;
  }

  .floating-strip article,
  .booking-cards article {
    padding: 0.72rem 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
