/* Central Therapy — layout: single centred column (max 1160px), sections alternate paper/white, deep-blue bands for hero and referral */
:root {
  --ink: #0E2A57;        /* deep navy: headings, hero band */
  --ink-2: #1955B5;      /* footer */
  --blue: #1955B5;       /* brand blue: buttons, links */
  --blue-soft: #E8EFFA;  /* tinted panels */
  --gold: #E39837;       /* single accent: NDIS badge, hero CTA */
  --paper: #F5F7FA;      /* page ground */
  --white: #FFFFFF;
  --text: #1C2B3D;
  --muted: #4A5A6E;
  --line: #D9E1EC;
  --on-dark: #D3E0F0;

  --display: 'Bricolage Grotesque', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.6rem);
  --step-4: clamp(2.3rem, 5vw, 3.6rem);
  --radius: 14px;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.white { background: var(--white); }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.prose { max-width: 66ch; display: grid; gap: 14px; }
.eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #EDB063; color: var(--ink); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { padding: 10px 18px; min-height: 44px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); text-decoration: none; }
.nav .btn:hover { text-decoration: none; }
.nav .tel { font-weight: 700; }

/* Hero */
.hero { background: var(--ink); color: var(--white); }
.hero h1 { color: var(--white); }
.hero .lede { color: var(--on-dark); }
.hero-inner { padding-block: clamp(56px, 9vw, 104px); display: grid; gap: 22px; max-width: var(--wrap); }
.hero-inner > h1, .hero-copy > h1 { max-width: 16ch; }
.badge { display: inline-flex; width: fit-content; align-items: center; gap: 8px; background: var(--gold); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { border: 1px solid rgba(211,224,240,0.45); color: var(--on-dark); padding: 5px 12px; border-radius: 999px; font-size: 0.92rem; }
.page-hero .hero-inner { padding-block: clamp(48px, 7vw, 80px); }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; padding-block: 28px; }
.trust-grid strong { display: block; color: var(--ink); font-size: 1.08rem; }
.trust-grid span { color: var(--muted); font-size: 0.97rem; }

/* Grids and cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; align-content: start; }
.section.white .card { background: var(--paper); border-color: transparent; }
.card p { color: var(--muted); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--blue); }
a.card:hover h3 { color: var(--blue); }
.card .more { color: var(--blue); font-weight: 600; margin-top: 4px; }

.list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.cols-2 { columns: 2 220px; column-gap: 32px; }
.cols-2 li { break-inside: avoid; margin-bottom: 6px; }

.panel { background: var(--blue-soft); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 14px; }
.settings { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.settings li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps li { border-top: 3px solid var(--blue); padding-top: 18px; display: grid; gap: 6px; counter-increment: step; }
.steps li::before { content: "Step " counter(step); font-weight: 700; color: var(--blue); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }
.steps p { color: var(--muted); }

/* Portrait */
.portrait { aspect-ratio: 4 / 5; max-width: min(100%, 380px); width: 100%; border-radius: 18px; background: var(--blue-soft); object-fit: cover; }
.portrait-fallback { display: grid; place-items: center; font-family: var(--display); font-size: 4rem; color: var(--blue); }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-dark); }
.cta-inner { padding-block: clamp(48px, 7vw, 80px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-inner > div { max-width: 640px; display: grid; gap: 12px; }

/* Form */
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 32px); display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.form fieldset { border: 0; padding: 0; margin: 0; display: contents; }
.form legend { grid-column: 1 / -1; font-family: var(--display); font-weight: 700; font-size: var(--step-1); color: var(--ink); padding-top: 6px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.97rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px; border: 1px solid #A8B9D0; border-radius: 8px; background: var(--white); color: var(--text); font: inherit; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 0.88rem; color: var(--muted); }
.form .btn { grid-column: 1 / -1; }
.form .note { grid-column: 1 / -1; font-size: 0.9rem; color: var(--muted); }
.hp { position: absolute; left: -5000px; }

/* Footer */
.site-footer { background: var(--ink-2); color: #E4ECF8; font-size: 0.97rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-block: 48px 32px; }
.site-footer strong { display: block; color: var(--white); margin-bottom: 6px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #FFE2B8; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.25); padding-block: 18px 28px; font-size: 0.88rem; display: grid; gap: 8px; }

@media (max-width: 720px) {
  .nav { width: 100%; gap: 2px 16px; }
  .nav .btn { order: 10; width: 100%; margin-top: 6px; }
  .site-header { position: static; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Brand logo, hero NDIS mark, funders, focus cards, FAQ, footer top */
.brand-logo { width: 48px; height: 48px; border-radius: 50%; }
.hero-split { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 48px; }
.hero-copy { display: grid; gap: 22px; max-width: 760px; min-width: 0; }
.hero-ndis { width: clamp(110px, 16vw, 180px); height: auto; }
@media (max-width: 720px) { .hero-split { grid-template-columns: 1fr; } .hero-ndis { width: 96px; order: -1; } }
.funders { background: var(--white); border-block: 1px solid var(--line); }
.funders-inner { padding-block: 32px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.funders-label { font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; }
.funders-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 36px; }
.funders-list img { height: 40px; width: auto; max-width: 120px; object-fit: contain; }
.funders-note { color: var(--muted); font-size: 0.95rem; }
.focus { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 32px); display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.focus:hover { border-color: var(--blue); }
.focus h3 { font-size: var(--step-2); }
.focus p { color: var(--muted); }
.focus .more { color: var(--blue); font-weight: 600; }
.faqs { display: grid; gap: 10px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding-block: 14px; list-style-position: outside; }
.faq p { color: var(--muted); padding-bottom: 16px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 40px 0; }
.footer-logo { width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,0.9); }
.footer-member { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; }
.footer-member img { width: 170px; height: auto; }

/* SEO additions */
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); }
.crumbs { font-size: 0.9rem; color: var(--on-dark); opacity: 0.85; margin: 0 0 4px; }
.crumbs a { color: inherit; }
