/* Glow Theory: blush, plum, peach and sage. Instrument Serif for headings, Figtree for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFF5F3;
  --surface: #FFFFFF;
  --soft: #FBE9E4;
  --ink: #2A1E22;
  --muted: #6E5A60;
  --line: #F1DCD6;
  --line-strong: #E2C3BA;
  --brand: #9C3D63;
  --brand-hover: #82304F;
  --brand-ink: #FFFFFF;
  --brand-text: #8E3559;
  --peach: #F4B8A5;
  --sage: #A7B89C;
  --eyebrow: #8E3559;
  --badge-bg: #2A1E22;
  --badge-ink: #FFF5F3;
  --announce-bg: #2A1E22;
  --announce-ink: #FFF5F3;
  --head: "Instrument Serif", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --btn-radius: 999px;
  --wrap: 1200px;
  --gap: 20px;
}
h1, h2, h3 { font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em, .f-statement em { font-style: italic; color: var(--brand); }
.btn { font-weight: 700; }
.p-body h3 { font-weight: 600; }
.sec-title { font-size: clamp(2rem, 4.2vw, 3rem); }

/* header */
.header { background: rgba(255,245,243,.92); backdrop-filter: blur(10px); }
.header .wrap { gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-dot { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 65% 35%, var(--peach) 0 22%, var(--brand) 24%); }
.logo b { font: 400 1.8rem var(--head); }
.nav a { font-weight: 600; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--soft); border-radius: 999px; }
@media (max-width: 960px) { .h-tools { order: 2; margin-left: auto; } .nav-toggle { order: 3; margin-left: 0; } .header .logo { margin-right: 0; } }

/* hero */
.hero { padding-block: clamp(32px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .98; margin: 14px 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-shelf { position: relative; aspect-ratio: 1.15; border-radius: 50% 50% var(--radius-lg) var(--radius-lg); background: linear-gradient(180deg, var(--soft), #F7D6CC); overflow: hidden; }
.hs { position: absolute; bottom: 6%; width: 42%; }
.hs svg { width: 100%; height: auto; display: block; }
.hs-0 { left: 4%; } .hs-1 { left: 30%; width: 44%; bottom: 2%; z-index: 1; } .hs-2 { right: 2%; }
.cat-tiles svg { background: var(--soft); }
.ing-band { background: var(--ink); color: #E8DCDF; }
.ing-band .sec-title { color: #fff; }
.ing { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius-lg); overflow: hidden; }
.ing li { display: grid; gap: 4px; padding: 22px; background: var(--ink); }
.ing b { font: 400 1.6rem var(--head); color: var(--peach); }
.ing span { color: #C9BBBF; }

/* quiz */
.quiz { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .quiz { grid-template-columns: minmax(0, 1fr); } }
.quiz-in { display: grid; gap: 26px; }
.quiz-q legend { font-size: 1.05rem; margin-bottom: 4px; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-opts label { position: relative; }
.quiz-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.quiz-opts span { display: grid; gap: 2px; padding: 10px 16px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--surface); }
.quiz-opts small { color: var(--muted); font-size: .8rem; }
.quiz-opts input:checked + span { border-color: var(--brand); background: var(--soft); box-shadow: inset 0 0 0 1px var(--brand); }
.quiz-opts input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.quiz-out { position: sticky; top: 96px; display: grid; gap: 14px; border-radius: var(--radius-lg); }
.quiz-out h2 { font-size: 2rem; }
.rt h3 { font: 700 .9rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 8px; }
.rt ol { list-style: none; display: grid; gap: 8px; }
.rt li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--soft); }
.rt li svg { width: 56px; height: 56px; border-radius: 10px; }
.rt li span { display: grid; }
.rt li small { color: var(--muted); font-size: .8rem; }
.rt li b { font-variant-numeric: tabular-nums; }
.rt-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.rt-total b { font: 400 2.2rem var(--head); color: var(--brand); }

/* inner pages */
.page-head { margin-bottom: clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(56px, 8vw, 96px); text-align: center; background: var(--soft); }
.cta-band h2 { font-size: clamp(2.4rem, 5.6vw, 3.6rem); }
.cta-band p { color: var(--muted); margin: 10px auto 0; max-width: 50ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); }
.f-statement { font: 400 clamp(2.4rem, 6vw, 4.4rem)/1 var(--head); color: var(--ink); margin-bottom: 44px; }
.footer h2 { color: var(--ink); }
.f-about { margin-top: 12px; max-width: 34ch; }
