/* ============================================================
   VERVE DANCE STUDIO — Design System
   Framework-free · HTML5 · CSS3 · Vanilla JS
   Energy · Movement · Gradient · Diagonal Motion
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* palette */
  --bg: #0b0913;
  --bg-alt: #100c1d;
  --surface: #171130;
  --surface-2: #1e1740;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f6f1ff;
  --muted: #a69ccb;
  --muted-2: #7d72a6;

  /* brand accents */
  --pink: #ff4d8d;
  --violet: #8b5cf6;
  --lime: #c8f542;
  --teal: #38e0a8;
  --gold: #ffd166;

  /* gradients */
  --grad: linear-gradient(135deg, #ff4d8d 0%, #8b5cf6 100%);
  --grad-hot: linear-gradient(135deg, #ff2e6b 0%, #ff4d8d 55%, #ffd166 120%);
  --grad-lime: linear-gradient(135deg, #c8f542 0%, #38e0a8 100%);
  --grad-text: linear-gradient(100deg, #ff5c9d 0%, #a78bfa 60%, #c8f542 130%);

  /* type */
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", system-ui, sans-serif;

  /* layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 7.5rem);
  --radius: 18px;
  --radius-sm: 10px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.4s;

  /* effects */
  --shadow: 0 24px 60px rgba(2, 1, 10, 0.55);
  --glow-pink: 0 0 42px rgba(255, 77, 141, 0.35);
  --glow-violet: 0 0 42px rgba(139, 92, 246, 0.38);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.0625rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Visually hidden (a11y — screen-reader only) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--pink);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--pink), var(--violet));
  border-radius: 8px;
  border: 2px solid var(--bg-alt);
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.section--surface {
  background: var(--surface);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--grad);
  transform: skewX(-24deg);
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 56ch;
}

.display {
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-weight: 400;
}

.display--xl {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.display--lg {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
}

.display--md {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ghost {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
}

/* diagonal motion helpers */
.skew {
  transform: skewX(-8deg);
}
.skew > * {
  transform: skewX(8deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.9rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: skewX(-8deg);
  border: 1px solid transparent;
  transition: transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease),
    background var(--speed) var(--ease), color var(--speed) var(--ease);
  will-change: transform;
}

.btn > * {
  transform: skewX(8deg);
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow-pink);
}

.btn--primary:hover {
  transform: skewX(-8deg) translateY(-3px);
  box-shadow: 0 0 60px rgba(255, 77, 141, 0.55);
}

.btn--lime {
  background: var(--grad-lime);
  color: #0b0913;
  box-shadow: 0 10px 30px rgba(200, 245, 66, 0.25);
}

.btn--lime:hover {
  transform: skewX(-8deg) translateY(-3px);
  box-shadow: 0 16px 44px rgba(200, 245, 66, 0.4);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: skewX(-8deg) translateY(-3px);
}

.btn--lg {
  padding: 1.15rem 2.4rem;
  font-size: 1rem;
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
}

/* ---------- Reveal (driven by assets/js/main.js) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: padding var(--speed) var(--ease), background var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
  background: rgba(11, 9, 19, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: 0.65rem;
  background: rgba(11, 9, 19, 0.86);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(2, 1, 10, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 1.15rem;
  transform: rotate(-6deg) skewX(-6deg);
  box-shadow: var(--glow-pink);
}

.brand-mark em {
  transform: skewX(6deg);
  font-style: normal;
}

.brand-dot {
  color: var(--pink);
}

.site-nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.6rem);
}

.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 0.4rem;
  transition: color var(--speed) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0) skewX(-24deg);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1) skewX(-24deg);
}

.header-cta {
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 6.5s ease;
}

.hero-bg img.active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(11, 9, 19, 0.92) 0%,
      rgba(11, 9, 19, 0.72) 42%,
      rgba(11, 9, 19, 0.28) 100%
    ),
    linear-gradient(to top, var(--bg) 0%, rgba(11, 9, 19, 0) 38%);
}

.hero-content {
  padding-bottom: clamp(6rem, 14vh, 9rem);
  padding-top: 8rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  margin-bottom: 1.6rem;
}

.hero-title {
  max-width: 13ch;
  margin-bottom: 1.6rem;
}

.hero-sub {
  max-width: 52ch;
  color: #d8d0ee;
  font-size: 1.15rem;
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
}

.hero-meta strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-meta span {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--pink), transparent);
  animation: drip 2s ease-in-out infinite;
}

@keyframes drip {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}

/* ---------- Marquee ticker ---------- */
.marquee {
  overflow: hidden;
  background: var(--grad);
  padding-block: 1.05rem;
  transform: skewY(-1.4deg);
  position: relative;
  z-index: 5;
  border-block: 1px solid rgba(255, 255, 255, 0.25);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee 26s linear infinite;
  padding-left: 1.5rem;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.marquee-track span::after {
  content: "★";
  color: #fff;
  font-size: 0.9rem;
  opacity: 0.9;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section head ---------- */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--grad);
  transform: skewX(-24deg);
}

.section-title {
  margin-bottom: 1.1rem;
}

.section-title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Split / story ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media::before {
  content: "";
  position: absolute;
  inset: -14px auto auto -14px;
  width: 130px;
  height: 130px;
  border-top: 3px solid var(--pink);
  border-left: 3px solid var(--pink);
  border-radius: 18px 0 0 0;
  transform: skewX(-6deg);
  opacity: 0.7;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  width: 100%;
}

.split-media .tag-badge {
  position: absolute;
  right: -12px;
  bottom: -18px;
  background: var(--grad);
  color: #fff;
  padding: 0.9rem 1.3rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: rotate(-4deg) skewX(-6deg);
  box-shadow: var(--glow-pink);
  text-align: center;
  line-height: 1.2;
}

.split-copy ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0 2.2rem;
}

.split-copy li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: var(--muted);
}

.split-copy li::before {
  content: "";
  flex: 0 0 14px;
  height: 2px;
  margin-top: 0.72em;
  background: var(--grad-lime);
  transform: skewX(-24deg);
}

/* ---------- Feature chips ---------- */
.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.chip:hover {
  transform: translateY(-5px);
  border-color: var(--violet);
}

.chip strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.chip span {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Class cards ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.grid-cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease);
}

.card:hover {
  transform: translateY(-9px) rotate(-0.4deg);
  border-color: rgba(255, 77, 141, 0.55);
  box-shadow: var(--shadow), var(--glow-violet);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 6 / 5;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.1) rotate(0.6deg);
}

.card-media .card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  transform: skewX(-8deg);
  box-shadow: 0 6px 20px rgba(255, 77, 141, 0.4);
}

.card-tag > * {
  transform: skewX(8deg);
}

.card-body {
  padding: 1.5rem 1.6rem 1.8rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
  line-height: 1.15;
}

.card-title a:hover {
  color: var(--pink);
}

.card-text {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.card-meta svg {
  width: 15px;
  height: 15px;
  stroke: var(--pink);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.card-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--lime);
  transition: transform var(--speed) var(--ease);
}

.card-link:hover svg {
  transform: translateX(5px);
}

/* service cards (image top, icon, number) */
.service-card .card-media {
  aspect-ratio: 16 / 10;
}

.service-card .card-num {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
  line-height: 1;
  transition: var(--speed) var(--ease);
}

.service-card:hover .card-num {
  color: var(--lime);
  -webkit-text-stroke: 0;
}

/* ---------- Stats band ---------- */
.stats {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/counter-bg.jpg") center/cover fixed;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(11, 9, 19, 0.94), rgba(30, 12, 46, 0.86));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.stat svg {
  width: 30px;
  height: 30px;
  stroke: var(--lime);
  margin-bottom: 0.3rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Team cards ---------- */
.team-card .card-media {
  aspect-ratio: 3 / 4;
}

.team-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  background: linear-gradient(to top, rgba(11, 9, 19, 0.92), transparent 130%);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.team-card:hover .team-overlay {
  opacity: 1;
  transform: none;
}

.team-overlay a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.team-overlay a:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-pink);
}

.team-overlay svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.team-role {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 700;
}

/* ---------- Testimonial cards ---------- */
.testi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.testi-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.55);
}

.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.35;
}

.stars {
  display: flex;
  gap: 0.2rem;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.stars svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.testi-card blockquote {
  color: #dcd4ee;
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testi-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
}

.testi-author strong {
  display: block;
  font-size: 1rem;
}

.testi-author span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  border: 1px solid var(--line);
}

.gallery-item--tall {
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter var(--speed) var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.12) rotate(0.8deg);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 77, 141, 0.55), rgba(139, 92, 246, 0.2));
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform var(--speed) var(--ease);
  background: linear-gradient(to top, rgba(11, 9, 19, 0.85), transparent);
}

.gallery-item:hover .gallery-cap {
  transform: none;
}

.gallery-cap strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
}

.gallery-cap span {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(8rem, 16vh, 11rem) clamp(4rem, 8vh, 6rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/breadcrumb.jpg") center/cover no-repeat;
  transform: scaleX(-1);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(11, 9, 19, 0.93) 20%, rgba(11, 9, 19, 0.55) 70%);
}

.page-hero-title {
  margin-bottom: 1rem;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumb a:hover {
  color: var(--pink);
}

.crumb i {
  font-style: normal;
  color: var(--pink);
}

/* ---------- Schedule table ---------- */
.schedule {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.schedule th,
.schedule td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.schedule th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  color: var(--lime);
}

.schedule tr:last-child td {
  border-bottom: 0;
}

.schedule td:first-child {
  font-weight: 700;
  color: var(--ink);
}

.schedule td {
  color: var(--muted);
}

.schedule .badge {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  transform: skewX(-8deg);
}

.schedule .badge > * {
  transform: skewX(8deg);
}

/* ---------- Steps / numbers ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.step {
  position: relative;
  padding: 2rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0) skewX(-24deg);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}

.step:hover::after {
  transform: scaleX(1) skewX(-24deg);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
  margin-bottom: 0.8rem;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 6.5rem);
  background: var(--grad);
  transform: skewY(-1.4deg);
}

.cta-band > .container {
  transform: skewY(1.4deg);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 22px,
    rgba(255, 255, 255, 0.08) 22px 23px
  );
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-inner h2 {
  max-width: 16ch;
  color: #fff;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 46ch;
}

.cta-inner .btn {
  flex: 0 0 auto;
}

.cta-sub {
  margin-top: 0.9rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.info-list {
  display: grid;
  gap: 1.2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.info-item:hover {
  transform: translateX(6px);
  border-color: rgba(255, 77, 141, 0.5);
}

.info-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--pink);
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.info-item strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.info-item span,
.info-item a {
  color: var(--muted);
  font-size: 0.98rem;
}

.info-item a:hover {
  color: var(--lime);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad);
  transform: skewX(-24deg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

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

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

.form-field label {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  color: var(--ink);
  width: 100%;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.form-ok,
.form-err {
  display: none;
  margin-top: 1.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-ok {
  background: rgba(56, 224, 168, 0.12);
  border: 1px solid rgba(56, 224, 168, 0.4);
  color: var(--teal);
}

.form-err {
  background: rgba(255, 77, 141, 0.12);
  border: 1px solid rgba(255, 77, 141, 0.4);
  color: var(--pink);
}

.form-ok.show,
.form-err.show {
  display: block;
}

/* ---------- CTA split on subpages ---------- */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.cta-split-media {
  min-height: 320px;
  position: relative;
}

.cta-split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-split-body {
  background: var(--surface);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}

/* ---------- 404 ---------- */
.error-wrap {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 8rem 5rem;
  position: relative;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 15rem);
  line-height: 0.9;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 44px rgba(255, 77, 141, 0.35));
}

.error-meta {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
  justify-items: center;
}

.error-meta h1 {
  max-width: 20ch;
}

.error-meta p {
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 3rem;
}

.footer-about p {
  color: var(--muted);
  margin: 1.1rem 0 1.4rem;
  font-size: 0.98rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
    transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.footer-social a:hover {
  background: var(--grad);
  color: #fff;
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: var(--glow-pink);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col h3::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--grad);
  transform: skewX(-24deg);
}

.footer-col ul {
  display: grid;
  gap: 0.65rem;
}

.footer-col ul a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color var(--speed) var(--ease), padding-left var(--speed) var(--ease);
}

.footer-col ul a:hover {
  color: var(--lime);
  padding-left: 6px;
}

.footer-news p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.news-form {
  display: flex;
  gap: 0.5rem;
}

.news-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--ink);
}

.news-form input:focus {
  outline: none;
  border-color: var(--pink);
}

.news-form button {
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.news-form button:hover {
  box-shadow: var(--glow-pink);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.3rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--pink);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--glow-pink), var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) rotate(4deg);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease),
    visibility var(--speed) var(--ease);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .chips {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(11, 9, 19, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--speed) var(--ease), visibility var(--speed) var(--ease);
    margin-left: 0;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    gap: 1.4rem;
    text-align: center;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .split-media {
    max-width: 560px;
  }

  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .cta-split {
    grid-template-columns: 1fr;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .grid-cards,
  .grid-cards--4 {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }

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

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

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

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }

  .hero-meta {
    gap: 1.4rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}
