:root {
  --burgundy: #5A0B2D;
  --burgundy-dark: #3F0620;
  --burgundy-deep: #2A0415;
  --burgundy-soft: #75143D;

  --cream: #FBF7EF;
  --cream-dark: #F2EBDD;
  --white: #FFFFFF;

  --gold: #B8863B;
  --gold-light: #D6AD62;

  --text: #34252B;
  --muted: #756A6F;

  --border: rgba(90, 11, 45, 0.12);

  --shadow: 0 20px 60px rgba(42, 4, 21, 0.10);

  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}


img {
  max-width: 100%;
  display: block;
}


a {
  color: inherit;
  text-decoration: none;
}


button,
input,
select,
textarea {
  font: inherit;
}


.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 247, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}


.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}


.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}


.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
}


.brand-copy {
  display: flex;
  flex-direction: column;
}


.brand-copy strong {
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 15px;
}


.brand-copy small {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}


nav {
  display: flex;
  align-items: center;
  gap: 30px;
}


nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--burgundy);
}


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


.nav-cta {
  padding: 11px 22px;
  background: var(--burgundy);
  color: white !important;
  border-radius: 999px;
}


.nav-cta:hover {
  background: var(--burgundy-soft);
}


/* ================= HERO ================= */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(184, 134, 59, 0.16),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--burgundy-dark),
      var(--burgundy)
    );
  color: white;
}


.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(
      45deg,
      transparent 48%,
      white 49%,
      transparent 51%
    );
  background-size: 70px 70px;
}


.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
  padding: 90px 0;
}


.eyebrow {
  margin: 0 0 18px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}


.eyebrow.light {
  color: var(--gold-light);
}


.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -2px;
}


.hero h1 span {
  display: block;
  color: var(--gold-light);
  font-style: italic;
}


.hero-text {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.8;
}


.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  min-height: 50px;
  padding: 0 25px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
}


.primary {
  background: var(--burgundy);
  color: white;
}


.gold-button {
  background: var(--gold);
  color: white;
}


.gold-button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}


.hero-link {
  color: white;
  background: transparent;
  padding-left: 0;
}


.hero-link span {
  margin-left: 8px;
  color: var(--gold-light);
  font-size: 20px;
}


.hero-points {
  display: flex;
  gap: 30px;
  margin-top: 55px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.16);
}


.hero-points span {
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  letter-spacing: 0.5px;
}


.hero-points strong {
  margin-bottom: 4px;
  color: var(--gold-light);
  font-size: 12px;
}


/* Logo kept deliberately small */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-logo-card {
  width: min(420px, 100%);
  padding: 25px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  backdrop-filter: blur(8px);
}


.logo-frame {
  background: var(--cream);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}


.logo-frame img {
  width: 100%;
  max-width: 350px;
  margin: auto;
}


.hero-badge {
  position: absolute;
  right: -5px;
  bottom: -25px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}


.hero-badge span {
  font-family: var(--serif);
  font-size: 22px;
}


.hero-badge small {
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: 1.5px;
}


/* ================= INTRO ================= */

.intro-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}


.intro-grid {
  min-height: 220px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}


.strip-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}


.intro-grid h2 {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 36px;
}


.intro-grid > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}


/* ================= SECTIONS ================= */

.section {
  padding: 105px 0;
}


.classes-section {
  background: #fffdf9;
}


.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 50px;
}


.section-heading h2,
.about-copy h2,
.register-intro h2,
.contact-heading h2 {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.2;
}


.section-subtitle {
  max-width: 580px;
  margin: 15px 0 0;
  color: var(--muted);
}


.text-button {
  border: 0;
  background: transparent;
  color: var(--burgundy);
  font-weight: 700;
  cursor: pointer;
}


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


/* ================= LOADING / ERROR ================= */

.state-card {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed rgba(90,11,45,0.20);
  border-radius: 22px;
  color: var(--muted);
  background: var(--cream);
}


.state-card h3 {
  margin-bottom: 5px;
  color: var(--burgundy);
  font-family: var(--serif);
}


.state-card.error {
  border-color: rgba(180,40,40,0.25);
}


.spinner {
  width: 38px;
  height: 38px;
  border: 4px solid rgba(90,11,45,0.12);
  border-top-color: var(--burgundy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 15px;
}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* ================= CLASS CARDS ================= */

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


.class-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(42,4,21,0.07);
  transition: 0.25s ease;
}


.class-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}


.class-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--burgundy),
    var(--gold)
  );
}


.class-body {
  padding: 28px;
}


.class-date {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


.class-card h3 {
  margin: 10px 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 25px;
}


.class-desc {
  color: var(--muted);
}


.class-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 25px 0;
}


.meta-box {
  padding: 14px;
  background: var(--cream);
  border-radius: 12px;
}


.meta-box small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.meta-box strong {
  color: var(--burgundy);
  font-size: 13px;
}


.class-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}


.price {
  color: var(--burgundy);
  font-size: 20px;
  font-weight: 800;
}


.seat-status {
  color: #357052;
  font-size: 12px;
  font-weight: 700;
}


.seat-status.full {
  color: #a33333;
}


.class-register {
  width: 100%;
  margin-top: 22px;
}


/* ================= ABOUT ================= */

.about-section {
  background: var(--cream-dark);
}


.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
}


.about-visual {
  display: flex;
  justify-content: center;
}


.about-card {
  width: min(430px, 100%);
  padding: 35px;
  border-radius: 25px;
  background: var(--burgundy);
  box-shadow: var(--shadow);
}


.about-logo {
  padding: 22px;
  border-radius: 16px;
  background: var(--cream);
}


.about-card > span {
  display: block;
  margin-top: 22px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
}


.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.85;
}


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


.learning-grid > div {
  display: grid;
  grid-template-columns: 35px 1fr;
  column-gap: 10px;
  padding: 15px;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
}


.learning-grid span {
  grid-row: span 2;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}


.learning-grid strong {
  color: var(--burgundy);
  font-size: 13px;
}


.learning-grid small {
  color: var(--muted);
  font-size: 10px;
}


/* ================= REGISTRATION ================= */

.register-section {
  background:
    linear-gradient(
      135deg,
      var(--burgundy-dark),
      var(--burgundy)
    );
}


.register-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
}


.register-intro h2 {
  color: white;
}


.register-intro > p:not(.eyebrow) {
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
}


.notice {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 35px;
  padding: 22px;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.07);
}


.notice strong {
  color: var(--gold-light);
}


.notice span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}


.registration-form {
  padding: 35px;
  background: var(--cream);
  border-radius: 22px;
  box-shadow: var(--shadow);
}


.registration-form label {
  display: block;
  margin-bottom: 20px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
}


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


.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border: 1px solid rgba(90,11,45,0.16);
  border-radius: 10px;
  background: white;
  color: var(--text);
  outline: none;
}


.registration-form textarea {
  resize: vertical;
}


.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,59,0.10);
}


.full {
  width: 100%;
}


.registration-form .primary {
  background: var(--burgundy);
}


.registration-form .primary:hover {
  background: var(--burgundy-soft);
}


.form-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}


.form-status {
  margin-top: 15px;
  font-size: 13px;
}


.form-status.success {
  color: #28734a;
}


.form-status.error {
  color: #a33333;
}


/* ================= CONTACT ================= */

.contact-section {
  padding: 90px 0;
  background: var(--cream);
}


.contact-heading {
  margin-bottom: 40px;
}


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


.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 25px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: 0.2s ease;
}


.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}


.contact-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--gold-light);
}


.contact-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}


.contact-card strong {
  color: var(--burgundy);
  font-size: 13px;
  line-height: 1.5;
}


/* ================= FOOTER ================= */

.footer {
  padding: 55px 0 30px;
  background: var(--burgundy-deep);
  color: white;
}


.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  align-items: center;
}


.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}


.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}


.footer-brand strong {
  display: block;
  font-family: var(--serif);
}


.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 1px;
}


.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}


.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-light);
}


.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}


.footer-inner > p {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  font-size: 10px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .hero-grid,
  .about-grid,
  .register-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 75px 0;
    gap: 55px;
  }

  .hero-visual {
    max-width: 430px;
    margin: auto;
  }

  .class-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 55px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

}


@media (max-width: 650px) {

  .container {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    position: relative;
  }

  .nav {
    min-height: 70px;
  }

  .brand-copy {
    display: none;
  }

  nav {
    gap: 14px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero-grid {
    padding: 60px 0 80px;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-link {
    justify-content: center;
  }

  .hero-points {
    gap: 15px;
  }

  .hero-logo-card {
    width: 85%;
  }

  .hero-badge {
    right: 0;
    width: 100px;
    height: 100px;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .registration-form {
    padding: 24px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-inner > p {
    grid-column: auto;
  }

}
/* Ensure loading/empty/error sections actually hide when hidden=true */
[hidden] {
  display: none !important;
}