/*
 * Page-level layout glue for the Golden Disability site.
 * Visual styling comes from /design-system/tokens.css and components/bundle.css.
 * This file only places gd- components on the page (grids, overlays, sticky
 * positions) and adds the placeholder marker. Every value is a design token;
 * no colours are defined here.
 */

/* ---------- Page chrome ---------- */
html { scroll-padding-top: 112px; }
@media (max-width: 1023.98px) {
  html { scroll-padding-bottom: var(--space-20); }
  body { padding-bottom: var(--space-20); } /* room for the sticky call bar */
}
main:focus { outline: none; }
.l-visually-center { text-align: center; }

/* Header: mega menu and mobile drawer placement */
.l-header-inner { position: relative; }
.l-mega-wrap { position: absolute; left: 0; right: 0; top: 100%; z-index: var(--z-megamenu); }
.l-mega-wrap .gd-mega { max-width: calc(var(--container-lg) + 2 * var(--gutter-desktop)); margin-inline: auto; }
.l-mega-wrap .gd-mega__feature .gd-btn { margin-top: auto; align-self: flex-start; }
.l-drawer-overlay { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; justify-content: flex-end; background: var(--overlay-scrim); }
.l-drawer-overlay .gd-drawer { min-height: 100%; max-height: 100%; overflow-y: auto; }
@media (min-width: 480px) { .l-drawer-overlay .gd-drawer { animation: l-slide-in var(--duration-base) var(--ease-soft) both; } }
@keyframes l-slide-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.l-utility-hide-sm { display: none; }
@media (min-width: 768px) { .l-utility-hide-sm { display: inline; } }
@media (max-width: 767.98px) { .gd-header__utility { display: none; } }

/* ---------- Placeholder marker (content not yet supplied) ---------- */
.l-placeholder {
  display: inline; padding: 0 var(--space-1); border-radius: var(--radius-xs);
  background: var(--warning-bg); color: var(--warning-fg);
  outline: var(--border-hairline) dashed var(--warning-border); outline-offset: 1px;
  font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 0.85em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.gd-ph[role="img"] { border: var(--border-control) dashed var(--border-strong); }

/* ---------- Heroes ---------- */
.l-hero { padding-block: var(--space-16) var(--space-20); }
@media (min-width: 1024px) { .l-hero { padding-block: var(--space-20) var(--space-24); } }
.l-hero__grid { display: grid; gap: var(--space-16); align-items: center; }
@media (min-width: 1024px) { .l-hero__grid { grid-template-columns: 7fr 5fr; gap: var(--space-12); } }
.l-hero__copy h1 { margin: 0 0 var(--space-6); }
.l-hero__copy .gd-lead { max-width: 36ch; }
.l-hero__actions { margin-top: var(--space-8); }
.l-hero__trust { margin-top: var(--space-8); gap: var(--space-5); color: var(--text-on-brand-muted); font-size: 15px; }
.l-hero__media { position: relative; width: 100%; max-width: 420px; justify-self: center; margin-inline: var(--space-6); }
@media (min-width: 1024px) { .l-hero__media { justify-self: end; margin-inline: 0; } }
.l-hero__media .gd-ph { height: 100%; }
.l-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
@media (min-width: 640px) {
  .l-chips { margin: 0; display: block; }
  .l-chip-a { position: absolute; left: -64px; bottom: 56px; }
  .l-chip-b { position: absolute; right: -8px; top: 40px; animation-delay: -3s; }
}
.l-chip-b .gd-glass__icon { background: var(--gold-600); }

.l-page-hero { padding-block: var(--space-12) var(--space-16); }
@media (min-width: 1024px) { .l-page-hero { padding-block: var(--space-16) var(--space-20); } }
.l-page-hero h1 { max-width: 18ch; margin-bottom: var(--space-5); }
.l-page-hero .gd-lead { max-width: 52ch; }

/* Breadcrumbs on twilight */
.l-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-6); padding: 0; font-size: 15px; color: var(--text-on-brand-muted); }
.l-crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--orbit-line); }
.l-crumbs a { color: var(--text-on-brand); }
.l-crumbs [aria-current="page"] { color: var(--text-on-brand-accent); }

/* Service hero chip row */
.l-service-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6); }
.l-service-chip { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-circle); background: var(--surface-gold); color: var(--text-on-gold); }
.l-funded { margin-top: var(--space-6); font-size: 16px; }
.l-funded strong { color: var(--text-on-brand); }

/* ---------- Content layouts ---------- */
.l-split { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 1024px) {
  .l-split { grid-template-columns: 5fr 7fr; gap: var(--space-16); }
  .l-split--flip { grid-template-columns: 7fr 5fr; }
  .l-split--even { grid-template-columns: 1fr 1fr; }
  .l-split--top { align-items: start; }
}
.l-arch-sm { max-width: 380px; margin-inline: auto; width: calc(100% - var(--space-10)); }

.l-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.l-checklist li { display: flex; gap: var(--space-3); align-items: flex-start; }
.l-checklist .gd-icon { flex: none; margin-top: 3px; color: var(--text-accent); stroke-width: 2.25; }
.l-checklist--cols { gap: var(--space-4) var(--space-8); }
@media (min-width: 768px) { .l-checklist--cols { grid-template-columns: 1fr 1fr; } }

/* Six-dot "How it works" steps */
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 900px) { .l-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.l-step { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8) var(--space-6); background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-lg); }
.l-step__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.l-step__num { font-family: var(--font-display); font-style: italic; font-size: 56px; line-height: 1; color: var(--text-accent); }
.l-step h3 { font-size: 26px; margin: 0; }
.l-step p { font-size: 17px; margin: 0; color: var(--text-muted); }

/* Team strip */
.l-team-grid { display: grid; gap: var(--space-10) var(--space-6); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Testimonials: an editorial offset pair */
.l-quotes { display: grid; gap: var(--space-12) var(--space-8); padding-top: var(--space-4); }
@media (min-width: 900px) { .l-quotes { grid-template-columns: 7fr 5fr; align-items: start; } .l-quotes > :nth-child(2) { margin-top: var(--space-16); } }

/* Vision and mission band */
.l-belief { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .l-belief { grid-template-columns: 1fr 1fr; gap: var(--space-12); } }
.l-belief blockquote { margin: 0; }
.l-belief blockquote p { font-family: var(--font-display); font-size: clamp(24px, 1vw + 19px, 30px); line-height: 1.35; color: var(--text-heading); }

/* Values grid (each value with its everyday meaning) */
.l-values { display: grid; gap: var(--space-8) var(--space-6); grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .l-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .l-values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.l-values li { border-top: var(--border-control) solid var(--gold-400); padding-top: var(--space-4); }
.l-values strong { display: block; font-family: var(--font-display); font-style: italic; font-weight: 480; font-size: 26px; color: var(--text-heading); margin-bottom: var(--space-1); }
.l-values span { font-size: 16px; color: var(--text-muted); }

/* FAQ head + list */
.l-faq-grid { display: grid; gap: var(--space-10); }
@media (min-width: 1024px) { .l-faq-grid { grid-template-columns: 4fr 8fr; gap: var(--space-16); align-items: start; } .l-faq-grid > :first-child { position: sticky; top: 140px; } }

/* Funding cards */
.l-funding { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .l-funding { grid-template-columns: 5fr 7fr; align-items: start; } }
.l-manage { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.l-manage li { padding: var(--space-5) var(--space-6); background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-md); }
.l-manage strong { display: block; color: var(--text-heading); font-size: 18px; }
.l-manage span { font-size: 16px; color: var(--text-muted); }

/* Enquire split: phone module + form */
.l-enquire { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 1024px) { .l-enquire { grid-template-columns: 5fr 7fr; gap: var(--space-12); } .l-enquire > :first-child { position: sticky; top: 140px; } }
.l-enquire .gd-call .gd-btn { margin-left: auto; }
.l-aside-stack { display: grid; gap: var(--space-6); }
.l-note { font-size: 16px; color: var(--text-muted); margin: 0; }

/* Contact details list */
.l-details { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.l-details li { display: flex; gap: var(--space-4); align-items: flex-start; }
.l-details__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--surface-gold-soft); color: var(--gold-700); }
.l-details strong { display: block; color: var(--text-heading); }
.l-details span, .l-details p { font-size: 16px; color: var(--text-muted); margin: 0; }

/* Form status message */
.l-form-status { margin-top: var(--space-6); }
.l-form-status:empty { display: none; }
.l-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer extras: preferences row */
.l-prefs { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.l-prefs .gd-btn { min-height: var(--size-touch-min); }
.l-prefs label { font-size: 14px; font-weight: 700; color: var(--text-on-brand-muted); }
.l-prefs select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  min-height: var(--size-touch-min); border-radius: var(--radius-pill); padding: 0 48px 0 var(--space-5);
  font: inherit; font-size: 16px; color: var(--text-on-brand); border: 2px solid var(--text-on-brand);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23f3dfae' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.l-prefs select:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }
.l-prefs select option { color: var(--text-body); background: var(--surface-card); }
.l-footer-brand .gd-logo__word, .l-footer-brand .gd-logo { color: var(--text-on-brand); }
.l-footer-brand .gd-logo__word small { color: var(--text-on-brand-accent); }
.l-footer-brand p { margin: var(--space-5) 0; max-width: 34ch; }

/* ---------- Site-wide "Reduce motion" toggle (section 7.5, rule 2) ----------
 * Mirrors bundle.css's prefers-reduced-motion block for html[data-motion="reduced"]. */
html[data-motion="reduced"] .gd-reveal-words .gd-word,
html[data-motion="reduced"] .gd-enter,
html[data-motion="reduced"] .gd-scroll-reveal,
html[data-motion="reduced"] .gd-arch--reveal,
html[data-motion="reduced"] .gd-arch--reveal > *,
html[data-motion="reduced"] .gd-scroll-arch { opacity: 1 !important; clip-path: none !important; transform: none !important; filter: none !important; animation: none !important; }
html[data-motion="reduced"] .gd-underline-draw path { stroke-dashoffset: 0 !important; animation: none !important; }
html[data-motion="reduced"] .gd-ribbon__track { animation: none !important; flex-wrap: wrap; width: auto; }
html[data-motion="reduced"] .gd-ribbon__group[aria-hidden="true"],
html[data-motion="reduced"] .gd-ribbon__toggle { display: none; }
html[data-motion="reduced"] .gd-sun--rise { animation: none !important; transform: none !important; }
html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
html[data-motion="reduced"] ::view-transition-old(root),
html[data-motion="reduced"] ::view-transition-new(root) { animation: none !important; }
html[data-motion="reduced"] .gd-card--interactive:hover,
html[data-motion="reduced"] .gd-service:hover,
html[data-motion="reduced"] .gd-bento-tile:hover,
html[data-motion="reduced"] .gd-path:hover,
html[data-motion="reduced"] .gd-bento-tile:hover .gd-bento-tile__arrow { transform: none; }
/* Ambient loops pause while off-screen (set by MotionController). */
.l-offscreen .gd-orbit--drift .gd-orbit__ring, .l-offscreen .gd-float { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .l-drawer-overlay .gd-drawer { animation: none; } }

/* ---- ICP pass: trust row (Maria), coordinator facts (Priya) ---- */
.l-trust { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); font-size: 16px; }
.l-trust li { display: flex; align-items: center; gap: var(--space-2); }
.l-trust .gd-icon { color: var(--text-accent); flex: none; }
.gd-on-brand .l-trust li { color: var(--text-on-brand-muted); }
.gd-on-brand .l-trust .gd-icon { color: var(--text-on-brand-accent); }
.l-coord { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .l-coord { grid-template-columns: 5fr 7fr; align-items: start; } }
.l-facts { margin: 0; display: grid; gap: 0; background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); border-radius: var(--radius-md); }
.l-facts > div { display: grid; gap: var(--space-1); padding: var(--space-4) var(--space-6); border-top: var(--border-hairline) solid var(--border-subtle); }
.l-facts > div:first-child { border-top: 0; }
@media (min-width: 600px) { .l-facts > div { grid-template-columns: 200px 1fr; gap: var(--space-4); } }
.l-facts dt { font-weight: 700; color: var(--text-heading); }
.l-facts dd { margin: 0; }

/* ---- Mobile header: logo, menu and the call bar carry the CTAs below 480px ---- */
@media (max-width: 479px) { .l-header-cta { display: none; } }
/* Keep motif lines from crossing hero text on phones. */
@media (max-width: 767px) { .l-hero .gd-orbit, .l-page-hero .gd-orbit { opacity: .35; } }

/* ---- Brand art (photo stand-in, brand geometry only, flat colour) ---- */
.l-art { display: block; width: 100%; height: 100%; }
.l-art__rings circle { fill: none; stroke-width: 1.5; }
.l-art--dusk .l-art__sky { fill: var(--purple-800); }
.l-art--dusk .l-art__rings circle { stroke: var(--gold-300); opacity: .35; }
.l-art--dusk .l-art__dots circle { fill: var(--gold-200); }
.l-art--dusk .l-art__sun { fill: var(--gold-200); }
.l-art--dusk .l-art__hill { fill: var(--purple-950); }
.l-art--day .l-art__sky { fill: var(--gold-100); }
.l-art--day .l-art__rings circle { stroke: var(--gold-500); opacity: .4; }
.l-art--day .l-art__dots circle { fill: var(--purple-600); }
.l-art--day .l-art__sun { fill: var(--gold-300); }
.l-art--day .l-art__hill { fill: var(--purple-700); }
.l-art--lavender .l-art__sky { fill: var(--purple-100); }
.l-art--lavender .l-art__rings circle { stroke: var(--purple-400); opacity: .45; }
.l-art--lavender .l-art__dots circle { fill: var(--gold-500); }
.l-art--lavender .l-art__sun { fill: var(--gold-300); }
.l-art--lavender .l-art__hill { fill: var(--purple-800); }
.l-art__sun, .l-art__dots { transform-box: view-box; }
@keyframes l-sun-rise { from { transform: translateY(110px); } to { transform: translateY(0); } }
@keyframes l-dots-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="reduced"]) .l-hero .l-art__sun { animation: l-sun-rise 2600ms var(--ease-out-expo) 400ms both; }
  html:not([data-motion="reduced"]) .l-hero .l-art__dots { animation: l-dots-fade 1200ms ease-out 1600ms both; }
  @supports (animation-timeline: view()) {
    html:not([data-motion="reduced"]) main .gd-section .l-art__sun { animation: l-sun-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 55%; }
  }
}

/* ---- Signature hero: one big golden-hour arch, nothing floating ---- */
.l-hero__coord { margin: var(--space-6) 0 0; font-size: 16px; color: var(--text-on-brand-muted); }
.gd-on-brand .l-hero__coord a { color: var(--text-on-brand-accent); }
@media (min-width: 1024px) {
  .l-hero { min-height: min(860px, calc(100svh - 120px)); display: grid; align-items: center; }
  .l-hero__media--signature { max-width: 480px; }
}

/* ---- Support finder ---- */
.l-finder { display: grid; gap: var(--space-8); }
.l-finder__head { max-width: 680px; }
.l-finder__result[hidden] { display: none; }
.l-finder__other { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.l-finder__other .gd-textarea { width: 100%; }
.l-finder h2 { margin-bottom: var(--space-3); }
.l-finder__chips { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); max-width: 1040px; }
.l-finder .l-finder__chip { min-height: 44px; padding: var(--space-2) var(--space-4); font-size: 16px; text-align: left; border-radius: 999px;
  background: color-mix(in srgb, var(--surface-card) 55%, transparent); border-color: var(--purple-200); }
.l-finder .l-finder__chip:hover { background: var(--surface-card); }
.l-finder .l-finder__chip[aria-pressed="true"] { background: var(--purple-700); border-color: var(--purple-700); color: var(--neutral-0); }
.l-finder__chip {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: var(--space-3) var(--space-5);
  border-radius: 999px; border: var(--border-hairline) solid var(--border-subtle); background: var(--surface-card);
  color: var(--text-heading); font: inherit; font-size: 17px; cursor: pointer;
  transition: background-color 200ms var(--ease-out-expo), border-color 200ms var(--ease-out-expo), transform 200ms var(--ease-out-expo);
}
.l-finder__chip .gd-icon { display: none; }
.l-finder__chip:hover { border-color: var(--purple-600); transform: translateY(-1px); }
.l-finder__chip[aria-pressed="true"] { background: var(--purple-700); border-color: var(--purple-700); color: var(--neutral-0); }
.l-finder__chip[aria-pressed="true"] .gd-icon { display: inline-block; color: var(--gold-200); }
.l-finder__result { max-width: 760px; padding: var(--space-8); border-radius: var(--radius-xl); background: var(--surface-card); box-shadow: var(--shadow-md); }
.l-finder__empty { margin: 0; color: var(--text-muted); display: grid; place-items: center; min-height: 216px; text-align: center; border: 1.5px dashed var(--orbit-line); border-radius: var(--radius-lg); }
.l-finder__empty[hidden] { display: none; }
.l-finder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.l-finder__list li[hidden] { display: none; }
.l-finder__list a { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-4); align-items: center; padding: var(--space-4); border-radius: var(--radius-md); text-decoration: none; color: inherit; transition: background-color 200ms; }
.l-finder__list a:hover { background: var(--surface-gold-soft); }
.l-finder__list strong { display: block; color: var(--text-heading); }
.l-finder__list span span { display: block; font-size: 15px; color: var(--text-muted); }
.l-finder__list li { animation: l-fade-up 280ms var(--ease-out-expo) both; }
.l-finder__cta { margin-top: var(--space-6); }
.l-finder__cta[hidden] { display: none; }
@keyframes l-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html[data-motion="reduced"] .l-finder__list li { animation: none; }
@media (prefers-reduced-motion: reduce) { .l-finder__list li { animation: none; } }

/* ---- Promise ---- */
.l-promises { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; gap: var(--space-6); }
@media (min-width: 700px) { .l-promises { grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-6); } }
.l-promises li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.l-promises strong { display: block; color: var(--text-heading); font-size: 19px; margin-bottom: var(--space-1); }
.l-promises span span { display: block; color: var(--text-muted); font-size: 16px; }
.l-vision { margin: var(--space-24) auto 0; max-width: 880px; text-align: center; }
.l-vision blockquote { margin: 0; }
.l-vision p { font-family: var(--font-display); font-size: clamp(28px, 1.6vw + 20px, 44px); line-height: 1.2; color: var(--text-heading); margin: 0; }
.l-vision figcaption { margin-top: var(--space-5); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-accent); font-weight: 700; }

/* ---- Hero kinetic phrase (plays once, ~4.6s, then rests on the promise) ---- */
.l-rotator { display: inline-block; vertical-align: bottom; }
.l-rotator__window { display: block; height: 1.12em; overflow: hidden; padding-bottom: .12em; box-sizing: content-box; }
.l-rotator__track { display: grid; transform: translateY(-75%); }
.l-rotator__track > span { display: block; height: 1.12em; line-height: 1.12; padding-bottom: .12em; box-sizing: content-box; }
.l-rotator.gd-underline-draw path { animation-delay: 5200ms; }
@keyframes l-rotate {
  0%, 16% { transform: translateY(0); }
  24%, 40% { transform: translateY(-25%); }
  48%, 64% { transform: translateY(-50%); }
  74%, 100% { transform: translateY(-75%); }
}
@keyframes l-rotator-in { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="reduced"]) .l-rotator__window { animation: l-rotator-in 800ms var(--ease-out-expo) 500ms both; }
  html:not([data-motion="reduced"]) .l-rotator__track { animation: l-rotate 4600ms var(--ease-out-expo) 900ms both; }
}

/* ---- Journey: scroll story, dusk to golden hour ---- */
.l-journey { position: relative; padding-block: var(--space-24); background: var(--bg-twilight); color: var(--text-on-brand); transition: background-color 900ms var(--ease-out-expo); }
.l-journey[data-step="1"] { background: var(--purple-900); }
.l-journey[data-step="2"] { background: var(--purple-800); }
.l-journey h2, .l-journey h3 { color: var(--text-on-brand); }
.l-journey .gd-eyebrow { color: var(--text-on-brand-accent); }
.l-journey__head { max-width: 720px; margin-bottom: var(--space-12); }
.l-journey__grid { display: grid; gap: var(--space-12); }
@media (min-width: 960px) { .l-journey__grid { grid-template-columns: 5fr 6fr; gap: var(--space-20); } }
.l-journey__stage { position: sticky; top: 168px; align-self: start; z-index: 1; }
@media (max-width: 959px) {
  .l-journey__stage { top: 72px; padding-block: var(--space-4); background: inherit; margin-inline: calc(var(--space-6) * -1); }
  .l-journey__stage .gd-arch-wrap { width: 96px; margin-inline: auto; }
  .l-journey__stage { padding-block: var(--space-2) var(--space-3) !important; }
  .l-journey__progress { margin-top: 0; }
  .l-journey__stage .gd-arch-wrap::before { display: none; }
  .l-journey { background-color: var(--bg-twilight); }
}
@media (min-width: 960px) { .l-journey__stage .gd-arch-wrap { max-width: min(440px, (100svh - 260px) * 0.8); margin-inline: auto; } }
.l-journey__arch svg { display: block; width: 100%; height: 100%; }
.l-journey__progress { display: flex; gap: 0; justify-content: center; margin: var(--space-4) 0 0; }
.l-journey__progress button { display: grid; place-items: center; width: 56px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.l-journey__progress button span { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--orbit-line); transition: background-color 600ms, height 200ms; }
.l-journey__progress button:hover span { height: 6px; }
.l-journey__progress button[data-on="true"] span { background: var(--gold-300); }
.l-journey__steps li[data-active="false"] { cursor: pointer; }
.l-journey__steps li[data-active="false"]:hover { opacity: .65; }
.l-journey__steps { list-style: none; margin: 0; padding: 0; }
.l-journey__steps li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--space-10); opacity: .38; transition: opacity 600ms var(--ease-out-expo); }
.l-journey__steps li[data-active="true"] { opacity: 1; }
.l-journey__steps li:last-child { min-height: 52vh; }
@media (max-width: 959px) { .l-journey__steps li { min-height: 52vh; } }
.l-journey__kicker { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-on-brand-accent); }
.l-journey__steps h3 { font-size: clamp(36px, 2.4vw + 22px, 60px); margin: var(--space-3) 0 var(--space-5); }
.l-journey__steps p { font-size: 20px; line-height: 1.6; color: var(--text-on-brand-muted); max-width: 34ch; margin: 0; }
/* scene states */
.l-journey .lj-sky { fill: var(--purple-900); transition: fill 900ms var(--ease-out-expo); }
.l-journey .lj-rings circle { fill: none; stroke: var(--gold-300); stroke-width: 1.5; opacity: .3; }
.l-journey .lj-sun { fill: var(--gold-200); transform-box: view-box; transform: translateY(120px); transition: transform 1200ms var(--ease-out-expo), fill 900ms; }
.l-journey .lj-hill { fill: var(--purple-950); transition: fill 900ms; }
.l-journey .lj-dot { fill: var(--gold-200); opacity: .15; transition: opacity 600ms var(--ease-out-expo); }
.l-journey[data-step="0"] .lj-dot--0, .l-journey[data-step="0"] .lj-dot--5 { opacity: 1; }
.l-journey[data-step="1"] .lj-sky { fill: var(--purple-700); }
.l-journey[data-step="1"] .lj-sun { transform: translateY(60px); }
.l-journey[data-step="1"] .lj-dot:is(.lj-dot--0, .lj-dot--1, .lj-dot--4, .lj-dot--5) { opacity: 1; }
.l-journey[data-step="2"] .lj-sky { fill: var(--gold-300); }
.l-journey[data-step="2"] .lj-rings circle { stroke: var(--purple-700); }
.l-journey[data-step="2"] .lj-sun { transform: translateY(-10px); fill: var(--gold-100); }
.l-journey[data-step="2"] .lj-hill { fill: var(--purple-800); }
.l-journey[data-step="2"] .lj-dot { opacity: 1; fill: var(--purple-700); }
html[data-motion="reduced"] .l-journey *, html[data-motion="reduced"] .l-journey { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .l-journey *, .l-journey { transition: none !important; } }
.l-finder__unsure { display: grid; gap: var(--space-2); padding: var(--space-5); margin-bottom: var(--space-3); border-radius: var(--radius-md); background: var(--surface-gold-soft); animation: l-fade-up 280ms var(--ease-out-expo) both; }
.l-finder__unsure[hidden] { display: none; }
.l-finder__unsure strong { color: var(--text-heading); font-size: 19px; }
.l-journey .gd-highlight { color: var(--text-on-brand-accent); }
@keyframes l-show { to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="reduced"]) .l-rotator svg { opacity: 0; animation: l-show 1ms linear 5300ms forwards; }
}
@media (max-width: 959px) {
  .l-journey .l-journey__stage { background: var(--bg-twilight); transition: background-color 900ms var(--ease-out-expo); }
  .l-journey[data-step="1"] .l-journey__stage { background: var(--purple-900); }
  .l-journey[data-step="2"] .l-journey__stage { background: var(--purple-800); }
}

/* ---- Services nav item: link + separate menu toggle ---- */
.l-nav-services { display: flex; align-items: center; }
.l-nav-services .gd-nav__link { padding-right: var(--space-1); }
.l-nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-left: calc(var(--space-3) * -1); padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-heading); cursor: pointer; }
.l-nav-toggle:hover { background: var(--surface-gold-soft); }
.l-nav-toggle .gd-icon { transition: transform 200ms var(--ease-out-expo); }
.l-nav-toggle[aria-expanded="true"] .gd-icon { transform: rotate(180deg); }

/* ---- Contact: three ways, one form ---- */
.l-contact { display: grid; gap: var(--space-10); }
@media (min-width: 960px) { .l-contact { grid-template-columns: 5fr 6fr; gap: var(--space-12); align-items: start; } }
.l-reach { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.l-reach a {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-5); align-items: center;
  padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-card);
  border: var(--border-hairline) solid var(--border-subtle); box-shadow: var(--shadow-sm);
  color: inherit; text-decoration: none;
  transition: transform 220ms var(--ease-out-expo), box-shadow 220ms var(--ease-out-expo), border-color 220ms;
}
.l-reach a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--purple-300); }
.l-reach a > .gd-icon { color: var(--text-accent); transition: transform 220ms var(--ease-out-expo); }
.l-reach a:hover > .gd-icon { transform: translateX(4px); }
.l-reach__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--purple-700); color: var(--gold-200); }
.l-reach li:first-child .l-reach__icon { background: var(--gold-200); color: var(--purple-800); }
.l-reach__label { display: block; font-size: 15px; color: var(--text-muted); }
.l-reach strong { display: block; font-family: var(--font-display); font-size: clamp(22px, 1vw + 16px, 28px); color: var(--text-heading); font-weight: 560; overflow-wrap: anywhere; }
.l-reach__note { display: block; font-size: 15px; color: var(--text-muted); margin-top: 2px; }
.l-reach__access { margin-top: var(--space-6); line-height: 1.9; }
.l-reach__access .gd-icon { vertical-align: -3px; color: var(--text-accent); }
@media (prefers-reduced-motion: reduce) { .l-reach a, .l-reach a > .gd-icon { transition: none; } }
html[data-motion="reduced"] .l-reach a, html[data-motion="reduced"] .l-reach a > .gd-icon { transition: none; }

/* ---- Services page: orbit hero ---- */
.l-services-hero__media { max-width: 520px; }
.l-orbit { position: relative; width: 100%; aspect-ratio: 1; --r: 40%; }
.l-orbit__ring { position: absolute; inset: 10%; border-radius: 50%; border: 1.5px solid var(--orbit-line); }
.l-orbit__ring--outer { inset: 0; border-style: dashed; opacity: .6; }
.l-orbit__sun { position: absolute; inset: 34%; border-radius: 50%; background: var(--gold-200); }
.l-orbit__item {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; text-decoration: none;
}
.l-orbit { container-type: inline-size; }
.l-orbit__item { transform: rotate(var(--a)) translateX(40cqi) rotate(calc(var(--a) * -1)); }
.l-orbit__badge {
  position: absolute; left: 0; top: 0; translate: -50% -50%; display: grid; place-items: center;
  width: clamp(52px, 14cqi, 72px); height: clamp(52px, 14cqi, 72px); border-radius: 50%;
  background: var(--purple-700); color: var(--gold-200); border: 2px solid var(--purple-500);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: background-color 220ms, color 220ms, scale 220ms var(--ease-out-expo);
}
.l-orbit__item:nth-child(odd) .l-orbit__badge { background: var(--gold-200); color: var(--purple-800); border-color: var(--gold-400); }
.l-orbit__label {
  position: absolute; left: 0; top: calc(clamp(52px, 14cqi, 72px) / 2 + 8px); translate: -50% 0; white-space: nowrap;
  padding: 4px 12px; border-radius: 999px; background: var(--surface-card); color: var(--text-heading); font-size: 14px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity 200ms;
}
.l-orbit__item:hover .l-orbit__badge { scale: 1.12; }
.l-orbit__item:hover .l-orbit__label { opacity: 1; }
@keyframes l-orbit-out { from { transform: rotate(var(--a)) translateX(0) rotate(calc(var(--a) * -1)) scale(.2); opacity: 0; } }
@keyframes l-ring-in { from { scale: .6; opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="reduced"]) .l-orbit__item { animation: l-orbit-out 1100ms var(--ease-out-expo) both; animation-delay: calc(500ms + var(--i) * 110ms); }
  html:not([data-motion="reduced"]) .l-orbit__ring { animation: l-ring-in 1400ms var(--ease-out-expo) 150ms both; }
  html:not([data-motion="reduced"]) .l-orbit__sun { animation: l-ring-in 1200ms var(--ease-out-expo) both; }
}
@media (max-width: 1023px) { .l-services-hero__media { max-width: 360px; margin-top: var(--space-4); } }

/* ---- Services page: arch cards ---- */
.l-svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8) var(--space-6); }
.l-svc-grid > li { display: grid; }
@media (min-width: 700px) { .l-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .l-svc-grid { grid-template-columns: repeat(3, 1fr); } }
.l-svc { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--surface-card); border: var(--border-hairline) solid var(--border-subtle); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo); }
.l-svc:hover, .l-svc:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.l-svc__arch { position: relative; height: 200px; margin: var(--space-4) var(--space-4) 0; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.l-svc__arch--purple { background: var(--purple-800); color: var(--gold-200); }
.l-svc__arch--gold { background: var(--gold-200); color: var(--purple-800); }
.l-svc__arch--lavender { background: var(--purple-100); color: var(--purple-800); }
.l-svc__sun { position: absolute; z-index: -1; width: 150px; height: 150px; left: 50%; bottom: -96px; translate: -50% 0; border-radius: 50%; transition: transform 700ms var(--ease-out-expo); }
.l-svc__arch--purple .l-svc__sun { background: var(--purple-600); }
.l-svc__arch--gold .l-svc__sun { background: var(--gold-300); }
.l-svc__arch--lavender .l-svc__sun { background: var(--purple-200); }
.l-svc:hover .l-svc__sun, .l-svc:focus-within .l-svc__sun { transform: translateY(-40px); }
.l-svc__icon { display: grid; place-items: center; transition: transform 500ms var(--ease-out-expo); }
.l-svc__icon .gd-icon { width: 56px; height: 56px; stroke-width: 1.5; }
.l-svc:hover .l-svc__icon, .l-svc:focus-within .l-svc__icon { transform: translateY(-6px) scale(1.06); }
.l-svc__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6) var(--space-8) var(--space-8); flex: 1; }
.l-svc__num { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--text-accent); }
.l-svc h3 { margin: 0; font-size: 26px; }
.l-svc h3 a { color: inherit; text-decoration: none; }
.l-svc h3 a::after { content: ""; position: absolute; inset: 0; }
.l-svc h3 a:focus-visible { outline: none; }
.l-svc:has(h3 a:focus-visible) { outline: 3px solid var(--focus-ring, var(--purple-600)); outline-offset: 3px; }
.l-svc p { margin: 0; color: var(--text-muted); }
.l-svc__more { display: grid; grid-template-rows: 1fr; }
.l-svc__more > ul { overflow: hidden; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 15px; }
.l-svc__more li { display: flex; gap: var(--space-2); align-items: flex-start; }
.l-svc__more .gd-icon { color: var(--text-accent); flex: none; margin-top: 3px; }
.l-svc__more > ul { padding-top: var(--space-3); }
.l-svc__cta { margin-top: auto; padding-top: var(--space-4); display: inline-flex; gap: var(--space-2); align-items: center; font-weight: 700; color: var(--text-link, var(--purple-700)); }
.l-svc__cta .gd-icon { transition: transform 300ms var(--ease-out-expo); }
.l-svc:hover .l-svc__cta .gd-icon { transform: translateX(4px); }
html[data-motion="reduced"] .l-svc, html[data-motion="reduced"] .l-svc * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .l-svc, .l-svc * { transition: none !important; } }
.l-orbit__sun { display: grid; place-content: center; text-align: center; color: var(--purple-800); }
.l-orbit__count { font-family: var(--font-display); font-size: clamp(48px, 16cqi, 88px); line-height: .9; font-weight: 560; }
.l-orbit__caption { font-size: clamp(13px, 3.4cqi, 17px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.l-reach--small strong { font-size: clamp(18px, .6vw + 14px, 22px); overflow-wrap: normal; word-break: normal; }

/* ---- Bento: the whole tile is the link (stretched heading link) ---- */
.gd-bento-tile { position: relative; cursor: pointer; }
.gd-bento-tile h3 a { color: inherit; text-decoration: none; }
.gd-bento-tile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.gd-bento-tile h3 a:focus-visible { outline: none; }
.gd-bento-tile:has(h3 a:focus-visible) { outline: 3px solid var(--purple-600); outline-offset: 3px; }

/* ---- Referral page ---- */
.l-refer-facts { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-5); }
.l-refer-facts li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.l-refer-facts strong { display: block; color: var(--text-heading); font-size: 19px; }
.l-refer-facts li > span:last-child > span { color: var(--text-muted); }
.l-refer-services { margin: var(--space-3) 0 0; padding-left: 1.2em; columns: 2 220px; line-height: 1.9; }
.l-form-group { margin-bottom: var(--space-8); }
.l-form-group > legend { font-family: var(--font-display); font-size: 22px; color: var(--text-heading); margin-bottom: var(--space-4); }

/* ---- Policy pages ---- */
.l-legal { display: grid; gap: var(--space-12); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .l-legal { grid-template-columns: 260px minmax(0, 1fr); } }
.l-legal__toc { align-self: start; }
@media (min-width: 960px) { .l-legal__toc { position: sticky; top: 140px; } }
.l-legal__toc h2 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-family: inherit; margin: 0 0 var(--space-3); }
.l-legal__toc ol { margin: 0; padding-left: 1.4em; display: grid; gap: var(--space-2); font-size: 16px; }
.l-legal__updated { margin-top: var(--space-6); font-size: 15px; color: var(--text-muted); }
.l-legal__summary { background: var(--surface-gold-soft); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-8); margin-bottom: var(--space-10); }
.l-legal__summary h2 { margin-top: 0 !important; font-size: 24px !important; }
.l-legal__num { color: var(--text-accent); font-style: italic; }
.l-prose { max-width: 70ch; }
.l-prose section { scroll-margin-top: 140px; }
.l-prose h2 { font-size: clamp(24px, 1vw + 18px, 30px); margin: var(--space-12) 0 var(--space-4); }
.l-prose section:first-of-type h2 { margin-top: 0; }
.l-prose p, .l-prose li { line-height: 1.7; }
.l-prose ul, .l-prose ol { padding-left: 1.3em; display: grid; gap: var(--space-2); }

/* ---- Footer legal links ---- */
.l-footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); list-style: none; margin: 0; padding: 0; }
.l-footer-legal a { color: inherit; }

/* ---- Design-system fix: --border-control is defined both as a colour (themes) and a
   width (2px), so `border: var(--border-control) solid var(--border-control)` is invalid
   and form controls lose their border. Restore an explicit 2px width with the theme colour. */
.gd-input, .gd-select, .gd-textarea, .gd-choice__box { border-width: 2px; border-style: solid; border-color: var(--border-strong); }
.gd-tile { border-width: 2px; border-style: solid; }
.gd-footer ul.l-footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
/* Page hero with buttons on phones: keep the sun clear of the buttons. */
@media (max-width: 640px) { .l-page-hero:has(.gd-row) .gd-sun { display: none; } }

/* ---- Supplied photos fill the arch ---- */
.l-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* =====================  UX pass (Dec 2026)  ===================== */

/* Nothing may push the page sideways on a phone. */
html, body { overflow-x: clip; }
.l-page-hero, .l-hero, .l-journey { overflow-x: clip; }
.l-hero__grid > *, .l-contact > *, .l-split > * { min-width: 0; }
.l-reach a { grid-template-columns: auto minmax(0, 1fr) auto; }

/* Phone hero: headline sized so the rotating words fit; photo smaller so the page starts faster. */
@media (max-width: 480px) {
  .l-hero__copy h1 { font-size: 42px; }
  .l-hero__copy .gd-eyebrow { font-size: 12px; }
  .l-hero__media { max-width: 300px; margin-inline: auto; }
  .l-hero { padding-block: var(--space-10) var(--space-16); }
}

/* "How it works": shorter scroll on desktop, a simple list on phones and tablets. */
.l-journey__steps li { min-height: 44vh; opacity: .55; }
.l-journey__steps li:last-child { min-height: 36vh; }
@media (max-width: 959px) {
  .l-journey { padding-block: var(--space-16); }
  .l-journey__stage { display: none; }
  .l-journey__steps { display: grid; gap: var(--space-10); counter-reset: none; }
  .l-journey__steps li, .l-journey__steps li:last-child { min-height: 0; padding: 0 0 0 var(--space-6); opacity: 1; border-left: 2px solid var(--gold-300); cursor: default; }
  .l-journey__steps li[data-active="false"]:hover { opacity: 1; }
  .l-journey__steps h3 { font-size: 32px; margin: var(--space-2) 0 var(--space-3); }
  .l-journey__steps p { font-size: 18px; }
}

/* Support finder: on phones, the results card only appears once something is picked. */
@media (max-width: 959px) {
  .l-finder__result:has(.l-finder__empty:not([hidden])) { display: none; }
  .l-finder__result { min-height: 0; padding: var(--space-4); }
  .l-finder__list a { gap: var(--space-3); padding: var(--space-3); }
  .l-finder__list .gd-service__icon { width: 48px; height: 48px; }
  .l-finder__chips { gap: var(--space-2); }
  .l-finder__chip { text-align: left; }
}
.l-finder__empty { min-height: 160px; padding: var(--space-6); }

/* Services page: 4 + 3, second row centred (no lonely 7th card). */
.l-svc-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.l-svc-grid > li { flex: 1 1 100%; }
@media (min-width: 700px) { .l-svc-grid > li { flex: 0 1 calc((100% - var(--space-6)) / 2); } }
@media (min-width: 1100px) { .l-svc-grid > li { flex-basis: calc((100% - 2 * var(--space-6)) / 3); } }
@media (min-width: 1280px) { .l-svc-grid > li { flex-basis: calc((100% - 3 * var(--space-6)) / 4); } .l-svc h3 { font-size: 23px; } }
.l-finder__list .gd-service__icon { margin-bottom: 0; }

/* Phones and touch screens: nothing moves while you scroll.
   Scroll-linked reveals re-run as the mobile address bar shows and hides, which reads as shaking,
   and hover lifts fire on tap. Content is simply there; motion stays on desktop. */
@media (max-width: 1023px), (hover: none) {
  .gd-scroll-reveal, .gd-scroll-arch, main .gd-section .l-art__sun, .l-svc.gd-scroll-reveal, li.gd-scroll-reveal {
    animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important;
  }
  .l-journey, .l-journey * { transition: none !important; }
}
@media (hover: none) {
  .gd-bento-tile:hover, .gd-card--interactive:hover, .gd-service:hover, .l-svc:hover, .l-reach a:hover, .l-finder__chip:hover, .gd-btn:hover {
    transform: none !important;
  }
  .l-svc:hover .l-svc__sun, .l-svc:hover .l-svc__icon, .gd-btn:hover .gd-icon:last-child, .l-reach a:hover > .gd-icon { transform: none !important; }
}
/* Keep the last content clear of the fixed Call / Enquire bar. */
@media (max-width: 1023px) { body { padding-bottom: 76px; } }

/* Phone service tiles: compact rows, icon beside the title, no empty space. */
@media (max-width: 767px) {
  .gd-bento { gap: var(--space-3); }
  .gd-bento-tile:not(.gd-bento-tile--photo) { padding: var(--space-5) var(--space-5) var(--space-5) 88px; min-height: 0; justify-content: center; }
  .gd-bento-tile:not(.gd-bento-tile--photo) .gd-bento-tile__icon { top: var(--space-5); left: var(--space-5); right: auto; width: 48px; height: 48px; }
  .gd-bento-tile:not(.gd-bento-tile--photo) .gd-bento-tile__arrow { top: 50%; bottom: auto; right: var(--space-4); transform: translateY(-50%); width: 40px; height: 40px; }
  .gd-bento-tile h3 { font-size: 22px; padding-right: 48px; }
  .gd-bento-tile p { font-size: 15px; padding-right: 48px; }
  .gd-bento-tile--photo { min-height: 300px; }
}

/* =====================  Accessibility tools (same layout as the original site)  ===================== */
/* A square tab on the left edge; the panel slides out beside it and the tab rides along. */
.l-a11y { --a11y-top: 168px; --a11y-w: 248px; }
.l-a11y__trigger {
  position: fixed; left: 0; top: var(--a11y-top); z-index: var(--z-popover);
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--purple-800); color: var(--gold-200);
  cursor: pointer; box-shadow: var(--shadow-md); transition: left var(--duration-quick) var(--ease-soft), background var(--duration-quick) var(--ease-soft);
}
.l-a11y__trigger svg { width: 34px; height: 34px; }
.l-a11y__trigger:hover { background: var(--purple-700); }
.l-a11y__trigger:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.l-a11y--open .l-a11y__trigger { left: var(--a11y-w); }
.l-a11y__dot { position: absolute; top: 5px; right: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-200); box-shadow: 0 0 0 2px var(--purple-800); }

.l-a11y__panel {
  position: fixed; left: 0; top: var(--a11y-top); z-index: var(--z-popover);
  width: var(--a11y-w); max-height: calc(100svh - var(--a11y-top) - 16px); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--space-4) var(--space-3) var(--space-3); background: var(--surface-card); color: var(--text-body);
  border: 2px solid var(--purple-800); border-left: 0; border-radius: 0 0 var(--radius-md) 0; box-shadow: var(--shadow-lg);
}
.l-a11y__panel[hidden] { display: none; }
.l-a11y__title { margin: 0 var(--space-2) var(--space-3); font-weight: 700; font-size: 18px; color: var(--text-heading); }
.l-a11y__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.l-a11y__list button {
  display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: 44px; padding: 0 var(--space-2);
  border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-body);
  font: inherit; font-size: 16px; text-align: left; cursor: pointer;
}
.l-a11y__list svg { width: 18px; height: 18px; flex: none; color: var(--text-heading); }
.l-a11y__list button:hover:not(:disabled) { background: var(--bg-lavender); }
.l-a11y__list button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -3px; }
.l-a11y__list button[aria-pressed="true"] { background: var(--purple-700); color: var(--neutral-0); font-weight: 700; }
.l-a11y__list button[aria-pressed="true"] svg { color: var(--gold-200); }
.l-a11y__list button:disabled { opacity: .45; cursor: not-allowed; }
.l-a11y__list li:last-child { margin-top: var(--space-1); padding-top: var(--space-1); border-top: 1px solid var(--border-subtle); }
.l-a11y__size { margin-left: auto; font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--surface-gold-soft); color: var(--text-heading); }

/* Phones and tablets: the same tab, flush left, just above the Call / Enquire bar. */
@media (max-width: 1023px) {
  .l-a11y { --a11y-w: min(248px, calc(100vw - 60px)); }
  .l-a11y__trigger { top: auto; bottom: 84px; width: 46px; height: 46px; }
  .l-a11y__trigger svg { width: 30px; height: 30px; }
  .l-a11y__panel { top: auto; bottom: 84px; max-height: calc(100svh - 160px); border-radius: 0 var(--radius-md) 0 0; }
}

@media (prefers-reduced-motion: reduce) { .l-a11y__trigger { transition: none !important; } }

.l-utility-a11y { background: none; border: 0; padding: 0; font: inherit; color: var(--text-on-brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 1023px) { .gd-header__utility .l-utility-a11y, .gd-header__utility .l-utility-a11y + span { display: none; } }

/* ---- The modes ---- */
html[data-a11y-text="-1"] { zoom: 0.9; }
html[data-a11y-text="1"] { zoom: 1.12; }
html[data-a11y-text="2"] { zoom: 1.25; }
html[data-a11y-text="3"] { zoom: 1.4; }

html[data-a11y-gray] { filter: grayscale(1); }
html[data-a11y-contrast="negative"] { filter: invert(1) hue-rotate(180deg); }
html[data-a11y-contrast="negative"][data-a11y-gray] { filter: invert(1) grayscale(1); }
html[data-a11y-contrast="negative"] :is(img, video, picture) { filter: invert(1) hue-rotate(180deg); }

html[data-a11y-contrast="light"] body *:not(svg, svg *, img) {
  background-color: #ffffff !important; background-image: none !important; color: #111111 !important;
  box-shadow: none !important; text-shadow: none !important;
}
html[data-a11y-contrast="light"] :is(.gd-btn, .l-a11y__trigger, .l-a11y__list button, .gd-finder__chip, .l-finder__chip, .gd-tile, .gd-input, .gd-select, .gd-textarea) { border: 2px solid #111111 !important; }
html[data-a11y-contrast="light"] .l-a11y__list button[aria-pressed="true"] { outline: 3px solid #111111; outline-offset: -6px; }
html[data-a11y-contrast="light"] :is(.gd-sun, .l-art, .gd-orbit) { display: none !important; }
html[data-a11y-contrast="light"] .l-a11y__trigger svg { color: #111111 !important; }

html[data-a11y-underline] a { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }

html[data-a11y-readable] body * { font-family: var(--font-sans) !important; font-style: normal !important; letter-spacing: 0.02em !important; word-spacing: 0.06em; }
html[data-a11y-readable] :is(p, li, dd, label) { line-height: 1.8 !important; }
html[data-a11y-readable] .gd-highlight { font-weight: 700; }

/* ---- Pathway cards (Get support / Callback / Referral / Volunteer) ---- */
.l-paths { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.l-paths a { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-card); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); color: var(--text-body); text-decoration: none; transition: box-shadow var(--duration-quick) var(--ease-soft), border-color var(--duration-quick) var(--ease-soft); }
.l-paths a:hover { border-color: var(--border-accent); box-shadow: var(--shadow-md); }
.l-paths .l-reach__icon { margin-bottom: var(--space-2); }
.l-paths strong { font-family: var(--font-display); font-size: 24px; font-weight: 560; color: var(--text-heading); }
.l-paths__text { color: var(--text-muted); font-size: 16px; flex: 1; }
.l-paths__cta { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; color: var(--text-link); margin-top: var(--space-2); }
.l-paths a:hover .l-paths__cta { text-decoration: underline; }

/* ---- Contact info cards ---- */
.l-contact-info { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.l-contact-info > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: start; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-card); border: 1px solid var(--border-subtle); font-size: 16px; color: var(--text-muted); }
.l-contact-info > div > .gd-icon { color: var(--text-accent); margin-top: 3px; }
.l-contact-info strong { display: block; color: var(--text-heading); font-size: 17px; }

/* ---- About ---- */
.l-values__num { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-accent); margin-bottom: var(--space-1); }
.l-vm { display: grid; gap: var(--space-10); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.l-vm__text { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 1.2vw + 16px, 30px); line-height: 1.35; color: var(--text-on-brand); margin: 0; }

/* ---- FAQ topics ---- */
.l-faq-topics { padding-block: var(--space-8); }
.l-faq-topics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.l-faq-topics a { display: inline-flex; align-items: center; min-height: var(--size-touch-min); padding: 0 var(--space-4); border-radius: var(--radius-pill); background: var(--surface-card); border: 1px solid var(--border-default); color: var(--text-heading); font-weight: 700; font-size: 15px; text-decoration: none; }
.l-faq-topics a:hover { border-color: var(--action-primary); background: var(--bg-lavender); }
.gd-section[id] { scroll-margin-top: 120px; }

/* ---- Form tiles with hints ---- */
.gd-tile.l-tile-stack { align-items: flex-start; }
.l-tile-stack small { display: block; font-weight: 400; font-size: 15px; color: var(--text-muted); margin-top: 2px; }
.gd-tiles.l-tiles-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }

/* ---- Footer newsletter ---- */
.l-footer-news { padding-block: var(--space-8); border-top: 1px solid var(--orbit-line-light); }
.l-news { display: grid; gap: var(--space-2); max-width: 640px; }
.l-news h2 { margin: 0; }
.l-news p { margin: 0; }
.l-news__row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.l-news__row input:not(.l-hp) { flex: 1 1 220px; min-width: 0; min-height: var(--size-control-md); padding: 0 var(--space-4); border-radius: var(--radius-pill); border: 2px solid var(--gold-300); background: var(--neutral-0); color: var(--neutral-900); font: inherit; }
.l-news__row input[aria-invalid="true"] { border-color: var(--error-border); }
.l-news__row button { min-height: var(--size-control-md); padding: 0 var(--space-6); border-radius: var(--radius-pill); border: 0; background: var(--action-accent); color: var(--action-accent-fg); font: inherit; font-weight: 700; cursor: pointer; }
.l-news__row button:hover { background: var(--action-accent-hover); }
.l-news__msg { min-height: 1.4em; color: var(--gold-200); font-size: 15px; }
.l-news__done { color: var(--text-on-brand); margin: 0; }

/* ---- Hero fits one screen: sizes follow the viewport height as well as width ---- */
.l-hero { min-height: 0; padding-block: clamp(24px, 4svh, 64px) clamp(32px, 6svh, 80px); }
.l-hero__copy h1 { font-size: clamp(36px, min(6.2vw, 8.6svh), 92px); line-height: 1.02; margin-bottom: clamp(12px, 2svh, 24px); }
.l-hero__copy .gd-lead { font-size: clamp(17px, min(1.6vw, 2.4svh), 22px); margin: 0; }
.l-hero__actions { margin-top: clamp(16px, 3svh, 32px); }
.l-hero__trust { margin-top: clamp(14px, 2.5svh, 32px); }
@media (min-width: 768px) {
  .l-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-10); }
  /* Arch is ~4:5 plus its outline; cap by the height left under the header. */
  .l-hero__media, .l-hero__media--signature { max-width: min(460px, calc((100svh - 230px) * 0.74)); justify-self: end; margin-inline: 0; }
}
@media (min-width: 1024px) {
  .l-hero { min-height: calc(100svh - 129px); }
}
/* Phones: headline, promise and both buttons on the first screen; the photo follows. */
@media (max-width: 767px) {
  .l-hero { padding-block: var(--space-6) var(--space-10); }
  .l-hero__grid { gap: var(--space-8); }
  .l-hero__copy h1 { font-size: clamp(32px, min(9.6vw, 6.4svh), 42px); }
  .l-hero__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2); }
  .l-hero__actions .gd-btn { width: 100%; justify-content: center; padding-inline: var(--space-3); font-size: 17px; min-height: 52px; }
  .l-hero__trust { font-size: 14px; gap: var(--space-3); }
  .l-hero__trust .gd-six, .l-hero__trust > svg { display: none; }
  /* Phones: the photo becomes a softly darkened backdrop so the promise and buttons still fit one screen. */
  .l-hero { position: relative; isolation: isolate; }
  .l-hero__grid { gap: 0; }
  .l-hero__media, .l-hero__media--signature { position: absolute; inset: 0; z-index: -1; max-width: none; margin: 0; }
  .l-hero__media .gd-arch-wrap, .l-hero__media .gd-arch { position: absolute; inset: 0; width: auto; height: auto; max-width: none; aspect-ratio: auto; border-radius: 0; margin: 0; padding: 0; border: 0; outline: 0; box-shadow: none; clip-path: none; animation: none; transform: none; }
  .l-hero__media .gd-arch-wrap::before, .l-hero__media .gd-arch-wrap::after, .l-hero__media .gd-arch::before { display: none; }
  .l-hero__media .gd-arch > * { animation: none; }
  .l-hero__media .l-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
  .l-hero__media .gd-arch::after { content: ""; display: block; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 8 36 / .50) 0%, rgb(20 8 36 / .74) 45%, rgb(20 8 36 / .93) 100%); }
  .l-hero .gd-orbit, .l-hero .gd-sun { display: none; }
}
@media (max-width: 359px) { .l-hero__actions { grid-template-columns: minmax(0, 1fr); } }

/* ---- "Which best describes you?" router ---- */
.l-who { padding-block: var(--space-12) var(--space-16); }
.l-who__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-3) var(--space-8); margin-bottom: var(--space-8); }
.l-who__head h2 { margin: 0; }
.l-who__head p.gd-muted { margin: 0; }
.l-who__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .l-who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .l-who__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.l-who__text { min-width: 0; overflow-wrap: break-word; }
.l-who__grid a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; height: 100%; min-height: 88px; padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); background: var(--surface-card); box-shadow: var(--shadow-xs); color: var(--text-body); text-decoration: none; transition: border-color var(--duration-quick) var(--ease-soft), background var(--duration-quick) var(--ease-soft); }
.l-who__grid a:hover { border-color: var(--action-primary); background: var(--bg-lavender); }
.l-who__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--purple-700); color: var(--gold-200); }
.l-who__grid li:nth-child(-n+2) .l-who__icon { background: var(--gold-200); color: var(--purple-800); }
.l-who__text strong { display: block; color: var(--text-heading); font-size: 18px; line-height: 1.3; }
.l-who__text span { display: block; font-size: 15px; color: var(--text-muted); margin-top: 2px; }
.l-who__arrow { color: var(--text-link); }
@media (max-width: 640px) { .l-who__grid a { min-height: 72px; padding: var(--space-3) var(--space-4); } .l-who__icon { width: 40px; height: 40px; } .l-who__text strong { font-size: 17px; } }

/* Phones: keep the wordmark on two clean lines beside the theme and menu buttons. */
.gd-logo__word small { white-space: nowrap; }
@media (max-width: 420px) {
  .gd-logo { gap: var(--space-2); }
  .gd-logo__chip { width: 44px; height: 44px; }
  .gd-logo__chip img { width: 30px; height: 30px; }
  .gd-logo__word { font-size: 19px; }
  .gd-logo__word small { font-size: 9.5px; letter-spacing: 0.14em; }
  .gd-header__actions { gap: var(--space-2); }
}
@media (max-width: 340px) { .gd-logo__word { font-size: 17px; } .gd-logo__word small { font-size: 8px; letter-spacing: 0.08em; } }

/* Device in dark mode: only the header turns to the brand's dark purple (the design system's
   own dark tokens, scoped to the header); the rest of the page stays light. */
@media (prefers-color-scheme: dark) {
  html[data-theme="light"]:not([data-a11y-contrast]) .gd-header {
  --bg-page: #140b1d;
  --bg-subtle: #1a1025;
  --bg-cream: #1e1428;
  --bg-lavender: #21132f;
  --bg-brand: #2d1342;
  --bg-brand-deep: #0d0614;
  --bg-twilight: #0a0410;
  --surface-card: #22152e;
  --surface-raised: #2b1b39;
  --surface-sunken: #100817;
  --surface-gold: var(--gold-200);
  --surface-gold-soft: #2e2216;
  --text-heading: #f7eedc;
  --text-body: #e9e1ee;
  --text-muted: #b9aec2;
  --text-link: var(--purple-300);
  --text-link-hover: var(--gold-300);
  --text-accent: var(--gold-300);
  --text-on-brand: var(--neutral-0);
  --text-on-brand-muted: #d3c5df;
  --text-on-brand-accent: var(--gold-200);
  --text-on-gold: var(--purple-900);
  --text-disabled: #6e6378;
  --action-primary: var(--gold-200);
  --action-primary-hover: var(--gold-300);
  --action-primary-active: var(--gold-400);
  --action-primary-fg: var(--purple-900);
  --action-accent: var(--gold-200);
  --action-accent-hover: var(--gold-300);
  --action-accent-fg: var(--purple-900);
  --action-secondary-border: var(--purple-300);
  --action-secondary-fg: #ede3f5;
  --action-ghost-hover: #2b1b39;
  --border-subtle: #35263f;
  --border-default: #4a3a58;
  --border-control: #9c8fa8;
  --border-strong: var(--purple-300);
  --focus-ring: var(--gold-300);
  --focus-ring-inverse: var(--gold-300);
  --success-fg: #7fd4a6;
  --success-bg: #12291d;
  --success-border: #3e9a6a;
  --warning-fg: #f2c46b;
  --warning-bg: #2e2210;
  --warning-border: #b8860b;
  --error-fg: #ff9c94;
  --error-bg: #34141a;
  --error-border: #e0605a;
  --info-fg: #8dbbf2;
  --info-bg: #11213a;
  --info-border: #4f86c6;
  --orbit-line: rgba(233, 205, 140, 0.4);
  --orbit-line-light: rgba(195, 166, 218, 0.22);
  --overlay-scrim: rgba(0, 0, 0, 0.7);
  --overlay-hero: rgba(13, 6, 20, 0.78);
    color-scheme: dark;
    color: var(--text-body);
  }
}

/* Phones: the services orbit is a decoration; it sat on top of the headline, so it is hidden here */
@media (max-width: 899px) { .l-services-hero__media { display: none; } }
/* Long email address in the contact cards: always fits inside the card */
.l-reach a > span:not(.l-reach__icon) { min-width: 0; }
.l-reach--small strong { overflow-wrap: anywhere; font-size: 14.5px; }
@media (min-width: 430px) { .l-reach--small strong { font-size: clamp(17px, .6vw + 13px, 22px); } }

/* Date field: never wider than its box (iOS draws it wider than the column), text on the left */
.gd-input[type="date"] { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; -webkit-appearance: none; appearance: none; text-align: left; }
.gd-input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.gd-form-grid .l-span-all { grid-column: 1 / -1; }

/* Services cards: a short colour band with the icon in a round chip at the left (was a tall arch with the icon floating in the middle) */
.l-svc__arch { height: 112px; border-radius: var(--radius-lg); place-items: center start; padding-inline: var(--space-5); }
.l-svc__sun { width: 140px; height: 140px; left: auto; right: -30px; bottom: -70px; translate: 0 0; }
.l-svc:hover .l-svc__sun, .l-svc:focus-within .l-svc__sun { transform: translateY(-12px); }
.l-svc__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--neutral-0); box-shadow: 0 2px 10px rgb(45 19 66 / .18); }
.l-svc__arch--purple .l-svc__icon { color: var(--purple-800); }
.l-svc__arch--gold .l-svc__icon, .l-svc__arch--lavender .l-svc__icon { color: var(--purple-800); }
.l-svc__icon .gd-icon { width: 34px; height: 34px; }
.l-svc:hover .l-svc__icon, .l-svc:focus-within .l-svc__icon { transform: scale(1.06); }

/* ---- Back to top ---- */
.l-totop {
  position: fixed; right: var(--space-4); bottom: calc(var(--space-4) + 76px); z-index: var(--z-sticky);
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%;
  border: 2px solid var(--gold-300); background: var(--purple-700); color: var(--gold-200); cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 250ms var(--ease-out-expo), transform 250ms var(--ease-out-expo), visibility 250ms, background-color 200ms;
}
.l-totop[data-show="true"] { opacity: 1; visibility: visible; transform: none; }
.l-totop:hover { background: var(--purple-800); }
.l-totop:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.l-totop .gd-icon { width: 26px; height: 26px; }
@media (min-width: 1024px) { .l-totop { bottom: var(--space-6); right: var(--space-6); width: 56px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { .l-totop { transition: none; transform: none; } }
html[data-a11y-contrast="light"] .l-totop { border: 2px solid #111111; }

/* Form footer: the privacy note on its own tidy block, the send button underneath */
.gd-form-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); justify-content: stretch; align-items: start; }
.l-privacy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: start; margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-muted); }
.l-privacy .gd-icon { margin-top: 3px; color: var(--text-accent); }
.l-privacy strong { color: var(--text-heading); font-weight: 600; }
.gd-form-foot > .gd-btn { justify-self: start; }
@media (max-width: 639px) { .gd-form-foot > .gd-btn { justify-self: stretch; } }
.l-privacy strong { display: block; }

/* Address, social links, office */
.l-address { font-style: normal; display: block; }
.l-contact-info .l-address { margin: 2px 0 4px; color: var(--text-body); }
.l-social { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.l-social a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; color: var(--text-on-brand); text-decoration: underline; text-underline-offset: 3px; }
.l-social .gd-icon { width: 22px; height: 22px; }
.gd-footer li address { margin: 0; }

/* Contact: info cards sit under the form on phones, under the call options on desktop. */
.l-contact__info { margin-top: 0; }
@media (min-width: 960px) {
  .l-contact { grid-template-areas: "ways form" "info form"; grid-template-rows: auto 1fr; row-gap: var(--space-6); }
  .l-contact > :nth-child(1) { grid-area: ways; }
  .l-contact__form { grid-area: form; }
  .l-contact__info { grid-area: info; }
}

/* "(optional …)" notes inside bold labels/legends stay regular weight. */
.gd-fieldset legend .gd-muted, .gd-label .gd-muted, label .gd-muted { font-weight: 400; }

/* Official NDIS mark: the round logo plus live text, so no white box on the dark footer. */
.l-ndis { display: flex; align-items: center; gap: var(--space-4); margin-block: var(--space-2); }
.l-ndis img { width: 72px; height: 72px; flex: none; }
.l-ndis p { margin: 0; line-height: 1.35; color: var(--text-on-brand-muted); font-size: 15px; }
.l-ndis strong { display: block; color: var(--text-on-brand); font-size: 18px; }

/* CV file picker */
.l-file { padding: var(--space-3); height: auto; }
.l-file::file-selector-button { margin-right: var(--space-3); padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border-accent); background: var(--surface-card); color: var(--text-link); font: inherit; font-weight: 700; cursor: pointer; }

/* Pathways ("Get involved", "More ways to connect"): always one row that scrolls sideways. */
.l-paths { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--space-4); gap: var(--space-4); margin-inline: calc(var(--space-4) * -1); padding: 4px var(--space-4) var(--space-4); -webkit-overflow-scrolling: touch; }
.l-paths > li { flex: 0 0 min(78%, 300px); scroll-snap-align: start; }
@media (min-width: 720px) { .l-paths > li { flex-basis: 290px; } }

/* Services menu: compact so all ten services plus "All services" fit on screen. */
.l-mega-wrap .gd-mega { max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; }
.l-mega-wrap .gd-mega__inner { padding: var(--space-5) var(--space-6); gap: var(--space-6); }
.l-mega-wrap .gd-mega__list { gap: 2px var(--space-3); }
.l-mega-wrap .gd-mega__item { align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); }
.l-mega-wrap .gd-mega__icon { width: 36px; height: 36px; }
.l-mega-wrap .gd-mega__item strong { font-size: 16px; margin: 0; }
.l-mega-wrap .gd-mega__item span span { display: none; }

/* Job application: requirement answers sit in two columns on wide screens */
.l-reqs { display: grid; gap: var(--space-5); }
@media (min-width: 700px) { .l-reqs { grid-template-columns: 1fr 1fr; } }
.l-reqs { margin-top: var(--space-4); }
.l-reqs .gd-field { display: flex; flex-direction: column; height: 100%; }
.l-reqs .gd-select { margin-top: auto; }
.l-reqs .gd-hint { margin-bottom: var(--space-2); }
.l-reqs > .gd-field { margin: 0; }
