:root {
  --ink: #14100e;
  --ink-soft: #221a16;
  --paper: #f4ead8;
  --paper-deep: #e6d3b6;
  --gold: #efa94a;
  --gold-bright: #ffd98b;
  --rose: #ff6f91;
  --violet: #b883ff;
  --cyan: #47d9e9;
  --green: #88e693;
  --line-dark: rgba(255, 234, 198, 0.17);
  --line-light: rgba(28, 19, 14, 0.15);
  --shell: min(1180px, calc(100vw - 40px));
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 181, 83, 0.12), transparent 31%),
    radial-gradient(circle at 90% 32%, rgba(184, 131, 255, 0.08), transparent 28%),
    var(--ink);
  content: "";
}

a {
  color: inherit;
}

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

button,
.button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--shell);
  min-height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: clamp(22px, 3vw, 42px);
}

.main-nav a,
.language-picker a {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.language-picker a:hover,
.language-picker a:focus-visible,
.language-picker a.active {
  color: var(--gold-bright);
}

.language-picker {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.language-picker a {
  min-width: 37px;
  padding: 7px 6px;
  border: 1px solid transparent;
  border-radius: 100px;
  text-align: center;
}

.language-picker a.active {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.2);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(940px, 100svh);
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image-wrap,
.hero-image-shade {
  position: absolute;
  inset: 0;
}

.hero-image-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-image-shade {
  background:
    linear-gradient(90deg, rgba(10, 8, 7, 0.83) 0%, rgba(10, 8, 7, 0.38) 42%, rgba(10, 8, 7, 0.06) 70%),
    linear-gradient(0deg, rgba(15, 11, 9, 0.96) 0%, transparent 42%, rgba(9, 7, 6, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 155px;
  padding-bottom: 52px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.pricing-header h3,
.maestros-card h3,
.registration-card h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.94;
}

.hero h1 {
  max-width: 800px;
  color: #fff7e9;
  font-size: clamp(4.1rem, 10.7vw, 9.4rem);
  letter-spacing: -0.065em;
  text-shadow: 0 5px 35px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
  display: inline-block;
  background: linear-gradient(90deg, var(--rose), var(--gold-bright), var(--green), var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.46em;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 620px;
  margin: 27px 0 0;
  color: rgba(255, 248, 235, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(100deg, #ff8a74, #f5c05b 42%, #91e69a 74%, #78d9ee);
  color: #17100d;
  box-shadow: 0 12px 38px rgba(228, 147, 65, 0.22);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.43);
  background: rgba(16, 12, 10, 0.23);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 11px;
}

.hero-facts strong {
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 500;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(86px, 12vw, 155px) 0;
}

.section-heading h2 {
  font-size: clamp(3.2rem, 7.5vw, 7.2rem);
  letter-spacing: -0.055em;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 70px;
}

.split-heading > p {
  max-width: 490px;
  margin: 0 0 7px;
  color: rgba(255, 244, 226, 0.66);
  font-size: 1.05rem;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.intro-heading h2 {
  max-width: 520px;
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.intro-copy {
  max-width: 650px;
  padding-top: 24px;
  color: rgba(255, 245, 229, 0.75);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.intro-copy p:first-child::first-letter {
  float: left;
  margin: 8px 10px 0 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 4.3rem;
  line-height: 0.65;
}

.program-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.program-section::before {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: conic-gradient(from 80deg, var(--rose), var(--gold), var(--green), var(--cyan), var(--violet), var(--rose));
  content: "";
  filter: blur(115px);
  opacity: 0.14;
}

.program-section .eyebrow {
  color: #975313;
}

.program-section .split-heading > p {
  color: rgba(20, 16, 14, 0.66);
}

.schedule {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 75px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.day {
  padding: 33px clamp(20px, 3vw, 38px) 42px;
}

.day + .day {
  border-left: 1px solid var(--line-light);
}

.day-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
}

.day-header h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.day-header span {
  color: rgba(20, 16, 14, 0.48);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.event-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light);
}

.event-time {
  font-family: var(--display);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.event-copy span {
  display: inline-block;
  margin-bottom: 7px;
  color: #96601f;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.event-copy h4 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.event-copy p {
  margin: 8px 0 0;
  color: rgba(20, 16, 14, 0.62);
  font-size: 0.84rem;
  line-height: 1.52;
}

.event-item.milonga {
  margin: 10px -14px 0;
  padding: 24px 14px;
  border-top: 0;
  border-radius: 15px;
  background: var(--ink-soft);
  color: var(--paper);
}

.event-item.milonga .event-copy span {
  color: var(--gold-bright);
}

.event-item.milonga .event-copy p {
  color: rgba(255, 245, 228, 0.61);
}

.pricing-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 100px;
}

.pricing-header h3 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.notice {
  margin: 0 0 6px;
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.price-card {
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.27);
}

.price-card:first-child {
  background: #ead8bd;
}

.price-card:last-child {
  background: var(--ink-soft);
  color: var(--paper);
}

.price-period {
  display: block;
  min-height: 45px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.price-card p {
  min-height: 80px;
  margin: 14px 0 24px;
  color: rgba(20, 16, 14, 0.58);
  font-size: 0.86rem;
}

.price-card:last-child p {
  color: rgba(255, 245, 228, 0.58);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-top: 1px solid currentColor;
}

.price-row span {
  font-size: 0.75rem;
  font-weight: 700;
}

.price-row strong {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  white-space: nowrap;
}

.artists-section {
  border-top: 1px solid var(--line-dark);
}

.maestros-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  margin-top: 76px;
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid var(--line-dark);
  border-radius: 25px;
  background:
    linear-gradient(125deg, rgba(255, 180, 89, 0.14), transparent 40%),
    rgba(255, 255, 255, 0.025);
}

.maestros-photo,
.dj-photo {
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  justify-self: center;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.maestros-photo img,
.dj-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.maestros-content {
  min-width: 0;
}

.maestros-title > span,
.dj-card > span {
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.maestros-card h3 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 4.7vw, 4.7rem);
}

.maestros-copy > p {
  margin-top: 0;
  color: rgba(255, 245, 229, 0.71);
  font-size: 1.05rem;
}

.achievements {
  margin: 31px 0;
  padding: 0;
  list-style: none;
}

.achievements li {
  position: relative;
  padding: 13px 0 13px 27px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84rem;
  font-weight: 750;
}

.achievements li::before {
  position: absolute;
  top: 16px;
  left: 2px;
  color: var(--gold);
  content: "✦";
}

.video-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.video-links a,
.text-link {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-underline-offset: 5px;
}

.video-links a span:first-child {
  display: inline-grid;
  width: 25px;
  height: 25px;
  margin-right: 7px;
  place-items: center;
  border: 1px solid rgba(255, 217, 139, 0.35);
  border-radius: 50%;
  font-size: 0.62rem;
}

.dj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.dj-card {
  min-height: 225px;
  padding: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: var(--ink-soft);
}

.dj-card-with-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(20px, 3vw, 38px);
}

.dj-photo {
  flex: 0 0 auto;
}

.dj-card-content {
  width: 100%;
  max-width: 440px;
  margin-top: clamp(24px, 3vw, 34px);
  min-width: 0;
}

.dj-card-content > span {
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dj-card h3 {
  margin: 35px 0 0;
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
}

.dj-card-with-photo h3 {
  margin-top: 20px;
}

.dj-card-content > p {
  margin: 8px 0 0;
  color: rgba(255, 245, 228, 0.57);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dj-bio {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.dj-bio p {
  margin: 0;
  color: rgba(255, 245, 229, 0.71);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
  text-transform: none;
}

.dj-bio p + p {
  margin-top: 14px;
}

.rainbow-card {
  position: relative;
  overflow: hidden;
}

.rainbow-card::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: conic-gradient(var(--rose), var(--gold), var(--green), var(--cyan), var(--violet), var(--rose));
  content: "";
  filter: blur(48px);
  opacity: 0.25;
  z-index: 0;
}

.rainbow-card > * {
  position: relative;
  z-index: 1;
}

.registration-section {
  position: relative;
  overflow: hidden;
  background: #33261e;
}

.registration-section::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  content: "";
}

.registration-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 9vw, 130px);
}

.registration-section .section-heading h2 {
  font-size: clamp(3.3rem, 6.5vw, 6.2rem);
}

.registration-section .section-heading > p:last-child {
  max-width: 400px;
  color: rgba(255, 245, 229, 0.65);
}

.registration-grid {
  display: grid;
  gap: 14px;
}

.registration-card {
  position: relative;
  min-height: 270px;
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 19px;
  background: rgba(16, 12, 10, 0.3);
}

.registration-card h3 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.registration-card p {
  max-width: 500px;
  margin: 20px 0 27px;
  color: rgba(255, 245, 229, 0.65);
}

.registration-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.registration-actions .text-link {
  font-size: 1rem;
}

.registration-or {
  color: rgba(255, 245, 229, 0.65);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.disabled-link {
  cursor: default;
  opacity: 0.58;
  pointer-events: none;
}

.site-footer {
  padding: 32px 0;
  background: #0d0a09;
  color: rgba(255, 245, 229, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 50;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 100px;
  background: rgba(20, 16, 14, 0.88);
  box-shadow: 0 10px 30px rgba(8, 6, 5, 0.24);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  visibility: hidden;
  backdrop-filter: blur(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 900px;
  }

  .hero-image {
    object-position: 56% 50%;
  }

  .hero-image-shade {
    background:
      linear-gradient(90deg, rgba(10, 8, 7, 0.78), rgba(10, 8, 7, 0.08)),
      linear-gradient(0deg, rgba(15, 11, 9, 0.98) 0%, transparent 60%, rgba(9, 7, 6, 0.25) 100%);
  }

  .intro,
  .registration-shell,
  .maestros-card {
    grid-template-columns: 1fr;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .day + .day {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .day-header {
    min-height: 72px;
  }

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

  .price-card {
    min-height: 0;
  }

  .price-card p {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 790px;
  }

  .hero-image {
    object-position: 55% 50%;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .hero-facts div {
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-facts strong {
    font-size: 1.65rem;
  }

  .section {
    padding: 82px 0;
  }

  .pricing-header,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-header {
    display: flex;
  }

  .notice {
    border-radius: 12px;
  }

  .maestros-card,
  .dj-card-with-photo {
    padding: 28px 22px;
  }

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

  .registration-card {
    padding: 28px 24px;
  }

  .footer-inner {
    display: flex;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
