/* Vaidyashala Ayurveda: rice-paper beige, banana-leaf green, copper and turmeric. Marcellus for headings, Hind for
   text. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #EFE7D6;
  --surface: #F8F3E9;
  --soft: #E6DEC9;
  --ink: #1E2B21;
  --muted: #5A6553;
  --line: #DDD2BA;
  --line-strong: #C9BB9C;
  --brand: #2F5D3A;
  --brand-hover: #244A2E;
  --brand-ink: #F8F3E9;
  --brand-text: #2F5D3A;
  --copper: #B5632E;
  --eyebrow: #9A5124;
  --announce-bg: #2F5D3A;
  --announce-ink: #F8F3E9;
  --head: "Marcellus", Georgia, serif;
  --body: "Hind", system-ui, sans-serif;
  --fs-body: 1.08rem;
  --radius: 8px;
  --radius-lg: 16px;
  --btn-radius: 4px;
  --wrap: 1180px;
  --gap: 22px;
}
h1, h2, h3 { font-weight: 400; letter-spacing: .005em; }
h3 { font-family: var(--body); font-weight: 600; }
h1 em { font-style: normal; color: var(--copper); }
.btn { font-weight: 600; letter-spacing: .03em; }

/* header */
.header { background: var(--bg); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 400 1.55rem var(--head); color: var(--brand); }
.logo small { color: var(--muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.nav a { font-weight: 500; }
.nav a[aria-current="page"] { color: var(--copper); }

/* hero: a banana leaf */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 120px); }
.hero-leaf { position: absolute; right: -10%; top: 50%; width: min(48vw, 600px); transform: translateY(-50%) rotate(28deg); opacity: .95; }
.hero-leaf svg { width: 100%; height: auto; display: block; }
.hero-in { position: relative; max-width: 640px; }
@media (max-width: 1180px) { .hero-leaf { opacity: .2; } }
@media (max-width: 860px) { .hero-leaf { opacity: .14; right: -30%; width: 110vw; } }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5rem); line-height: 1.02; margin: 14px 0 18px; color: var(--brand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dosha-band { padding-block: 0; background: var(--brand); }
.doshas { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.doshas li { display: grid; gap: 2px; padding: 22px 10px; text-align: center; color: #DCE8D3; border-left: 1px solid rgba(248,243,233,.18); }
.doshas li:first-child { border-left: 0; }
.doshas b { font: 400 clamp(1.6rem, 3.4vw, 2.2rem) var(--head); color: #F2C46A; }

/* prakriti quiz */
.pk { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .pk { grid-template-columns: minmax(0, 1fr); } }
.pk-qs { list-style: none; display: grid; gap: 14px; counter-reset: q; }
.pk-qs > li { padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); counter-increment: q; }
.pk-qs legend::before { content: counter(q) ". "; color: var(--copper); font-weight: 700; }
.pk-qs legend { font-weight: 600; margin-bottom: 10px; }
.pk-opts { display: grid; gap: 8px; }
.pk-opts label { cursor: pointer; }
.pk-opts input { position: absolute; opacity: 0; pointer-events: none; }
.pk-opts span { display: block; padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.pk-opts input:checked + span { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.pk-opts input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }
.pk-out { position: sticky; top: 96px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 900px) { .pk-out { position: static; } }
.pk-progress { color: var(--muted); }
.pk-bars { display: grid; gap: 8px; }
.pk-bar { display: grid; grid-template-columns: 60px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-weight: 600; }
.pk-bar i { display: block; height: 12px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.pk-bar i b { display: block; height: 100%; border-radius: 6px; transition: width .4s; }
.pk-out h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); color: var(--brand); }

/* inner pages */
.page-head { margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); color: var(--brand); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--copper); color: #FBE9D9; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3rem); color: #fff; }
.cta-band p { margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--surface); color: var(--brand); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.footer { background: var(--ink); color: #BCC6B5; --footer-line: rgba(255,255,255,.14); }
.footer .logo b { color: #F2C46A; }
.footer .logo small { color: #BCC6B5; }
.footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #fff; }
