:root {
  --bg: #060910;
  --bg-2: #0a101b;
  --panel: rgba(255, 248, 236, 0.055);
  --panel-2: rgba(255, 248, 236, 0.085);
  --gold: #d7a24d;
  --gold-2: #f2cc7c;
  --copper: #b85a3c;
  --ivory: #f7efe2;
  --muted: #b9ad9c;
  --line: rgba(215, 162, 77, 0.26);
  --line-soft: rgba(215, 162, 77, 0.12);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(circle at 10% 5%, rgba(215, 162, 77, 0.13), transparent 36rem),
    radial-gradient(circle at 88% 35%, rgba(184, 90, 60, 0.12), transparent 30rem),
    linear-gradient(180deg, #04070d 0%, var(--bg) 46%, #080c14 100%);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(6, 9, 16, 0.82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}
.brand img {
  width: clamp(220px, 28vw, 500px);
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 0.92rem;
}
.nav a { transition: color .18s ease; }
.nav a:hover, .nav a.active { color: var(--gold-2); }
.nav-cta {
  color: var(--ivory) !important;
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 999px;
}
.mobile-toggle { display: none; }

main { min-height: 70vh; }
.section { padding: clamp(64px, 8vw, 118px) clamp(22px, 6vw, 96px); }
.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
  padding-top: clamp(34px, 5vw, 70px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-weight: 800;
  font-size: .76rem;
}
h1, h2, h3 { font-family: var(--serif); line-height: .98; margin: 0; font-weight: 600; }
h1 { font-size: clamp(3.7rem, 7.2vw, 7.8rem); letter-spacing: -0.055em; max-width: 860px; }
h2 { font-size: clamp(2.65rem, 5vw, 5.4rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1.65rem, 2.3vw, 2.6rem); }
p { color: var(--muted); }
.lede { font-size: clamp(1.05rem, 1.45vw, 1.28rem); max-width: 650px; margin: 28px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}
.button.primary { background: linear-gradient(135deg, var(--gold-2), #b77834); color: #120b04; box-shadow: 0 18px 42px rgba(215,162,77,.22); }
.button.secondary { border: 1px solid var(--line); color: var(--ivory); }
.hero-image {
  position: relative;
  justify-self: center;
  width: min(100%, 690px);
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(215,162,77,.14), transparent 64%);
  filter: blur(8px);
  z-index: -1;
}
.hero-image img {
  width: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.hero-note {
  margin-top: 20px;
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--muted);
  font-size: .92rem;
}
.hero-note span { width: 8px; height: 8px; background: var(--copper); border-radius: 50%; display: inline-block; }

.hero-quote {
  margin: 30px 0 0;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--copper);
  color: var(--muted);
  max-width: 680px;
}
.hero-quote p {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
  color: var(--ivory);
}
.hero-quote cite {
  display: block;
  font-style: normal;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.page-hero { padding-bottom: clamp(44px, 5vw, 80px); border-bottom: 1px solid var(--line-soft); }
.page-hero .lede { max-width: 860px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), rgba(255,248,236,.028));
  border-radius: 28px;
  padding: 30px;
  min-height: 230px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.card .num, .tag { color: var(--copper); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 900; }
.card h3 { margin: 20px 0 12px; }
.card p { margin-bottom: 0; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 78px); align-items: start; }
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(215,162,77,.11), rgba(184,90,60,.055));
  border-radius: 30px;
  padding: clamp(28px, 4vw, 44px);
}
.list { display: grid; gap: 14px; margin: 28px 0 0; }
.list-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.list-item span { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 900; }
.list-item strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; line-height: 1.05; }
.list-item p { margin: 6px 0 0; }

.feature-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,248,236,.025);
}
.music-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: center;
  min-height: auto;
}
.disc {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(circle, #060910 0 20%, var(--gold-2) 21% 24%, #0c1320 25% 61%, rgba(215,162,77,.52) 62% 64%, #070b13 65%);
  box-shadow: inset 0 0 22px rgba(0,0,0,.45);
}
.kicker-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.kicker-links a, .pill { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--ivory); font-weight: 700; font-size: .9rem; }

.contact-info-section { padding-bottom: 2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: var(--panel);
}
.contact-card span { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 900; }
.contact-card a { display: block; margin-top: 10px; font-family: var(--serif); font-size: clamp(1.18rem, 1.35vw, 1.5rem); line-height: 1.1; word-break: break-word; color: #4ea1ff; text-decoration: underline; text-underline-offset: 4px; }

.site-footer {
  padding: 30px clamp(22px, 6vw, 96px);
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
}
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }


@media (max-width: 1220px) and (min-width: 981px) {
}
@media (max-width: 1180px) and (min-width: 981px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


@media (max-width: 980px) {
  .site-header { align-items: flex-start; }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
  }
  .mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ivory);
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
  }
  .mobile-toggle:hover,
  .mobile-toggle:focus-visible,
  .mobile-toggle[aria-expanded="true"] {
    border-color: var(--gold-2);
    background: rgba(215, 162, 77, 0.08);
  }
  .mobile-toggle:hover span,
  .mobile-toggle:focus-visible span,
  .mobile-toggle[aria-expanded="true"] span {
    background: var(--gold-2);
    opacity: 1;
    transform: none;
  }
  .nav { display: none; position: absolute; left: 20px; right: 20px; top: 76px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(6,9,16,.96); flex-direction: column; align-items: stretch; gap: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  h1 { font-size: 3.2rem; }
  .brand img { width: min(72vw, 300px); }
  .hero-image img { border-radius: 24px; }
  .card, .panel { border-radius: 22px; padding: 24px; }
  .music-card { grid-template-columns: 1fr; }
  .disc { width: 116px; }
  .list-item { grid-template-columns: 1fr; gap: 6px; }
  .site-footer { flex-direction: column; }
}

.page-actions {
  margin-top: 1.6rem;
}

.button.ghost {
  border-color: rgba(238, 212, 166, 0.28);
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.035);
}

.button.ghost:hover {
  border-color: rgba(217, 161, 74, 0.72);
  color: var(--gold-light);
}

.featured-contact {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(217, 161, 74, 0.18), rgba(184, 90, 60, 0.10));
  border-color: rgba(217, 161, 74, 0.52);
}

/* Embedded Google Form */
.contact-form-section {
  padding-top: 8.5rem;
}

.centered {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.embedded-form-card {
  max-width: 640px;
  margin: 4rem auto 0;
  padding: 0;
  border: 1px solid rgba(217, 161, 74, 0.26);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.embedded-form-card iframe {
  display: block;
  width: 100%;
  height: 950px;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

@media (max-width: 700px) {
  .embedded-form-card {
    padding: 0;
    border-radius: 20px;
  }

  .embedded-form-card iframe {
    height: 1150px;
    border-radius: 14px;
  }
}


.footer-legal {
  margin-top: 8px !important;
  font-size: 0.92rem;
}
.footer-legal a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-hero {
  padding-bottom: clamp(34px, 4vw, 64px);
}
.legal-section {
  padding-top: clamp(42px, 5vw, 72px);
}
.legal-content {
  max-width: 980px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), rgba(255,248,236,.025));
  border-radius: 28px;
  padding: clamp(28px, 4vw, 52px);
}
.legal-content h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  letter-spacing: -0.025em;
}
.legal-content h3 {
  margin-top: 1.5rem;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
}
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
}
.legal-content a {
  color: #4ea1ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-content ul {
  margin: 1rem 0 0;
  padding-left: 1.4rem;
}
.legal-content li + li {
  margin-top: 0.55rem;
}


.success-hero {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.success-hero .lede {
  margin-left: auto;
  margin-right: auto;
}
.success-hero .page-actions {
  justify-content: center;
}


/* Version 11: Raga library and quiz */
.section-head {
  margin-bottom: clamp(28px, 4vw, 48px);
}
.raga-library-hero .page-actions,
.quiz-hero .page-actions,
.raga-detail-hero .page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.raga-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.raga-card {
  display: block;
  min-height: 300px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), rgba(255,248,236,.028));
  border-radius: 28px;
  padding: 26px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.raga-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 204, 124, .72);
  background: linear-gradient(180deg, rgba(255,248,236,.12), rgba(255,248,236,.04));
}
.raga-card h3 {
  margin: 16px 0 8px;
  font-size: clamp(1.7rem, 2vw, 2.35rem);
}
.raga-alias {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: .9rem;
}
.raga-card dl,
.raga-facts dl {
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}
.raga-card dl div,
.raga-facts dl div {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.raga-card dt,
.raga-facts dt {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .7rem;
  font-weight: 900;
}
.raga-card dd,
.raga-facts dd {
  margin: 4px 0 0;
  color: var(--ivory);
}
.saved-raga-card {
  margin-top: 34px;
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(215,162,77,.14), rgba(184,90,60,.075));
}
.saved-raga-card p { margin: 0; }
.saved-raga-card .saved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.raga-detail-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.raga-facts.card,
.notation-card.card {
  min-height: auto;
}
.notation-line {
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}
.notation-line:first-of-type {
  margin-top: 18px;
}
.notation-line span {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.notation-line strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.12;
  color: var(--ivory);
  overflow-wrap: anywhere;
}
.notation-note,
.raga-alias-line {
  color: var(--muted);
}
.raga-detail-hero .eyebrow a {
  color: var(--gold);
}
.raga-features ol {
  color: var(--muted);
  padding-left: 1.25rem;
}
.raga-features li + li {
  margin-top: .75rem;
}
.raga-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.quiz-shell,
.quiz-result-card {
  max-width: 980px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), rgba(255,248,236,.025));
  border-radius: 30px;
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow);
}
.quiz-progress {
  margin-bottom: 30px;
}
.quiz-progress span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 900;
}
.quiz-bar {
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.quiz-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--copper));
  transition: width .25s ease;
}
.quiz-question-title {
  margin-bottom: 22px;
}
.quiz-options {
  display: grid;
  gap: 12px;
}
.quiz-option {
  display: block;
  cursor: pointer;
}
.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quiz-option span {
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 18px 20px;
  color: var(--ivory);
  background: rgba(255,248,236,.04);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.quiz-option input:checked + span,
.quiz-option:hover span {
  border-color: rgba(242, 204, 124, .72);
  background: rgba(215,162,77,.13);
  transform: translateY(-1px);
}
.quiz-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
}
.quiz-result-card h2 {
  margin-top: 8px;
}
.result-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.result-meta div {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,248,236,.035);
}
.result-meta span {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
  font-weight: 900;
}
.result-meta strong {
  display: block;
  margin-top: 5px;
  color: var(--ivory);
  line-height: 1.25;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 1180px) {
  .raga-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .raga-grid,
  .raga-detail-grid,
  .result-meta { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .raga-grid { grid-template-columns: 1fr; }
  .raga-card { min-height: auto; border-radius: 22px; padding: 24px; }
  .quiz-actions { flex-direction: column-reverse; }
  .quiz-actions .button { width: 100%; }
}


/* Version 11.1.1: Tie resolution note */
.quiz-helper {
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 760px;
}


/* Version 11.1.2: Fix quiz/result secondary button contrast */
.quiz-actions .button.secondary,
.result-actions .button.secondary,
.saved-actions .button.secondary,
.page-actions .button.secondary {
  background: rgba(255, 248, 236, 0.055);
  color: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: none;
}

.quiz-actions .button.secondary:hover,
.result-actions .button.secondary:hover,
.saved-actions .button.secondary:hover,
.page-actions .button.secondary:hover {
  background: rgba(215, 162, 77, 0.14);
  color: var(--ivory);
  border-color: rgba(242, 204, 124, 0.68);
}

.quiz-actions .button.secondary:disabled,
.quiz-actions .button.secondary[disabled] {
  background: rgba(255, 248, 236, 0.035);
  color: rgba(255, 248, 236, 0.42);
  border-color: rgba(255, 248, 236, 0.12);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.quiz-actions .button,
.result-actions .button,
.saved-actions .button {
  min-width: 0;
}

@media (max-width: 720px) {
  .result-actions,
  .saved-actions {
    flex-direction: column;
  }

  .result-actions .button,
  .saved-actions .button {
    width: 100%;
    justify-content: center;
  }
}


/* Version 11.1.7: Make Find Your Raga feel less zoomed-in on mobile */
@media (max-width: 640px) {
  .quiz-hero {
    padding-top: 56px;
    padding-bottom: 34px;
  }

  .quiz-hero h1 {
    font-size: clamp(4.2rem, 17vw, 6.2rem);
    line-height: 0.96;
  }

  .quiz-hero .lede {
    font-size: clamp(1.75rem, 6.8vw, 2.35rem);
    line-height: 1.45;
  }

  .quiz-section {
    padding-top: 26px;
  }

  .quiz-shell,
  .quiz-result-card {
    width: calc(100vw - 34px);
    max-width: none;
    border-radius: 24px;
    padding: 26px 22px;
    margin-left: auto;
    margin-right: auto;
  }

  .quiz-progress {
    margin-bottom: 22px;
  }

  .quiz-progress span {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
  }

  .quiz-bar {
    height: 7px;
  }

  .quiz-question-title {
    font-size: clamp(3.45rem, 13.6vw, 5.1rem);
    line-height: 0.98;
    margin-bottom: 24px;
  }

  .quiz-options {
    gap: 12px;
  }

  .quiz-option span {
    border-radius: 18px;
    padding: 16px 18px;
    font-size: 1.45rem;
    line-height: 1.42;
  }

  .quiz-actions {
    margin-top: 22px;
    gap: 10px;
  }

  .quiz-actions .button,
  .result-actions .button,
  .saved-actions .button {
    padding: 15px 18px;
    font-size: 1.15rem;
    min-height: 52px;
  }

  .saved-raga-card {
    margin-top: 28px;
    padding: 22px;
    border-radius: 22px;
  }

  .saved-raga-card p {
    font-size: 1.45rem;
    line-height: 1.45;
  }

  .result-meta {
    gap: 10px;
  }

  .result-meta div {
    padding: 14px;
  }

  .result-meta strong {
    font-size: 1.15rem;
  }
}

@media (max-width: 420px) {
  .quiz-shell,
  .quiz-result-card {
    width: calc(100vw - 28px);
    padding: 24px 18px;
  }

  .quiz-question-title {
    font-size: clamp(3.05rem, 12.7vw, 4.3rem);
  }

  .quiz-option span {
    font-size: 1.28rem;
    padding: 14px 16px;
  }

  .quiz-hero h1 {
    font-size: clamp(3.75rem, 16vw, 5.4rem);
  }

  .quiz-hero .lede {
    font-size: clamp(1.45rem, 6.1vw, 2rem);
  }
}


/* Version 11.1.8: Further zoom-out for Find Your Raga quiz */
/* Desktop / larger screens */
.quiz-section {
  padding-top: clamp(28px, 3.5vw, 52px);
}

.quiz-shell,
.quiz-result-card {
  max-width: 1120px;
  padding: clamp(26px, 3.2vw, 42px);
}

.quiz-question-title {
  font-size: clamp(3.7rem, 6.2vw, 7.2rem);
  line-height: 0.98;
  margin-bottom: 20px;
}

.quiz-option span {
  padding: 16px 18px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.quiz-options {
  gap: 10px;
}

.quiz-actions {
  margin-top: 22px;
}

.quiz-actions .button,
.result-actions .button,
.saved-actions .button {
  padding: 15px 22px;
}

.quiz-result-card h2 {
  font-size: clamp(3.7rem, 6.1vw, 7.2rem);
  line-height: 0.98;
}

.quiz-result-card .lede,
.saved-raga-card p {
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.45;
}

/* Tablet and phone */
@media (max-width: 900px) {
  .quiz-shell,
  .quiz-result-card {
    width: calc(100vw - 44px);
    padding: 24px 20px;
  }

  .quiz-question-title {
    font-size: clamp(2.8rem, 10.8vw, 4.7rem);
    line-height: 1.0;
    margin-bottom: 20px;
  }

  .quiz-option span {
    font-size: 1.2rem;
    line-height: 1.35;
    padding: 13px 15px;
    border-radius: 16px;
  }

  .quiz-result-card h2 {
    font-size: clamp(3rem, 11vw, 5.1rem);
  }

  .result-meta {
    margin: 20px 0;
  }
}

/* iPhone-sized screens */
@media (max-width: 640px) {
  .quiz-hero {
    padding-top: 42px;
    padding-bottom: 22px;
  }

  .quiz-hero h1 {
    font-size: clamp(3.15rem, 13.2vw, 4.7rem);
    line-height: 1.0;
  }

  .quiz-hero .lede {
    font-size: clamp(1.22rem, 5vw, 1.65rem);
    line-height: 1.45;
  }

  .quiz-section {
    padding-top: 18px;
  }

  .quiz-shell,
  .quiz-result-card {
    width: calc(100vw - 28px);
    border-radius: 22px;
    padding: 20px 16px;
  }

  .quiz-progress {
    margin-bottom: 18px;
  }

  .quiz-progress span {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .quiz-bar {
    height: 6px;
  }

  .quiz-question-title {
    font-size: clamp(2.45rem, 10.6vw, 3.75rem);
    line-height: 1.0;
    margin-bottom: 18px;
  }

  .quiz-options {
    gap: 9px;
  }

  .quiz-option span {
    font-size: 1.05rem;
    line-height: 1.33;
    padding: 12px 14px;
    border-radius: 15px;
  }

  .quiz-actions {
    margin-top: 18px;
    gap: 9px;
  }

  .quiz-actions .button,
  .result-actions .button,
  .saved-actions .button {
    padding: 12px 14px;
    font-size: 0.98rem;
    min-height: 46px;
  }

  .saved-raga-card {
    margin-top: 22px;
    padding: 18px;
    border-radius: 20px;
  }

  .saved-raga-card p {
    font-size: 1.1rem;
    line-height: 1.42;
  }

  .quiz-result-card h2 {
    font-size: clamp(2.8rem, 11vw, 4.25rem);
  }

  .quiz-result-card .lede {
    font-size: 1.12rem;
  }

  .result-meta div {
    padding: 12px;
  }

  .result-meta strong {
    font-size: 1rem;
  }
}

/* Smaller iPhones */
@media (max-width: 420px) {
  .quiz-shell,
  .quiz-result-card {
    width: calc(100vw - 22px);
    padding: 18px 14px;
  }

  .quiz-question-title {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
  }

  .quiz-option span {
    font-size: 0.98rem;
    padding: 11px 12px;
  }

  .quiz-hero h1 {
    font-size: clamp(2.85rem, 12.5vw, 4.15rem);
  }

  .quiz-hero .lede {
    font-size: clamp(1.1rem, 4.8vw, 1.5rem);
  }
}


/* Version 11.1.9: Compact one-screen mobile quiz layout */
@media (max-width: 700px) {
  .quiz-page {
    overflow-x: hidden;
  }

  .quiz-page .site-header {
    padding: 12px 16px;
    min-height: 76px;
  }

  .quiz-page .brand img {
    width: min(60vw, 245px);
  }

  .quiz-page .mobile-toggle {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .quiz-page .quiz-hero {
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .quiz-page .quiz-hero h1 {
    font-size: clamp(2.65rem, 11vw, 4rem);
    line-height: 1;
    margin-bottom: 18px;
  }

  .quiz-page .quiz-hero .lede {
    font-size: clamp(1.05rem, 4.35vw, 1.35rem);
    line-height: 1.38;
  }

  .quiz-page .quiz-section {
    padding-top: 10px;
    padding-bottom: 16px;
  }

  .quiz-page .quiz-shell,
  .quiz-page .quiz-result-card {
    width: calc(100vw - 18px);
    border-radius: 18px;
    padding: 14px 12px 12px;
    margin-left: auto;
    margin-right: auto;
  }

  .quiz-page .quiz-progress {
    margin-bottom: 12px;
  }

  .quiz-page .quiz-progress span {
    font-size: 0.66rem;
    letter-spacing: 0.15em;
  }

  .quiz-page .quiz-bar {
    height: 5px;
    margin-top: 7px;
  }

  .quiz-page .quiz-question-title {
    font-size: clamp(2.05rem, 8.9vw, 3.1rem);
    line-height: 1;
    margin-bottom: 12px;
  }

  .quiz-page .quiz-options {
    gap: 7px;
  }

  .quiz-page .quiz-option span {
    font-size: 0.9rem;
    line-height: 1.22;
    padding: 9px 11px;
    border-radius: 13px;
  }

  .quiz-page .quiz-actions {
    margin-top: 12px;
    gap: 8px;
    flex-direction: row;
    align-items: center;
  }

  .quiz-page .quiz-actions .button {
    width: auto;
    flex: 1 1 0;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.88rem;
    justify-content: center;
  }

  .quiz-page .saved-raga-card {
    margin-top: 18px;
    padding: 15px;
    border-radius: 18px;
  }

  .quiz-page .saved-raga-card p {
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .quiz-page .saved-actions {
    gap: 9px;
    margin-top: 14px;
  }

  .quiz-page .saved-actions .button,
  .quiz-page .result-actions .button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .quiz-page .quiz-result-card h2 {
    font-size: clamp(2.35rem, 9.8vw, 3.6rem);
    line-height: 1;
  }

  .quiz-page .quiz-result-card .lede {
    font-size: 1rem;
    line-height: 1.35;
  }

  .quiz-page .result-meta {
    gap: 8px;
    margin: 14px 0;
  }

  .quiz-page .result-meta div {
    padding: 10px;
    border-radius: 14px;
  }

  .quiz-page .result-meta span {
    font-size: 0.58rem;
  }

  .quiz-page .result-meta strong {
    font-size: 0.88rem;
    line-height: 1.22;
  }
}

@media (max-width: 430px) {
  .quiz-page .site-header {
    padding: 10px 14px;
    min-height: 68px;
  }

  .quiz-page .brand img {
    width: min(58vw, 220px);
  }

  .quiz-page .mobile-toggle {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .quiz-page .quiz-shell,
  .quiz-page .quiz-result-card {
    width: calc(100vw - 14px);
    padding: 12px 10px 10px;
  }

  .quiz-page .quiz-question-title {
    font-size: clamp(1.85rem, 8.3vw, 2.8rem);
    margin-bottom: 10px;
  }

  .quiz-page .quiz-option span {
    font-size: 0.84rem;
    line-height: 1.18;
    padding: 8px 10px;
  }

  .quiz-page .quiz-options {
    gap: 6px;
  }

  .quiz-page .quiz-actions {
    margin-top: 10px;
  }

  .quiz-page .quiz-actions .button {
    min-height: 38px;
    font-size: 0.82rem;
    padding: 8px 10px;
  }
}


/* Version 11.2.0: Homepage three-button CTA layout */
.hero-actions {
  flex-wrap: wrap;
}

.hero-actions .button {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero-actions {
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
}


/* Version 11.2.1: Raga library cards without Time/Jati rows */
.raga-card {
  min-height: 220px;
}


/* Version 11.3.3: Saved result card uses two actions */
.saved-actions {
  align-items: center;
}
