/* =========================================================
   Waves Disability Services — site styles
   Colours are checked for WCAG AA contrast on their backgrounds.
   ========================================================= */

:root {
  --navy: #08354f;        /* deep logo blue — text + headings (12.6:1 on white) */
  --navy-2: #0b4466;
  --ocean: #11689b;       /* exact logo blue — links + accents (6.1:1 on white) */
  --ocean-dark: #0b5280;
  --foam: #eaf3f9;        /* light logo-blue tint */
  --sand: #f8f3ec;        /* warm section background */
  --coral: #6fb3dc;       /* light logo blue, decorative only */
  --white: #ffffff;
  --muted: #44546a;       /* secondary text (7.6:1 on white) */
  --line: #d5dde6;
  --focus: #ffbf47;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 6px 24px rgba(8, 53, 79, 0.08);
  --max: 1160px;

  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Lexend", "Atkinson Hyperlegible", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.125rem;   /* 18px base — easier to read */
  line-height: 1.65;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 62ch; }

a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--ocean-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--navy); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: 8px; z-index: 100;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--navy);
}
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-text { font-family: var(--font-head); font-weight: 600; line-height: 1.1; font-size: 1.15rem; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--navy); color: var(--navy);
  border-radius: 10px; padding: 0.5rem 0.85rem; font: inherit; font-weight: 700;
  cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  display: block; padding: 0.55rem 0.8rem; border-radius: 8px;
  color: var(--navy); text-decoration: none; font-weight: 700;
}
.site-nav a:hover { background: var(--foam); }
.site-nav a[aria-current="page"] { color: var(--ocean); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.site-nav .btn { margin-left: 0.5rem; }
.site-nav .btn:hover { background: var(--ocean-dark); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem 1.25rem; }
  .site-nav a { padding: 0.85rem 0.75rem; }
  .site-nav .btn { margin: 0.5rem 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  min-height: 48px;
}
.btn-primary, .site-nav a.btn { background: var(--ocean); color: var(--white); }
.btn-primary:hover, .site-nav a.btn:hover { background: var(--ocean-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--foam); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.bg-foam { background: var(--foam); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy a { color: var(--white); }
.bg-navy .lead { color: #d6e2ef; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ocean); margin-bottom: 0.75rem;
}
.bg-navy .eyebrow { color: #a9d3ee; }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--foam) 0%, var(--white) 100%);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(5rem, 10vw, 8rem);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--ocean); }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-card h2 { font-size: 1.35rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.hero-card li { display: flex; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.hero-card li:last-child { border-bottom: 0; }
.hero-card .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--foam); color: var(--ocean); display: grid; place-items: center; font-weight: 700; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; pointer-events: none; }
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.page-hero .lead { margin-bottom: 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column;
}
.card p:last-of-type { margin-bottom: 0; }
.card .card-link { margin-top: auto; padding-top: 1.25rem; font-weight: 700; }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--foam); color: var(--ocean);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card-icon svg { width: 30px; height: 30px; }
.bg-foam .card, .bg-sand .card { border-color: transparent; box-shadow: var(--shadow); }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .card-icon { flex: none; margin: 0; }
.feature h3 { margin-bottom: 0.3rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 700; margin-bottom: 0.9rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.service-block + .service-block { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.check-list li { background: var(--foam); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.check-list strong { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: 0.2rem; }
.check-list span { color: var(--muted); font-size: 1rem; }
.who-for { background: var(--sand); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: 1.5rem; }
.who-for h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.who-for p { margin: 0; }
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .check-list { grid-template-columns: 1fr; }
}

/* Team */
.team-card { text-align: left; }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem;
  margin-bottom: 1rem;
}
.team-card .role { color: var(--ocean); font-weight: 700; margin-bottom: 0.75rem; }
.team-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 1rem; }

/* CTA band */
.cta-band { border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { margin: 0; }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: center; padding: 1.25rem 0; color: var(--muted); font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 0.85rem; }
.faq summary {
  cursor: pointer; padding: 1.15rem 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--ocean); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.4rem 1.2rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Forms */
.form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.95rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--navy);
  padding: 0.8rem 0.95rem; border: 2px solid #8a9bb0; border-radius: 10px; background: var(--white);
  min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ocean); outline: 3px solid var(--focus); outline-offset: 1px; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.choice { display: flex; align-items: center; gap: 0.6rem; margin: 0.35rem 0; font-weight: 400; }
.choice input { width: 22px; height: 22px; accent-color: var(--ocean); }
.req { color: #b3261e; }
.form-note { background: var(--sand); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 1rem; margin-bottom: 1.5rem; }
.form-status { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 700; display: none; }
.form-status.ok { display: block; background: #e3f4ea; color: #145a32; }
.form-status.err { display: block; background: #fdecea; color: #8a1c13; }
.hp { position: absolute; left: -10000px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .card-icon { margin: 0; flex: none; width: 48px; height: 48px; }
.contact-list strong { display: block; }
.contact-list a { font-size: 1.15rem; font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy); color: #d6e2ef; padding: 4rem 0 2rem; font-size: 1rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand-text small { color: #b9c9db; }
.social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.1); color: var(--white);
}
.social a:hover { background: rgba(255,255,255,0.22); }
.social svg { width: 22px; height: 22px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); margin-top: 3rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: #b9c9db; font-size: 0.95rem;
}
.ack { font-size: 0.95rem; color: #b9c9db; max-width: 60ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Prose pages (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose ul { padding-left: 1.25rem; }

/* Placeholder marker — remove once real details are filled in */
.todo { background: #fff3bf; color: #5c4400; padding: 0 0.3em; border-radius: 4px; }

.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.btn svg { width: 20px; height: 20px; flex: none; }
.btn { white-space: nowrap; }
.field .choice { font-weight: 400; }

/* Original Waves logo */
.brand img { width: 48px; height: auto; flex: none; }
.site-footer .brand img.logo-light { background: #fff; border-radius: 50%; padding: 3px; width: 52px; }
.bg-navy .btn-light, .bg-navy .btn-light:hover { color: var(--navy); }
.bg-navy .btn-outline-light:hover { color: var(--navy); }

/* =========================================================
   Photo-led, more polished layout
   ========================================================= */
.hero-photo {
  position: relative; color: var(--white);
  background: var(--navy) url("/assets/photos/ocean.jpg") center 60% / cover no-repeat;
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(5rem, 11vw, 8.5rem);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,53,79,0.94) 0%, rgba(8,53,79,0.82) 45%, rgba(17,104,155,0.35) 100%);
}
.hero-photo > .container { position: relative; }
.hero-photo h1 { color: var(--white); }
.hero-photo h1 span { color: #a9d3ee; }
.hero-photo .lead { color: #dbe9f3; }
.hero-photo .eyebrow { color: #a9d3ee; }
.hero-photo .hero-card { color: var(--navy); }
.hero-photo .btn-outline-light:hover { color: var(--navy); }
.hero-photo .hero-waves { bottom: -2px; }

.page-hero.hero-photo { padding: clamp(4rem, 8vw, 6rem) 0 clamp(4.5rem, 9vw, 6.5rem); }

.photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; background: var(--foam);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo-caption { font-size: 0.95rem; color: var(--muted); margin-top: 0.6rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.member {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.member-photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--ocean), var(--navy)); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.member-photo .initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 3.2rem; color: rgba(255,255,255,0.92);
}
.member-photo .initials::after {
  content: "Photo coming soon"; position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; color: rgba(255,255,255,0.75);
}
.member-body { padding: 1.4rem 1.5rem 1.6rem; }
.member-body h3 { margin-bottom: 0.15rem; }
.member-body .role { color: var(--ocean); font-weight: 700; margin-bottom: 0.9rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { background: var(--foam); color: var(--navy); border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.88rem; font-weight: 700; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stats div { padding: 1.25rem 0.5rem; }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--ocean); line-height: 1.1; }
.stats span { color: var(--muted); font-weight: 700; font-size: 0.98rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.service-media { margin-top: 1.5rem; }
.card-photo { margin: -1.75rem -1.75rem 1.4rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--foam); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card { transition: transform .2s ease, box-shadow .2s ease; }
a.card:hover, .card:has(.card-link:hover) { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(8,53,79,0.12); }
.hero-photo a:not(.btn) { color: var(--white); }
.hero-photo .hero-card a:not(.btn) { color: var(--ocean); }
.hero-photo .btn-outline { border-color: var(--white); color: var(--white); }
.hero-photo .btn-outline:hover { background: var(--white); color: var(--navy); }
.hero-photo + section { padding-top: clamp(3rem, 6vw, 4.5rem) !important; }
.contact-list a, .contact-list div, .site-footer a { overflow-wrap: break-word; }
.contact-list li > div:last-child { min-width: 0; }


/* =========================================================
   Best-practice polish (Web Interface Guidelines / WCAG 2.2)
   ========================================================= */
html { scroll-padding-top: 96px; }                 /* sticky header never covers anchors or focused fields */
body { touch-action: manipulation; -webkit-tap-highlight-color: rgba(17, 104, 155, 0.15); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.stats strong { font-variant-numeric: tabular-nums; }

/* Utility classes (replace one-off inline styles) */
.pt-0 { padding-top: 0; }
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.align-start { align-items: start; }
.h-sm { font-size: 1.5rem; }
.h-xs { font-size: 1.15rem; margin-bottom: 0.4rem; }
.narrow { max-width: 860px; }
.small-note { margin-top: 1rem; font-size: 1rem; }

/* Header: keep nav on one line; switch to the menu button earlier */
.site-nav a, .brand-text small { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1101px) {
  .site-nav a { padding: 0.55rem 0.55rem; }
  .site-nav .btn { margin-left: 0.25rem; padding: 0.75rem 1.1rem; }
}

/* Bigger tap targets */
.choice input { width: 24px; height: 24px; flex: none; }
.choice { min-height: 44px; cursor: pointer; }
.hero-card > a { display: inline-block; padding: 0.65rem 0; font-weight: 700; }
.footer-grid li a { display: inline-block; padding: 0.2rem 0; }

/* FAQ centred */
.faq { margin-left: auto; margin-right: auto; }

/* Services: text left; photo + checklist right */
.service-side { display: grid; gap: 1.25rem; }

/* NDIS badge */
.ndis-badge { height: auto; display: block; }
.stat-badge { display: grid; place-items: center; }
.stat-badge .ndis-badge { width: 100%; max-width: 200px; }
.footer-badge { background: #fff; border-radius: 12px; padding: 0.5rem 0.75rem; display: inline-block; margin-bottom: 1rem; }
.footer-badge .ndis-badge { width: 170px; }
.contact-badge { margin-top: 1.75rem; }
.contact-badge .ndis-badge { width: 220px; }

/* Inline form errors */
.field-error { display: block; color: #b3261e; font-weight: 700; font-size: 0.95rem; margin-top: 0.35rem; }
.field [aria-invalid="true"] { border-color: #b3261e; }
fieldset[aria-invalid="true"] legend { color: #b3261e; }

/* Print: just the content */
@media print {
  .site-header, .site-nav, .nav-toggle, .skip-link, form, .cta-band .btn-row, .social { display: none !important; }
  .hero-photo { background: none !important; color: #000; padding: 1rem 0; }
  .hero-photo::before { display: none; }
  .hero-photo h1, .hero-photo .lead, .hero-photo .eyebrow { color: #000; }
  .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}


/* Emails in running text stay on one line */
p a[href^="mailto:"], .answer a[href^="mailto:"] { white-space: nowrap; }

/* Team cards: bio, then a ticked qualifications list aligned to the bottom */
.member-body { display: flex; flex-direction: column; flex: 1; }
.member-body > p:not(.role) { margin-bottom: 1.1rem; }
.chips {
  display: grid; gap: 0.45rem; margin-top: auto;
  padding-top: 1rem; border-top: 1px solid var(--line);
}
.chips li {
  background: none; border-radius: 0; padding: 0 0 0 1.6rem; position: relative;
  font-size: 0.95rem; font-weight: 700; color: var(--navy); line-height: 1.4;
}
.chips li::before {
  content: ""; position: absolute; left: 0; top: 0.1em;
  width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--foam);
}
.chips li::after {
  content: ""; position: absolute; left: 0.4rem; top: 0.3em;
  width: 0.3rem; height: 0.55rem; border: solid var(--ocean); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Line up name / role / bio / qualifications across the cards in a row (CSS subgrid) */
@supports (grid-template-rows: subgrid) {
  .member { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; }
  .member:has(.member-body > p:not(.role)) { grid-row: span 7; }
  /* each qualification gets its own shared row, so line 1, 2 and 3 match across cards */
  .member-body > .chips { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.45rem; }
  .member-body { display: contents; }
  .member-body > * { margin-left: 1.5rem; margin-right: 1.5rem; }
  .member-body > h3 { margin-top: 1.4rem; }
  .member-body > .chips { margin-top: 0; margin-bottom: 1.6rem; align-self: start; }
}


/* Header: solid, so page content never shows through when scrolling */
.site-header { background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(8, 53, 79, 0.06); border-bottom: 0; }

/* Services: intro | photo, then the four points as a full-width row */
.service-block { grid-template-columns: 1fr 1fr; align-items: center; row-gap: 2rem; }
.service-block > .check-list { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
.service-block > .photo { margin: 0; }
.who-for-side { margin-top: 0; }
@media (max-width: 1000px) { .service-block > .check-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block > .check-list { grid-template-columns: 1fr; }
}

/* Home "Why Waves" points */
.feature-stack { display: grid; gap: 1.5rem; }
.feature-stack .feature { background: var(--foam); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.feature-stack .feature p { margin: 0; }

/* Careers: numbered "How to apply" */
.mini-steps { list-style: none; padding: 0; margin: 0; counter-reset: ms; display: grid; gap: 1rem; }
.mini-steps li { counter-increment: ms; position: relative; padding-left: 3rem; min-height: 2.2rem; }
.mini-steps li::before {
  content: counter(ms); position: absolute; left: 0; top: 0;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--ocean); color: #fff; font-family: var(--font-head); font-weight: 700;
}
.mini-steps strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.mini-steps span { color: var(--muted); }
