/* TV and Audio Clinic: warm cream, burgundy and orange. Fraunces for headings, Nunito Sans for text; a centred header.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FBF3E6;
  --surface: #FFFBF4;
  --soft: #F3E2C7;
  --ink: #2B1A17;
  --muted: #6B5550;
  --line: #E8D5B5;
  --line-strong: #D2B98F;
  --brand: #7A1F2B;
  --brand-hover: #5E1620;
  --brand-ink: #FFF6EA;
  --brand-text: #7A1F2B;
  --orange: #E07A2F;
  --eyebrow: #B4561A;
  --badge-bg: #E07A2F;
  --badge-ink: #fff;
  --out-bg: #7A1F2B;
  --out-ink: #FFF6EA;
  --out-accent: #FFD08A;
  --out-btn: #FFD08A;
  --out-btn-ink: #3B0F16;
  --head: "Fraunces", Georgia, serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 26px;
  --btn-radius: 999px;
  --wrap: 1140px;
  --gap: 24px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; line-height: 1.12; }
.btn { font-family: var(--body); font-weight: 700; }
.eyebrow { color: var(--eyebrow); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.ic { color: var(--brand); }

/* centred header: logo on top, links below */
.header { background: var(--bg); border-bottom: 2px solid var(--line); }
.header > .wrap { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: ". logo cta" "nav nav nav"; gap: 4px 16px; min-height: 0; padding-block: 12px 6px; align-items: center; }
.header .logo { grid-area: logo; justify-content: center; display: flex; align-items: center; gap: 10px; text-decoration: none; margin: 0 !important; }
.header .header-cta { grid-area: cta; justify-self: end; }
.header .nav { grid-area: nav; justify-content: center; margin: 0; border-top: 1px solid var(--line); padding-top: 6px; }
.logo-mark { width: 44px; height: 44px; }
.logo span { display: grid; line-height: 1.1; }
.logo b { font: 700 1.35rem var(--head); color: var(--brand); }
.logo small { font-size: .78rem; color: var(--muted); }
.nav a { font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--brand); }
@media (max-width: 960px) {
  .header > .wrap { display: flex; padding-block: 8px; }
  .header .nav { border-top: 0; padding-top: 0; }
  .header .logo { justify-content: flex-start; }
}

/* hero */
.hero { padding-block: clamp(36px, 6vw, 84px) 0; background: linear-gradient(180deg, var(--bg), #F6E8D0); text-align: center; }
.hero-centre { display: grid; justify-items: center; gap: 14px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); max-width: 18ch; }
.hero .lede { margin-inline: auto; }
.hero .t-actions { justify-content: center; margin-top: 8px; }
.hero-art { width: min(100%, 520px); margin-top: 18px; }
.hero-art svg { width: 100%; height: auto; border-radius: 26px 26px 0 0; }
.symptoms-band { background: var(--soft); }
.bubbles { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.bubbles a { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line-strong); font-weight: 700; text-decoration: none; }
.bubbles a:hover { border-color: var(--brand); color: var(--brand); }
.c-card { background: var(--surface); box-shadow: 0 10px 24px -18px rgba(122, 31, 43, .45); border-color: var(--line); }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.team-band { background: #F6E8D0; }
.page-head { background: #F6E8D0; border-bottom: 2px solid var(--line); margin-bottom: clamp(24px, 4vw, 44px); text-align: center; }
.page-head .lede { margin-inline: auto; }
.numbers-band { background: var(--brand); color: #fff; }
.numbers b, .numbers span { color: #FFE9C9; }
.tool-out { border: 0; }
.out-text { font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.25; }

.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--brand); color: var(--brand-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); max-width: 22ch; }
.cta-band p { margin-top: 6px; color: #F2D3B0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #FFD08A; color: #3B0F16; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.footer { background: #2B1A17; color: #D9C6B8; --footer-line: rgba(255,255,255,.14); }
.footer .logo b { color: #FFE9C9; }
.footer .logo small { color: #D9C6B8; }
.footer h2 { color: #FFE9C9; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #FFD08A; }
