/* My Dancing Times - shared stylesheet. Raise ?v= in the HTML when this file changes. */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/anton-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Alex Brush'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/alex-brush-latin-400-normal.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ul { margin: 0; padding: 0; }
img, video { height: auto; }
:root {
  --bg: #0d0a09;
  --panel: #17110f;
  --text: #f6eee8;
  --soft: #d6c9c0;
  --muted: #a8988f;
  --label: #c9bcb4;
  --red: #e3141c;
  --red-btn: #d90f17;
  --red-text: #ff5a5f;
  --line: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Anton', 'Impact', sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --script: 'Alex Brush', cursive;
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', system-ui, sans-serif;
  font-synthesis: none;
}

html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--red-text); }
a:hover { color: #ff8a8d; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
.site { overflow-x: hidden; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 32px; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.38em; text-transform: uppercase; color: var(--red-text); }
.eyebrow-tight { letter-spacing: 0.32em; }
.eyebrow-line { display: flex; align-items: center; gap: 14px; color: #e9dcd3; }
.eyebrow-line span { width: 40px; height: 1px; background: #e9dcd3; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 88px); line-height: 0.92; text-transform: uppercase; }
.h2-sm { font-size: clamp(38px, 4vw, 60px); line-height: 1; }
.script { font-family: var(--script); line-height: 1; }
.lead { max-width: 520px; font-size: 17px; color: var(--soft); }
.soft { color: var(--soft); }
.muted { color: var(--muted); }
.accent { color: var(--red-text); }
.strong { font-weight: 600; }
.small { font-size: 13px; }
.text-link { font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; box-sizing: border-box; font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; text-align: center; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red-btn); color: #fff; }
.btn-red:hover { background: #b80c13; color: #fff; }
.btn-ghost { border: 1px solid rgba(246, 238, 232, 0.45); color: var(--text); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn.is-disabled { background: #2a201d; color: var(--muted); cursor: default; transform: none; font-size: 15px; }

/* ---------- nav ---------- */
.nav { position: relative; z-index: 3; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.wordmark { font-family: var(--script); font-size: 32px; line-height: 1; color: var(--text); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: #fff; }
.nav-links { display: flex; gap: 32px; font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; }
.nav-links a { color: var(--label); text-decoration: none; }
.nav-links a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 30%, rgba(227, 20, 28, 0.22), rgba(13, 10, 9, 0) 70%); }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-family: var(--display); font-weight: 400; line-height: 0.88; text-transform: uppercase; }
.h1-red { display: block; font-size: clamp(60px, 10vw, 140px); color: var(--red); white-space: nowrap; }
.h1-white { display: block; font-size: clamp(36px, 6vw, 88px); margin-top: 8px; }
.hero-with { margin-top: -4px; font-size: clamp(40px, 5vw, 66px); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-actions .btn { flex: 1 1 200px; max-width: 280px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta dt { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red-text); }
.hero-meta dd { font-family: var(--display); font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.hero-visual { flex: 0 1 440px; min-width: 0; position: relative; }
.hero-visual img {
  position: relative;
  width: 100%;
  height: min(72vh, 720px);
  min-height: 560px;
  object-fit: cover;
  object-position: center 42%;
}
.hero-frame { position: absolute; top: -14px; right: -14px; width: 60%; height: 70%; border: 2px solid var(--red); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 35%; background: linear-gradient(180deg, rgba(13, 10, 9, 0), rgba(13, 10, 9, 0.8)); }

/* ---------- marquee ---------- */
.marquee { background: var(--red-btn); color: #fff; overflow: hidden; padding: 12px 0; white-space: nowrap; font-family: var(--display); font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.marquee-track { display: inline-flex; animation: marquee 34s linear infinite; will-change: transform; }
.marquee-track span { padding-right: 6px; }

/* ---------- workshop ---------- */
.workshop { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; padding-top: 88px; }
.workshop-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.workshop-copy h2 { font-size: clamp(42px, 5vw, 72px); line-height: 0.95; }
.workshop-video { flex: 0 1 360px; width: 100%; max-width: 360px; position: relative; }
.workshop-video video { position: relative; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.video-frame { position: absolute; bottom: -14px; left: -14px; width: 70%; height: 55%; border: 2px solid var(--red); }

/* ---------- cards / series ---------- */
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.card { background: var(--panel); border: 1px solid var(--line); padding: 36px; transition: border-color .3s ease; }
.card:hover { border-color: rgba(227, 20, 28, 0.55); }
.series-grid, .two-col { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.series-card { flex: 1 1 440px; min-width: 0; border-top: 3px solid var(--red); display: flex; flex-direction: column; gap: 22px; }
.series-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.series-top > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.series-card h3 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; text-transform: uppercase; }
.series-sub { font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.series-price { text-align: right; }
.series-price strong { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.series-price span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.series-price .regular-price {
  margin-top: 8px;
  color: var(--label);
  font-weight: 700;
}
.series-card h4 { margin: 0 0 4px; font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--label); }
.lines { list-style: none; margin: 0 0 8px; padding: 0; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.series-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.series-actions .btn { flex: 1 1 160px; font-size: 16px; letter-spacing: 0.13em; }
.note { margin-top: 18px; }

/* ---------- teachers ---------- */
.teacher { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; background: transparent; }
.teacher-name { font-size: 56px; }
.teacher-focus { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red-text); }
.teacher-bio { display: flex; flex-direction: column; gap: 14px; }

/* ---------- faq ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 88px; }
.faq-list { flex: 1.4 1 520px; min-width: 0; display: flex; flex-direction: column; }
.faq-list h2 { margin-bottom: 20px; }
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-direction: column; gap: 6px; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-family: var(--cond); font-weight: 700; font-size: 21px; letter-spacing: 0.06em; text-transform: uppercase; }
.location { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-self: flex-start; }
.location-name { font-family: var(--display); font-size: 44px; line-height: 0.95; text-transform: uppercase; }
.location hr { width: 100%; border: 0; height: 1px; background: rgba(255, 255, 255, 0.1); margin: 8px 0; }
.location > a:not(.text-link) { min-height: 36px; display: inline-flex; align-items: center; }

/* ---------- follow ---------- */
.follow { padding-top: 40px; padding-bottom: 72px; }
.ig-card { flex: 1 1 280px; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; padding: 24px 28px; box-sizing: border-box; border: 1px solid rgba(246, 238, 232, 0.25); color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease, color .2s ease; }
.ig-card:hover { border-color: var(--red); color: #fff; transform: translateY(-2px); }
.ig-card > span { display: flex; flex-direction: column; gap: 2px; }
.ig-name { font-size: 40px; }
.ig-handle { font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.12em; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 40px; }
.footer .wordmark { font-size: 30px; }

/* ---------- animation ---------- */
@keyframes up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes imgIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes frameIn { from { opacity: 0; transform: translate(-18px, 18px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.in { animation: up .9s var(--ease) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .3s; }
.d4 { animation-delay: .42s; } .d5 { animation-delay: .54s; } .d6 { animation-delay: .66s; }
.img-in { animation: imgIn 1.4s var(--ease) .2s both; }
.frame-in { animation: frameIn 1s var(--ease) .7s both; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none; }
  .wordmark { font-size: 28px; }
  .hero-inner { padding-top: 32px; gap: 32px; }
  .hero-copy { gap: 16px; }
  .hero-actions .btn { max-width: none; }
  .hero-visual { flex-basis: 100%; width: min(100%, 480px); margin: 0 auto; }
  .hero-visual img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    object-position: center 38%;
  }
  .section { padding-top: 72px; }
  .card { padding: 26px 20px; }
  .series-card h3 { font-size: 34px; }
  .series-price strong { font-size: 34px; }
  .lines li { font-size: 15px; }
  .workshop-video { max-width: 320px; }
}

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

/* ---------- programme card ---------- */
.plan { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.plan h3 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; text-transform: uppercase; }
.plan-step { display: flex; gap: 18px; align-items: flex-start; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.plan-num { flex: 0 0 auto; min-width: 92px; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--red); text-transform: uppercase; }
.plan-step h4 { margin: 0 0 6px; font-family: var(--cond); font-weight: 700; font-size: 21px; letter-spacing: 0.06em; text-transform: uppercase; }
.plan-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; }
.plan-tags li { padding: 5px 12px; border: 1px solid rgba(246, 238, 232, 0.25); font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.series-actions .btn.is-disabled { font-size: 14px; letter-spacing: 0.1em; }
@media (max-width: 760px) { .plan h3 { font-size: 34px; } .plan-num { min-width: 76px; font-size: 28px; } }

/* ---------- cookie banner (only shown when analytics is switched on) ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 560px; margin: 0 auto; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 14px; color: var(--soft); }
.consent p { flex: 1 1 240px; }
.consent .btn { min-height: 44px; padding: 8px 16px; font-size: 14px; cursor: pointer; }
.consent button.btn-ghost { background: transparent; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.lines li span:last-child { white-space: nowrap; text-align: right; }
@media (max-width: 760px) { .series-price { text-align: left; } }
.plan { gap: 18px; }
.plan-step { padding-top: 16px; }
.plan-num { min-width: 44px; }
.plan-date { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--red-text); margin-bottom: 2px; }
.plan-step h4 { margin-bottom: 2px; }
@media (max-width: 760px) { .plan-num { min-width: 34px; } }
