:root {
  --cosmic-ink: #f7f4ec;
  --cosmic-muted: rgba(247, 244, 236, 0.72);
  --cosmic-gold: #f5b64a;
  --cosmic-blue: #7ac7ff;
  --cosmic-panel: rgba(9, 18, 32, 0.78);
  --cosmic-line: rgba(245, 182, 74, 0.26);
  --cosmic-deep: #060b16;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.cosmic-page {
  margin: 0;
  background: var(--cosmic-deep);
  color: var(--cosmic-ink);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
}

.cosmic-starfield {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0.78;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 4, 12, 0.84), rgba(6, 11, 22, 0.28) 46%, rgba(5, 4, 12, 0.72)),
    url("cosmic-spine-bg.webp") 58% 50% / cover no-repeat,
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(185, 140, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #05040c, var(--cosmic-deep));
  mix-blend-mode: screen;
}

.cosmic-starfield canvas,
.cosmic-starfield__nebula,
.cosmic-starfield__vignette {
  position: absolute;
  inset: 0;
  display: block;
}

.cosmic-starfield__nebula {
  background:
    radial-gradient(ellipse 65% 45% at 18% 20%, rgba(124, 92, 255, 0.18), transparent 62%),
    radial-gradient(ellipse 58% 42% at 82% 65%, rgba(77, 230, 255, 0.12), transparent 64%),
    radial-gradient(ellipse 80% 56% at 50% 100%, rgba(245, 182, 74, 0.1), transparent 64%);
  mix-blend-mode: screen;
}

.cosmic-starfield__vignette {
  background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 55%, rgba(5, 4, 12, 0.85) 100%);
}

.cosmic-header,
.cosmic-hero,
.cosmic-section,
.cosmic-footer {
  position: relative;
}

.cosmic-hero__content,
.cosmic-inner,
.cosmic-footer > * {
  position: relative;
  z-index: 3;
}

.cosmic-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 11, 22, 0.86);
  backdrop-filter: blur(18px);
}

.cosmic-brand,
.cosmic-header nav,
.cosmic-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cosmic-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: var(--cosmic-ink);
  text-decoration: none;
  line-height: 1.15;
}

.cosmic-brand strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.98rem;
  text-transform: uppercase;
}

.cosmic-brand span,
.cosmic-footer span {
  color: var(--cosmic-muted);
  font-size: 0.78rem;
}

.cosmic-header a,
.cosmic-footer a {
  color: var(--cosmic-ink);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.cosmic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid rgba(245, 182, 74, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, #f6b54a, #f28a2e);
  color: #10101a;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(242, 138, 46, 0.28);
}

.cosmic-button--small {
  min-height: 42px;
  padding: 10px 18px;
}

.cosmic-button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cosmic-ink);
  box-shadow: none;
}

.cosmic-hero {
  min-height: min(82vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(92px, 12vw, 150px) clamp(18px, 5vw, 72px) clamp(70px, 9vw, 110px);
  background:
    linear-gradient(90deg, rgba(6, 11, 22, 0.88), rgba(6, 11, 22, 0.56) 42%, rgba(6, 11, 22, 0.08) 74%),
    linear-gradient(180deg, rgba(6, 11, 22, 0.08), rgba(6, 11, 22, 0.02) 72%, rgba(6, 11, 22, 0.38));
}

.cosmic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url("cosmic-yoga-hero.webp") center bottom / cover no-repeat;
  opacity: 0.98;
  -webkit-mask-image: radial-gradient(ellipse 58% 82% at 74% 39%, #000 0 48%, rgba(0, 0, 0, 0.7) 60%, transparent 84%);
  mask-image: radial-gradient(ellipse 58% 82% at 74% 39%, #000 0 48%, rgba(0, 0, 0, 0.7) 60%, transparent 84%);
}

.cosmic-hero__content {
  width: min(100%, 760px);
  min-width: 0;
  max-width: 760px;
}

.cosmic-date-card {
  display: inline-grid;
  gap: 4px;
  min-width: min(100%, 380px);
  margin-bottom: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(245, 182, 74, 0.36);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(8, 14, 28, 0.92), rgba(17, 28, 47, 0.7)),
    radial-gradient(circle at 88% 12%, rgba(245, 182, 74, 0.2), transparent 42%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.cosmic-date-card span,
.cosmic-date-card strong,
.cosmic-date-card em {
  font-family: "Montserrat", Arial, sans-serif;
  font-style: normal;
  letter-spacing: 0;
}

.cosmic-date-card span {
  color: var(--cosmic-gold);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.cosmic-date-card strong {
  color: var(--cosmic-ink);
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 0.95;
}

.cosmic-date-card em {
  color: var(--cosmic-muted);
  font-size: 1rem;
  font-weight: 800;
}

.cosmic-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cosmic-gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cosmic-hero h1,
.cosmic-section h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.cosmic-hero h1 {
  max-width: 680px;
  font-size: 6.8rem;
}

.cosmic-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--cosmic-muted);
  font-size: 1.36rem;
}

.cosmic-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.cosmic-section {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.cosmic-inner {
  max-width: 1120px;
  margin-inline: auto;
}

.cosmic-screen-block {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(245, 182, 74, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(ellipse 48% 36% at 86% 12%, rgba(122, 199, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 36% 28% at 12% 88%, rgba(245, 182, 74, 0.08), transparent 68%),
    linear-gradient(135deg, rgba(8, 14, 28, 0.88), rgba(9, 18, 32, 0.64));
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(247, 244, 236, 0.06);
}

.cosmic-two {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 68px);
}

.cosmic-media-grid,
.cosmic-teacher__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
}

.cosmic-media-grid--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.cosmic-teacher__grid {
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
}

.cosmic-section h2 {
  max-width: 760px;
  font-size: 3.55rem;
}

.cosmic-copy p,
.cosmic-access__head p,
.cosmic-note,
.cosmic-lead,
.cosmic-media-grid p,
.cosmic-teacher__copy p {
  color: rgba(247, 244, 236, 0.76);
  font-size: 1.08rem;
}

.cosmic-intro {
  background:
    radial-gradient(ellipse 52% 34% at 78% 20%, rgba(77, 230, 255, 0.11), transparent 66%),
    linear-gradient(90deg, rgba(6, 11, 22, 0.54), rgba(6, 11, 22, 0.28));
}

.cosmic-teacher {
  background:
    radial-gradient(ellipse 46% 32% at 15% 24%, rgba(245, 182, 74, 0.1), transparent 68%),
    radial-gradient(ellipse 36% 26% at 84% 70%, rgba(122, 199, 255, 0.1), transparent 64%),
    linear-gradient(90deg, rgba(6, 11, 22, 0.5), rgba(6, 11, 22, 0.32));
}

.cosmic-venue {
  background:
    radial-gradient(ellipse 44% 32% at 86% 16%, rgba(245, 182, 74, 0.12), transparent 68%),
    linear-gradient(90deg, rgba(7, 13, 25, 0.52), rgba(7, 13, 25, 0.3));
}

.cosmic-immersive {
  background:
    radial-gradient(ellipse 40% 30% at 16% 72%, rgba(122, 199, 255, 0.12), transparent 68%),
    linear-gradient(90deg, rgba(6, 11, 22, 0.32), rgba(6, 11, 22, 0.54));
}

.cosmic-dark {
  background:
    radial-gradient(ellipse 46% 28% at 18% 18%, rgba(122, 199, 255, 0.15), transparent 64%),
    radial-gradient(ellipse 36% 24% at 82% 76%, rgba(245, 182, 74, 0.1), transparent 66%),
    linear-gradient(180deg, rgba(9, 18, 32, 0.5), rgba(15, 23, 38, 0.58));
}

.cosmic-portrait,
.cosmic-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 182, 74, 0.24);
  border-radius: 10px;
  background: rgba(9, 18, 32, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.cosmic-portrait {
  aspect-ratio: 4 / 5;
  min-height: 520px;
}

.cosmic-media {
  aspect-ratio: 16 / 9;
}

.cosmic-portrait img,
.cosmic-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cosmic-portrait img {
  object-position: center 42%;
}

.cosmic-venue .cosmic-media img {
  object-position: center 58%;
}

.cosmic-media figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(6, 11, 22, 0.78);
  color: rgba(247, 244, 236, 0.84);
  font-size: 0.84rem;
  line-height: 1.35;
}

.cosmic-teacher__copy {
  max-width: 690px;
}

.cosmic-lead {
  margin-top: 22px;
  font-size: 1.24rem;
}

.cosmic-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.cosmic-facts span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 182, 74, 0.36);
}

.cosmic-facts b {
  color: var(--cosmic-gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
}

.cosmic-facts small {
  color: var(--cosmic-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.cosmic-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cosmic-gold);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.cosmic-link:hover,
.cosmic-link:focus-visible {
  color: var(--cosmic-ink);
}

.cosmic-access {
  background:
    radial-gradient(ellipse 42% 28% at 80% 0%, rgba(245, 182, 74, 0.18), transparent 68%),
    radial-gradient(ellipse 36% 24% at 24% 88%, rgba(77, 230, 255, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(9, 18, 32, 0.54), rgba(15, 23, 38, 0.62));
}

.cosmic-grid,
.cosmic-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 48px);
}

.cosmic-grid article,
.cosmic-price-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--cosmic-line);
  border-radius: 10px;
  background: var(--cosmic-panel);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.cosmic-grid b,
.cosmic-price-card span {
  color: var(--cosmic-gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.cosmic-grid p,
.cosmic-price-card p {
  color: var(--cosmic-muted);
}

.cosmic-access__head {
  max-width: 780px;
}

.cosmic-price-alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: stretch;
  margin-top: clamp(28px, 4vw, 46px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(245, 182, 74, 0.56);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 182, 74, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(10, 16, 30, 0.94), rgba(33, 21, 16, 0.88));
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.38), 0 0 42px rgba(245, 182, 74, 0.1);
}

.cosmic-price-alert__copy {
  max-width: 660px;
}

.cosmic-price-alert__copy span,
.cosmic-price-alert__steps small,
.cosmic-price-alert__steps em {
  color: var(--cosmic-gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cosmic-price-alert__copy span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.86rem;
}

.cosmic-price-alert h3 {
  margin: 0;
  color: var(--cosmic-ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.cosmic-price-alert p {
  max-width: 60ch;
  margin: 16px 0 0;
  color: rgba(247, 244, 236, 0.84);
  font-size: 1.12rem;
}

.cosmic-price-alert__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cosmic-price-alert__steps div {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(245, 182, 74, 0.28);
  border-radius: 10px;
  background: rgba(6, 11, 22, 0.58);
}

.cosmic-price-alert__amount {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin: 8px 0 6px;
}

.cosmic-price-alert__steps small,
.cosmic-price-alert__steps em {
  display: block;
  font-size: 0.76rem;
}

.cosmic-price-alert__amount b {
  color: var(--cosmic-ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.58rem;
  font-weight: 900;
  line-height: 1;
}

.cosmic-price-alert__amount del {
  color: rgba(247, 244, 236, 0.74);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.34rem;
  font-weight: 900;
  line-height: 1;
  text-decoration-color: var(--cosmic-gold);
  text-decoration-thickness: 3px;
}

.cosmic-price-alert__steps em {
  color: rgba(247, 244, 236, 0.7);
  font-style: normal;
}

.cosmic-prices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cosmic-price-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 3.7rem;
  line-height: 1;
}

.cosmic-price-card .cosmic-button {
  width: 100%;
  margin-top: 18px;
}

.cosmic-note {
  max-width: 84ch;
  margin-top: 24px;
  margin-bottom: 0;
}

.cosmic-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050812;
}

.cosmic-footer div {
  display: grid;
  gap: 4px;
}

@media (max-width: 860px) {
  .cosmic-header nav {
    display: none;
  }

  .cosmic-hero {
    min-height: 760px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(6, 11, 22, 0.08), rgba(6, 11, 22, 0.86) 58%, rgba(6, 11, 22, 0.95));
  }

  .cosmic-hero::before {
    background-position: 76% bottom;
    -webkit-mask-image: radial-gradient(ellipse 86% 88% at 54% 40%, #000 0 52%, rgba(0, 0, 0, 0.72) 66%, transparent 90%);
    mask-image: radial-gradient(ellipse 86% 88% at 54% 40%, #000 0 52%, rgba(0, 0, 0, 0.72) 66%, transparent 90%);
  }

  .cosmic-two,
  .cosmic-media-grid,
  .cosmic-media-grid--reverse,
  .cosmic-teacher__grid,
  .cosmic-price-alert,
  .cosmic-grid,
  .cosmic-prices,
  .cosmic-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .cosmic-hero h1 {
    font-size: 5.2rem;
  }

  .cosmic-section h2 {
    font-size: 2.9rem;
  }

  .cosmic-portrait {
    min-height: 0;
    max-height: 620px;
  }

  .cosmic-grid,
  .cosmic-prices {
    display: grid;
  }
}

@media (max-width: 520px) {
  .cosmic-header {
    gap: 12px;
  }

  .cosmic-brand strong {
    font-size: 0.78rem;
  }

  .cosmic-brand span {
    font-size: 0.66rem;
  }

  .cosmic-button--small {
    padding-inline: 14px;
  }

  .cosmic-hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, rgba(6, 11, 22, 0.08), rgba(6, 11, 22, 0.86) 58%, rgba(6, 11, 22, 0.95));
  }

  .cosmic-hero::before {
    background-position: 84% bottom;
  }

  .cosmic-date-card {
    width: 100%;
    padding: 16px 18px;
  }

  .cosmic-date-card span {
    font-size: 1.12rem;
  }

  .cosmic-date-card strong {
    font-size: 2.45rem;
  }

  .cosmic-hero h1 {
    font-size: 3rem;
  }

  .cosmic-hero p,
  .cosmic-copy p,
  .cosmic-access__head p,
  .cosmic-note,
  .cosmic-lead,
  .cosmic-media-grid p,
  .cosmic-teacher__copy p {
    font-size: 1.02rem;
  }

  .cosmic-section h2 {
    font-size: 2.25rem;
  }

  .cosmic-facts {
    grid-template-columns: 1fr;
  }

  .cosmic-price-alert h3 {
    font-size: 2rem;
  }

  .cosmic-price-alert p {
    font-size: 1rem;
  }

  .cosmic-price-alert__steps {
    grid-template-columns: 1fr;
  }

  .cosmic-price-alert__amount b {
    font-size: 1.48rem;
  }

  .cosmic-price-alert__amount del {
    font-size: 2.14rem;
  }

  .cosmic-price-card strong {
    font-size: 2.75rem;
  }
}
