/* Primary Aged Care — cosy, rounded, warm-light layout: soft linen ground, oat and sage bands joined by gentle waves, honey "lamp-light" accent. */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --oat: #f3ebdf;
  --sage: #e5eee6;
  --ink: #24332d;
  --muted: #59645e;
  --line: #e4dbcd;
  --brand: #2d6250;
  --brand-ink: #ffffff;
  --honey: #e9a73a;
  --honey-soft: #fbe6c0;
  --sky: #d3e3ec;
  --blush: #f6d9cf;
  --ok: #2d6250;
  --err: #a63d2f;
  --shadow: 0 1px 0 rgba(60, 45, 20, .05), 0 10px 30px rgba(60, 45, 20, .07);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171c1a; --surface: #1f2623; --oat: #232a26; --sage: #1f2b26; --ink: #ede8e0; --muted: #b3bbb5;
    --line: #34413b; --brand: #92d1b9; --brand-ink: #10201a; --honey: #f0bb58; --honey-soft: #4a3b1d;
    --sky: #2a3d48; --blush: #4a3029; --ok: #92d1b9; --err: #f09a8a; --shadow: 0 1px 0 rgba(0,0,0,.2), 0 10px 30px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171c1a; --surface: #1f2623; --oat: #232a26; --sage: #1f2b26; --ink: #ede8e0; --muted: #b3bbb5;
  --line: #34413b; --brand: #92d1b9; --brand-ink: #10201a; --honey: #f0bb58; --honey-soft: #4a3b1d;
  --sky: #2a3d48; --blush: #4a3029; --ok: #92d1b9; --err: #f09a8a; --shadow: 0 1px 0 rgba(0,0,0,.2), 0 10px 30px rgba(0,0,0,.25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.65; }
img, svg { max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; max-width: 62ch; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--honey); }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }

/* Tones and waves */
.tone-bg { background: var(--bg); }
.tone-oat { background: var(--oat); }
.tone-sage { background: var(--sage); }
.tone-surface { background: var(--surface); }
.wave svg { display: block; width: 100%; height: clamp(22px, 4vw, 48px); }

/* Header */
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-block: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.logo svg { width: 36px; height: 36px; flex: none; }
.nav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: block; color: var(--ink); text-decoration: none; font-size: 1rem; padding: 6px 14px; border-radius: 999px; }
.nav a:hover { background: var(--oat); }
.nav a[aria-current="page"] { background: var(--honey-soft); font-weight: 700; }
.nav a.nav-cta { background: var(--brand); color: var(--brand-ink); font-weight: 700; }

/* Buttons */
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--brand); cursor: pointer; line-height: 1.3; }
.btn.primary { background: var(--brand); color: var(--brand-ink); }
.btn.secondary { color: var(--brand); background: transparent; }
.btn:hover { filter: brightness(1.06); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-block: 40px 56px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 68%, var(--honey-soft) 68%); padding: 0 .08em; border-radius: 4px; }
.badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--surface); border: 1.5px solid var(--line); color: var(--brand); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: .95rem; font-weight: 700; box-shadow: var(--shadow); }
.badge svg { width: 22px; height: 22px; }
.team-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 1rem; color: var(--muted); }
.stack { display: flex; }
.stack .face { width: 46px; height: 46px; border: 3px solid var(--bg); border-radius: 50%; margin-left: -12px; }
.stack .face:first-child { margin-left: 0; }
.hero-art { position: relative; min-width: 0; justify-self: center; width: 100%; max-width: 460px; }
.hero-art .scene { display: block; width: 100%; height: auto; }
.hero-art .bubble { position: absolute; border-radius: 50%; border: 5px solid var(--bg); box-shadow: var(--shadow); }
.hero-art .b1 { width: 28%; left: 0; bottom: 4%; }
.hero-art .b2 { width: 22%; left: 20%; bottom: -4%; }
.hero-art .b3 { width: 20%; right: 2%; top: 4%; }
.scene .win { fill: var(--honey); }
@media (prefers-reduced-motion: no-preference) {
  .scene .win { animation: glow 4s ease-in-out infinite alternate; }
  .scene .win:nth-of-type(2) { animation-delay: 1.4s; }
  .scene .smoke { animation: drift 6s ease-in-out infinite; transform-origin: center; }
  @keyframes glow { from { opacity: 1 } to { opacity: .75 } }
  @keyframes drift { 0%, 100% { transform: translateY(0); opacity: .55 } 50% { transform: translateY(-6px); opacity: .3 } }
}
.face { display: block; border-radius: 50%; }

/* Sections */
section { padding-block: 56px 64px; }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.head p { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: 1rem; }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--honey-soft); color: var(--brand); margin-bottom: 4px; }
.icon svg { width: 28px; height: 28px; }
.icon.sage { background: var(--sage); }
.icon.sky { background: var(--sky); }
.icon.blush { background: var(--blush); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.faces-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 420px; justify-self: center; width: 100%; }
.faces-grid .face { width: 100%; height: auto; box-shadow: var(--shadow); }
.faces-grid .face:nth-child(2) { transform: translateY(24px); }
.faces-grid .face:nth-child(5) { transform: translateY(24px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.ticks svg { width: 24px; height: 24px; margin-top: 3px; color: var(--brand); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--honey); color: #2a2110; font-family: var(--font-display); font-weight: 700; margin-bottom: 4px; }
.steps p { font-size: 1rem; color: var(--muted); }

.funding { background: var(--surface); border-radius: 24px; padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.funding dl { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 0; }
.funding dt { font-weight: 700; color: var(--brand); }
.funding dt:not(:first-child) { margin-top: 14px; }
.funding dd { margin: 0; color: var(--muted); min-width: 0; }

/* Day timeline (aged care) */
.day { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.day li { display: grid; grid-template-columns: 82px 1fr; gap: 16px; position: relative; padding-bottom: 20px; }
.day li::after { content: ""; position: absolute; left: 96px; top: 12px; bottom: 0; width: 2px; background: var(--line); }
.day li:last-child::after { display: none; }
.day time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand); text-align: right; }
.day span { padding-left: 22px; position: relative; }
.day span::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 4px var(--bg); }

/* Cross-promo band */
.promo { background: var(--surface); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow); }
.promo > * { min-width: 0; }
.promo .stack .face { width: 64px; height: 64px; border-color: var(--surface); }

/* Contact form */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact > * { min-width: 0; }
.contact-info { display: grid; gap: 18px; }
.info-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-row .icon { width: 44px; height: 44px; border-radius: 14px; margin: 0; }
.info-row .icon svg { width: 22px; height: 22px; }
.info-row strong { display: block; }
.form { background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: .9rem; max-width: 40ch; }
.form-status { grid-column: 1 / -1; border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.form-status.ok { background: var(--sage); color: var(--ok); }
.form-status.err { background: var(--blush); color: var(--err); }
.form-status.note { background: var(--honey-soft); color: var(--ink); font-weight: 400; }
.hp { position: absolute; left: -9999px; }

/* Footer */
footer .wrap { padding-block: 40px; display: grid; gap: 18px; font-size: .95rem; color: var(--muted); }
.foot-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 6px 20px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.ids { display: flex; gap: 6px 26px; flex-wrap: wrap; }
footer strong { color: var(--ink); }

/* Thanks page */
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.thanks .inner { display: grid; gap: 18px; justify-items: center; }

@media (max-width: 900px) {
  .hero .wrap, .split, .contact { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 380px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .promo { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .cards, .steps, .form { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .day li { grid-template-columns: 64px 1fr; gap: 12px; }
  .day li::after { left: 74px; }
}

/* Photos */
.photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--oat); position: relative; max-width: 100%; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo { aspect-ratio: 4 / 3; margin-top: 8px; }
.hero-photo { aspect-ratio: 5 / 4.4; margin: 0; border-radius: 40px 40px 40px 120px; box-shadow: 18px 18px 0 var(--honey-soft), var(--shadow); width: calc(100% - 18px); justify-self: center; }
.photo.tall { aspect-ratio: 4 / 4.6; width: 100%; max-width: 440px; justify-self: center; border-radius: 120px 40px 40px 40px; box-shadow: -18px 18px 0 var(--sage), var(--shadow); margin: 0 0 0 18px; }
@media (max-width: 900px) { .hero-photo { max-width: 520px; } .photo.tall { max-width: 380px; } }
