:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-2: #11100f;
  --panel: #171412;
  --panel-2: #211b16;
  --ink: #fff6ec;
  --muted: #c9b8a8;
  --dim: #82766d;
  --line: rgba(255, 246, 236, 0.13);
  --line-strong: rgba(255, 246, 236, 0.28);
  --orange: #ff5a1f;
  --orange-2: #d83a08;
  --gold: #f2b24b;
  --cream: #f6e7d3;
  --blue: #3a8dff;
  --green: #9edc72;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 58px 58px,
    radial-gradient(circle at 78% 8%, rgba(255, 90, 31, 0.22), transparent 26rem),
    radial-gradient(circle at 16% 34%, rgba(242, 178, 75, 0.14), transparent 24rem),
    linear-gradient(180deg, #050505 0%, #0d0b0a 48%, #050505 100%);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p,
a,
button,
strong,
span {
  overflow-wrap: break-word;
}

figure,
h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
}

.page {
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 54px;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  background: rgba(5, 5, 5, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 236, 0.26);
  border-radius: var(--radius);
  color: transparent;
  background: #030303 url("/assets/vyasas-v-logo.png") center / 92% 92% no-repeat;
  box-shadow: 0 0 24px rgba(255, 246, 236, 0.1), 0 12px 34px rgba(0, 0, 0, 0.42);
  font-size: 0;
  font-weight: 950;
}

.brand small {
  display: block;
  color: var(--orange);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  max-width: 22rem;
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.05;
}

.nav,
.actions,
.inline-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav {
  justify-content: flex-end;
}

.nav a:not(.button) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.nav a:not(.button):hover,
.footer a:hover,
.inline-links a:hover {
  color: var(--ink);
}

.button,
button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 246, 236, 0.045);
  box-shadow: none;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.button::after,
button::after,
.course-card::before,
.catalog-card::before,
.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 246, 236, 0.18) 48%, transparent 58% 100%);
  transform: translateX(-80%);
  transition: opacity 180ms ease, transform 520ms ease;
}

.button:hover::after,
button:hover::after,
.course-card:hover::before,
.catalog-card:hover::before,
.plan:hover::before {
  opacity: 1;
  transform: translateX(80%);
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 90, 31, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.button.primary,
button.primary {
  border-color: transparent;
  color: #120905;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.button.subtle {
  color: var(--cream);
  background: rgba(255, 246, 236, 0.055);
}

.launch-hero {
  position: relative;
  min-height: 780px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #050505;
  box-shadow: var(--shadow);
}

.launch-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, transparent 42%, rgba(0, 0, 0, 0.36) 100%);
  pointer-events: none;
}

.hero-copy,
.auth-copy,
.card,
.quote-card,
.plan,
.stat,
.course-card,
.proof-section,
.final-cta,
.studio-copy,
.legal {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(12, 11, 10, 0.86);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  width: 100%;
  min-height: 780px;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 38%);
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow,
.label,
.meta-label,
.feature-card span,
.plan .label,
.stat span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 14px;
}

.hero-copy h1,
.auth-copy h1,
.legal h1 {
  max-width: 780px;
  font-size: clamp(50px, 7vw, 104px);
  line-height: 0.9;
  text-wrap: balance;
}

.lead,
.hero-copy p:not(.eyebrow),
.auth-copy p:not(.eyebrow),
.section-heading p,
.card p,
.muted,
.course-card p,
.studio-copy p,
.proof-grid span,
.plan > span:last-child,
.legal p,
.mini-list span {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.lead {
  max-width: 640px;
  margin-top: 20px;
  font-size: 20px;
}

.actions {
  margin-top: 30px;
}

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

.hero-proof div {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 246, 236, 0.045);
}

.hero-proof strong {
  display: block;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
}

.hero-frame,
.visual-card,
.studio-gallery figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-frame img,
.visual-card img,
.studio-gallery img,
.course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame-main {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-frame-tall,
.hero-frame-wide {
  display: none;
}

.hero-frame::after,
.studio-gallery figure::after,
.course-card.feature-course::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.52));
  pointer-events: none;
}

.hero-ticket {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  min-width: 210px;
  border: 1px solid rgba(255, 246, 236, 0.38);
  border-radius: var(--radius);
  padding: 18px;
  color: #0f0905;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.72);
  z-index: 3;
}

.hero-ticket span,
.hero-ticket small {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-ticket strong {
  font-size: 28px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.signal-strip span {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 14px 10px;
  color: var(--cream);
  background: rgba(17, 16, 15, 0.92);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.section {
  margin-top: 54px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.section-heading h2,
.studio-copy h2,
.proof-section h2,
.final-cta h2,
.card h2 {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.96;
}

.course-section,
.pricing-section {
  display: grid;
  gap: 24px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.course-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 310px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 90, 31, 0.12), transparent 44%),
    rgba(17, 15, 14, 0.92);
}

.course-card.feature-course {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 640px;
  padding: 0;
}

.course-card.feature-course > img {
  position: absolute;
  inset: 0;
}

.course-card.feature-course > div {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 28px;
}

.course-card h3 {
  margin-top: 10px;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 0.98;
}

.course-card p {
  margin-top: 12px;
  font-size: 15px;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.35fr) minmax(0, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.studio-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(242, 178, 75, 0.16), rgba(255, 90, 31, 0.08) 48%, rgba(255, 246, 236, 0.02)),
    rgba(12, 11, 10, 0.9);
}

.studio-copy .button {
  width: fit-content;
}

.studio-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 280px;
  gap: 14px;
}

.studio-gallery figure:first-child {
  grid-row: span 2;
}

.studio-gallery figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  border-radius: var(--radius);
  padding: 8px 10px;
  color: #130b06;
  background: var(--cream);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plans,
.status-grid,
.stat-grid {
  display: grid;
  gap: 16px;
}

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

.premium-plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 28px;
  color: inherit;
  text-align: left;
  text-decoration: none;
  background:
    linear-gradient(150deg, rgba(255, 246, 236, 0.055), rgba(255, 90, 31, 0.08)),
    var(--panel);
}

.plan.is-selected,
.plan:hover,
button.plan[aria-pressed="true"] {
  border-color: rgba(255, 90, 31, 0.74);
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.22), rgba(242, 178, 75, 0.1)),
    var(--panel-2);
}

.plan strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
}

.price {
  color: var(--gold);
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-size: 14px;
}

.billing-choice {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  background: rgba(12, 11, 10, 0.88);
}

.billing-choice button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.billing-choice button span {
  color: var(--gold);
  font-size: 12px;
}

.billing-choice button.is-selected {
  color: #130b06;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.billing-choice button.is-selected span {
  color: #130b06;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 0.65fr);
  gap: 22px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.14), rgba(58, 141, 255, 0.08)),
    rgba(12, 11, 10, 0.9);
}

.proof-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.proof-grid article {
  display: grid;
  gap: 6px;
  min-height: 124px;
  padding: 22px;
  background: rgba(18, 16, 15, 0.94);
}

.proof-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(242, 178, 75, 0.2), rgba(255, 90, 31, 0.14)),
    rgba(12, 11, 10, 0.94);
}

.footer {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer a {
  text-decoration: none;
}

.auth-page {
  min-height: 100vh;
}

.auth-layout,
.account-layout {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.auth-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  align-items: start;
}

.auth-copy {
  min-height: 540px;
  padding: 40px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.18), rgba(242, 178, 75, 0.08) 54%, transparent),
    rgba(12, 11, 10, 0.88);
}

.auth-copy h1 {
  font-size: clamp(42px, 5vw, 76px);
}

.auth-art {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.auth-art-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.auth-art-grid .visual-card,
.auth-art .visual-card {
  min-height: 260px;
}

.visual-card {
  min-height: 260px;
}

.mini-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.mini-list > div,
.highlight-item {
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}

.mini-list strong,
.mini-list span {
  display: block;
}

.mini-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.1;
}

.card,
.quote-card {
  padding: 28px;
  background:
    linear-gradient(150deg, rgba(255, 246, 236, 0.055), rgba(255, 90, 31, 0.045)),
    rgba(12, 11, 10, 0.9);
}

.quote-card {
  display: grid;
  gap: 14px;
}

.quote-card h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.form,
.stack {
  display: grid;
  gap: 14px;
}

.form {
  margin-top: 18px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 246, 236, 0.055);
}

input:focus {
  border-color: rgba(255, 90, 31, 0.84);
  outline: 3px solid rgba(255, 90, 31, 0.2);
}

.compact.plans {
  grid-template-columns: 1fr;
}

.compact .plan {
  border-radius: var(--radius);
  padding: 18px;
}

.inline-links {
  justify-content: space-between;
  margin-top: 16px;
}

.inline-links a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.message {
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.message.is-good {
  color: var(--green);
}

.message.is-error {
  color: #ff8a72;
}

.account-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
}

.side-nav {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 24px;
}

.status-grid,
.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 22px;
  background:
    linear-gradient(150deg, rgba(255, 246, 236, 0.055), rgba(255, 90, 31, 0.04)),
    rgba(16, 14, 13, 0.92);
}

.stat strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 22px;
}

.mt {
  margin-top: 18px;
}

.legal {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 32px;
}

.legal h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.legal p {
  max-width: 800px;
}

@media (max-width: 1100px) {
  .launch-hero,
  .auth-layout,
  .account-layout,
  .studio-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .launch-hero,
  .hero-copy {
    min-height: 720px;
  }

  .hero-media {
    min-height: 100%;
  }

  .hero-frame-main {
    inset: 0;
  }

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

  .course-card.feature-course {
    grid-column: span 2;
  }

  .side-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page {
    width: min(1280px, calc(100vw - 20px));
    padding-top: 10px;
  }

  .topbar {
    display: grid;
  }

  .brand strong {
    font-size: 18px;
  }

  .nav {
    justify-content: flex-start;
  }

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

  .button,
  button {
    width: 100%;
  }

  .hero-copy,
  .auth-copy,
  .card,
  .proof-section,
  .final-cta,
  .studio-copy,
  .legal {
    padding: 24px;
  }

  .launch-hero,
  .hero-copy {
    min-height: 720px;
  }

  .hero-copy {
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 100%;
    padding-top: 88px;
  }

  .hero-copy h1,
  .auth-copy h1,
  .legal h1 {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 44px);
  }

  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .actions,
  .hero-proof {
    width: min(100%, 320px);
  }

  .lead {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-copy .actions {
    display: grid;
    gap: 10px;
  }

  .hero-proof,
  .plans,
  .status-grid,
  .stat-grid,
  .auth-art-grid,
  .side-nav,
  .course-grid,
  .studio-gallery,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    max-width: 320px;
    gap: 8px;
    margin-top: 24px;
  }

  .hero-proof div {
    min-height: auto;
    padding: 14px;
  }

  .hero-proof strong {
    font-size: 24px;
  }

  .hero-media {
    min-height: 100%;
  }

  .hero-frame-main {
    inset: 0;
  }

  .hero-ticket {
    display: none;
  }

  .course-card,
  .course-card.feature-course {
    grid-column: auto;
    min-height: 300px;
  }

  .studio-gallery {
    grid-auto-rows: 260px;
  }

  .studio-gallery figure:first-child {
    grid-row: auto;
  }

  .final-cta {
    display: grid;
  }

  .footer {
    gap: 12px;
  }
}

/* Premium multi-page layer */

html[data-theme="warm"] {
  color-scheme: light;
  --bg: #efe3d2;
  --bg-2: #e5d1b8;
  --panel: #fff8ee;
  --panel-2: #f1dfc7;
  --ink: #21160f;
  --muted: #6e5a49;
  --dim: #927961;
  --line: rgba(58, 35, 20, 0.16);
  --line-strong: rgba(58, 35, 20, 0.32);
  --shadow: 0 28px 80px rgba(71, 42, 20, 0.18);
}

html[data-theme="warm"] body {
  background:
    linear-gradient(90deg, rgba(58, 35, 20, 0.05) 1px, transparent 1px) 0 0 / 58px 58px,
    radial-gradient(circle at 78% 8%, rgba(242, 178, 75, 0.26), transparent 26rem),
    radial-gradient(circle at 16% 34%, rgba(110, 50, 34, 0.12), transparent 24rem),
    linear-gradient(180deg, #f4eadc 0%, #ead8c0 48%, #f8efe5 100%);
}

.cinema-site {
  opacity: 1;
  transition: opacity 220ms ease;
}

.cinema-site.is-leaving {
  opacity: 0;
}

.cinema-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background:
    radial-gradient(circle at 20% 10%, rgba(116, 36, 24, 0.2), transparent 24rem),
    radial-gradient(circle at 80% 20%, rgba(242, 178, 75, 0.14), transparent 28rem),
    linear-gradient(0deg, transparent 0 97%, rgba(255, 255, 255, 0.03) 97% 100%) 0 0 / 100% 24px;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--cream);
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease, transform 700ms ease;
}

.intro-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.intro-overlay.is-done {
  opacity: 0;
  transform: scale(1.04);
}

.intro-overlay > * {
  grid-area: 1 / 1;
}

.intro-overlay p {
  transform: translateY(76px);
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-overlay h1 {
  width: min(920px, calc(100vw - 36px));
  transform: translateY(112px);
  font-size: clamp(34px, 6vw, 86px);
  line-height: 0.94;
  text-align: center;
}

.intro-mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  transform: translateY(-92px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold), var(--orange), var(--blue));
  box-shadow: 0 0 64px rgba(242, 178, 75, 0.26);
}

.intro-mark span {
  color: #070707;
  font-size: 48px;
  font-weight: 950;
}

.intro-line {
  width: min(520px, 72vw);
  height: 1px;
  transform: translateY(-14px);
  background: linear-gradient(90deg, transparent, var(--gold), var(--cream), transparent);
  animation: introLine 2.2s ease both;
}

.intro-wave {
  display: flex;
  gap: 10px;
  transform: translateY(172px);
}

.intro-wave span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  animation: wave 900ms ease-in-out infinite alternate;
}

.intro-wave span:nth-child(2) { animation-delay: 120ms; }
.intro-wave span:nth-child(3) { animation-delay: 240ms; }
.intro-wave span:nth-child(4) { animation-delay: 360ms; }

.intro-skip {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 101;
  width: auto;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 32px;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 178, 75, 0.14), transparent 26rem),
    rgba(5, 5, 5, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu a {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 12vw, 82px);
  font-weight: 800;
  line-height: 0.95;
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.editorial-hero .hero-copy h1 {
  max-width: 820px;
  font-size: clamp(46px, 6vw, 92px);
}

.home-intro,
.page-hero {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 6vw, 78px);
  background:
    linear-gradient(135deg, rgba(242, 178, 75, 0.12), transparent 50%),
    rgba(8, 8, 8, 0.78);
  box-shadow: var(--shadow);
}

.page-hero h1,
.home-intro h2 {
  max-width: 980px;
  font-size: clamp(44px, 7vw, 98px);
  line-height: 0.92;
}

.page-hero p,
.home-intro p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.section-kicker {
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-hero,
.contact-hero {
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 0.28fr);
  align-items: stretch;
}

.media-hero img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.method-grid,
.catalog-grid,
.portal-grid,
.story-grid,
.testimonial-grid,
.resource-grid,
.feature-mosaic,
.video-testimonials {
  display: grid;
  gap: 16px;
}

.method-grid,
.feature-mosaic,
.testimonial-grid,
.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.method-grid article,
.feature-mosaic article,
.portal-panel,
.catalog-card,
.testimonial-grid article,
.resource-grid article,
.contact-aside article,
.video-testimonials article {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 246, 236, 0.045), rgba(103, 43, 30, 0.08)),
    rgba(13, 12, 11, 0.86);
  box-shadow: var(--shadow);
}

.method-grid span {
  color: var(--orange);
  font-weight: 950;
}

.method-grid strong,
.portal-panel strong,
.testimonial-grid strong {
  display: block;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.method-grid p,
.feature-mosaic p,
.portal-panel p,
.catalog-card p,
.testimonial-grid p,
.resource-grid p,
.contact-aside p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.62;
}

.progress-section,
.testimonial-strip,
.newsletter-panel,
.contact-layout,
.instructor-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: 18px;
  align-items: stretch;
}

.progress-copy,
.dashboard-preview,
.testimonial-strip,
.newsletter-panel,
.contact-card,
.contact-aside,
.instructor-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px;
  background: rgba(12, 11, 10, 0.86);
  box-shadow: var(--shadow);
}

.progress-copy h2,
.testimonial-strip h2,
.newsletter-panel h2,
.instructor-panel h2 {
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.98;
}

.dashboard-preview {
  display: grid;
  align-content: center;
  gap: 18px;
}

.dash-top,
.dash-list span,
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-top strong {
  color: var(--gold);
  font-size: 48px;
}

.dash-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 246, 236, 0.1);
}

.dash-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.dash-list {
  display: grid;
  gap: 10px;
}

.dash-list span,
.mock-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.filter-bar,
.tab-list,
.resource-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}

.filter-bar button,
.tab-list button,
.resource-toolbar button {
  width: auto;
}

.filter-bar .is-active,
.tab-list .is-active {
  color: #140904;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.catalog-card {
  display: grid;
  gap: 14px;
}

.catalog-card h2 {
  font-size: 34px;
  line-height: 1;
}

.catalog-card ul,
.course-modal ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.progress-ring {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--panel) 0 55%, transparent 56%),
    conic-gradient(var(--gold) var(--p), rgba(255, 246, 236, 0.12) 0);
}

.progress-ring span {
  color: var(--gold);
  font-weight: 950;
}

.course-modal {
  width: min(680px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 34px;
  color: var(--ink);
  background: rgba(9, 8, 7, 0.96);
  box-shadow: var(--shadow);
}

.course-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-close {
  float: right;
  width: auto;
}

.studio-tabs {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.studio-screen {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(10, 9, 8, 0.88);
  box-shadow: var(--shadow);
}

.studio-panel {
  display: none;
  min-height: 430px;
  padding: 34px;
}

.studio-panel.is-active {
  display: grid;
  align-content: center;
  gap: 16px;
}

.studio-panel h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.94;
}

.studio-panel img {
  width: min(520px, 100%);
  border-radius: var(--radius-lg);
}

.piano-keys {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: min(520px, 100%);
  height: 120px;
}

.piano-keys span {
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #fff8ef, #c8b9aa);
}

.upload-concept,
.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--gold);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.portal-panel.large {
  grid-column: span 2;
}

.story-grid,
.video-testimonials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instructor-panel {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
}

.instructor-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.testimonial-grid article span {
  color: var(--orange);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-grid small {
  color: var(--dim);
  font-weight: 800;
}

.resource-toolbar {
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 18px;
  background: rgba(12, 11, 10, 0.86);
}

.resource-toolbar label {
  min-width: min(420px, 100%);
}

.contact-layout {
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
}

.contact-aside {
  display: grid;
  gap: 14px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.contact-card {
  display: grid;
  align-content: center;
  gap: 10px;
}

.contact-card strong {
  overflow-wrap: anywhere;
  color: var(--gold);
  font-size: 22px;
}

select,
textarea {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 246, 236, 0.055);
  font: inherit;
}

textarea {
  resize: vertical;
}

select:focus,
textarea:focus {
  border-color: rgba(255, 90, 31, 0.84);
  outline: 3px solid rgba(255, 90, 31, 0.2);
}

.pricing-toggle-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 18px;
  background: rgba(12, 11, 10, 0.86);
}

.pricing-toggle-panel small {
  width: 100%;
  color: var(--muted);
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  display: block;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 246, 236, 0.14);
  box-shadow: inset 0 0 0 1px var(--line);
}

.switch span::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 4px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 180ms ease;
}

.switch input:checked + span::after {
  transform: translateX(26px);
}

.premium-plans .plan strong {
  color: var(--gold);
  font-size: 58px;
}

.price-note {
  color: var(--muted);
  font-weight: 850;
}

.comparison-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--line);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.8fr);
  gap: 1px;
}

.comparison-table span,
.comparison-table strong {
  padding: 18px;
  background: rgba(13, 12, 11, 0.96);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 11, 10, 0.86);
  overflow: hidden;
}

.faq-item button {
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.faq-item p {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.is-open p {
  display: block;
}

.newsletter-panel {
  align-items: center;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

@keyframes introLine {
  from { transform: translateY(-14px) scaleX(0); opacity: 0; }
  to { transform: translateY(-14px) scaleX(1); opacity: 1; }
}

@keyframes wave {
  from { transform: scaleX(0.4); opacity: 0.35; }
  to { transform: scaleX(1.2); opacity: 1; }
}

@media (max-width: 1080px) {
  .method-grid,
  .catalog-grid,
  .portal-grid,
  .testimonial-grid,
  .resource-grid,
  .feature-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-section,
  .testimonial-strip,
  .newsletter-panel,
  .contact-layout,
  .media-hero,
  .contact-hero,
  .instructor-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .premium-nav .nav {
    display: none;
  }

  .page-hero h1,
  .home-intro h2,
  .editorial-hero .hero-copy h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .method-grid,
  .catalog-grid,
  .portal-grid,
  .story-grid,
  .testimonial-grid,
  .resource-grid,
  .feature-mosaic,
  .video-testimonials,
  .plans,
  .comparison-table > div {
    grid-template-columns: 1fr;
  }

  .portal-panel.large {
    grid-column: auto;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .filter-bar button,
  .tab-list button,
  .resource-toolbar button {
    width: auto;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Ground-up editorial redesign layer */

:root {
  --display: "Bodoni 72", "Didot", "Hoefler Text", Georgia, serif;
  --grotesk: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --void: #000000;
  --black-glass: rgba(3, 3, 3, 0.72);
  --soft-white: #f8f5ec;
  --smoke: #9d9a93;
  --hairline: rgba(248, 245, 236, 0.16);
  --hairline-strong: rgba(248, 245, 236, 0.28);
  --copper: #d96f3f;
  --violet: #6355e7;
  --aqua: #9fded2;
}

body.cinema-site {
  color: var(--soft-white);
  background:
    radial-gradient(circle at 50% -20%, rgba(152, 109, 64, 0.15), transparent 36rem),
    linear-gradient(180deg, #000 0%, #050505 42%, #010101 100%);
  font-family: var(--grotesk);
}

body.cinema-site::before {
  opacity: 0.24;
  background:
    radial-gradient(circle at 18% 8%, rgba(216, 111, 63, 0.11), transparent 22rem),
    radial-gradient(circle at 74% 12%, rgba(99, 85, 231, 0.09), transparent 26rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px) 0 0 / 6rem 100%;
}

h1,
h2,
h3,
.brand strong,
.plan strong,
.stat strong,
.price,
.catalog-card h2,
.studio-panel h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

.page {
  width: min(1800px, calc(100vw - 44px));
}

.wide-page {
  width: min(1880px, calc(100vw - 48px));
}

.topbar {
  top: 16px;
  min-height: 76px;
  border-color: var(--hairline);
  border-radius: 24px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.74);
}

.wide-nav {
  max-width: 1680px;
  margin: 0 auto;
}

.brand small,
.eyebrow,
.label,
.plan .label,
.section-kicker,
.testimonial-grid article span {
  color: var(--copper);
  font-family: var(--grotesk);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  color: #0a0705;
  background:
    radial-gradient(circle at 70% 22%, #f7f1dd 0 8px, transparent 9px),
    linear-gradient(135deg, #f0c66b 0 35%, #cd5b33 35% 65%, #4b4be4 65% 100%);
  box-shadow: none;
}

.brand strong {
  max-width: none;
  font-size: 25px;
  line-height: 1;
}

.nav a:not(.button) {
  color: rgba(248, 245, 236, 0.7);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.button,
button {
  border-color: var(--hairline);
  border-radius: 999px;
  color: var(--soft-white);
  background: rgba(248, 245, 236, 0.055);
  font-family: var(--grotesk);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button.primary,
button.primary,
.filter-bar .is-active,
.tab-list .is-active {
  color: #050505;
  background: linear-gradient(135deg, #f8f5ec, #c99054 58%, #8d3e2e);
}

.button:hover,
button:hover {
  border-color: rgba(248, 245, 236, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
}

.cinematic-hero {
  position: relative;
  display: grid;
  min-height: min(860px, calc(100vh - 120px));
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 36px;
  background: #000;
  box-shadow: 0 42px 140px rgba(0, 0, 0, 0.72);
}

.cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.9) 24%, rgba(0, 0, 0, 0.26) 68%, rgba(0, 0, 0, 0.64) 100%),
    radial-gradient(circle at 58% 22%, rgba(248, 245, 236, 0.09), transparent 30rem);
  pointer-events: none;
}

.hero-orchestra {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-orchestra span {
  position: absolute;
  width: clamp(140px, 12vw, 260px);
  height: clamp(140px, 12vw, 260px);
  border: 1px solid rgba(248, 245, 236, 0.12);
  border-radius: 50%;
  opacity: 0.74;
  animation: driftOrb 12s ease-in-out infinite alternate;
}

.hero-orchestra span:nth-child(1) {
  left: 5%;
  top: 14%;
  background: radial-gradient(circle, rgba(216, 111, 63, 0.28), transparent 64%);
}

.hero-orchestra span:nth-child(2) {
  right: 11%;
  top: 8%;
  background: radial-gradient(circle, rgba(159, 222, 210, 0.21), transparent 64%);
  animation-delay: 1.4s;
}

.hero-orchestra span:nth-child(3) {
  left: 42%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(99, 85, 231, 0.22), transparent 64%);
  animation-delay: 2.2s;
}

.hero-orchestra span:nth-child(4) {
  right: 34%;
  bottom: 24%;
  width: clamp(86px, 8vw, 148px);
  height: clamp(86px, 8vw, 148px);
  background: radial-gradient(circle, rgba(248, 245, 236, 0.22), transparent 64%);
  animation-delay: 3s;
}

.hero-deck {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(460px, 0.92fr) minmax(560px, 1.08fr);
  gap: clamp(28px, 4vw, 76px);
  align-items: center;
  min-height: inherit;
  padding: clamp(42px, 6vw, 94px);
}

.hero-editorial-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.hero-editorial-copy h1 {
  max-width: 980px;
  font-size: clamp(72px, 7.8vw, 154px);
  line-height: 0.78;
  text-wrap: balance;
}

.hero-editorial-copy .lead {
  max-width: 670px;
  color: rgba(248, 245, 236, 0.72);
  font-size: clamp(18px, 1.35vw, 25px);
  line-height: 1.42;
}

.hero-cinema-frame {
  position: relative;
  min-height: clamp(520px, 48vw, 760px);
  overflow: hidden;
  border: 1px solid rgba(248, 245, 236, 0.2);
  border-radius: 34px;
  background: #050505;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.66);
}

.hero-cinema-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 15% 15%, rgba(201, 144, 84, 0.28), transparent 22rem);
  pointer-events: none;
}

.hero-cinema-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.03);
}

.hero-index-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(248, 245, 236, 0.14);
  background: rgba(0, 0, 0, 0.78);
}

.hero-index-strip span {
  min-height: 74px;
  border-right: 1px solid rgba(248, 245, 236, 0.1);
  padding: 24px;
  color: rgba(248, 245, 236, 0.7);
  font-family: var(--grotesk);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stat-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
  margin-top: clamp(26px, 4vw, 64px);
}

.grain-card {
  position: relative;
  min-height: clamp(440px, 37vw, 680px);
  overflow: hidden;
  border: 1px solid rgba(248, 245, 236, 0.17);
  border-radius: clamp(28px, 2.8vw, 54px);
  padding: clamp(34px, 4vw, 76px);
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 34px 110px rgba(0, 0, 0, 0.58);
  isolation: isolate;
}

.grain-field,
.grain-card::before,
.grain-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grain-field {
  z-index: -2;
  opacity: 0.95;
  filter: blur(0.5px);
}

.grain-card::before {
  z-index: -1;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.52) 0 1px, transparent 1.35px);
  background-size: 5px 5px;
  mask-image: radial-gradient(ellipse at 72% 14%, #000 0 34%, transparent 68%), radial-gradient(ellipse at 8% 67%, #000 0 24%, transparent 58%);
}

.grain-card::after {
  z-index: -1;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.035);
}

.grain-ember .grain-field {
  background:
    radial-gradient(ellipse at 72% 12%, rgba(255, 218, 151, 0.96), rgba(216, 111, 63, 0.8) 24%, transparent 48%),
    radial-gradient(ellipse at 0% 62%, rgba(216, 111, 63, 0.86), transparent 34%),
    radial-gradient(ellipse at 92% 92%, rgba(216, 111, 63, 0.72), transparent 28%);
}

.grain-violet .grain-field {
  background:
    radial-gradient(ellipse at 70% 10%, rgba(99, 85, 231, 0.92), rgba(183, 76, 136, 0.7) 30%, transparent 56%),
    radial-gradient(ellipse at 2% 42%, rgba(49, 67, 185, 0.88), transparent 34%);
}

.grain-mint .grain-field {
  background:
    radial-gradient(ellipse at 72% 8%, rgba(177, 240, 223, 0.98), rgba(108, 188, 174, 0.76) 34%, transparent 58%),
    radial-gradient(ellipse at 96% 52%, rgba(38, 63, 120, 0.82), transparent 32%);
}

.grain-card strong {
  position: absolute;
  left: clamp(34px, 5vw, 88px);
  bottom: clamp(142px, 10vw, 214px);
  font-family: var(--display);
  font-size: clamp(104px, 10.5vw, 214px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 0.75;
}

.grain-card p {
  position: absolute;
  left: clamp(38px, 5vw, 96px);
  right: clamp(34px, 5vw, 92px);
  bottom: clamp(38px, 4vw, 76px);
  max-width: 520px;
  color: rgba(248, 245, 236, 0.66);
  font-size: clamp(17px, 1.25vw, 24px);
  line-height: 1.28;
}

.wide-statement,
.panorama-section,
.studio-wide,
.membership-theater,
.editorial-testimonial,
.final-enrollment {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 70px);
  margin-top: clamp(34px, 5vw, 86px);
  border: 1px solid var(--hairline);
  border-radius: 34px;
  padding: clamp(34px, 5vw, 86px);
  overflow: hidden;
  background: rgba(4, 4, 4, 0.82);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.56);
}

.wide-statement {
  grid-template-columns: 0.18fr minmax(420px, 0.9fr) minmax(360px, 0.52fr);
  align-items: end;
}

.wide-statement::before,
.panorama-section::before,
.membership-theater::before,
.final-enrollment::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0.6;
  background:
    radial-gradient(circle at 16% 18%, rgba(216, 111, 63, 0.15), transparent 22rem),
    radial-gradient(circle at 84% 28%, rgba(248, 245, 236, 0.08), transparent 30rem);
  pointer-events: none;
}

.wide-statement > *,
.panorama-section > *,
.membership-theater > *,
.final-enrollment > * {
  position: relative;
}

.statement-number {
  color: rgba(248, 245, 236, 0.18);
  font-family: var(--display);
  font-size: clamp(86px, 9vw, 180px);
  line-height: 0.8;
}

.wide-statement h2,
.panorama-copy h2,
.studio-wide-copy h2,
.membership-theater h2,
.editorial-testimonial blockquote,
.final-enrollment h2 {
  font-size: clamp(58px, 6vw, 128px);
  line-height: 0.82;
  text-wrap: balance;
}

.wide-statement > p,
.panorama-copy p,
.studio-wide-copy p,
.membership-theater .section-heading p {
  color: rgba(248, 245, 236, 0.68);
  font-size: clamp(18px, 1.2vw, 23px);
  line-height: 1.44;
}

.panorama-section {
  grid-template-columns: minmax(420px, 0.42fr) minmax(720px, 0.58fr);
  align-items: stretch;
}

.panorama-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  min-width: 0;
}

.course-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.course-panels article,
.mini-progress-stack span,
.premium-faq .faq-item,
.catalog-card,
.portal-panel,
.resource-grid article,
.testimonial-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 245, 236, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(248, 245, 236, 0.08), transparent 12rem),
    rgba(0, 0, 0, 0.66);
}

.course-panels article {
  display: grid;
  align-content: end;
  min-height: 310px;
  padding: 30px;
}

.course-panels article::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    radial-gradient(ellipse at 74% 18%, rgba(201, 144, 84, 0.52), transparent 42%),
    radial-gradient(ellipse at 8% 78%, rgba(99, 85, 231, 0.28), transparent 36%);
  pointer-events: none;
}

.course-panels span,
.course-panels strong {
  position: relative;
}

.course-panels span {
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.course-panels strong {
  margin-top: 12px;
  max-width: 440px;
  font-family: var(--display);
  font-size: clamp(30px, 2.4vw, 52px);
  font-weight: 400;
  line-height: 0.92;
}

.studio-wide {
  grid-template-columns: minmax(580px, 0.56fr) minmax(420px, 0.44fr);
  align-items: stretch;
  padding: 0;
}

.studio-wide figure {
  min-height: 680px;
  overflow: hidden;
}

.studio-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08);
}

.studio-wide-copy {
  display: grid;
  align-content: center;
  gap: 24px;
  min-width: 0;
  padding: clamp(34px, 5vw, 82px);
}

.mini-progress-stack {
  display: grid;
  gap: 12px;
}

.mini-progress-stack span {
  min-height: 58px;
  padding: 18px 20px;
  color: rgba(248, 245, 236, 0.8);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-progress-stack span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--w);
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--soft-white));
}

.membership-theater {
  grid-template-columns: minmax(380px, 0.38fr) minmax(0, 0.62fr);
  align-items: center;
}

.membership-theater .section-heading h2 {
  font-size: clamp(52px, 5vw, 108px);
}

.plans {
  gap: 18px;
}

.plan {
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 10%, rgba(216, 111, 63, 0.16), transparent 16rem),
    rgba(0, 0, 0, 0.72);
}

.plan strong {
  font-size: clamp(42px, 4vw, 74px);
}

.editorial-testimonial {
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 0.72fr);
  align-items: end;
}

.editorial-testimonial blockquote {
  margin: 0;
}

.editorial-testimonial div {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.editorial-testimonial span {
  color: rgba(248, 245, 236, 0.58);
  font-weight: 800;
}

.premium-faq {
  display: grid;
  grid-template-columns: minmax(420px, 0.42fr) minmax(0, 0.58fr);
  gap: 24px;
}

.final-enrollment {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.page-hero,
.home-intro {
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 8%, rgba(201, 144, 84, 0.16), transparent 26rem),
    rgba(0, 0, 0, 0.78);
}

.page-hero h1,
.home-intro h2 {
  font-size: clamp(62px, 7vw, 132px);
  line-height: 0.8;
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.catalog-card {
  border-radius: 32px;
  padding: 30px;
}

.catalog-card h2 {
  font-size: clamp(36px, 3vw, 62px);
}

.progress-ring {
  position: relative;
  width: 132px;
  height: 132px;
  overflow: hidden;
  border: 1px solid rgba(248, 245, 236, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 18%, rgba(248, 245, 236, 0.82), rgba(201, 144, 84, 0.38) 32%, transparent 58%),
    radial-gradient(circle at 20% 72%, rgba(99, 85, 231, 0.38), transparent 46%),
    #000;
}

.progress-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.58) 0 1px, transparent 1.25px);
  background-size: 4px 4px;
}

.progress-ring span {
  position: relative;
  z-index: 1;
  color: var(--soft-white);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-index, 0) * 45ms);
}

[data-reveal="spread"] {
  transform: translateY(54px) scale(0.96);
}

[data-reveal="hero"] {
  transform: translateY(22px) scale(0.99);
}

[data-reveal="lift"] {
  transform: translateY(72px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.grain-card.is-visible .grain-field,
.course-panels article:hover::before {
  animation: grainBreath 8s ease-in-out infinite alternate;
}

@keyframes driftOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(22px, -18px, 0) scale(1.12); }
}

@keyframes grainBreath {
  from { transform: scale(1); filter: blur(0.5px) saturate(1); }
  to { transform: scale(1.08); filter: blur(0.8px) saturate(1.18); }
}

@media (max-width: 1280px) {
  .hero-deck,
  .wide-statement,
  .panorama-section,
  .studio-wide,
  .membership-theater,
  .premium-faq,
  .editorial-testimonial,
  .final-enrollment {
    grid-template-columns: 1fr;
  }

  .hero-deck {
    min-height: auto;
  }

  .hero-cinema-frame,
  .studio-wide figure {
    min-height: 520px;
  }

  .stat-triptych,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .grain-card {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page,
  .wide-page {
    width: 100%;
    max-width: 100%;
    padding-inline: 9px;
  }

  .topbar,
  .cinematic-hero,
  .grain-card,
  .wide-statement,
  .panorama-section,
  .studio-wide,
  .membership-theater,
  .editorial-testimonial,
  .final-enrollment,
  .page-hero,
  .home-intro {
    border-radius: 22px;
  }

  .hero-deck,
  .wide-statement,
  .panorama-section,
  .membership-theater,
  .final-enrollment,
  .page-hero,
  .home-intro {
    padding: 24px;
  }

  .cinematic-hero,
  .hero-deck,
  .hero-editorial-copy,
  .hero-cinema-frame,
  .hero-index-strip,
  .stat-triptych,
  .grain-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-deck {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden;
  }

  .hero-editorial-copy h1,
  .wide-statement h2,
  .panorama-copy h2,
  .studio-wide-copy h2,
  .membership-theater h2,
  .editorial-testimonial blockquote,
  .final-enrollment h2,
  .page-hero h1,
  .home-intro h2 {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: clamp(31px, 9vw, 35px);
    line-height: 0.94;
    text-wrap: wrap;
  }

  .hero-editorial-copy .lead {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.46;
  }

  .hero-editorial-copy .actions,
  .final-enrollment .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .hero-editorial-copy .button,
  .final-enrollment .button {
    width: 100%;
  }

  .hero-editorial-copy .eyebrow {
    max-width: 18rem;
    font-size: 10px;
    line-height: 1.5;
  }

  .hero-cinema-frame,
  .studio-wide figure {
    min-height: 380px;
  }

  .hero-index-strip,
  .course-panels,
  .plans {
    grid-template-columns: 1fr;
  }

  .grain-card {
    min-height: 460px;
    padding: 28px;
  }

  .grain-card strong {
    left: 28px;
    bottom: 142px;
    font-size: clamp(86px, 28vw, 124px);
  }

  .grain-card p {
    left: 28px;
    right: 28px;
    bottom: 34px;
  }

  .studio-wide-copy {
    padding: 28px;
  }
}

/* Screenshot-matched home redesign */

.reference-home {
  --ref-bg: #030303;
  --ref-panel: rgba(7, 7, 7, 0.82);
  --ref-line: rgba(255, 255, 255, 0.12);
  --ref-line-strong: rgba(255, 255, 255, 0.22);
  --ref-ink: #f7f3ea;
  --ref-muted: rgba(247, 243, 234, 0.64);
  --ref-dim: rgba(247, 243, 234, 0.42);
  --ref-orange: #e5722a;
  --ref-orange-2: #ff8842;
  --ref-gold: #c99446;
  color: var(--ref-ink);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 148px 100%,
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.12) 0 1px, transparent 1.35px) 0 0 / 9px 9px,
    radial-gradient(circle at 78% 10%, rgba(114, 61, 28, 0.16), transparent 34rem),
    #030303;
}

.reference-home::before {
  display: none;
}

.reference-home::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.9) 0 1px, transparent 1.45px);
  background-size: 7px 7px;
  mix-blend-mode: screen;
}

.reference-home main {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.reference-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  min-height: 98px;
  padding: 0 clamp(32px, 4vw, 82px);
  border-bottom: 1px solid var(--ref-line);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(7, 7, 7, 0.88)),
    var(--ref-bg);
  backdrop-filter: blur(18px);
}

.reference-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ref-ink);
  text-decoration: none;
}

.reference-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: transparent;
  background: #030303 url("/assets/vyasas-v-logo.png") center / 94% 94% no-repeat;
  box-shadow: 0 0 22px rgba(255, 246, 236, 0.12), 0 10px 24px rgba(0, 0, 0, 0.4);
  font-family: var(--grotesk);
  font-size: 0;
  font-weight: 950;
  line-height: 1;
}

.reference-brand small,
.reference-kicker {
  display: block;
  color: var(--ref-orange);
  font-family: var(--grotesk);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.28em;
  line-height: 1.2;
  text-transform: uppercase;
}

.reference-brand strong {
  display: block;
  color: var(--ref-ink);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  line-height: 0.98;
  white-space: nowrap;
}

.reference-links,
.reference-actions,
.reference-cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.reference-links a {
  color: rgba(247, 243, 234, 0.72);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: color 160ms ease;
}

.reference-links a:hover {
  color: var(--ref-ink);
}

.reference-actions {
  gap: 22px;
}

.reference-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 128px;
  min-height: 56px;
  border: 1px solid var(--ref-line-strong);
  border-radius: 6px;
  padding: 0 26px;
  color: var(--ref-ink);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--grotesk);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.reference-button.solid {
  border-color: transparent;
  color: #100805;
  background: linear-gradient(135deg, #f7b152, #ff6f2f);
}

.reference-button.ghost:hover,
.reference-button.solid:hover,
.program-link:hover,
.program-card:hover,
.reference-feature-strip article:hover {
  transform: translateY(-2px);
}

.reference-button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.055);
}

.reference-menu-toggle {
  display: none;
}

.reference-hero {
  position: relative;
  min-height: clamp(720px, 78vh, 860px);
  border-bottom: 1px solid var(--ref-line);
  overflow: hidden;
  background: #030303;
}

.reference-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.055;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.55) 0 1px, transparent 1.35px);
  background-size: 8px 8px;
  mask-image:
    linear-gradient(90deg, transparent 0 38%, #000 48%, transparent 88%),
    radial-gradient(ellipse at 78% 22%, #000 0 18%, transparent 52%);
}

.reference-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.9) 25%, rgba(0,0,0,0.52) 50%, rgba(0,0,0,0.06) 76%, rgba(0,0,0,0.18) 100%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}

.reference-hero-bg {
  position: absolute;
  inset: 0 0 0 36%;
  z-index: 1;
}

.reference-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.86) contrast(1.08);
}

.reference-hero-copy {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  min-height: inherit;
  width: min(820px, 52vw);
  padding: clamp(52px, 6vw, 108px) 0 clamp(74px, 7vw, 122px) clamp(36px, 5vw, 100px);
}

.reference-hero-copy h1 {
  margin-top: 22px;
  max-width: 860px;
  color: var(--ref-ink);
  font-family: var(--display);
  font-size: clamp(64px, 5.4vw, 118px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.99;
  text-wrap: balance;
  overflow-wrap: normal;
}

.reference-hero-copy h1 em {
  font-style: italic;
  font-weight: 300;
}

.desktop-phrase {
  white-space: nowrap;
}

.mobile-break {
  display: none;
}

.reference-rule {
  display: block;
  width: 110px;
  height: 3px;
  margin-top: 34px;
  background: linear-gradient(90deg, var(--ref-orange), rgba(229, 114, 42, 0.18));
}

.reference-hero-copy p:not(.reference-kicker) {
  max-width: 690px;
  margin-top: 34px;
  color: var(--ref-muted);
  font-size: clamp(18px, 1.15vw, 24px);
  font-weight: 600;
  line-height: 1.62;
}

.reference-cta-row {
  margin-top: 44px;
  gap: 28px;
}

.reference-cta-row .reference-button {
  min-width: 220px;
  min-height: 68px;
  font-size: 16px;
}

.reference-quote-card {
  position: absolute;
  right: clamp(34px, 4vw, 78px);
  bottom: clamp(34px, 4vw, 70px);
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  width: min(386px, 36vw);
  min-height: 146px;
  border: 1px solid var(--ref-line);
  border-radius: 6px;
  padding: 26px 30px;
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  backdrop-filter: blur(18px);
}

.reference-quote-card > span {
  color: var(--ref-orange);
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
}

.reference-quote-card p {
  color: rgba(247, 243, 234, 0.82);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.28;
}

.reference-quote-card em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
}

.reference-quote-card strong {
  grid-column: 2;
  color: var(--ref-orange);
  font-family: var(--display);
  font-size: 38px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.reference-feature-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--ref-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
}

.reference-feature-strip article {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 142px;
  padding: 24px clamp(20px, 2vw, 42px);
  border-right: 1px solid var(--ref-line);
  transition: transform 180ms ease, background 180ms ease;
}

.reference-feature-strip article::before,
.reference-memberships::before,
.program-signature::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.65) 0 1px, transparent 1.35px);
  background-size: 7px 7px;
  mask-image: radial-gradient(ellipse at 72% 20%, #000 0 18%, transparent 48%);
}

.reference-feature-strip article:last-child {
  border-right: 0;
}

.feature-icon {
  color: var(--ref-orange);
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
}

.reference-feature-strip strong {
  color: var(--ref-ink);
  font-size: 15px;
  font-weight: 900;
}

.reference-feature-strip p {
  margin-top: 8px;
  color: var(--ref-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.program-core {
  padding: clamp(48px, 5vw, 92px) clamp(30px, 4vw, 76px) clamp(42px, 5vw, 84px);
}

.program-heading {
  display: grid;
  grid-template-columns: minmax(560px, 0.44fr) minmax(430px, 0.34fr) minmax(260px, 0.22fr);
  gap: clamp(30px, 4vw, 76px);
  align-items: center;
}

.program-heading::before {
  display: none;
}

.program-heading h2 {
  margin-top: 14px;
  max-width: 760px;
  color: var(--ref-ink);
  font-family: var(--display);
  font-size: clamp(52px, 4vw, 82px);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.04;
}

.program-heading > p {
  grid-column: 2;
  max-width: 560px;
  border-left: 1px solid var(--ref-line);
  padding-left: clamp(30px, 4vw, 74px);
  color: var(--ref-muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.75;
}

.program-link {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 286px;
  min-height: 70px;
  border: 1px solid rgba(229, 114, 42, 0.36);
  border-radius: 999px;
  color: var(--ref-orange);
  background: rgba(0,0,0,0.28);
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.program-card-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
  margin-top: clamp(42px, 5vw, 72px);
}

.program-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: clamp(500px, 34vw, 650px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: clamp(26px, 2.3vw, 44px);
  color: var(--ref-ink);
  background: #040404;
  isolation: isolate;
  text-decoration: none;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.program-card:hover {
  border-color: rgba(229, 114, 42, 0.48);
  box-shadow: 0 26px 80px rgba(0,0,0,0.36);
}

.program-card::before,
.program-card::after,
.program-grain {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.program-grain {
  z-index: -2;
  opacity: 0.95;
  filter: saturate(1.08);
}

.program-card::before {
  z-index: -1;
  opacity: 0.66;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.54) 0 1px, transparent 1.38px);
  background-size: 5px 5px;
  mask-image:
    radial-gradient(ellipse at 35% 35%, #000 0 42%, transparent 76%),
    radial-gradient(ellipse at 84% 76%, #000 0 30%, transparent 58%);
}

.program-card::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.34) 42%, rgba(0,0,0,0.82) 100%);
}

.card-ember {
  border-color: rgba(229, 114, 42, 0.28);
}

.card-ember .program-grain {
  background:
    radial-gradient(ellipse at 22% 30%, rgba(226, 75, 32, 0.96), transparent 37%),
    radial-gradient(ellipse at 76% 48%, rgba(255, 130, 48, 0.78), transparent 43%);
}

.card-violet .program-grain {
  background:
    radial-gradient(ellipse at 46% 42%, rgba(83, 93, 255, 0.86), transparent 45%),
    radial-gradient(ellipse at 86% 80%, rgba(57, 43, 143, 0.72), transparent 35%);
}

.card-mint .program-grain {
  background:
    radial-gradient(ellipse at 50% 18%, rgba(145, 218, 187, 0.82), transparent 41%),
    radial-gradient(ellipse at 78% 52%, rgba(57, 121, 103, 0.66), transparent 38%);
}

.card-amber .program-grain {
  background:
    radial-gradient(ellipse at 40% 16%, rgba(207, 124, 40, 0.78), transparent 42%),
    radial-gradient(ellipse at 76% 45%, rgba(127, 59, 20, 0.62), transparent 36%);
}

.card-gold .program-grain {
  background:
    radial-gradient(ellipse at 46% 12%, rgba(219, 157, 54, 0.84), transparent 40%),
    radial-gradient(ellipse at 88% 36%, rgba(160, 102, 30, 0.56), transparent 36%);
}

.program-icon {
  position: absolute;
  top: 44px;
  right: 38px;
  color: currentColor;
  opacity: 0.62;
  font-family: var(--display);
  font-size: 38px;
}

.program-card strong {
  color: currentColor;
  opacity: 0.72;
  font-family: var(--display);
  font-size: clamp(104px, 7.3vw, 164px);
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.program-card h3 {
  margin-top: clamp(34px, 5vw, 78px);
  color: var(--ref-ink);
  font-family: var(--display);
  font-size: clamp(32px, 2vw, 46px);
  font-weight: 500;
  line-height: 0.95;
}

.program-card h4 {
  margin: 12px 0 0;
  color: currentColor;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
}

.program-card i {
  width: 34px;
  height: 2px;
  margin-top: 18px;
  background: currentColor;
  opacity: 0.72;
}

.program-card p {
  margin-top: 22px;
  color: rgba(247, 243, 234, 0.64);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.program-card > a {
  width: fit-content;
  margin-top: 26px;
  color: currentColor;
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
}

.card-ember,
.card-amber,
.card-gold {
  color: var(--ref-gold);
}

.card-violet {
  color: #8279ff;
}

.card-mint {
  color: #83b99a;
}

.program-signature {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.28fr) minmax(180px, 0.17fr) 1px minmax(330px, 0.34fr) minmax(260px, 0.21fr);
  gap: clamp(26px, 3vw, 58px);
  align-items: center;
  margin-top: 24px;
  border: 1px solid var(--ref-line);
  border-radius: 10px;
  padding: 26px clamp(28px, 4vw, 68px);
  background: rgba(255, 255, 255, 0.018);
}

.program-signature::before {
  content: "";
  grid-column: 3;
  width: 1px;
  height: 82px;
  background: var(--ref-line);
}

.program-signature blockquote {
  margin: 0;
  color: rgba(247, 243, 234, 0.76);
  font-family: var(--display);
  font-size: clamp(22px, 1.5vw, 32px);
  font-style: italic;
  line-height: 1.25;
}

.program-signature blockquote::before {
  content: "“";
  margin-right: 20px;
  color: var(--ref-orange);
  font-size: 38px;
  line-height: 0;
}

.program-signature > strong {
  color: var(--ref-orange);
  font-family: var(--display);
  font-size: clamp(38px, 3vw, 62px);
  font-style: italic;
  font-weight: 400;
}

.signature-profile {
  grid-column: 4;
  display: flex;
  align-items: center;
  gap: 18px;
}

.signature-profile img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
}

.signature-profile p {
  display: grid;
  gap: 4px;
  color: var(--ref-muted);
  font-size: 16px;
  line-height: 1.2;
}

.signature-profile b {
  color: var(--ref-ink);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}

.program-signature > a {
  grid-column: 5;
  justify-self: end;
  color: var(--ref-orange);
  font-weight: 850;
  text-decoration: none;
}

.reference-memberships {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 clamp(30px, 4vw, 76px) clamp(42px, 5vw, 84px);
  border: 1px solid var(--ref-line);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 56px);
  background:
    radial-gradient(circle at 78% 8%, rgba(229, 114, 42, 0.14), transparent 26rem),
    rgba(255, 255, 255, 0.02);
}

.reference-memberships h2 {
  color: var(--ref-ink);
  font-family: var(--display);
  font-size: clamp(42px, 4vw, 76px);
  font-weight: 400;
  line-height: 0.96;
}

.reference-memberships p:not(.reference-kicker) {
  max-width: 780px;
  margin-top: 16px;
  color: var(--ref-muted);
  font-size: 18px;
  line-height: 1.55;
}

.reference-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(30px, 4vw, 76px);
  border-top: 1px solid var(--ref-line);
  color: var(--ref-muted);
  font-size: 14px;
  font-weight: 750;
}

.reference-footer a {
  color: inherit;
  text-decoration: none;
}

.path-quiz {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  border: 0;
  padding: 0;
  overflow-y: auto;
  color: var(--ref-ink);
  background:
    radial-gradient(circle at 48% 12%, rgba(134, 55, 255, 0.38), transparent 24rem),
    radial-gradient(circle at 76% 80%, rgba(72, 20, 171, 0.34), transparent 28rem),
    #351083;
}

.path-quiz::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.path-quiz[open] {
  display: grid;
  place-items: center;
}

.path-quiz-shell {
  display: grid;
  justify-items: center;
  width: min(1040px, calc(100vw - 32px));
  min-height: 100vh;
  min-height: 100dvh;
  align-content: center;
  padding: clamp(42px, 6vw, 96px) 0;
}

.path-quiz-close {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--ref-ink);
  background: rgba(20, 4, 58, 0.52);
  font-size: 28px;
  cursor: pointer;
}

.path-quiz-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  max-width: min(100%, 760px);
  margin-bottom: clamp(44px, 5vw, 72px);
}

.path-quiz-brand strong {
  font-family: var(--grotesk);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: left;
}

.path-quiz-brand .reference-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  font-size: 38px;
}

.path-quiz-progress {
  width: min(640px, 78vw);
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.path-quiz-progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffffff, #ffd46b);
  transition: width 260ms ease;
}

.path-quiz-step {
  margin-top: 20px;
  color: rgba(255, 253, 236, 0.74);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.path-quiz-prev {
  margin-top: 14px;
  border: 0;
  color: rgba(255, 253, 236, 0.78);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.path-quiz-prev[hidden] {
  display: none;
}

.path-quiz h2 {
  max-width: 980px;
  margin-top: 28px;
  color: var(--ref-ink);
  font-family: var(--grotesk);
  font-size: clamp(54px, 5.8vw, 96px);
  font-weight: 950;
  line-height: 1.08;
  text-align: center;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
  text-wrap: balance;
}

.path-quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 36px);
  width: min(880px, 100%);
  margin-top: clamp(48px, 5.4vw, 76px);
}

.path-quiz-options[hidden],
.path-quiz-result[hidden] {
  display: none;
}

.path-quiz-option {
  display: grid;
  place-items: center;
  gap: 26px;
  min-height: 238px;
  border: 0;
  border-radius: 42px;
  padding: 34px;
  color: var(--ref-ink);
  background: #1d0648;
  box-shadow: 0 30px 90px rgba(20, 4, 58, 0.22);
  font: inherit;
  font-size: clamp(28px, 2.7vw, 46px);
  font-weight: 500;
  line-height: 1.16;
  text-align: center;
  text-transform: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.path-quiz-option:hover {
  transform: translateY(-5px);
  background: #24075b;
}

.path-quiz-option span {
  display: block;
  font-size: clamp(58px, 5vw, 92px);
  line-height: 1;
}

.path-quiz-result {
  display: grid;
  justify-items: center;
  max-width: 680px;
  margin-top: 38px;
  border: 0;
  border-radius: 42px;
  padding: clamp(28px, 5vw, 56px);
  background: #1d0648;
  text-align: center;
}

.path-quiz-result h3 {
  margin-top: 12px;
  color: var(--ref-ink);
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 400;
  line-height: 0.96;
}

.path-quiz-result p:not(.reference-kicker) {
  max-width: 520px;
  margin-top: 18px;
  color: var(--ref-muted);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.55;
}

.path-quiz-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.path-quiz-back {
  margin-top: 22px;
  border: 0;
  color: rgba(247, 243, 234, 0.72);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 1320px) {
  .reference-nav {
    grid-template-columns: minmax(280px, 0.92fr) minmax(460px, auto) minmax(260px, 0.42fr);
    gap: 28px;
  }

  .reference-links {
    gap: 18px;
  }

  .reference-actions {
    gap: 14px;
  }

  .reference-button {
    min-width: 112px;
    min-height: 52px;
    padding: 0 20px;
  }

  .program-heading {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  }

  .program-heading h2 {
    font-size: clamp(46px, 4.4vw, 66px);
  }

  .program-card {
    padding: clamp(24px, 2vw, 34px);
  }

  .program-card h3 {
    font-size: clamp(29px, 2.5vw, 38px);
  }

  .program-card p {
    font-size: 14px;
  }

  .program-heading > p {
    grid-column: 2;
  }

  .program-link {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 1080px) {
  .reference-nav {
    grid-template-columns: 1fr auto;
  }

  .reference-links,
  .reference-actions {
    display: none;
  }

  .reference-menu-toggle {
    display: inline-flex;
    width: auto;
    min-width: 132px;
  }

  .reference-feature-strip,
  .program-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-heading,
  .program-signature {
    grid-template-columns: 1fr;
  }

  .program-heading::before,
  .program-signature::before {
    display: none;
  }

  .program-heading > p,
  .program-link,
  .signature-profile,
  .program-signature > a {
    grid-column: auto;
    justify-self: start;
  }

  .program-heading > p {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 820px) {
  .reference-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 92px;
    padding: 14px 12px;
    gap: 10px;
  }

  .reference-brand {
    min-width: 0;
    gap: 9px;
    overflow: hidden;
  }

  .reference-logo {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    font-size: 22px;
  }

  .reference-brand strong {
    max-width: 178px;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: normal;
  }

  .reference-brand small,
  .reference-kicker {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .reference-menu-toggle {
    min-width: 86px;
    min-height: 46px;
    padding: 0 14px;
    font-size: 12px;
  }

  .reference-hero {
    min-height: auto;
  }

  .reference-hero::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.56) 48%, rgba(0,0,0,0.92) 100%);
  }

  .reference-hero-bg {
    position: relative;
    inset: auto;
    height: 410px;
    margin-top: 0;
  }

  .reference-hero-copy {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    overflow: hidden;
    padding: 42px 22px 24px;
  }

  .reference-hero-copy h1 {
    max-width: calc(100vw - 48px);
    overflow-wrap: break-word;
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.04;
    text-wrap: wrap;
  }

  .desktop-phrase {
    white-space: normal;
  }

  .mobile-break {
    display: inline;
  }

  .reference-hero-copy p:not(.reference-kicker) {
    max-width: calc(100vw - 48px);
    font-size: 16px;
  }

  .reference-cta-row,
  .reference-memberships {
    display: grid;
  }

  .reference-cta-row .reference-button,
  .reference-button {
    width: 100%;
    min-width: 0;
  }

  .reference-quote-card {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 3;
    width: auto;
    margin: -84px 24px 28px;
  }

  .reference-feature-strip,
  .program-card-row {
    grid-template-columns: 1fr;
  }

  .reference-feature-strip article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ref-line);
  }

  .program-core {
    padding: 42px 18px;
  }

  .program-heading {
    gap: 24px;
  }

  .program-heading h2,
  .reference-memberships h2 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .program-heading > p {
    font-size: 16px;
  }

  .program-link {
    width: 100%;
    min-width: 0;
  }

  .program-card {
    min-height: 460px;
    padding: 28px;
  }

  .program-card strong {
    font-size: clamp(100px, 28vw, 128px);
  }

  .program-card h3 {
    margin-top: 54px;
  }

  .program-signature {
    gap: 18px;
    padding: 24px;
  }

  .reference-memberships {
    margin: 0 18px 42px;
  }

  .path-quiz-shell {
    width: 100%;
    min-height: auto;
    align-content: start;
    padding: max(20px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
  }

  .path-quiz[open] {
    place-items: start center;
  }

  .path-quiz-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .path-quiz-brand {
    gap: 12px;
    max-width: calc(100% - 54px);
    margin: 0 54px 18px 0;
    justify-self: start;
  }

  .path-quiz-brand strong {
    font-size: clamp(19px, 5.5vw, 28px);
    letter-spacing: -0.025em;
  }

  .path-quiz-brand .reference-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .path-quiz-progress {
    width: 100%;
    height: 6px;
  }

  .path-quiz-step {
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .path-quiz-prev {
    margin-top: 10px;
    font-size: 13px;
  }

  .path-quiz h2 {
    max-width: 100%;
    margin-top: 16px;
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.14;
    letter-spacing: -0.03em;
  }

  .path-quiz-options {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
  }

  .path-quiz-option {
    grid-template-columns: auto 1fr;
    place-items: center start;
    gap: 14px;
    min-height: 86px;
    border-radius: 20px;
    padding: 18px 18px;
    font-size: clamp(18px, 5.2vw, 23px);
    line-height: 1.16;
    text-align: left;
  }

  .path-quiz-option span {
    font-size: clamp(30px, 8vw, 42px);
    min-width: 42px;
    text-align: center;
  }

  .path-quiz-result {
    width: 100%;
    margin-top: 24px;
    border-radius: 28px;
  }

  .path-quiz-result h3 {
    font-size: clamp(36px, 10vw, 52px);
  }

  .path-quiz-result p:not(.reference-kicker) {
    font-size: 16px;
  }

  .path-quiz-actions {
    display: grid;
    width: 100%;
  }
}

@media (max-width: 460px) {
  .reference-brand strong {
    max-width: 170px;
    font-size: 17px;
    line-height: 1;
  }

  .reference-hero-copy {
    padding: 34px 18px 22px;
  }

  .reference-hero-copy h1,
  .program-heading h2,
  .reference-memberships h2 {
    font-size: clamp(34px, 12vw, 48px);
    line-height: 1.04;
  }

  .reference-quote-card {
    margin-inline: 18px;
    padding: 20px;
  }

  .path-quiz-shell {
    padding-inline: 14px;
  }

  .path-quiz h2 {
    font-size: clamp(27px, 7.8vw, 34px);
    line-height: 1.16;
  }

  .path-quiz-option {
    min-height: 76px;
    padding: 15px 14px;
    border-radius: 18px;
    font-size: clamp(17px, 4.8vw, 21px);
  }
}

@media (max-height: 760px) and (min-width: 821px) {
  .path-quiz-shell {
    padding: 22px 0;
  }

  .path-quiz-brand {
    margin-bottom: 18px;
  }

  .path-quiz-brand strong {
    font-size: 38px;
  }

  .path-quiz-brand .reference-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 30px;
  }

  .path-quiz h2 {
    max-width: 860px;
    margin-top: 14px;
    font-size: 54px;
  }

  .path-quiz-options {
    gap: 16px;
    margin-top: 28px;
  }

  .path-quiz-option {
    min-height: 142px;
    padding: 22px;
    border-radius: 28px;
    font-size: 26px;
  }

  .path-quiz-option span {
    font-size: 48px;
  }
}
