:root {
  color-scheme: dark;
  --base: #171313;
  --surface: #211a1a;
  --paper: #f4efeb;
  --ink: #181313;
  --text: #fff8f3;
  --muted: #cbbfba;
  --accent: #ff4845;
  --action: #c9232c;
  --action-hover: #a91723;
  --line: #51403e;
  --red: #a31e26;
  --display: Impact, "Haettenschweiler", "Arial Narrow", sans-serif;
  --body: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--base); font: 16px/1.65 var(--body); }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - 88px, 1232px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; inset: 8px auto auto 8px; padding: 10px 16px; color: #171313; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.masthead { background: #171313; border-bottom: 1px solid #37302f; }
.masthead-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 740; line-height: 1.08; text-decoration: none; }
.wordmark strong { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #e2d7d3; }
.wordmark-bars {
  width: 27px;
  height: 28px;
  flex: 0 0 auto;
  transform: skewX(-12deg);
  background: linear-gradient(90deg, var(--accent) 0 28%, transparent 28% 36%, var(--accent) 36% 64%, transparent 64% 72%, var(--accent) 72%);
}
.masthead nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 660; }
.masthead nav a { text-decoration: none; }
.masthead nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-action { padding: 8px 13px; border: 1px solid #8f6562; }
.nav-action span { margin-inline-start: 4px; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 77% 16%, #63212679, transparent 54%),
    linear-gradient(122deg, #191313 40%, #361719);
}
.hero-grid {
  min-height: 624px;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5.8vw, 88px);
  padding-block: clamp(45px, 5vw, 76px);
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--accent);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.live-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #ff484522; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
h1 {
  max-width: 16ch;
  margin-block: 17px 19px;
  font-size: clamp(53px, 5.65vw, 84px);
  line-height: .99;
  letter-spacing: -.012em;
}
h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 55ch; color: #f5eae5; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.48; }
.hero-intro { max-width: 53ch; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.52; }
.hero-action { margin-top: 23px; display: grid; justify-items: start; gap: 12px; }
.hero-event { display: flex; flex-wrap: wrap; gap: 4px 14px; color: #e1d3cd; font-size: 13px; line-height: 1.4; }
.hero-event span + span { border-left: 1px solid #946a66; padding-left: 14px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}
.button [aria-hidden] { flex-shrink: 0; font-size: 20px; line-height: 1; }
.button--primary { color: #fff; background: var(--action); }
.button--primary:hover { background: var(--action-hover); }
.button--text { min-height: 40px; padding: 3px 0; color: inherit; border-bottom: 2px solid var(--accent); }
.button--text:hover { border-bottom-color: currentColor; }

.hero-portrait {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 462px;
  justify-self: end;
  border: 1px solid #fb938970;
  background: #622526;
  box-shadow: 14px 14px 0 #ce2f313b;
}
.hero-portrait img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
.hero-portrait::after { content: ""; position: absolute; inset: 38% 0 0; z-index: 0; background: linear-gradient(transparent 23%, #170e0ecc); pointer-events: none; }
.hero-portrait figcaption {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 1;
  right: 19px;
  bottom: 19px;
  left: 19px;
  padding-left: 13px;
  border-left: 3px solid var(--accent);
  color: #fff;
  line-height: 1.25;
}
.hero-portrait figcaption strong { display: block; font-size: clamp(18px, 2.3vw, 30px); letter-spacing: -.045em; }
.hero-portrait figcaption small { display: block; margin-top: 2px; color: #f2dfd8; font-size: 12px; }

.facts { background: #a31e26; color: white; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts p { display: grid; gap: 3px; padding: 15px clamp(12px, 3vw, 36px); border-left: 1px solid #ffffff4d; line-height: 1.25; }
.facts p:first-child { padding-left: 0; border-left: 0; }
.facts strong { font-size: clamp(18px, 2.6vw, 36px); font-weight: 790; letter-spacing: -.055em; }
.facts span { font-size: 13px; }

.section { padding-block: clamp(55px, 7.5vw, 108px); }
.section--split, .registration-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); column-gap: clamp(35px, 7vw, 110px); row-gap: 24px; }
.section--stack { display: grid; gap: 28px; }
h2 {
  font-size: clamp(35px, 4.45vw, 69px);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.section--stack > h2 { max-width: 24ch; }
.section-content { font-size: 17px; color: var(--muted); }
.section-content > :not(:last-child) { margin-bottom: 14px; }
.section-content > .cards:not(:last-child), .section-content > .button:not(:first-child) { margin-top: 12px; }
.section-content > p { max-width: 67ch; }
.section-content h3 { color: var(--text); font-size: 19px; line-height: 1.2; }
.section--alt, .registration { color-scheme: light; color: var(--ink); background: var(--paper); }
.section--alt .section-content, .registration .section-content { color: #4e403b; }
.section--alt h3, .registration h3 { color: var(--ink); }
.section--final { background: #2a1819; border-block: 1px solid #512627; }
.checks { display: grid; gap: 10px; padding: 0; margin-top: 0; list-style: none; }
.checks li { position: relative; padding-left: 25px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.section--alt .checks li::before, .registration .checks li::before { color: #ad1e27; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lesson { min-width: 0; padding: 21px 20px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.section--alt .lesson { background: #fffcf8; border-color: #d8cac3; border-top-color: var(--action); }
.lesson h3 { margin-bottom: 7px; font-weight: 750; text-wrap: pretty; }
.lesson p { margin: 0; font-size: 15px; line-height: 1.55; }

.instructor { background: #26191a; border-block: 1px solid #422b2a; }
.instructor-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(30px, 7vw, 108px); }
.instructor-photo { position: relative; overflow: hidden; border: 1px solid #fc8c8450; }
.instructor-photo img { aspect-ratio: 5 / 6; max-height: 550px; object-fit: cover; object-position: 50% 59%; }
.instructor h2 { margin-block: 14px 19px; }

.registration { background: #f3e4dc; }
.registration-grid { align-items: center; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.registration h2 { margin-bottom: 15px; }
.ticket {
  position: relative;
  max-width: 445px;
  padding: 27px 30px 29px;
  color: var(--text);
  background: #201617;
  border: 1px solid #6f3739;
  border-top: 5px solid var(--action);
  box-shadow: 7px 7px 0 #88212a2f;
}
.ticket-label { color: #fdb1aa; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.ticket-price { margin-block: 3px 10px; font-size: clamp(51px, 6.6vw, 83px); line-height: 1; font-weight: 800; letter-spacing: -.07em; }
.ticket-price span { font-size: .44em; letter-spacing: -.03em; }
.ticket-event { display: grid; gap: 3px; padding-block: 14px; color: #eee1dc; font-size: 14px; border-block: 1px solid #6c5050; }
.ticket .button, .pending { margin-top: 16px; }
.pending { color: #fbd5cf; font-size: 15px; font-weight: 700; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding-block: 13px;
  cursor: pointer;
  color: var(--text);
  font-weight: 710;
  line-height: 1.35;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 20px 17px 0; }
.final-action { padding-bottom: 55px; }
.footer { padding-block: 23px; border-top: 1px solid var(--line); background: #171313; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; color: #e8dad4; font-size: 13px; }
.footer-inner p { max-width: 65ch; margin-top: 4px; color: #c7b8b2; }
.footer a { flex-shrink: 0; text-decoration: none; }

.theme-extensa .hero {
  background: radial-gradient(ellipse at 80% 52%, #7e1d25, transparent 56%), #171213;
}
.theme-extensa .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 64px); }
.theme-extensa .hero-portrait { max-width: none; box-shadow: 10px 10px 0 #de393b45; }
.theme-extensa .hero-portrait img { aspect-ratio: 1.14; }
.theme-extensa .instructor-photo img { aspect-ratio: 4 / 3; }
.theme-extensa .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.theme-plano .hero { color: var(--ink); background: #f4efeb; }
.theme-plano .hero-grid { gap: clamp(35px, 8vw, 120px); }
.theme-plano .hero-lead, .theme-plano .hero-event { color: #4e3e39; }
.theme-plano .hero .eyebrow, .theme-plano h1 em { color: #b32129; }
.theme-plano .hero h1 { font-size: clamp(62px, 7.4vw, 108px); }
.theme-plano .hero-portrait { border-color: #733d3a; box-shadow: 13px 13px 0 #b4212b42; }
.theme-plano .facts { background: #a31e26; }
.theme-plano .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.theme-plano .instructor-photo img { aspect-ratio: 4 / 3; }

@media (max-width: 1000px) {
  .wrap { width: min(100% - 64px, 1232px); }
  .hero-grid { min-height: 0; }
  h1 { font-size: clamp(43px, 6.55vw, 76px); }
  .theme-extensa .cards, .theme-plano .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 38px); }
  .masthead-inner { min-height: 60px; gap: 12px; }
  .masthead nav { gap: 10px; }
  .masthead nav a:not(.nav-action) { display: none; }
  .hero-grid, .theme-extensa .hero-grid, .theme-plano .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 37px; }
  h1 { max-width: 15ch; margin-block: 13px 14px; font-size: clamp(42px, 10.2vw, 70px); }
  .theme-plano .hero h1 { font-size: clamp(50px, 11vw, 79px); }
  .hero-lead { font-size: 16px; }
  .hero-intro { font-size: 14px; }
  .hero-action { margin-top: 17px; }
  .hero-event { gap: 4px 8px; }
  .hero-event span + span { padding-left: 8px; }
  .hero-portrait, .theme-extensa .hero-portrait { max-width: none; box-shadow: 7px 7px 0 #d42c3042; }
  .theme-plano .hero-portrait { box-shadow: 7px 7px 0 #b4212b42; }
  .hero-portrait img, .theme-extensa .hero-portrait img { aspect-ratio: 1.23; object-position: 50% 58%; }
  .facts p { padding-block: 13px; }
  .facts span { font-size: 11px; }
  .section--split, .registration-grid, .instructor-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-content { font-size: 16px; }
  .instructor-photo { order: 2; }
  .instructor-photo img { aspect-ratio: 1.23; }
  .registration-grid { gap: 20px; }
  .ticket { width: 100%; }
}

@media (max-width: 435px) {
  .cards, .theme-extensa .cards, .theme-plano .cards { grid-template-columns: 1fr; }
  .lesson { padding: 15px 16px; }
  .footer-inner { display: grid; gap: 10px; }
}

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