:root {
  --ink: #29211e;
  --muted: #6e625b;
  --cream: #fff7e8;
  --paper: #ffffff;
  --coral: #e95f45;
  --coral-dark: #c94732;
  --gold: #f2b84b;
  --teal: #176b67;
  --teal-dark: #0f514e;
  --teal-pale: #dff2ed;
  --line: #eaded2;
  --shadow: 0 20px 60px rgba(75, 48, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(242, 189, 85, 0.14), transparent 24rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.site-header,
.site-footer,
.hero,
.form-section,
.social-proof-section,
.faq-section {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 68px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  transform: rotate(-3deg);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--coral-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero {
  padding: 54px 0 30px;
  text-align: center;
}

.hero h1 {
  max-width: 680px;
  margin: 0 auto 16px;
  font-size: clamp(2.8rem, 8vw, 5rem);
}

.hero-description {
  margin-bottom: 24px;
  color: var(--teal-dark);
  font-size: 1.08rem;
  font-weight: 750;
}

.primary-button,
.secondary-button,
.social-links a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  padding: 0 28px;
  color: white;
  background: var(--coral);
  box-shadow: 0 12px 26px rgba(185, 64, 47, 0.22);
  transition: background 160ms ease, transform 160ms ease;
}

.primary-button:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}

.class-logistics {
  margin-top: 38px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 40px rgba(75, 48, 34, 0.07);
  text-align: left;
}

.logistics-label {
  margin-bottom: 16px;
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.logistics-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
}

.logistics-grid > div {
  display: grid;
  align-content: start;
  gap: 2px;
}

.logistics-key {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logistics-grid time,
.logistics-grid span:not(.logistics-key) {
  font-weight: 750;
}

.logistics-grid small {
  color: var(--muted);
  font-size: 0.78rem;
}

.class-price {
  color: var(--teal);
  font-size: 1.35rem;
}

.form-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 38px;
  align-items: start;
  margin-top: 48px;
  padding: 38px;
  border-radius: 28px;
  color: white;
  background: var(--teal);
  box-shadow: var(--shadow);
  scroll-margin-top: 18px;
}

.form-intro h2 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.form-intro p {
  color: rgba(255, 255, 255, 0.76);
}

.registration-form {
  padding: 28px;
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fffefa;
  font: inherit;
}

.field input:focus,
.field select:focus {
  outline: 3px solid rgba(242, 189, 85, 0.36);
  border-color: var(--teal);
}

.field-error {
  margin: 6px 0 0;
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 750;
}

.form-alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #7b241b;
  background: #fff0ec;
}

.consent-group {
  display: grid;
  gap: 11px;
  margin: 6px 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.87rem;
  cursor: pointer;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--coral);
}

.submit-button {
  width: 100%;
}

.social-proof-section {
  padding: 82px 0 60px;
  text-align: center;
}

.media-heading {
  max-width: 580px;
  margin: 0 auto 24px;
}

.media-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.media-frame {
  width: min(390px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: #142b2a;
  box-shadow: var(--shadow);
}

.media-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 478 / 850;
  object-fit: cover;
}

.faq-section {
  padding: 24px 0 72px;
}

.faq-section h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.faq-section details {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  padding: 18px 2px;
  font-weight: 800;
  cursor: pointer;
}

.faq-section details p {
  margin: -4px 0 18px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--teal);
  font-weight: 750;
  text-underline-offset: 4px;
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.social-links a:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible,
.faq-section summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Registration confirmation */
.confirmation-page {
  min-height: 100vh;
}

.confirmation-header {
  justify-content: center;
}

.confirmation-shell {
  width: min(700px, calc(100% - 32px));
  margin: 32px auto 64px;
}

.confirmation-card {
  padding: clamp(30px, 7vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.success-mark {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-size: 1.7rem;
}

.confirmation-card h1 {
  margin-bottom: 10px;
  font-size: clamp(2.7rem, 8vw, 4.7rem);
}

.confirmation-lead {
  color: var(--teal);
  font-size: 1.18rem;
  font-weight: 800;
}

.email-note {
  max-width: 520px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.before-class {
  padding: 26px;
  border-radius: 20px;
  background: var(--teal-pale);
  text-align: left;
}

.before-class h2,
.stay-connected h2 {
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.secondary-button {
  margin-top: 26px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.stay-connected {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stay-connected p {
  color: var(--muted);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-links:empty {
  display: none;
}

.social-links a {
  min-height: 44px;
  padding: 0 18px;
  color: white;
  background: var(--teal);
  font-size: 0.86rem;
}

.confirmation-footer {
  justify-content: center;
  border-top: 0;
}

.confirmation-footer span + span::before {
  content: "•";
  margin-right: 18px;
}

@media (max-width: 680px) {
  .site-header {
    min-height: 60px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .class-logistics {
    margin-top: 30px;
    padding: 20px;
  }

  .logistics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 12px 12px;
  }

  .form-intro {
    padding-inline: 12px;
    text-align: center;
  }

  .registration-form {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .social-proof-section {
    padding-top: 64px;
  }

  .media-frame {
    width: min(360px, 100%);
    border-radius: 24px;
  }

  .site-footer {
    display: grid;
    justify-content: center;
    text-align: center;
  }

  .confirmation-shell {
    margin-top: 16px;
  }

  .confirmation-card {
    padding: 28px 19px;
    border-radius: 24px;
  }

  .confirmation-footer span + span::before {
    display: none;
  }
}

/* Beginner-class landing experience */
.registration-page .site-header,
.registration-page .site-footer,
.registration-page .hero,
.registration-page .form-section,
.registration-page .faq-section {
  width: min(720px, calc(100% - 32px));
}

.registration-page .site-header {
  min-height: 56px;
}

.registration-page .brand {
  gap: 8px;
  color: var(--teal-dark);
  font-size: 0.86rem;
}

.registration-page .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.brand-spark {
  margin-left: -3px;
  color: var(--gold);
  font-size: 0.72rem;
}

.registration-page .hero {
  position: relative;
  padding: 22px 0 36px;
}

.registration-page .eyebrow {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.69rem;
}

.registration-page .hero h1 {
  max-width: 620px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(2.55rem, 7vw, 4.4rem);
}

.hero-kicker {
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  font-weight: 850;
}

.registration-page .hero-description {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 650;
}

.hero-media {
  width: min(620px, 100%);
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(23, 107, 103, 0.17);
  border-radius: 26px;
  background: #142b2a;
  box-shadow: 0 18px 45px rgba(75, 48, 34, 0.15);
}

.hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-action {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-top: 18px;
}

.hero-action .primary-button {
  min-width: 210px;
}

.hero-action p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.registration-page .class-logistics {
  margin-top: 26px;
  padding: 25px 28px;
  border-color: rgba(23, 107, 103, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  animation: card-rise 600ms ease-out both;
}

.registration-page .logistics-label {
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: none;
}

.registration-page .logistics-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 24px;
}

.registration-page .logistics-grid > .event-detail {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.event-detail > div {
  display: grid;
  gap: 1px;
}

.event-icon {
  width: 24px;
  padding-top: 1px;
  font-size: 1rem;
  line-height: 1.4;
}

.registration-page .logistics-grid .event-detail > span:not(.logistics-key) {
  font-weight: 400;
}

.class-invitation {
  margin: 21px 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.class-cta {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--coral-dark);
  font-weight: 850;
  text-decoration: none;
  transition: gap 160ms ease, color 160ms ease;
}

.class-cta:hover {
  gap: 11px;
  color: var(--coral);
}

.registration-page .form-section {
  margin-top: 38px;
}

.hero-spark {
  position: absolute;
  z-index: -1;
  color: var(--gold);
  pointer-events: none;
  animation: spark-float 4s ease-in-out infinite;
}

.hero-spark-one {
  top: 86px;
  left: 4%;
  font-size: 1.2rem;
}

.hero-spark-two {
  top: 155px;
  right: 7%;
  color: var(--coral);
  animation-delay: -1.5s;
}

@keyframes spark-float {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0) rotate(0);
  }

  50% {
    opacity: 0.9;
    transform: translateY(-7px) rotate(8deg);
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .registration-page .site-header,
  .registration-page .site-footer,
  .registration-page .hero,
  .registration-page .form-section,
  .registration-page .faq-section {
    width: min(100% - 24px, 520px);
  }

  .registration-page .site-header {
    min-height: 50px;
  }

  .registration-page .brand {
    font-size: 0.79rem;
  }

  .registration-page .brand-mark {
    width: 29px;
    height: 29px;
  }

  .registration-page .hero {
    padding-top: 12px;
  }

  .registration-page .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .hero-kicker {
    font-size: 0.96rem;
  }

  .registration-page .hero-description {
    margin-bottom: 14px;
    font-size: 0.9rem;
  }

  .hero-media {
    width: 100%;
    border-radius: 20px;
  }

  .hero-action {
    margin-top: 14px;
  }

  .hero-action .primary-button {
    min-height: 49px;
  }

  .registration-page .class-logistics {
    margin-top: 23px;
    padding: 21px 19px;
    border-radius: 22px;
  }

  .registration-page .logistics-label {
    margin-bottom: 15px;
    font-size: 1.3rem;
  }

  .registration-page .logistics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px 10px;
  }

  .registration-page .logistics-grid > .event-detail {
    gap: 6px;
  }

  .event-icon {
    width: 20px;
    font-size: 0.9rem;
  }

  .registration-page .logistics-grid time,
  .registration-page .logistics-grid span:not(.logistics-key) {
    font-size: 0.88rem;
  }

  .class-invitation {
    margin-top: 18px;
  }

  .registration-page .form-section {
    margin-top: 30px;
  }

  .hero-spark {
    display: none;
  }
}

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

  .primary-button,
  .class-cta {
    transition: none;
  }

  .hero-spark,
  .class-logistics {
    animation: none;
  }
}

/* Warm Studio shared schedule and desktop composition */
.desktop-brand-tagline,
.form-reassurance {
  display: none;
}

.schedule-heading h2 {
  margin: 0 0 7px;
  font-size: clamp(1.8rem, 6vw, 2.55rem);
}

.schedule-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.schedule-eyebrow {
  margin: 0 0 5px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.schedule-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
  margin-top: 23px;
}

.schedule-detail {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
}

.schedule-detail > div,
.schedule-detail time {
  display: grid;
  min-width: 0;
}

.schedule-icon {
  padding-top: 2px;
  line-height: 1.3;
}

.schedule-key {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.schedule-detail strong {
  font-size: 0.94rem;
  line-height: 1.3;
}

.schedule-detail small {
  color: var(--muted);
  font-size: 0.76rem;
}

.schedule-date strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.schedule-time strong {
  color: var(--teal-dark);
  font-size: 1.08rem;
}

.schedule-price strong {
  color: var(--teal);
  font-size: 1.08rem;
}

.schedule-cta {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 22px;
  color: var(--coral-dark);
  font-weight: 850;
  text-decoration: none;
  transition: gap 160ms ease, color 160ms ease;
}

.schedule-cta:hover {
  gap: 11px;
  color: var(--coral);
}

.schedule-upcoming {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.schedule-upcoming summary {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.schedule-upcoming ol {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.schedule-upcoming li {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(234, 222, 210, 0.7);
  color: var(--muted);
  font-size: 0.82rem;
}

.schedule-upcoming time {
  display: flex;
  gap: 10px;
  color: var(--ink);
}

.faq-intro > p {
  color: var(--muted);
}

@media (min-width: 1024px) {
  .registration-page .site-header,
  .registration-page .site-footer,
  .registration-page .hero,
  .registration-page .form-section,
  .registration-page .faq-section {
    width: min(1200px, calc(100% - 64px));
  }

  .registration-page .site-header {
    min-height: 78px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(23, 107, 103, 0.12);
  }

  .registration-page .brand {
    gap: 11px;
    font-size: 1rem;
  }

  .registration-page .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .registration-page .brand-spark {
    margin: 0;
    color: rgba(23, 107, 103, 0.35);
  }

  .desktop-brand-tagline {
    display: inline;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

  .registration-page .hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
    grid-template-areas:
      "copy video"
      "action video"
      "schedule schedule";
    gap: 18px 64px;
    align-items: center;
    padding: 64px 0 30px;
    text-align: left;
  }

  .control-hero-copy {
    grid-area: copy;
    align-self: end;
  }

  .registration-page .hero h1 {
    max-width: 560px;
    margin-inline: 0;
    font-size: clamp(4rem, 5.5vw, 6.1rem);
  }

  .registration-page .hero-description {
    max-width: 520px;
    margin-bottom: 0;
    font-size: 1rem;
  }

  .registration-page .hero-media {
    grid-area: video;
    width: 100%;
    border-radius: 32px;
  }

  .registration-page .hero-action {
    grid-area: action;
    align-self: start;
    justify-items: start;
    margin-top: 0;
  }

  .registration-page .class-schedule {
    grid-area: schedule;
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.8fr) auto;
    gap: 24px 42px;
    align-items: center;
    margin-top: 34px;
    padding: 34px 40px;
  }

  .registration-page .schedule-details {
    grid-template-columns: minmax(150px, 1.25fr) repeat(2, minmax(100px, 0.8fr)) minmax(180px, 1.1fr);
    gap: 24px;
    margin-top: 0;
  }

  .registration-page .schedule-cta {
    min-height: 48px;
    align-self: center;
    margin-top: 0;
    padding: 0 20px;
    border: 1px solid rgba(233, 95, 69, 0.32);
    border-radius: 999px;
  }

  .registration-page .schedule-upcoming {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .registration-page .form-section {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 56px;
    align-items: stretch;
    margin-top: 54px;
    padding: 48px;
  }

  .registration-page .form-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .form-reassurance {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
  }

  .form-reassurance li {
    position: relative;
    padding-left: 26px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
  }

  .form-reassurance li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #bfe9dc;
  }

  .registration-page .registration-form {
    padding: 34px;
  }

  .registration-page .faq-section {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 72px;
    align-items: start;
    padding: 90px 0;
  }

  .registration-page .faq-intro {
    position: sticky;
    top: 30px;
  }

  .registration-page .faq-intro h2 {
    margin-bottom: 14px;
  }

  .registration-page .faq-list details:first-child {
    border-top: 1px solid var(--line);
  }

  .registration-page .site-footer {
    padding-block: 30px 40px;
  }
}
