/* ============================================================
   The Hero C.O.D.E. | Workshop Landing Page
   Design tokens from the Claude Design handoff (hifi, 1180px)
   ============================================================ */

:root {
  --bg-primary: #0B0E24;      /* primary dark navy */
  --bg-secondary: #11152F;    /* secondary panel navy */
  --card: #15193A;            /* card surface */
  --gold: #F2A33C;            /* primary accent */
  --magenta: #C42A6B;
  --blue: #4F8DF7;
  --green: #2FB985;
  --pink: #E879A8;
  --ink-on-gold: #14110F;
  --off-white: #F4EFE7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  color: var(--off-white);
  font-family: 'Archivo', sans-serif;
}

img { display: block; }

a { text-decoration: none; }

.anton { font-family: 'Anton', sans-serif; font-weight: 400; }

/* Heavy labels: Archivo 700 per handoff (Archivo Black is the alternate) */
.heavy { font-family: 'Archivo', sans-serif; font-weight: 700; }

.kicker {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------------- Hero banner ---------------- */

.hero {
  position: relative;
  height: 642px;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.1s ease;
  opacity: 0;
}

.hero__slide.is-active { opacity: 1; }

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,14,36,.97) 0%, rgba(11,14,36,.86) 38%, rgba(11,14,36,.3) 72%, rgba(11,14,36,.55) 100%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 12% 30%, rgba(242,163,60,.18), transparent 55%);
}

.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  z-index: 3;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}

.nav__star {
  width: 26px;
  height: 26px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.nav__wordmark {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: .1em;
  color: #fff;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(244,239,231,.75);
  transition: color .2s ease;
}

.nav__link:hover { color: #fff; }

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 2px;
  transition: background .2s ease, color .2s ease;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--ink-on-gold);
}

.btn-outline--lg {
  display: inline-block;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  padding: 14px 26px;
}

.hero__content {
  position: absolute;
  left: 48px;
  bottom: 72px;
  max-width: 620px;
  z-index: 2;
}

.hero__kicker {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__title {
  font-family: 'Anton', sans-serif;
  font-size: 88px;
  line-height: .88;
  letter-spacing: .01em;
  margin: 0;
  color: #fff;
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
}

.hero__lede {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(244,239,231,.86);
  max-width: 500px;
  margin: 24px 0 30px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ink-on-gold);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.link-underline {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 2px solid rgba(242,163,60,.6);
  padding-bottom: 3px;
  transition: border-color .2s ease;
}

.link-underline:hover { border-color: var(--gold); }

.hero__actions .link-underline { font-size: 20px; }

.hero__dots {
  position: absolute;
  right: 40px;
  bottom: 34px;
  display: flex;
  gap: 9px;
  z-index: 2;
}

.hero__dot {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: rgba(244,239,231,.3);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .3s ease;
}

.hero__dot.is-active { background: var(--gold); }

/* ---------------- Framework ---------------- */

.framework {
  padding: 72px 48px;
  background: var(--bg-primary);
  position: relative;
}

.framework__dots {
  position: absolute;
  top: 40px;
  right: 48px;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(rgba(242,163,60,.4) 1.5px, transparent 1.6px);
  background-size: 13px 13px;
  opacity: .5;
}

.framework h2 {
  font-family: 'Anton', sans-serif;
  font-size: 58px;
  line-height: .95;
  margin: 10px 0 14px;
  color: #fff;
}

.framework__intro {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(244,239,231,.7);
  max-width: 560px;
  margin: 0 0 44px;
}

.section-cta { margin-top: 40px; }

.framework__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.move { padding-top: 22px; }
.move--c { border-top: 3px solid var(--magenta); }
.move--o { border-top: 3px solid var(--gold); }
.move--d { border-top: 3px solid var(--blue); }
.move--e { border-top: 3px solid var(--green); }

.move__letter {
  font-family: 'Anton', sans-serif;
  font-size: 64px;
  line-height: .8;
}

.move--c .move__letter { color: var(--magenta); }
.move--o .move__letter { color: var(--gold); }
.move--d .move__letter { color: var(--blue); }
.move--e .move__letter { color: var(--green); }

.move h3 {
  font-weight: 700;
  font-size: 17px;
  margin: 14px 0 8px;
  letter-spacing: .02em;
  color: var(--off-white);
}

.move p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(244,239,231,.66);
}

/* ---------------- Formats (workshop or keynote) ---------------- */

.formats {
  padding: 72px 48px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,.07);
}

.formats h2 {
  font-family: 'Anton', sans-serif;
  font-size: 58px;
  line-height: .95;
  margin: 10px 0 14px;
  color: #fff;
}

.info-card .info-card__meta {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gold);
}

.formats__note {
  margin: 34px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(244,239,231,.7);
}

/* ---------------- About / facilitator ---------------- */

.about {
  background: var(--bg-secondary);
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.07);
}

.about__media {
  flex: none;
  width: 420px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(17,21,47,.9) 100%);
}

.about__body {
  flex: 1;
  padding: 60px 52px;
}

.about h2 {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  line-height: .95;
  margin: 10px 0 4px;
  color: #fff;
}

.about__subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--gold);
  font-weight: 700;
}

.about__bio {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.65;
  color: rgba(244,239,231,.78);
  max-width: 560px;
}

.about__cta { margin-top: 26px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(244,239,231,.85);
}

.pill--gold { border-color: rgba(242,163,60,.5); color: var(--gold); }
.pill--pink { border-color: rgba(196,42,107,.6); color: var(--pink); }

/* ---------------- Testimonials ---------------- */

.reviews {
  padding: 72px 48px;
  background: var(--bg-primary);
}

.reviews__head {
  text-align: center;
  margin-bottom: 42px;
}

.reviews h2 {
  font-family: 'Anton', sans-serif;
  font-size: 58px;
  line-height: .95;
  margin: 10px 0 14px;
  color: #EB963F;
}

.quote-card {
  background: var(--card);
  border-radius: 6px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.06);
}

.quote-card--featured {
  padding: 38px 42px;
  margin-bottom: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.quote-card--featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.quote-card__mark {
  font-family: 'Anton', sans-serif;
  font-size: 54px;
  color: var(--gold);
  line-height: .5;
}

.quote-card--featured .quote-card__text {
  margin: 10px 0 18px;
  font-size: 19px;
  line-height: 1.55;
  color: #fff;
}

.quote-card__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244,239,231,.88);
}

.quote-card__name {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
}

.quote-card__role {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(244,239,231,.55);
}

.quote-card__stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: .2em;
  margin-bottom: 12px;
}

/* Auto-scrolling testimonial marquee */

.marquee {
  position: relative;
  overflow: hidden;
}

.marquee__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}

.marquee__fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.marquee__fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--bg-primary), transparent);
}

.marquee__track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marqueeX 55s linear infinite;
}

.marquee__track:hover { animation-play-state: paused; }

.marquee__group {
  display: flex;
  gap: 22px;
}

@keyframes marqueeX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.quote-card--marquee {
  width: 380px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.quote-card--marquee .quote-card__text {
  flex: 1;
  font-size: 17px;
  line-height: 1.55;
}

/* Body sizes vary by quote length so cards fill evenly */
.quote-card--sm .quote-card__text { font-size: 14px; line-height: 1.6; }
.quote-card--md .quote-card__text { font-size: 15px; }
.quote-card--lg .quote-card__text { font-size: 19px; }

/* ---------------- FAQ ---------------- */

.faq {
  position: relative;
  padding: 72px 48px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.faq__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.faq__bg.is-active { opacity: 1; }

.faq__scrim {
  position: absolute;
  inset: 0;
  background: rgba(17,21,47,.78);
}

.faq h2 {
  position: relative;
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  margin: 0 0 34px;
  color: #fff;
}

.faq__list { position: relative; }

.faq__item {
  border-top: 1px solid rgba(255,255,255,.12);
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.faq__q {
  position: relative;
  margin: 0;
  padding: 22px 44px 22px 0;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q:hover { color: var(--gold); }

.faq__q::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--gold);
  transform: translateY(-50%);
  transition: transform .25s ease;
}

.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }

.faq__a {
  margin: 0;
  padding: 0 0 22px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(244,239,231,.68);
}

/* Smooth expand in browsers that support animating <details> */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }

  .faq__item::details-content {
    opacity: 0;
    block-size: 0;
    overflow-y: clip;
    transition: content-visibility .3s allow-discrete, opacity .3s ease, block-size .3s ease;
  }

  .faq__item[open]::details-content {
    opacity: 1;
    block-size: auto;
  }
}

.faq__a a {
  color: var(--gold);
  font-weight: 700;
}

.faq__a a:hover { text-decoration: underline; }

/* ---------------- Contact / final CTA ---------------- */

.contact {
  position: relative;
  padding: 84px 48px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(120deg, #C42A6B 0%, #7A2E8F 50%, #2B2D6E 100%);
}

.contact__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 50% -10%, rgba(242,163,60,.35), transparent 60%);
}

.contact__inner {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
}

.contact__intro {
  display: flex;
  align-items: center;
  gap: 56px;
  text-align: left;
  margin-bottom: 44px;
}

.contact__photo {
  width: 300px;
  height: 380px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 6px;
  flex: none;
  box-shadow: 0 22px 55px rgba(0,0,0,.35);
}

.contact h2 {
  font-family: 'Anton', sans-serif;
  font-size: 64px;
  line-height: .92;
  margin: 0 0 16px;
  color: #fff;
}

.contact__lede {
  margin: 0;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
}

.contact__card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 40px;
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

.contact__card h3 {
  font-family: 'Anton', sans-serif;
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 26px;
  color: #fff;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__field { display: flex; flex-direction: column; }

.form__field--full { grid-column: 1 / -1; }

.form__field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(244,239,231,.75);
  margin-bottom: 8px;
}

.form__field label .req { color: var(--gold); }

.form__field input,
.form__field textarea {
  background: rgba(11,14,36,.65);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 3px;
  color: var(--off-white);
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  padding: 13px 14px;
  transition: border-color .2s ease;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form__field textarea {
  resize: vertical;
  min-height: 110px;
}

.form__submit-row {
  grid-column: 1 / -1;
  margin-top: 6px;
  text-align: center;
}

/* Netlify injects the reCAPTCHA widget (304 x 78) into this box */
.form__captcha {
  min-width: 0;
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  min-height: 78px;
  margin-top: 8px;
}

.form__captcha > div { flex: none; width: 304px; }

.contact__meta {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

.contact__meta a { color: rgba(255,255,255,.85); }
.contact__meta a:hover { color: #fff; }

/* Netlify honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ---------------- Footer ---------------- */

.footer {
  background: var(--bg-primary);
  text-align: center;
  padding: 32px 48px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-bottom: 12px;
}

.footer__links--site {
  margin-bottom: 10px;
}

.footer__links--site a {
  color: rgba(244,239,231,.85);
  font-weight: 600;
}

.footer__links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(244,239,231,.7);
  transition: color .2s ease;
}

.footer__links a:hover { color: var(--gold); }

.footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(244,239,231,.5);
}

/* ---------------- Legal pages ---------------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.site-header .link-underline { font-size: 14px; }

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}

.legal h1 {
  font-family: 'Anton', sans-serif;
  font-size: 54px;
  line-height: .95;
  margin: 10px 0 34px;
  color: #fff;
}

.legal p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244,239,231,.78);
  margin: 0 0 22px;
}

.legal p strong { color: #fff; }

.legal a { color: var(--gold); }

.legal a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .site-header { padding: 20px 24px; }
  .legal { padding: 44px 20px 64px; }
  .legal h1 { font-size: 40px; }
}

/* ---------------- Thank-you page ---------------- */

.thanks {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--bg-primary);
}

.thanks__inner {
  max-width: 620px;
  text-align: center;
}

.thanks__star {
  width: 42px;
  height: 42px;
  margin: 0 auto 26px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.thanks h1 {
  font-family: 'Anton', sans-serif;
  font-size: 64px;
  line-height: .92;
  margin: 0 0 22px;
  color: #fff;
}

.thanks p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(244,239,231,.82);
  margin: 0 0 12px;
}

.thanks__sig {
  color: var(--gold);
  font-weight: 700;
}

.thanks .btn-primary { margin-top: 26px; }

/* ---------------- Subpages: bio & educator abstract ---------------- */

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary--sm {
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 2px;
}

.bio-hero {
  display: flex;
  align-items: stretch;
  background: var(--bg-secondary);
}

.bio-hero__media {
  flex: none;
  width: 400px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.bio-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.bio-hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(17,21,47,.9) 100%);
}

.bio-hero__body {
  flex: 1;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio-hero__body h1 {
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  line-height: .95;
  margin: 12px 0 6px;
  color: #fff;
}

.bio-hero__subtitle {
  margin: 0 0 22px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--gold);
  font-weight: 700;
}

.bio-hero__intro {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(244,239,231,.82);
  max-width: 580px;
}

.bio-hero__intro--secondary {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244,239,231,.72);
}

.abstract-hero {
  position: relative;
  padding: 64px 48px 56px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.abstract-hero__dots {
  position: absolute;
  top: 36px;
  right: 48px;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(rgba(242,163,60,.4) 1.5px, transparent 1.6px);
  background-size: 13px 13px;
  opacity: .5;
}

.abstract-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: 60px;
  line-height: .95;
  margin: 12px 0 10px;
  color: #fff;
}

.abstract-hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.abstract-hero__sub {
  margin: 0 0 6px;
  font-size: 19px;
  color: rgba(244,239,231,.85);
  font-weight: 600;
}

.abstract-hero__byline {
  margin: 0;
  font-size: 15px;
  color: rgba(244,239,231,.6);
}

.doc-sections {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.doc-sections--roomy {
  padding: 64px 48px;
  gap: 52px;
}

.doc-sections > .doc-section:not(:first-child) {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 48px;
}

.doc-sections--roomy > .doc-section:not(:first-child) { padding-top: 52px; }

.doc-section {
  display: flex;
  gap: 48px;
}

.doc-section__label {
  flex: none;
  width: 230px;
}

.doc-section__label h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  margin: 0 0 10px;
}

.doc-section__rule {
  width: 60px;
  height: 3px;
}

.doc-section--magenta .doc-section__label h2 { color: var(--magenta); }
.doc-section--magenta .doc-section__rule { background: var(--magenta); }
.doc-section--gold .doc-section__label h2 { color: var(--gold); }
.doc-section--gold .doc-section__rule { background: var(--gold); }
.doc-section--blue .doc-section__label h2 { color: var(--blue); }
.doc-section--blue .doc-section__rule { background: var(--blue); }
.doc-section--green .doc-section__label h2 { color: var(--green); }
.doc-section--green .doc-section__rule { background: var(--green); }
.doc-section--pink .doc-section__label h2 { color: var(--pink); }
.doc-section--pink .doc-section__rule { background: var(--pink); }

.doc-section__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244,239,231,.55);
}

.doc-section__body {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244,239,231,.78);
}

.doc-section__body--flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doc-section__body--flow > p { margin: 0; }

.doc-section__body strong { color: #fff; }

.doc-section__body a {
  color: var(--gold);
  font-weight: 700;
}

.doc-section__body a:hover { text-decoration: underline; }

/* Buttons inside doc sections keep their own colors */
.doc-section__body a.btn-primary { color: var(--ink-on-gold); }
.doc-section__body a.btn-primary:hover,
.doc-section__body a.btn-outline:hover { text-decoration: none; }

strong.txt-magenta { color: var(--magenta); }
strong.txt-gold { color: var(--gold); }
strong.txt-blue { color: var(--blue); }
strong.txt-green { color: var(--green); }

.callout-card {
  background: var(--card);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.06);
  padding: 40px 44px;
}

.callout-card__mark {
  font-family: 'Anton', sans-serif;
  font-size: 54px;
  color: var(--gold);
  line-height: .5;
}

.callout-card h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 34px;
  margin: 10px 0 14px;
  color: #fff;
}

.callout-card h2 em {
  font-style: normal;
  color: var(--gold);
}

.callout-card p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244,239,231,.82);
}

.callout-card p:last-child { margin-bottom: 0; }

.objectives-lead { margin: 0 0 16px; }

.objectives {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.objective {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.objective__star {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  flex: none;
  background: var(--blue);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.objective p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.session-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.session-row:last-child { border-bottom: 0; }

.session-row__num {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  color: var(--gold);
  flex: none;
  width: 34px;
}

.session-row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.info-card {
  background: var(--card);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.06);
  padding: 30px 34px;
}

.info-card h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 12px;
  color: #fff;
}

.info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244,239,231,.75);
}

.dq-lead {
  margin: 0 0 4px;
  font-weight: 700;
  color: #fff;
}

.dq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dq-list p {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(242,163,60,.5);
}

.doc-section__body--presenter {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.doc-section__body--presenter img {
  width: 130px;
  height: 150px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 6px;
  flex: none;
}

.doc-section__body--presenter p { margin: 0; }

.page-cta {
  position: relative;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(120deg, #C42A6B 0%, #7A2E8F 50%, #2B2D6E 100%);
}

.page-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 50% -10%, rgba(242,163,60,.35), transparent 60%);
}

.page-cta__inner { position: relative; }

.page-cta h2 {
  font-family: 'Anton', sans-serif;
  font-size: 48px;
  line-height: .95;
  margin: 0 0 14px;
  color: #fff;
}

.page-cta__lede {
  margin: 0 auto 28px;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
}

.page-cta .btn-primary {
  font-size: 15px;
  padding: 16px 36px;
}

.page-cta__site {
  margin-top: 24px;
  font-size: 16px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

/* ---------------- Press / speaker kit ---------------- */

.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.download-row:first-child { padding-top: 0; }
.download-row:last-child { border-bottom: 0; padding-bottom: 0; }

.download-row__title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
}

.download-row__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244,239,231,.68);
  max-width: 520px;
}

.download-row .btn-primary--sm,
.download-row .btn-outline { flex: none; white-space: nowrap; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-card {
  margin: 0;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.08);
}

.photo-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(244,239,231,.8);
}

.photo-card figcaption a {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.photo-card figcaption a:hover { text-decoration: underline; }

.objective__star--green { background: var(--green); }
.objective__star--magenta { background: var(--magenta); }
.objective__star--gold { background: var(--gold); }

/* ---------------- Educator page: offerings ---------------- */

.format-table-wrap { overflow-x: auto; margin-top: 6px; }

.format-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.format-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,239,231,.6);
  padding: 0 14px 10px 0;
  border-bottom: 2px solid rgba(255,255,255,.14);
}

.format-table td {
  padding: 14px 14px 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: top;
}

.format-table td:first-child { font-weight: 700; }
.format-table .txt-magenta { color: var(--magenta); }
.format-table .txt-gold { color: var(--gold); }
.format-table .txt-blue { color: var(--blue); }

.objectives-group + .objectives-group { margin-top: 28px; }

.objectives-group h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.objectives-group--magenta h3 { color: var(--magenta); }
.objectives-group--gold h3 { color: var(--gold); }

.goal-line {
  font-style: italic;
  color: #fff;
}

.coordinator-note {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(242,163,60,.07);
  font-size: 14px;
  line-height: 1.6;
}

.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.info-card--magenta { border-top: 3px solid var(--magenta); }
.info-card--gold { border-top: 3px solid var(--gold); }
.info-card--blue { border-top: 3px solid var(--blue); }

.section-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244,239,231,.7);
}

.section-note a { color: var(--gold); font-weight: 700; }
.section-note a:hover { text-decoration: underline; }


/* ---------------- Reduced motion ---------------- */

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

  .hero__slide, .faq__bg { transition: none; }

  /* Marquee becomes a manually scrollable row */
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }

  .faq__item::details-content { transition: none; }

  .btn-primary:hover { transform: none; }
  .quote-card--featured:hover { transform: none; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1024px) {
  .hero__title { font-size: 68px; }
  .framework__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .about__media { width: 340px; }
  .bio-hero__media { width: 320px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-section { flex-direction: column; gap: 18px; }
  .doc-sections > .doc-section:not(:first-child),
  .doc-sections--roomy > .doc-section:not(:first-child) { padding-top: 40px; }
  .card-grid, .card-grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .contact__intro {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .nav { padding: 20px 24px; }
  .nav__links .nav__link { display: none; }
  /* Keep the Spanish link reachable on phones */
  .nav__links .nav__link--es { display: inline; }
  .hero { height: 580px; }
  .hero__content { left: 24px; right: 24px; bottom: 56px; }
  .hero__title { font-size: 52px; }
  .hero__lede { font-size: 17px; }
  .hero__actions { flex-wrap: wrap; }
  .hero__dots { right: 24px; left: 24px; flex-wrap: wrap; }
  .framework, .formats, .reviews, .faq { padding: 56px 24px; }
  .framework h2, .formats h2 { font-size: 42px; }
  .reviews h2, .faq h2 { font-size: 40px; }
  .about { flex-direction: column; }
  .about__media { width: 100%; height: 380px; }
  .about__fade { background: linear-gradient(180deg, transparent 60%, rgba(17,21,47,.9) 100%); }
  .about__body { padding: 44px 24px; }
  .about h2 { font-size: 38px; }
  .contact { padding: 64px 24px; }
  .contact h2 { font-size: 44px; }
  .contact__card { padding: 28px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .bio-hero { flex-direction: column; }
  .bio-hero__media { width: 100%; height: 380px; }
  .bio-hero__fade { background: linear-gradient(180deg, transparent 60%, rgba(17,21,47,.9) 100%); }
  .bio-hero__body { padding: 44px 24px; }
  .bio-hero__body h1 { font-size: 40px; }
  .abstract-hero { padding: 48px 24px; }
  .abstract-hero h1 { font-size: 40px; }
  .doc-sections, .doc-sections--roomy { padding: 48px 24px; }
  .doc-section__body--presenter { flex-direction: column; }
  .page-cta { padding: 56px 24px; }
  .page-cta h2 { font-size: 38px; }
  .download-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-header { padding: 18px 24px; gap: 14px; flex-wrap: wrap; }
  .site-header__actions { flex-wrap: wrap; gap: 10px; }
  .format-table thead { display: none; }
  .format-table tr { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .format-table td { display: block; padding: 2px 0; border: 0; }
  .format-table td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: rgba(244,239,231,.55);
  }
}

@media (max-width: 520px) {
  .btn-outline--lg { padding: 13px 18px; letter-spacing: .02em; }
  /* The widget is fixed-width, so shrink it to fit narrow cards */
  .form__captcha > div { transform: scale(.86); transform-origin: center top; }
  .form__captcha { min-height: 69px; }
  .framework__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 44px; }
}

@media (max-width: 360px) {
  .form__captcha > div { transform: scale(.76); }
  .form__captcha { min-height: 60px; }
}
