/* ============================================================
   ONE OF STUDIO — dark editorial dance studio
   Structure adapted from FRAULES DANCE CENTER reference:
   rounded hero card, stat badges, photo "why" cards, red band,
   dramatic flip to a light directions section with tabs.
   ============================================================ */

:root {
  --bg: #0d0d0d;
  --surface: #261f1f;
  --surface-alt: #1a1212;
  --accent: #591515;
  --accent-bright: #400e0e;
  --accent-hover: #7a1c1c;
  --text-primary: #f2f2f2;
  --text-secondary: #a6a4a4;
  --border: rgba(242, 242, 242, 0.1);
  --white: #ffffff;

  /* light section tokens */
  --light-bg: #f2f0ef;
  --light-text: #161212;
  --light-muted: #6b6463;
  --light-border: rgba(13, 13, 13, 0.12);

  /* 3 fonts only:
     --font-logo  Saira    — brand mark "ONE OF" (Latin only)
     --font-head  Oswald   — every heading & number (covers Cyrillic + Latin,
                             so a whole phrase renders in ONE font)
     --font-body  Montserrat — body, nav, labels, buttons */
  --font-logo: "Saira", system-ui, sans-serif;
  --font-head: "Oswald", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 8px;
  --radius-lg: 22px;

  /* film grain tile (reused across photo overlays + page texture) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent-hover); color: var(--white); }

/* ---------- shared layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 60px); }

/* pill section label */
.pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 22px;
}
.pill-dark { color: var(--light-muted); border-color: var(--light-border); }

.display-h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--white);
}
.accent-text { color: var(--accent-hover); }
.section-light .accent-text { color: var(--accent); }

.section-lead {
  margin-top: 20px;
  max-width: 56ch;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--text-secondary);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease;
}
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-accent:active { transform: translateY(0); }

.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent-hover); color: var(--white); transform: translateY(-2px); }

.btn-light { background: transparent; color: var(--light-text); border-color: var(--light-border); }
.btn-light:hover { background: var(--light-text); color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 17px 38px; font-size: 14px; }
.btn-sm { padding: 11px 18px; font-size: 11px; letter-spacing: 0.1em; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad);
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-logo { display: block; height: 34px; width: auto; }
.brand-main {
  font-family: var(--font-logo);
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--white);
}
.brand-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: right;
  margin-top: 2px;
}
.nav { display: flex; gap: clamp(16px, 2vw, 34px); margin-inline: auto; }
.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-block: 6px;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }
.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text-primary); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: var(--pad);
  background: rgba(13, 13, 13, 0.98);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 22px; }
.mobile-menu a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.mobile-menu .btn { align-self: flex-start; }

/* ============================================================
   1. HERO (full-bleed, no card, no grain)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* clean, natural colours — just slightly dim for text readability */
  filter: brightness(0.78);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* subtle warm vignette at top-left for mood */
    radial-gradient(100% 60% at 20% 0%, rgba(89, 21, 21, 0.22), transparent 65%),
    /* top dark band so fixed nav stays readable */
    linear-gradient(180deg,
      rgba(13, 13, 13, 0.55) 0%,
      rgba(13, 13, 13, 0.15) 18%,
      transparent 38%,
      rgba(13, 13, 13, 0.45) 68%,
      #0d0d0d 100%
    );
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(100px, 12vw, 140px) var(--pad) clamp(52px, 5vw, 72px);
}
.hero-wordmark {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.6);
  margin-bottom: 18px;
}
.hero-content h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--white);
}
.hero-aside { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 22px; padding-bottom: 6px; }
.hero-aside p { color: rgba(242, 242, 242, 0.85); font-size: 1rem; max-width: 38ch; }

/* Style strip — sits inside hero just above the dark fade */
.hero-styles {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 4vw, 52px);
  width: 100%;
  padding: 18px var(--pad);
  border-top: 1px solid rgba(242, 242, 242, 0.12);
}
.hero-styles li {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.5);
  position: relative;
}
.hero-styles a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero-styles a:hover { color: var(--white); }
.hero-styles a:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; border-radius: 2px; }
.hero-styles li:not(:last-child)::after {
  content: "";
  position: absolute;
  /* sit in the middle of the flex gap (+0.11em offsets the trailing letter-spacing) */
  right: calc(clamp(16px, 4vw, 52px) / -2 + 0.11em);
  top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-hover);
  transform: translate(50%, -50%);
}

/* ============================================================
   2. STATS / О НАС
   ============================================================ */
.stats { background: var(--bg); }
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.principle {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.principle-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.principle-label::before { content: "[ "; color: var(--accent-hover); }
.principle-label::after { content: " ]"; color: var(--accent-hover); }
.principle p { color: var(--text-secondary); font-size: 0.98rem; max-width: 34ch; }

/* ============================================================
   3. ПОЧЕМУ МЫ
   ============================================================ */
.why { background: var(--surface-alt); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease;
}
.why-card:hover { transform: translateY(-6px); }
.why-media { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.why-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.35s ease, transform 0.4s ease; }
.why-card:hover .why-media img { filter: grayscale(0.2); transform: scale(1.04); }
.why-body { padding: 26px 26px 30px; position: relative; }
.why-body::before {
  content: "";
  position: absolute;
  top: 0; left: 26px;
  width: 42px; height: 3px;
  background: var(--accent-hover);
}
.why-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.why-body p { color: var(--text-secondary); font-size: 0.96rem; }

/* ============================================================
   4. КРАСНЫЙ БАННЕР / ВИДЕО
   ============================================================ */
.band-section {
  background: #000;
  /* medium vertical gap; section height stays 100svh, card grows to fill it */
  padding-block: clamp(36px, 7vh, 80px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band-section > .container { max-width: none; }
.band {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;            /* matches the 1920x1080 video — card = video bounds */
  /* as wide as the container, but never taller than the section minus its gap */
  width: min(100%, calc((100svh - 2 * clamp(36px, 7vh, 80px)) * 16 / 9));
  margin-inline: auto;
  isolation: isolate;
}
.band-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;        /* show the whole frame — never crop the video */
  background: #000;
  z-index: 0;
}
/* full-clip layer stays hidden until the play button is pressed */
.band-full { opacity: 0; visibility: hidden; z-index: 0; }
.band-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(64, 14, 14, 0.82) 0%, rgba(89, 21, 21, 0.5) 55%, rgba(13, 13, 13, 0.45) 100%);
  transition: opacity 0.4s ease;
}
/* when the full video plays — expand to full viewport, video fills edge-to-edge */
.band.is-playing .band-loop,
.band.is-playing .band-overlay,
.band.is-playing .band-content,
.band.is-playing .band-play { opacity: 0; visibility: hidden; pointer-events: none; }
.band.is-playing .band-full { opacity: 1; visibility: visible; z-index: 4; }
.band.is-playing {
  isolation: auto;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  z-index: 200;
  aspect-ratio: auto;
}
body.video-open { overflow: hidden; }
.band-play {
  position: absolute;
  z-index: 3;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.6rem;
  padding-left: 5px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.3s ease;
}
.band-play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-hover); }
.band-play:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.band-stop {
  position: absolute;
  z-index: 5;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.2s ease, transform 0.2s ease;
}
.band-stop:hover { background: rgba(13, 13, 13, 0.95); transform: scale(1.08); }
.band-stop:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.band.is-playing .band-stop { opacity: 1; pointer-events: auto; }
.band-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(28px, 4vw, 48px);
  min-height: inherit;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.band-content .btn,
.band-content a { pointer-events: auto; }
.band-content h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--white);
}
.band-content p { color: rgba(255, 255, 255, 0.85); max-width: 40ch; margin-top: auto; font-size: 0.95rem; }
.band-content .btn { align-self: flex-start; }

/* ============================================================
   5. НАПРАВЛЕНИЯ (LIGHT)
   ============================================================ */
.section-light { background: var(--light-bg); color: var(--light-text); }
.section-light .display-h2 { color: var(--light-text); }

.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: rgba(13, 13, 13, 0.06);
  border-radius: 999px;
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}
.tab {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-muted);
  padding: 12px 24px;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.tab:hover { color: var(--light-text); }
.tab.is-active { background: var(--accent); color: var(--white); }
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.dir-group { margin-bottom: clamp(40px, 6vw, 72px); }
.dir-group:last-child { margin-bottom: 0; }
.dir-group--kids { padding-top: clamp(8px, 2vw, 16px); }

.dir-group-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin: 0 0 clamp(20px, 2.5vw, 32px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.dir-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--light-border);
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.dir-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.dir-card > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.05);
  transition: transform 0.5s ease, filter 0.4s ease;
  z-index: 0;
}
.dir-card:hover > img { transform: scale(1.05); filter: grayscale(0); }
/* designed cover posters stay full-colour and crisp (no grayscale/grain) */
.cover-card > img { filter: none; }
.cover-card::after { content: none; }
.dir-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0) 35%, rgba(13, 13, 13, 0.55) 65%, rgba(13, 13, 13, 0.92) 100%);
}
.dir-info {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: clamp(20px, 2.5vw, 28px);
}
.dir-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hover);
}
.dir-info h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.dir-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dir-actions .btn-light { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.dir-actions .btn-light:hover { background: var(--white); color: var(--light-text); border-color: var(--white); }

/* ============================================================
   6. SCHEDULE / PRICING
   ============================================================ */
.schedule { background: var(--bg); }

/* editorial overlapping title */
.pricing-title {
  position: relative;
  text-align: right;
  margin-bottom: clamp(-18px, -1.5vw, -8px);
  padding-right: clamp(4px, 2vw, 24px);
  z-index: 2;
  pointer-events: none;
}
.pricing-title-sm {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.pricing-title-lg {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 9rem);
  line-height: 0.82;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--white);
}
.pricing-title-and { color: var(--text-secondary); }

.price-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  position: relative;
  z-index: 1;
}
.price-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  overflow: hidden;
  isolation: isolate;
}
.price-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -55%;
  left: 12%;
  right: 12%;
  height: 90%;
  background: radial-gradient(60% 70% at 50% 100%, rgba(242, 242, 242, 0.16), transparent 70%);
  pointer-events: none;
}
.price-card-main h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.price-feats { display: flex; flex-direction: column; gap: 12px; }
.price-feats li {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}
.price-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-hover);
}
.feat-price {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.price-card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.price-amount {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--white);
}
.price-amount span { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.02em; }
.price-prepay { margin-top: 8px; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--accent-hover); text-transform: uppercase; }
.price-sale { margin-top: 6px; font-size: 0.74rem; line-height: 1.3; color: var(--accent); max-width: 24ch; }
.price-meta { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.price-meta p { font-size: 0.88rem; color: var(--text-secondary); }
.price-card-side .btn { margin-top: 20px; }

/* additional services table */
.addon-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: clamp(48px, 6vw, 80px) 0 clamp(20px, 2.5vw, 32px);
}
.addon-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(8px, 1.5vw, 18px) clamp(20px, 3vw, 36px);
  background: var(--surface);
}
.addon-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 1.8vw, 22px) 0;
  border-bottom: 1px solid var(--border);
}
.addon-row:last-child { border-bottom: none; }
.addon-name { color: var(--text-primary); font-size: 1rem; }
.addon-hint { color: var(--text-secondary); font-size: 0.82rem; }
.addon-price {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* schedule board */
.schedule-board {
  margin-top: clamp(24px, 3vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
}
.schedule-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 22px;
}
.schedule-board-head h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
}
.schedule-board-note { color: var(--text-secondary); font-size: 0.9rem; }

/* ============================================================
   7. GALLERY
   ============================================================ */
.gallery { background: var(--surface-alt); }
.filmstrip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 var(--pad) 10px;
  margin-block: clamp(8px, 3vw, 28px);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.filmstrip::-webkit-scrollbar { height: 8px; }
.filmstrip::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }
.frame {
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 320px);
  margin: 0;
  border: 6px solid #050505;
  border-radius: 4px;
  background: #050505;
  scroll-snap-align: start;
  position: relative;
}
.frame::before, .frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, transparent 0 8px, var(--bg) 8px 14px);
  z-index: 1;
}
.frame::before { top: -1px; }
.frame::after { bottom: -1px; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.08); }

/* ============================================================
   8. CONTACTS
   ============================================================ */
.contacts {
  background: linear-gradient(180deg, var(--bg) 0%, var(--accent-bright) 100%);
  text-align: center;
}
.contacts-inner { display: flex; flex-direction: column; align-items: center; }
.contacts .section-lead { text-align: center; }
.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 600px;
  margin: clamp(30px, 4vw, 48px) 0 28px;
}
.contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 20px;
  background: rgba(13, 13, 13, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.contact-btn:hover { transform: translateY(-4px); border-color: var(--accent-hover); background: rgba(13, 13, 13, 0.8); }
.contact-btn:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 3px; }
.contact-kicker {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-hover);
}
.contact-value {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--white);
}
.contact-addresses {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}
.contact-address-label { color: var(--accent-hover); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding-block: clamp(40px, 6vw, 64px); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer-brand .brand-logo { height: 46px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
.footer-nav a {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--white); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.copyright { font-size: 0.82rem; color: var(--text-secondary); letter-spacing: 0.04em; }
.contacts-inner .tag { margin-bottom: 18px; }

/* ============================================================
   REFERENCE DETAILS — grain, film strip, arrow CTA,
   bracket micro-type
   ============================================================ */

.section-light { position: relative; }

/* large-grain page texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: var(--noise);
  background-size: 220px 220px;
}

/* arrow → CTA gesture */
.arrow-cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(40px, 5vw, 64px);
  color: var(--light-text);
}
.arrow-cta-svg {
  width: clamp(110px, 20vw, 280px);
  height: auto;
  flex: none;
  transition: transform 0.3s ease, color 0.3s ease;
}
.arrow-cta-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.arrow-cta:hover { color: var(--accent); }
.arrow-cta:hover .arrow-cta-svg { transform: translateX(12px); }
.arrow-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* film "contact sheet" meta rows */
.film-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 12px 0;
}
.film-meta-top { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: clamp(8px, 2vw, 18px); }
.film-meta-bottom { justify-content: flex-start; gap: clamp(16px, 4vw, 54px); margin-top: clamp(8px, 2vw, 18px); }
.film-meta-bottom span { color: var(--accent-hover); }

/* bracket micro-typography */
.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.tag::before { content: "[ "; color: var(--accent-hover); }
.tag::after { content: " ]"; color: var(--accent-hover); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 961px) {
  /* wider edge inset for the hero headline + aside on desktop */
  .hero-content { padding-inline: clamp(56px, 6.5vw, 96px); }
}

@media (max-width: 960px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-content { flex-direction: column; align-items: flex-start; }
  .hero-aside { align-items: flex-start; text-align: left; }
  .principles { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .price-card { grid-template-columns: 1fr; }
  .price-card-side { align-items: flex-start; text-align: left; }
  .price-meta { margin-top: 22px; }
}

@media (max-width: 640px) {
  .dir-grid { grid-template-columns: 1fr; }
  .contact-links { grid-template-columns: 1fr; }
  .hero-styles { gap: 12px 26px; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding-inline: 12px; }
  /* Band card: aspect-ratio crushes content on narrow screens — switch to min-height */
  .band { aspect-ratio: auto; min-height: 420px; }
  /* Film meta: items wrap awkwardly — stack as a clean column */
  .film-meta-top { flex-direction: column; align-items: flex-start; gap: 3px; }
  /* Footer: long "Танцевальная студия" tag breaks the row — hide it */
  .footer-meta .tag:nth-child(2) { display: none; }
}

/* K-Pop lone card in 2-col kids grid at tablet: span full width and centre */
@media (max-width: 960px) and (min-width: 641px) {
  .dir-grid .dir-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
    margin-inline: auto;
  }
}

/* Price card amount: prevent "/мес" wrapping at mid-widths before card collapses */
@media (max-width: 840px) and (min-width: 721px) {
  .price-amount { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
}

/* Pricing section big title: clamp min too large for small screens */
@media (max-width: 560px) {
  .pricing-title-lg { font-size: clamp(1.8rem, 10vw, 2.8rem); }
  .pricing-title { margin-bottom: -4px; }
}

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