/* Dancefloor 2027 - one stylesheet, no build step.
   Tokens and components come from the prototype ("Initial first design").
   A universe is a set of --u-* variables switched by <html data-u="salsa|afro">. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #0B0B0B;
  --white: #FFFFFF;
  --red: #D7141A;
  --yellow: #FFC20E;
  --g50: #F4F4F4;
  --g100: #E6E6E6;
  --g300: #B3B3B3;
  --g200: #D9D9D9;
  --g600: #5C5C5C;
  --g800: #2A2A2A;
  --g850: #1F1F1F;
  --g900: #1A1A1A;
  --g950: #161616;

  /* Salsa */
  --u-acc: var(--red);
  --u-acc-ink: var(--white);
  --u-sig: var(--red);
  --u-title: var(--white);
  --u-hover-ink: var(--white);
  --u-sw-bg: var(--yellow);
  --u-sw-ink: var(--black);
  --strip-h: 4px;
  --strip: var(--red);

  --hdr-h: 64px;
  --gutter: clamp(16px, 4vw, 56px);
  --afro-pattern: repeating-linear-gradient(90deg, var(--yellow) 0 28px, var(--black) 28px 34px, var(--red) 34px 52px, var(--black) 52px 58px);
  --stripes: repeating-linear-gradient(135deg, var(--g900) 0 14px, #222 14px 28px);
}
[data-u="afro"] {
  --u-acc: var(--yellow);
  --u-acc-ink: var(--black);
  --u-sig: var(--yellow);
  --u-title: var(--yellow);
  --u-hover-ink: var(--yellow);
  --u-sw-bg: var(--red);
  --u-sw-ink: var(--white);
  --strip-h: 8px;
  --strip: var(--afro-pattern);
}
@media (min-width: 1200px) { :root { --hdr-h: 72px; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + var(--strip-h) + 72px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img, iframe { max-width: 100%; }
img { display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--red); }
[data-u="afro"] a:hover { color: inherit; text-decoration-color: var(--yellow); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red) !important; outline-offset: 2px; }
[data-u="afro"] .on-dark :focus-visible { outline-color: var(--yellow) !important; }
h1, h2, h3, h4, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 14px; font-weight: 800; border: 2px solid var(--black); }
.skip:focus { top: 8px; }
.bw { filter: grayscale(1) contrast(1.05); }
.ph { background: var(--stripes); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Type */
.d62 { font-stretch: 62%; font-weight: 900; line-height: .88; text-transform: uppercase; letter-spacing: -.005em; }
.d70 { font-stretch: 70%; font-weight: 900; line-height: .95; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g600); }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--u-sig); flex: none; }
.kicker.plain::before { display: none; }
.on-dark .kicker, .kicker.on-dark { color: var(--g300); }
.label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g600); }
.note { font-size: 13px; color: var(--g600); }
.lead { font-size: 19px; font-weight: 600; line-height: 1.5; }
.prose { font-size: 17px; line-height: 1.6; max-width: 62ch; text-wrap: pretty; }
.prose > * + * { margin-top: 14px; }
.signoff { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.signoff::before { content: ""; width: 28px; height: 3px; background: var(--u-sig); }

/* Markdown from editors */
.md { font-size: 17px; line-height: 1.6; max-width: 70ch; }
.md > * + * { margin-top: 14px; }
.md h2, .md h3 { font-stretch: 70%; font-weight: 900; text-transform: uppercase; line-height: 1; margin-top: 32px; }
.md h2 { font-size: 34px; }
.md h3 { font-size: 26px; }
.md ul, .md ol { padding-left: 22px; }
.md li + li { margin-top: 6px; }
.md a { text-decoration-thickness: 2px; }
.md strong { font-weight: 800; }

/* Buttons */
.btn {
  min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 2px solid var(--black); background: var(--white); color: var(--black);
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-align: left; text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--black); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-acc { background: var(--u-acc); color: var(--u-acc-ink); border-color: var(--u-acc); }
.btn-acc:hover { background: var(--black); color: var(--u-hover-ink); border-color: var(--black); }
.on-dark .btn-acc:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--black); }
.btn-switch { background: var(--u-sw-bg); color: var(--u-sw-ink); border-color: var(--u-sw-bg); letter-spacing: .06em; }
.btn-switch:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-lg { min-height: 52px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.arrow::after { content: "→"; }
.link-cta {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px;
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.link-cta:hover { color: inherit; text-decoration-color: var(--u-acc); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--black); color: var(--white); }
.hdr { display: flex; align-items: center; gap: 8px; height: var(--hdr-h); padding: 0 12px 0 16px; }
.logo {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 7px 10px;
  border: 2px solid var(--white); color: var(--white); text-decoration: none;
  font-weight: 900; font-size: 13px; letter-spacing: .12em; line-height: 1; flex: none;
}
.logo:hover { color: var(--white); background: var(--g850); }
.hdr-spacer { flex: 1; }
.hdr .btn-switch { min-height: 44px; padding: 0 12px; font-size: 12px; letter-spacing: .05em; white-space: nowrap; }
.burger {
  width: 44px; height: 44px; flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 2px solid var(--white); color: var(--white); cursor: pointer; padding: 0;
}
.burger span { width: 20px; height: 2px; background: currentColor; }
.strip { height: var(--strip-h); background: var(--strip); }
.nav-desktop { display: none; }
@media (min-width: 1200px) {
  .hdr { gap: 20px; padding: 0 32px; }
  .logo { font-size: 14px; letter-spacing: .14em; padding: 8px 12px; }
  .hdr-spacer, .burger { display: none; }
  .hdr .btn-switch { padding: 0 16px; font-size: 13px; }
  .nav-desktop { display: flex; flex: 1; justify-content: flex-end; align-items: stretch; align-self: stretch; }
}
.nav-item { position: relative; display: flex; }
.nav-link {
  position: relative; height: var(--hdr-h); padding: 0 10px; display: flex; align-items: center; gap: 5px;
  color: var(--white); text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: 13px; letter-spacing: .06em; transition: background .15s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { background: var(--g850); color: var(--white); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 18px; height: 3px; background: var(--u-sig); }
.nav-link .chev { font-size: 9px; }
.nav-drop {
  display: none; position: absolute; top: 100%; left: 0; z-index: 40; min-width: 240px; flex-direction: column;
  background: var(--white); color: var(--black); border: 2px solid var(--black); border-top: 4px solid var(--u-sig);
  box-shadow: 8px 8px 0 rgba(11, 11, 11, .25);
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { display: flex; }
.nav-item:last-child .nav-drop, .nav-item:nth-last-child(2) .nav-drop { left: auto; right: 0; }
.nav-drop a {
  min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--g100); color: var(--black); text-decoration: none; font-weight: 600; font-size: 14px;
}
.nav-drop a::after { content: "→"; }
.nav-drop a:hover { background: var(--g50); color: var(--black); }

/* Mobile menu: opens with :target (no JS) or .menu-open (JS) */
.mmenu { position: fixed; inset: 0; z-index: 60; display: none; flex-direction: column; overflow-y: auto; background: var(--black); color: var(--white); }
.mmenu:target, .menu-open .mmenu { display: flex; }
.menu-open { overflow: hidden; }
.mm-top { display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 12px 0 16px; flex: none; }
.mm-close { min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--white); color: var(--white); text-decoration: none; font-weight: 700; font-size: 13px; background: none; cursor: pointer; }
.mm-close:hover { color: var(--black); background: var(--white); }
.mm-switch { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.mm-switch .btn-switch { min-height: 60px; padding: 0 18px; font-weight: 900; font-stretch: 75%; font-size: 24px; letter-spacing: .03em; }
.mm-nav { display: flex; flex-direction: column; padding: 0 16px; }
.mm-row { border-bottom: 1px solid var(--g800); }
.mm-row > a, .mm-row > details > summary {
  width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--white); text-decoration: none; cursor: pointer; list-style: none;
  font-stretch: 70%; font-weight: 900; font-size: 28px; line-height: 1; letter-spacing: .01em;
}
.mm-row > details > summary::-webkit-details-marker { display: none; }
.mm-row > details > summary::after { content: "+"; order: 3; width: 44px; text-align: center; font-weight: 400; font-size: 22px; font-stretch: 100%; }
.mm-row > details[open] > summary::after { content: "−"; }
.mm-row .is-current::before { content: ""; width: 10px; height: 10px; background: var(--u-sig); order: 2; margin-right: auto; margin-left: 10px; }
.mm-sub { display: flex; flex-direction: column; padding-bottom: 10px; }
.mm-sub a { min-height: 48px; padding-left: 16px; display: flex; align-items: center; justify-content: space-between; color: var(--white); text-decoration: none; font-size: 17px; font-weight: 600; }
.mm-sub a::after { content: "→"; width: 44px; text-align: center; }
.mm-sub a:hover { background: var(--g850); color: var(--white); }
.mm-foot { margin-top: auto; padding: 24px 16px 28px; border-top: 2px solid var(--g800); display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
@media (min-width: 1200px) { .mmenu, .menu-open .mmenu { display: none; } }

/* Layout */
.section { padding: clamp(32px, 5vw, 72px) var(--gutter); display: flex; flex-direction: column; gap: 24px; }
.section.tight { padding-top: 0; }
.section.ruled { border-bottom: 2px solid var(--black); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--black); padding-bottom: 14px; }
.sec-head h2 { font-stretch: 70%; font-weight: 900; font-size: clamp(36px, 5vw, 64px); line-height: .95; text-transform: uppercase; }
.sec-head h2.sm { font-size: clamp(32px, 4vw, 52px); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.dark { background: var(--black); color: var(--white); }
.grey { background: var(--g50); }

/* Hero slider (scroll-snap; JS adds arrows, dots and autoplay) */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; border-bottom: 2px solid var(--black); }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.hero-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: clamp(420px, 62vw, 760px); }
.slide > img, .slide > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-cap {
  position: absolute; left: var(--gutter); bottom: clamp(56px, 6vw, 72px); max-width: calc(100% - 32px);
  background: var(--black); border-left: 6px solid var(--u-sig); padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 8px;
}
.slide-cap .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g300); }
.slide-cap .t { font-stretch: 62%; font-weight: 900; font-size: clamp(40px, 7vw, 104px); line-height: .88; text-transform: uppercase; color: var(--u-title); }
.slide-cap p { color: var(--g200); font-size: 15px; max-width: 46ch; }
.slide-cap .btn { align-self: flex-start; margin-top: 4px; }
.hero-arrow, .hero-dots { display: none; }
.js .hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--white); border: 2px solid var(--white); font-size: 22px; font-weight: 800; cursor: pointer;
}
.js .hero-arrow:hover { background: var(--u-acc); color: var(--u-acc-ink); border-color: var(--u-acc); }
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }
@media (max-width: 767px) { .js .hero-arrow { display: none; } }
.js .hero-dots { position: absolute; left: var(--gutter); bottom: 4px; display: flex; }
.hero-dots button { width: 44px; height: 44px; padding: 0; background: none; border: 0; display: flex; align-items: center; cursor: pointer; }
.hero-dots button span { width: 32px; height: 5px; background: var(--white); opacity: .55; }
.hero-dots button[aria-current="true"] span { background: var(--u-sig); opacity: 1; }

/* Quick tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-bottom: 2px solid var(--black); overflow: hidden; }
/* Grids that draw their rules with a -2px margin must clip it. */
.steps, .info-grid, .split { overflow: hidden; }
.tile {
  min-height: 120px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  background: var(--white); color: var(--black); text-decoration: none;
  border-right: 2px solid var(--black); border-top: 2px solid var(--black); margin-right: -2px; transition: background .15s;
}
.tile:hover { background: var(--g50); color: var(--black); }
.tile .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tile .t { font-stretch: 70%; font-weight: 900; font-size: 28px; line-height: 1; text-transform: uppercase; }
.tile .row::after { content: "→"; font-size: 22px; font-weight: 800; }

/* School block */
.school {
  padding: clamp(36px, 6vw, 88px) var(--gutter) clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 4vw, 64px);
  border-bottom: 2px solid var(--black);
}
.school-title { display: flex; flex-direction: column; gap: 16px; }
.school h2 { font-stretch: 62%; font-weight: 900; font-size: clamp(44px, 6.5vw, 96px); line-height: .88; text-transform: uppercase; text-wrap: balance; }
.stats { display: flex; flex-wrap: wrap; border-top: 2px solid var(--black); margin-top: 8px; }
.stat { flex: 1 1 120px; padding: 14px 16px 0 0; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-stretch: 62%; font-weight: 900; font-size: 44px; line-height: .9; }
.stat span { font-size: 13px; color: var(--g600); }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.adv { background: var(--black); color: var(--white); padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--u-sig); }
.adv .n { font-stretch: 62%; font-weight: 900; font-size: 40px; line-height: .9; color: var(--u-title); }
.adv h3 { font-size: 20px; font-weight: 800; line-height: 1.15; }
.adv p { font-size: 15px; line-height: 1.5; color: var(--g200); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { border: 1.5px solid var(--black); font-weight: 800; font-size: 11px; letter-spacing: .08em; padding: 3px 7px; text-transform: uppercase; line-height: 1.3; }
.tag-afro { background: var(--yellow); color: var(--black); border-color: var(--yellow); padding: 4px 8px; }
.tag-full { background: var(--black); color: var(--white); }
.tag-few { border-color: var(--red); color: #A30F14; }
.meta { font-size: 12px; color: var(--g600); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.on-dark .tag { border-color: var(--white); }
.on-dark .tag-afro { border-color: var(--yellow); }

/* Course card */
.ccard {
  position: relative; height: 100%; background: var(--white); color: var(--black); border: 2px solid var(--black);
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease;
}
.ccard:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 var(--black); }
.ccard .bar { height: 8px; background: var(--u-sig); }
.ccard .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ccard h3 { font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.ccard h3 a { text-decoration: none; }
.ccard h3 a::before { content: ""; position: absolute; inset: 0; }
.ccard .when { font-stretch: 70%; font-weight: 900; font-size: 32px; line-height: .95; text-transform: uppercase; }
.ccard .notice { font-size: 13px; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.ccard .notice::before { content: ""; width: 8px; height: 8px; background: var(--u-sig); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; line-height: 1.4; margin: 0; }
.facts dt { color: var(--g600); }
.facts dd { margin: 0; }
.ccard .actions { margin-top: auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* Stage / event cards */
.mcard { position: relative; background: var(--white); color: var(--black); border: 2px solid var(--black); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.mcard:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 var(--black); }
.mcard .img { position: relative; aspect-ratio: 4 / 3; background: var(--g100); border-bottom: 2px solid var(--black); overflow: hidden; }
.mcard .img img, .mcard .img .ph { width: 100%; height: 100%; object-fit: cover; }
.mcard .badge { position: absolute; top: 0; left: 0; background: var(--black); color: var(--white); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
.mcard .bar { height: 6px; background: var(--u-sig); }
.mcard .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mcard h3 { font-size: 22px; font-weight: 800; line-height: 1.1; }
.mcard h3 a { text-decoration: none; }
.mcard h3 a::before { content: ""; position: absolute; inset: 0; }
.mcard .date { font-stretch: 70%; font-weight: 900; font-size: 26px; line-height: 1; text-transform: uppercase; }
.mcard .date p { margin: 0; }
.mcard .btn { margin-top: auto; position: relative; z-index: 1; }

/* City cards (home stages) */
.city-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.city-card { background: var(--black); color: var(--white); border: 2px solid var(--black); display: flex; flex-direction: column; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.city-card:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 var(--u-sig); color: var(--white); }
.city-card .img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--g900); }
.city-card .img img, .city-card .img .ph { width: 100%; height: 100%; object-fit: cover; }
.city-card .bar { height: 6px; background: var(--u-sig); }
.city-card .body { padding: 18px 20px 20px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.city-card .name { font-stretch: 62%; font-weight: 900; font-size: clamp(48px, 6vw, 80px); line-height: .85; text-transform: uppercase; color: var(--u-title); }
.city-card .go { min-height: 48px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: var(--u-acc); color: var(--u-acc-ink); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

/* Cross-universe banner */
.cross { padding: clamp(28px, 4vw, 56px) var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cross h2 { font-stretch: 70%; font-weight: 900; font-size: clamp(32px, 4.5vw, 56px); line-height: .95; text-transform: uppercase; }
.cross p { color: var(--g300); max-width: 60ch; }

/* Inner page head */
.phead { background: var(--black); color: var(--white); padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--g300); }
.crumbs a { color: var(--g300); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }
.phead h1 { font-stretch: 62%; font-weight: 900; font-size: clamp(48px, 9vw, 140px); line-height: .88; letter-spacing: -.01em; text-transform: uppercase; color: var(--u-title); overflow-wrap: anywhere; hyphens: auto; }
.phead h1.long { font-size: clamp(40px, 7vw, 104px); }
.phead .sub { color: var(--g300); font-size: 17px; max-width: 62ch; }
.phead .when { font-stretch: 70%; font-weight: 900; font-size: clamp(28px, 3.5vw, 44px); line-height: 1; text-transform: uppercase; }

/* Steps + split CTA */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-bottom: 2px solid var(--black); }
.step { padding: 28px clamp(16px, 3vw, 40px); border-right: 2px solid var(--black); margin-right: -2px; display: flex; flex-direction: column; gap: 10px; }
.step .n { display: flex; align-items: center; gap: 10px; font-stretch: 62%; font-weight: 900; font-size: 56px; line-height: .9; }
.step .n::before { content: ""; width: 14px; height: 14px; background: var(--u-sig); }
.step h2 { font-size: 22px; font-weight: 800; line-height: 1.15; }
.step p { color: var(--g600); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); border-top: 2px solid var(--black); }
.split a { min-height: 140px; padding: 28px var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; text-decoration: none; }
.split .a { background: var(--u-acc); color: var(--u-acc-ink); }
.split .a:hover { background: var(--black); color: var(--u-hover-ink); }
.split .b { background: var(--white); color: var(--black); border-left: 2px solid var(--black); }
.split .b:hover { background: var(--g50); color: var(--black); }
.split .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.split .big { display: flex; justify-content: space-between; width: 100%; font-stretch: 70%; font-weight: 900; font-size: 40px; line-height: 1; text-transform: uppercase; }
.split .big::after { content: "→"; }

/* Filters + planning */
.filters { padding: 20px var(--gutter); display: flex; flex-wrap: wrap; gap: 14px 28px; border-bottom: 2px solid var(--black); background: var(--g50); }
.fgroup { display: flex; flex-direction: column; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center;
  background: var(--white); color: var(--black); border: 2px solid var(--black); text-decoration: none; font-weight: 600; font-size: 14px;
}
.chip:hover { background: var(--g100); color: var(--black); }
.chip[aria-current="true"] { background: var(--u-acc); color: var(--u-acc-ink); border-color: var(--u-acc); font-weight: 800; }
.chip.afro { box-shadow: inset 0 -5px 0 var(--yellow); }
.daybar {
  position: sticky; top: calc(var(--hdr-h) + var(--strip-h)); z-index: 20; display: flex; overflow-x: auto;
  border-bottom: 2px solid var(--black); background: var(--white); box-shadow: 0 4px 0 rgba(11, 11, 11, .08);
}
.daytab {
  flex: 1 0 72px; min-height: 64px; padding: 8px 6px 8px 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  border-right: 1px solid var(--g100); color: var(--black); text-decoration: none;
}
.daytab b { font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.daytab span { font-size: 12px; color: var(--g600); }
.daytab:hover { background: var(--g50); color: var(--black); }
.daytab[aria-current="true"] { background: var(--black); color: var(--white); border-bottom: 5px solid var(--u-sig); }
.daytab[aria-current="true"] span { color: var(--g300); }
.daytab.empty { color: var(--g300); pointer-events: none; }
.dayblock { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: calc(var(--hdr-h) + var(--strip-h) + 80px); }
.dayblock + .dayblock { margin-top: 24px; }
.dayblock h2 { font-stretch: 70%; font-weight: 900; font-size: clamp(32px, 4vw, 52px); line-height: .95; text-transform: uppercase; border-bottom: 2px solid var(--black); padding-bottom: 10px; }
.empty-box { border: 2px dashed var(--black); padding: 32px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.empty-box strong { font-size: 18px; }
.session-band { padding: 14px var(--gutter); background: var(--black); color: var(--white); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; font-size: 14px; }
.session-band b { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.session-band span { color: var(--g300); }

/* Info grid (course, stage, event pages) */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border-bottom: 2px solid var(--black); }
.info { padding: 20px var(--gutter) 22px; border-right: 2px solid var(--black); border-top: 2px solid var(--black); margin-right: -2px; margin-top: -2px; display: flex; flex-direction: column; gap: 6px; }
.info .v { font-size: 18px; font-weight: 700; line-height: 1.3; }
.info .v small { display: block; font-weight: 500; font-size: 14px; color: var(--g600); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; font-weight: 600; }
.checklist li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; background: var(--u-sig); }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--black); border: 2px solid var(--black); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed { width: 100%; min-height: 720px; border: 2px solid var(--black); background: var(--white); }
.faq { border-top: 2px solid var(--black); }
.faq details { border-bottom: 2px solid var(--black); }
.faq summary { min-height: 60px; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--black); font-weight: 400; font-size: 20px; }
.faq details[open] summary::after { content: "−"; background: var(--u-acc); color: var(--u-acc-ink); border-color: var(--u-acc); }
.faq .md { padding: 0 0 20px; }

/* Signup form */
.signup { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
.summary { border: 2px solid var(--black); background: var(--g50); position: sticky; top: calc(var(--hdr-h) + var(--strip-h) + 16px); }
.summary .bar { height: 8px; background: var(--u-sig); }
.summary .body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.summary .price { font-stretch: 70%; font-weight: 900; font-size: 40px; line-height: 1; }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label, fieldset > legend { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g600); }
.req::after { content: " *"; color: var(--red); }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.input { width: 100%; min-height: 48px; padding: 0 14px; background: var(--white); border: 2px solid var(--black); border-radius: 0; font-size: 16px; }
textarea.input { min-height: 120px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:hover { background-color: var(--g50); }
.input[aria-invalid="true"] { border-color: var(--red); }
.opt { display: flex; align-items: flex-start; gap: 10px; min-height: 32px; font-size: 15px; cursor: pointer; }
.opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--black); flex: none; }
.opts-inline { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--black); }
.seg label { position: relative; min-height: 56px; padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; cursor: pointer; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.seg label + label { border-left: 2px solid var(--black); }
.seg label small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--g600); font-size: 13px; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: var(--u-acc); color: var(--u-acc-ink); }
.seg label:has(input:checked) small { color: inherit; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.err { color: #A30F14; font-size: 14px; font-weight: 600; }
.errors { border: 2px solid var(--red); background: #FFF2EF; padding: 14px 16px; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dryrun { border: 2px dashed var(--black); padding: 14px 16px; background: var(--yellow); color: var(--black); font-weight: 700; }
.payload { background: var(--black); color: var(--g50); padding: 16px; overflow-x: auto; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }

/* Team, styles, venues, pricing */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.pcard { position: relative; border: 2px solid var(--black); background: var(--white); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.pcard:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 var(--black); }
.pcard .img { aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 2px solid var(--black); background: var(--g100); }
.pcard .img img, .pcard .img .ph { width: 100%; height: 100%; object-fit: cover; }
.pcard .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.pcard h3 { font-stretch: 70%; font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a::before { content: ""; position: absolute; inset: 0; }
.pcard p { font-size: 14px; color: var(--g600); }
.portrait { border: 2px solid var(--black); aspect-ratio: 4 / 5; overflow: hidden; max-width: 420px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.list-rows { border-top: 2px solid var(--black); }
.list-rows > * { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--g100); }
.list-rows a { text-decoration: none; }
.list-rows .t { font-weight: 800; font-size: 18px; }
.table-scroll { overflow-x: auto; border: 2px solid var(--black); }
.ptable { width: 100%; border-collapse: collapse; min-width: 620px; }
.ptable th { background: var(--black); color: var(--white); text-align: left; padding: 12px 14px; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.ptable td { padding: 12px 14px; border-top: 1px solid var(--g100); vertical-align: top; }
.ptable td:first-child { font-weight: 700; }
.ptable .num { font-stretch: 70%; font-weight: 900; font-size: 26px; line-height: 1; }
.ptable .num small { display: block; font-stretch: 100%; font-weight: 500; font-size: 13px; color: var(--g600); margin-top: 4px; }
.ptable tr.is-current td { background: var(--g50); }

/* Entry page */
.entry { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--black); color: var(--white); }
.entry-top { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 14px; border-bottom: 2px solid var(--g800); }
.entry-top .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.entry h1 { font-stretch: 70%; font-weight: 900; font-size: clamp(34px, 6vw, 72px); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.entry-top p { color: var(--g300); font-size: 15px; max-width: 52ch; }
.entry-choices { flex: 1; display: flex; flex-wrap: wrap; gap: 2px; background: var(--g800); }
.entry-choices form { display: contents; }
.uni {
  flex: 1 1 340px; min-height: 320px; container-type: inline-size; display: flex; flex-direction: column; text-align: left;
  background: var(--black); color: var(--white); border: 0; padding: 0; cursor: pointer; text-decoration: none; transition: background .2s;
}
.uni:hover { background: var(--g950); color: var(--white); }
.uni.salsa { border-top: 6px solid var(--red); }
.uni.afro::before { content: ""; display: block; height: 6px; background: var(--afro-pattern); }
.uni .pic { position: relative; flex: 1; min-height: 150px; width: 100%; overflow: hidden; background: var(--stripes); }
.uni .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.uni .txt { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.uni .name { font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 19cqi, 190px); line-height: .85; letter-spacing: -.01em; }
.uni.afro .name { color: var(--yellow); }
.uni .sub { color: var(--g300); font-size: 15px; font-weight: 600; }
.uni .go { margin-top: 6px; min-height: 52px; max-width: 320px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-weight: 800; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; }
.uni.salsa .go { background: var(--red); color: var(--white); }
.uni.afro .go { background: var(--yellow); color: var(--black); }
.uni .go::after { content: "→"; }
.entry-seo { background: var(--white); color: var(--black); }

/* Footer */
.site-footer { background: var(--black); color: var(--white); }
.ftr-grid { padding: clamp(32px, 4vw, 56px) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ftr-col p { color: var(--g300); font-size: 14px; }
.ftr-nav { display: flex; flex-direction: column; }
.ftr-nav a { min-height: 36px; display: flex; align-items: center; color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.ftr-nav a:hover { color: var(--white); text-decoration: underline; }
.ftr-pref b { font-size: 18px; font-weight: 800; }
.linkish { min-height: 44px; padding: 0; background: none; border: 0; color: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; text-align: left; display: inline-flex; align-items: center; }
.linkish:hover { text-decoration-thickness: 2px; color: inherit; }
.ftr-bottom { border-top: 2px solid var(--g800); padding: 16px var(--gutter); font-size: 12px; color: var(--g300); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr-bottom a { color: var(--g300); }
.social { display: flex; gap: 8px; }
.social a { min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; border: 2px solid var(--white); color: var(--white); text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.social a:hover { background: var(--white); color: var(--black); }

/* Dialog + toast */
.dlg-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(11, 11, 11, .55); }
.dlg {
  position: fixed; z-index: 71; left: 12px; right: 12px; bottom: 12px; max-width: 480px; margin: 0 auto;
  background: var(--white); color: var(--black); border: 2px solid var(--black); box-shadow: 10px 10px 0 rgba(11, 11, 11, .35);
}
.dlg .bar { height: 8px; background: var(--u-sig); }
.dlg .body { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.dlg h2 { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.dlg p { font-size: 15px; color: var(--g600); }
.dlg .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dlg .choices .btn { min-height: 52px; font-size: 15px; text-transform: none; letter-spacing: 0; }
.dlg .choices .btn-dark { background: var(--black); color: var(--white); }
.dlg .choices .btn-dark:hover { background: var(--g800); border-color: var(--g800); }
.dlg-wrap:target, .dlg-wrap[hidden] { display: none; }
.toast {
  position: fixed; z-index: 80; left: 12px; right: 12px; top: calc(var(--hdr-h) + 16px); max-width: 520px; margin: 0 auto;
  background: var(--black); color: var(--white); border: 2px solid var(--white); box-shadow: 6px 6px 0 rgba(11, 11, 11, .35);
  padding: 12px 16px; font-size: 14px; font-weight: 600; animation: toast 6s forwards;
}
@keyframes toast { 0%, 85% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
