/* ============================================================
   Disability Dream Care — style.css
   Architecture: @layer reset, tokens, base, layout, components,
                 animations, utilities, pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Open+Sans:ital,wght@0,300..700;1,300..400&display=swap');

/* ============================================================
   LAYER ORDER DECLARATION
   ============================================================ */
@layer reset, tokens, base, layout, components, animations, utilities, pages;

/* ============================================================
   LAYER: reset
   ============================================================ */
@layer reset {

  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-height: 100vh;
    line-height: 1.6;
  }

  img,
  picture,
  video,
  canvas,
  svg {
    display: block;
    max-width: 100%;
  }

  input,
  button,
  textarea,
  select {
    font: inherit;
  }

  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    overflow-wrap: break-word;
  }

  ul,
  ol {
    list-style: none;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  button {
    cursor: pointer;
    border: none;
    background: none;
  }

  table {
    border-collapse: collapse;
  }
}

/* ============================================================
   LAYER: tokens
   ============================================================ */
@layer tokens {
  :root {
    /* ─── Primary Brand ─────────────────────────── */
    --color-primary: #2f0b83;
    --color-primary-mid: #6610f2;
    --color-primary-light: #8f2bd6;

    /* ─── Accent / Care Highlight ───────────────── */
    --color-accent: #d63384;
    --color-accent-hover: #b5206a;
    --color-accent-light: #f7c6e0;

    /* ─── Gradients ──────────────────────────────── */
    --gradient-brand: linear-gradient(135deg, #6610f2 0%, #d63384 100%);
    --gradient-deep: linear-gradient(135deg, #2f0b83 0%, #6610f2 60%, #d63384 100%);
    --gradient-soft: linear-gradient(135deg, #f1ecf7 0%, #fce8f3 100%);

    /* ─── Neutral Surfaces ───────────────────────── */
    --color-bg: #f6f4f9;
    --color-surface: #ffffff;
    --color-surface-soft: #f1ecf7;
    --color-surface-mid: #e8dfef;
    --color-border: rgba(70, 20, 120, 0.13);

    /* ─── Text ───────────────────────────────────── */
    --color-text: #24114d;
    --color-text-muted: #5f4d7a;
    --color-text-faint: #9e8fb5;
    --color-text-inverse: #ffffff;

    /* ─── Feedback States ───────────────────────── */
    --color-success: #1e7e34;
    --color-success-bg: #d4edda;
    --color-error: #c0392b;
    --color-error-bg: #fce8e6;
    --color-warning: #856404;
    --color-warning-bg: #fff3cd;

    /* ─── Spacing (4px base) ─────────────────────── */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* ─── Type Scale ─────────────────────────────── */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
    --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
    --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
    --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

    /* ─── Radius ─────────────────────────────────── */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* ─── Shadows ────────────────────────────────── */
    --shadow-xs: 0 2px 6px rgba(64, 12, 122, 0.07);
    --shadow-sm: 0 4px 14px rgba(64, 12, 122, 0.10);
    --shadow-md: 0 8px 28px rgba(64, 12, 122, 0.13);
    --shadow-lg: 0 16px 48px rgba(64, 12, 122, 0.18);

    /* ─── Typography ─────────────────────────────── */
    --font-display: 'Nunito', 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', 'Helvetica Neue', sans-serif;

    /* ─── Transitions ─────────────────────────────── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 200ms var(--ease-out);

    /* ─── Layout ─────────────────────────────────── */
    --container-max: 1280px;
    --container-pad: var(--space-6);
    --header-height: 72px;
    --utility-bar-height: 38px;
  }
}

/* ============================================================
   LAYER: base
   ============================================================ */
@layer base {
  html {
    font-size: 16px;
    scroll-padding-top: calc(var(--utility-bar-height) + var(--header-height) + 16px);
  }

  body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary);
  }

  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  h3 {
    font-size: var(--text-xl);
  }

  h4 {
    font-size: var(--text-lg);
  }

  h5 {
    font-size: var(--text-base);
    font-weight: 700;
  }

  h6 {
    font-size: var(--text-sm);
    font-weight: 700;
  }

  p {
    margin-bottom: var(--space-4);
  }

  p:last-child {
    margin-bottom: 0;
  }

  a {
    transition: color var(--transition);
  }

  strong {
    font-weight: 700;
  }

  em {
    font-style: italic;
  }

  /* Skip link */
  .skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--color-primary);
    color: var(--color-text-inverse);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
  }

  .skip-link:focus {
    top: var(--space-2);
  }

  /* Focus styles for accessibility */
  :focus-visible {
    outline: 3px solid var(--color-primary-mid);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
  }
}

/* ============================================================
   LAYER: layout
   ============================================================ */
@layer layout {
  .container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
  }

  .section {
    padding-block: var(--space-20);
  }

  .section-sm {
    padding-block: var(--space-12);
  }

  .section-lg {
    padding-block: var(--space-24);
  }

  /* Grid helpers */
  .grid-2 {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
  }

  .grid-3 {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
  }

  .grid-4 {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
  }

  @media (min-width: 640px) {
    .grid-2 {
      grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 768px) {
    .grid-3 {
      grid-template-columns: repeat(2, 1fr);
    }

    --container-pad: var(--space-8);
  }

  @media (min-width: 1024px) {
    .grid-3 {
      grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  /* Two-column content + sidebar */
  .content-sidebar {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
  }

  @media (min-width: 1024px) {
    .content-sidebar {
      grid-template-columns: 1fr 340px;
      align-items: start;
    }
  }

  /* Service layout */
  .service-layout {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
  }

  @media (min-width: 1024px) {
    .service-layout {
      grid-template-columns: 1fr 320px;
      align-items: start;
    }
  }
}

/* ============================================================
   LAYER: components
   ============================================================ */
@layer components {

  /* ─── Utility Bar ────────────────────────────── */
  .utility-bar {
    background: var(--gradient-deep);
    color: var(--color-text-inverse);
    height: var(--utility-bar-height);
    display: flex;
    align-items: center;
    font-size: var(--text-xs);
    font-family: var(--font-body);
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  }

  .utility-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }

  .utility-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
  }

  .utility-bar-left,
  .utility-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }

  .utility-bar-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: color var(--transition);
    white-space: nowrap;
  }

  .utility-bar-item:hover {
    color: #ffffff;
  }

  .utility-bar-item i {
    font-size: 0.8rem;
    opacity: 0.85;
  }

  .utility-bar-cta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 700;
    font-size: var(--text-xs);
    padding: 0.2rem var(--space-3);
    border-radius: var(--radius-full);
    transition: background var(--transition), border-color var(--transition);
    white-space: nowrap;
  }

  .utility-bar-cta:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
  }

  @media (max-width: 639px) {
    .utility-bar-left .utility-bar-item:not(.utility-bar-item--phone) {
      display: none;
    }

    .utility-bar .container {
      justify-content: center;
      gap: var(--space-6);
    }
  }

  /* ─── Utility Bar Social Icons ──────────────── */
  .utility-bar-social {
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }

  .utility-bar-social-link {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
  }

  .utility-bar-social-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
  }

  .utility-bar-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.22);
    margin: 0 var(--space-1);
  }

  @media (max-width: 860px) {

    .utility-bar-social,
    .utility-bar-divider {
      display: none;
    }
  }

  /* ─── Header ─────────────────────────────────── */
  .site-header {
    background: var(--color-surface);
    position: sticky;
    top: var(--utility-bar-height);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
    transition: background 0.4s var(--ease-out),
      box-shadow 0.4s var(--ease-out),
      border-color 0.4s var(--ease-out),
      backdrop-filter 0.4s var(--ease-out);
  }

  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
  }

  /* Utility bar hidden: header slides to top (JS also sets inline top:0) */
  .utility-bar.hidden+header.site-header {
    top: 0;
  }

  /* ─── Transparent header on homepage ────────── */
  /* When page has hero image and user is at the top */
  body.has-transparent-header .utility-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
  }

  body.has-transparent-header .site-header {
    position: fixed;
    top: var(--utility-bar-height);
    left: 0;
    right: 0;
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    transition: background 0.4s var(--ease-out),
      box-shadow 0.4s var(--ease-out),
      border-color 0.4s var(--ease-out),
      top 0.3s var(--ease-out),
      backdrop-filter 0.4s var(--ease-out);
  }

  body.has-transparent-header .site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
  }

  /* Hide utility bar when it scrolls away (JS adds .hidden) */
  body.has-transparent-header .utility-bar.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s var(--ease-out);
  }

  body.has-transparent-header .utility-bar:not(.hidden) {
    transition: transform 0.3s var(--ease-out);
  }

  /* Nav links go white on transparent header */
  body.has-transparent-header .site-header:not(.scrolled) .nav-link,
  body.has-transparent-header .site-header:not(.scrolled) .nav-services-btn {
    color: rgba(255, 255, 255, 0.92);
  }

  body.has-transparent-header .site-header:not(.scrolled) .nav-link:hover,
  body.has-transparent-header .site-header:not(.scrolled) .nav-services-btn:hover,
  body.has-transparent-header .site-header:not(.scrolled) .nav-services-btn[aria-expanded="true"] {
    background: transparent;
    color: #ffffff;
  }

  body.has-transparent-header .site-header:not(.scrolled) .nav-link[aria-current="page"]::after {
    background: rgba(255, 255, 255, 0.8);
  }

  /* Hamburger bars go white */
  body.has-transparent-header .site-header:not(.scrolled) .hamburger span {
    background: #ffffff;
  }

  /* CTA button keep primary on transparent header */
  body.has-transparent-header .site-header:not(.scrolled) .header-cta {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
  }

  body.has-transparent-header .site-header:not(.scrolled) .header-cta:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    width: 100%;
  }

  .site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
  }

  .site-logo-img {
    height: clamp(50px, 6vw, 75px);
    width: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    transition: opacity 0.35s var(--ease-out);
  }

  /* ─── Dual logo (colour / white) ────────────── */
  .logo-white {
    display: none;
    mix-blend-mode: normal;
  }

  .logo-colour {
    display: block;
  }

  /* Transparent-header state: show white, hide colour */
  body.has-transparent-header .site-header:not(.scrolled) .logo-colour {
    display: none;
  }

  body.has-transparent-header .site-header:not(.scrolled) .logo-white {
    display: block;
  }

  /* After scroll: show colour, hide white */
  body.has-transparent-header .site-header.scrolled .logo-white {
    display: none;
  }

  body.has-transparent-header .site-header.scrolled .logo-colour {
    display: block;
  }

  /* ─── Main Nav ───────────────────────────────── */
  .main-nav {
    display: none;
    align-items: center;
    gap: var(--space-2);
  }

  @media (min-width: 1024px) {
    .main-nav {
      display: flex;
    }
  }

  .main-nav .nav-link {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: color var(--transition), background var(--transition);
    position: relative;
    white-space: nowrap;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link[aria-current="page"] {
    color: var(--color-primary);
    background: transparent;
  }

  /* Underline indicator — active page only */
  .main-nav .nav-link[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: var(--space-3);
    right: var(--space-3);
    height: 2px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
  }

  /* Underline on hover too — no background */
  .main-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: var(--space-3);
    right: var(--space-3);
    height: 2px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    opacity: 0.55;
  }

  /* Services dropdown trigger */
  .nav-services-wrap {
    position: relative;
  }

  .nav-services-btn {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: color var(--transition), background var(--transition);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    cursor: pointer;
    white-space: nowrap;
    background: none;
    border: none;
  }

  .nav-services-btn:hover,
  .nav-services-btn[aria-expanded="true"] {
    color: var(--color-primary);
    background: transparent;
  }

  .nav-services-btn .chevron {
    font-size: 0.65rem;
    transition: transform 0.2s var(--ease-out);
  }

  .nav-services-btn[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
  }

  /* ─── Mega Dropdown ──────────────────────────── */
  .mega-dropdown {
    position: absolute;
    top: calc(100% + var(--space-3));
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-6);
    width: 560px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s var(--ease-out),
      transform 0.2s var(--ease-out),
      visibility 0.2s;
    z-index: 100;
  }

  .mega-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .mega-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    transition: background var(--transition), color var(--transition);
  }

  .mega-dropdown-item:hover {
    background: var(--color-surface-soft);
    color: var(--color-primary);
  }

  .mega-dropdown-item i {
    width: 20px;
    font-size: 1rem;
    color: var(--color-primary-mid);
    flex-shrink: 0;
    text-align: center;
    transition: color var(--transition);
  }

  .mega-dropdown-item:hover i {
    color: var(--color-accent);
  }

  /* ─── Header Right Cluster ─────────────────── */
  .header-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
  }

  /* ─── NDIS Badge in Header ───────────────────── */
  .header-ndis-badge {
    display: none;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }

  .header-ndis-badge:hover {
    opacity: 0.85;
    transform: translateY(-1px);
  }

  .ndis-logo-img {
    height: 40px;
    width: auto;
    display: block;
    /* Slight invert when header is transparent so the badge reads on dark */
  }

  @media (min-width: 1024px) {
    .header-ndis-badge {
      display: flex;
    }
  }

  /* Lighten NDIS badge on transparent header for contrast on dark image */
  body.has-transparent-header .site-header:not(.scrolled) .ndis-logo-img {
    filter: brightness(1.15);
  }

  /* ─── Header CTA Button ──────────────────────── */
  .header-cta {
    display: none;
  }

  @media (min-width: 1024px) {
    .header-cta {
      display: flex;
    }
  }

  /* ─── Hamburger ──────────────────────────────── */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    background: none;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
  }

  .hamburger:hover {
    background: var(--color-surface-soft);
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: transform 0.3s var(--ease-out),
      opacity 0.3s var(--ease-out),
      width 0.3s var(--ease-out);
  }

  .hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  @media (min-width: 1024px) {
    .hamburger {
      display: none;
    }
  }

  /* ─── Mobile Nav Overlay ─────────────────────── */
  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(47, 11, 131, 0.55);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), visibility 0.3s;
  }

  .mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100vw);
    height: 100%;
    background: var(--color-surface);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
  }

  .mobile-nav-panel.is-open {
    transform: translateX(0);
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-nav-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-size: 1.2rem;
    transition: background var(--transition), color var(--transition);
  }

  .mobile-nav-close:hover {
    background: var(--color-surface-soft);
    color: var(--color-primary);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
  }

  .mobile-nav-link {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text);
    padding: var(--space-3) var(--space-2);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color var(--transition);
  }

  .mobile-nav-link:hover,
  .mobile-nav-link[aria-current="page"] {
    color: var(--color-primary);
  }

  .mobile-services-toggle {
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text);
    padding: var(--space-3) var(--space-2);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    transition: color var(--transition);
    cursor: pointer;
  }

  .mobile-services-toggle:hover {
    color: var(--color-primary);
  }

  .mobile-services-toggle .chevron {
    font-size: 0.65rem;
    transition: transform 0.2s var(--ease-out);
  }

  .mobile-services-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
  }

  .mobile-services-submenu {
    display: none;
    flex-direction: column;
    padding-left: var(--space-4);
    background: var(--color-surface-soft);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
  }

  .mobile-services-submenu.is-open {
    display: flex;
  }

  .mobile-services-submenu a {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    padding: var(--space-2) var(--space-2);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: color var(--transition);
  }

  .mobile-services-submenu a:last-child {
    border-bottom: none;
  }

  .mobile-services-submenu a:hover {
    color: var(--color-primary);
  }

  .mobile-nav-cta {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  /* ─── Buttons ────────────────────────────────── */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-sm);
    padding: 0.7rem var(--space-6);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.4;
  }

  .btn-primary {
    background: var(--gradient-brand);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(102, 16, 242, 0.3);
  }

  .btn-primary:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 24px rgba(102, 16, 242, 0.4);
    transform: translateY(-1px);
    color: #ffffff;
  }

  .btn-accent {
    background: var(--color-accent);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(214, 51, 132, 0.3);
  }

  .btn-accent:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 6px 24px rgba(214, 51, 132, 0.4);
    transform: translateY(-1px);
    color: #ffffff;
  }

  .btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
  }

  .btn-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-1px);
  }

  .btn-outline-white {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
  }

  .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-1px);
  }

  .btn-sm {
    font-size: var(--text-xs);
    padding: 0.45rem var(--space-4);
  }

  .btn-lg {
    font-size: var(--text-base);
    padding: 0.9rem var(--space-8);
  }

  .btn-block {
    display: flex;
    width: 100%;
  }

  /* ─── Section Label Chip ─────────────────────── */
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-surface-soft);
    color: var(--color-primary-mid);
    font-size: var(--text-xs);
    font-weight: 700;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem var(--space-3);
    border-radius: var(--radius-full);
    border: 1px solid rgba(102, 16, 242, 0.18);
    margin-bottom: var(--space-4);
  }

  .section-label--white {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
  }

  /* ─── Section Heading ────────────────────────── */
  .section-heading {
    margin-bottom: var(--space-4);
  }

  .section-heading .eyebrow {
    display: block;
    margin-bottom: var(--space-3);
  }

  .section-heading h2 {
    margin-bottom: var(--space-4);
  }

  .section-heading p {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    max-width: 56ch;
  }

  .section-heading.centered {
    text-align: center;
  }

  .section-heading.centered p {
    margin-inline: auto;
  }

  /* ─── Page Hero ──────────────────────────────── */
  .page-hero {
    background-color: var(--color-primary-dark);
    background-size: cover;
    background-position: center;
    color: white;
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 30, 67, 0.9) 0%, rgba(8, 30, 67, 0.5) 100%);
    z-index: 0;
  }

  .hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.25;
    pointer-events: none;
  }

  .hero-blob-1 {
    width: clamp(300px, 50vw, 600px);
    height: clamp(300px, 50vw, 600px);
    top: -200px;
    right: -100px;
    background: var(--color-accent);
  }

  .hero-blob-2 {
    width: clamp(200px, 35vw, 400px);
    height: clamp(200px, 35vw, 400px);
    bottom: -150px;
    left: -80px;
    background: var(--color-primary-mid);
  }

  .page-hero .container {
    position: relative;
    z-index: 1;
  }

  .breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
  }

  .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
  }

  .breadcrumb a:hover {
    color: white;
  }

  .breadcrumb i {
    font-size: 0.6rem;
    opacity: 0.5;
  }

  .breadcrumb span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
  }

  .page-hero h1 {
    color: white;
    margin-bottom: var(--space-4);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 60ch;
    margin-bottom: var(--space-8);
  }

  .hero-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    align-items: center;
  }

  /* ─── Service Card ───────────────────────────── */
  .service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: opacity var(--transition);
  }

  .service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }

  .service-card:hover::before {
    opacity: 1;
  }

  .service-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--space-4);
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }

  .service-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 1;
  }

  .service-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
  }

  .service-card .learn-more {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-primary-mid);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    position: relative;
    z-index: 1;
    transition: gap var(--transition);
  }

  .service-card:hover .learn-more {
    gap: var(--space-2);
  }

  /* ─── Feature / Stat Cards ───────────────────── */
  .stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition), transform var(--transition);
  }

  .stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }

  .stat-card .stat-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto var(--space-4);
  }

  .stat-card h3 {
    font-size: var(--text-lg);
    font-weight: 800;
    margin-bottom: var(--space-2);
  }

  .stat-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
  }

  /* ─── CTA Band ───────────────────────────────── */
  .cta-band {
    background: var(--gradient-brand);
    padding: var(--space-16) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
  }

  .cta-band .container {
    position: relative;
    z-index: 1;
  }

  .cta-band h2 {
    color: white;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
  }

  .cta-band p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-lg);
    max-width: 55ch;
    margin: 0 auto var(--space-8);
  }

  .cta-band .btn-group {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ─── Cards / Panels ─────────────────────────── */
  .card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-xs);
  }

  .card-elevated {
    box-shadow: var(--shadow-md);
  }

  /* ─── Sidebar Cards ──────────────────────────── */
  .sidebar-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-xs);
    margin-bottom: var(--space-4);
  }

  .sidebar-card:last-child {
    margin-bottom: 0;
  }

  .sidebar-card h4 {
    font-size: var(--text-base);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border);
  }

  .sidebar-card h4 i {
    color: var(--color-primary-mid);
  }

  .sidebar-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
  }

  .sidebar-contact {
    background: var(--gradient-soft);
  }

  /* ─── NDIS Badge ─────────────────────────────── */
  .badge-ndis {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--gradient-brand);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 0.4rem var(--space-3);
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
  }

  /* ─── Related links ──────────────────────────── */
  .related-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }

  .related-list a {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-mid);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: gap var(--transition), color var(--transition);
  }

  .related-list a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
  }

  .related-list a:hover {
    color: var(--color-primary);
    gap: var(--space-3);
  }

  /* ─── Checklist ──────────────────────────────── */
  .checklist {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }

  .checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    line-height: 1.6;
  }

  .checklist li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-primary-mid);
    margin-top: 0.1em;
    flex-shrink: 0;
  }

  /* ─── Outcome Grid ───────────────────────────── */
  .outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }

  .outcome-card {
    background: var(--gradient-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  .outcome-card i {
    color: var(--color-primary-mid);
    flex-shrink: 0;
  }

  /* ─── CTA Box ────────────────────────────────── */
  .cta-box {
    background: var(--gradient-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    margin-top: var(--space-8);
  }

  .cta-box p {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
  }

  .cta-box .btn-group {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ─── Service Content Article ─────────────────── */
  .service-content h2 {
    font-size: var(--text-xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
  }

  .service-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  /* ─── Trust Bar ──────────────────────────────── */
  .trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    padding: var(--space-4) 0;
  }

  .trust-bar-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
  }

  .trust-bar-item i {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
  }

  .trust-bar-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.25);
  }

  @media (max-width: 639px) {
    .trust-bar-sep {
      display: none;
    }

    .trust-bar {
      gap: var(--space-3);
    }
  }

  /* ─── Forms ──────────────────────────────────── */
  .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-5);
  }

  .form-group:last-of-type {
    margin-bottom: 0;
  }

  .form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }

  .form-label .req {
    color: var(--color-accent);
    font-weight: 700;
  }

  .form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: var(--font-body);
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
    line-height: 1.5;
  }

  .form-control::placeholder {
    color: var(--color-text-faint);
  }

  .form-control:focus {
    outline: none;
    border-color: var(--color-primary-mid);
    box-shadow: 0 0 0 3px rgba(102, 16, 242, 0.12);
  }

  .form-control.is-invalid {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
  }

  .form-control.is-valid {
    border-color: var(--color-success);
  }

  textarea.form-control {
    resize: vertical;
    min-height: 120px;
  }

  select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235f4d7a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-8);
  }

  .form-error {
    font-size: var(--text-xs);
    color: var(--color-error);
    min-height: 1.2em;
    margin-top: var(--space-1);
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }

  .form-hint {
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    margin-top: var(--space-1);
  }

  .form-char-count {
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    text-align: right;
    margin-top: var(--space-1);
  }

  .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  @media (min-width: 640px) {
    .form-grid-2 {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-4);
    }
  }

  .form-section {
    margin-bottom: var(--space-8);
  }

  .form-section fieldset {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    background: var(--color-surface);
  }

  .form-section legend {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 800;
    color: var(--color-primary);
    padding: 0 var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }

  .form-section legend i {
    color: var(--color-primary-mid);
  }

  /* Checkbox / Radio */
  .form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
  }

  .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-primary-mid);
    cursor: pointer;
  }

  .form-check-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.5;
    cursor: pointer;
  }

  .services-check-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  @media (min-width: 640px) {
    .services-check-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .form-success {
    display: none;
    align-items: flex-start;
    gap: var(--space-4);
    background: var(--color-success-bg);
    border: 1px solid #c3e6cb;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    color: var(--color-success);
    margin-top: var(--space-4);
  }

  .form-success.is-visible {
    display: flex;
  }

  .form-success-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .form-success h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-success);
    margin-bottom: var(--space-1);
  }

  .form-success p {
    font-size: var(--text-sm);
    margin: 0;
    color: var(--color-success);
  }

  .form-submit-error {
    display: none;
    background: var(--color-error-bg);
    border: 1px solid #f5c6cb;
    color: var(--color-error);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
  }

  .form-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    margin-top: var(--space-4);
    padding: var(--space-3);
    background: var(--color-surface-soft);
    border-radius: var(--radius-md);
  }

  .form-privacy-note i {
    color: var(--color-primary-mid);
    margin-top: 1px;
    flex-shrink: 0;
  }

  /* Loading spinner on button */
  .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  /* ─── Contact Info ───────────────────────────── */
  .contact-info-card {
    background: var(--gradient-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
  }

  .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .contact-info-item:last-child {
    border-bottom: none;
  }

  .contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .contact-info-item .label {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-text-faint);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: var(--space-1);
  }

  .contact-info-item .value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
  }

  .hours-table {
    width: 100%;
    font-size: var(--text-sm);
  }

  .hours-table td {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .hours-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--color-primary);
  }

  .hours-table tr:last-child td {
    border-bottom: none;
  }

  /* ─── Map ────────────────────────────────────── */
  .map-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/9;
  }

  .map-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
  }

  /* ─── About Page ─────────────────────────────── */
  .value-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition), transform var(--transition);
  }

  .value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }

  .value-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: var(--space-4);
  }

  .value-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
  }

  .value-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
  }

  /* ─── Back to Top Button ─────────────────────── */
  .back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s var(--ease-out),
      visibility 0.3s,
      transform 0.3s var(--ease-out),
      filter 0.2s;
    border: none;
    cursor: pointer;
  }

  .back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .back-to-top:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
  }

  /* ─── Footer ─────────────────────────────────── */
  .site-footer {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    padding-top: var(--space-16);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .footer-grid {
      grid-template-columns: 1.5fr 1fr 1.5fr 1.2fr;
    }
  }

  .footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--space-4);
  }

  .footer-tagline {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-3);
  }

  .footer-abn {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-4);
  }

  .footer-col h4 {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .footer-links a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }

  .footer-links a:hover {
    color: #ffffff;
  }

  /* 2-column service grid inside footer Our Services column */
  .footer-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1) var(--space-2);
  }

  .footer-services-grid a {
    font-size: var(--text-xs) !important;
  }

  /* Social media icons */
  .footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-5);
  }

  .footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: background var(--transition), color var(--transition), transform var(--transition);
  }

  .footer-social-icon:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
  }

  .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
  }

  .footer-contact-item i {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
  }

  /* ─── Acknowledgement of Country ─────────────── */
  .footer-acknowledgement {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-10) 0;
    border-top: 2px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
  }

  .ack-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--space-6);
  }

  /* Flag strip — Aboriginal & Torres Strait Islander */
  .ack-flag-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
  }

  .ack-flag-svg {
    width: 72px;
    height: 46px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
  }

  .ack-flag-country {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  .ack-flag-label {
    font-size: var(--text-xs);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-align: left;
  }

  /* Divider between the two flags */
  .ack-flag-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
  }

  .ack-title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-3);
  }

  .ack-text p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 72ch;
  }

  /* ─── Footer Bottom Bar ──────────────────────── */
  .footer-bottom {
    padding: var(--space-5) 0;
  }

  .footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
  }

  .footer-copyright {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.55);
  }

  .footer-legal-links {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
  }

  .footer-legal-links a {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
  }

  .footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.85);
  }

  /* ─── Homepage Hero ──────────────────────────── */
  .home-hero {
    background: var(--gradient-deep);
    color: white;
    padding: var(--space-20) 0 var(--space-16);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
  }

  /* ── Image-based hero (homepage with transparent header) ─── */
  /* Drop a file at assets/images/heroes/home-hero.jpg for best results */
  .home-hero--image {
    padding-top: calc(var(--utility-bar-height) + var(--header-height) + var(--space-20));
    min-height: 100vh;
  }

  .home-hero--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/about-care.png');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    z-index: 0;
  }

  .home-hero--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      130deg,
      rgba(47, 11, 131, 0.88) 0%,
      rgba(102, 16, 242, 0.70) 40%,
      rgba(47, 11, 131, 0.58) 70%,
      rgba(214, 51, 132, 0.44) 100%
    );
    z-index: 0;
  }

  /* Ensure blobs and content remain above the pseudo overlays */
  .home-hero--image .hero-blob,
  .home-hero--image .container {
    position: relative;
    z-index: 1;
  }

  /* Hide SVG illustration on image hero — photo panel takes its place */
  .home-hero--image .hero-visual--svg {
    display: none !important;
  }

  /* ── Hero NDIS Logo Card (right panel) ──────── */
  .hero-visual--ndis {
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0;
    animation: heroFadeUp 0.9s var(--ease-out) 0.5s both;
  }

  @media (min-width: 1024px) {
    .hero-visual--ndis {
      display: flex;
    }
  }

  .hero-ndis-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-8) var(--space-10);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
    overflow: hidden;
    max-width: 280px;
    width: 100%;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  }

  .hero-ndis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.45),
                0 0 0 1px rgba(255, 255, 255, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  /* Glowing orb behind logo */
  .hero-ndis-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 51, 132, 0.30) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(20px);
  }

  /* Top badge */
  .hero-ndis-badge-top {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    padding: 0.3rem var(--space-3);
    font-size: var(--text-xs);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
  }

  .hero-ndis-badge-top i {
    font-size: 0.8rem;
    color: rgba(255, 215, 0, 0.9);
  }

  .hero-ndis-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
  }

  .hero-ndis-caption {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.60);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
  }

  /* ── Hero label row — section label ─────────── */
  .hero-label-row {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-5);
  }

  .hero-label-row .section-label {
    margin-bottom: 0;
  }

  .hero-ndis-inline {
    height: 36px;
    width: auto;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.30));
  }

  /* Restore two-column layout on homepage hero */
  .home-hero--image .hero-layout {
    grid-template-columns: 1fr;
  }

  @media (min-width: 1024px) {
    .home-hero--image .hero-layout {
      grid-template-columns: 1.2fr 0.8fr;
      gap: var(--space-10);
      align-items: flex-start;
    }
  }

  /* ── Hero Photo Card (right panel) ──────────── */
  .hero-visual--photo {
    align-items: center;
    padding-top: 0;
    margin-top: 0;
  }

  .hero-photo-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45),
                0 0 0 1px rgba(255, 255, 255, 0.12);
    animation: heroFadeUp 0.9s var(--ease-out) 0.45s both;
  }

  .hero-photo-img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    display: block;
  }

  /* Floating trust badges on photo card */
  .hero-photo-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: var(--text-xs);
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  }

  .hero-photo-badge i {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .hero-photo-badge--tl {
    top: var(--space-4);
    left: var(--space-4);
  }

  .hero-photo-badge--br {
    bottom: var(--space-4);
    right: var(--space-4);
  }

  .home-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  /* Two-column hero layout */
  .hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
  }

  @media (min-width: 1024px) {
    .hero-layout {
      grid-template-columns: 1.1fr 0.9fr;
      gap: var(--space-10);
    }
  }

  .hero-content {
    max-width: 640px;
  }

  /* Hero visual (illustration) panel */
  .hero-visual {
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: var(--space-6);
    margin-top: calc(var(--space-12) * -1);
    animation: heroFadeUp 0.9s var(--ease-out) 0.45s both;
  }

  .hero-visual img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 500px;
  }

  @media (min-width: 1024px) {
    .hero-visual {
      display: flex;
    }
  }

  .hero-illustration {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.38));
  }

  /* SVG animation classes */
  @keyframes svgFloat {

    0%,
    100% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-10px);
    }
  }

  @keyframes svgPulse {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.15);
    }
  }

  @keyframes svgSpin {
    to {
      transform: rotate(360deg);
    }
  }

  @keyframes svgSpinRev {
    to {
      transform: rotate(-360deg);
    }
  }

  @keyframes svgGlow {

    0%,
    100% {
      opacity: 0.5;
    }

    50% {
      opacity: 1;
    }
  }

  .svg-float-1 {
    animation: svgFloat 4.2s ease-in-out infinite;
  }

  .svg-float-2 {
    animation: svgFloat 4.8s ease-in-out 1.1s infinite;
  }

  .svg-float-3 {
    animation: svgFloat 3.9s ease-in-out 2.1s infinite;
  }

  .svg-pulse {
    animation: svgPulse 2.6s ease-in-out infinite;
  }

  .svg-spin {
    animation: svgSpin 28s linear infinite;
    transform-origin: 240px 245px;
  }

  .svg-spin-rev {
    animation: svgSpinRev 22s linear infinite;
    transform-origin: 240px 245px;
  }

  .svg-glow {
    animation: svgGlow 3.2s ease-in-out infinite;
  }

  @media (prefers-reduced-motion: reduce) {

    .svg-float-1,
    .svg-float-2,
    .svg-float-3,
    .svg-pulse,
    .svg-spin,
    .svg-spin-rev,
    .svg-glow {
      animation: none;
    }
  }

  .home-hero h1 {
    color: white;
    font-size: var(--text-3xl);
    line-height: 1.1;
    margin-bottom: var(--space-5);
    max-width: 14ch;
  }

  .home-hero .hero-sub {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 58ch;
    margin-bottom: var(--space-8);
    line-height: 1.7;
  }

  .home-hero .trust-bar {
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    justify-content: flex-start;
  }

  @media (max-width: 767px) {
    .home-hero .trust-bar {
      justify-content: center;
    }
  }

  /* ─── About Preview Section ──────────────────── */
  .about-split {
    display: grid;
    gap: var(--space-10);
    grid-template-columns: 1fr;
    align-items: center;
  }

  @media (min-width: 1024px) {
    .about-split {
      grid-template-columns: 1fr 1fr;
    }
  }

  .about-image-wrap {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: var(--gradient-soft);
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
  }

  .about-image-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* ─── Quick Links ────────────────────────────── */
  .quick-links-grid {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 640px) {
    .quick-links-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .quick-link-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-primary);
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
  }

  .quick-link-card:hover {
    background: var(--gradient-soft);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    color: var(--color-primary);
  }

  .quick-link-card i {
    font-size: 1.2rem;
    display: block;
    margin-bottom: var(--space-2);
    color: var(--color-primary-mid);
  }
}

/* ============================================================
   LAYER: animations
   ============================================================ */
@layer animations {
  .fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }

  .fade-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }

  .fade-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }

  .fade-up.is-visible,
  .fade-left.is-visible,
  .fade-right.is-visible {
    opacity: 1;
    transform: none;
  }

  .delay-1 {
    transition-delay: 0.1s;
  }

  .delay-2 {
    transition-delay: 0.2s;
  }

  .delay-3 {
    transition-delay: 0.3s;
  }

  .delay-4 {
    transition-delay: 0.4s;
  }

  .delay-5 {
    transition-delay: 0.5s;
  }

  /* Hero text entrance */
  @keyframes heroFadeUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-animate-1 {
    animation: heroFadeUp 0.7s var(--ease-out) 0.1s both;
  }

  .hero-animate-2 {
    animation: heroFadeUp 0.7s var(--ease-out) 0.25s both;
  }

  .hero-animate-3 {
    animation: heroFadeUp 0.7s var(--ease-out) 0.4s both;
  }

  .hero-animate-4 {
    animation: heroFadeUp 0.7s var(--ease-out) 0.55s both;
  }

  /* Reduced motion override */
  @media (prefers-reduced-motion: reduce) {

    .fade-up,
    .fade-left,
    .fade-right {
      opacity: 1;
      transform: none;
      transition: none;
    }

    .hero-animate-1,
    .hero-animate-2,
    .hero-animate-3,
    .hero-animate-4 {
      animation: none;
      opacity: 1;
      transform: none;
    }

    .delay-1,
    .delay-2,
    .delay-3,
    .delay-4,
    .delay-5 {
      transition-delay: 0s;
    }

    * {
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
    }
  }
}

/* ============================================================
   LAYER: utilities
   ============================================================ */
@layer utilities {
  .text-center {
    text-align: center;
  }

  .text-left {
    text-align: left;
  }

  .text-right {
    text-align: right;
  }

  .text-primary {
    color: var(--color-primary);
  }

  .text-accent {
    color: var(--color-accent);
  }

  .text-muted {
    color: var(--color-text-muted);
  }

  .text-inverse {
    color: var(--color-text-inverse);
  }

  .bg-surface-soft {
    background: var(--color-surface-soft);
  }

  .bg-gradient {
    background: var(--gradient-soft);
  }

  .fw-400 {
    font-weight: 400;
  }

  .fw-600 {
    font-weight: 600;
  }

  .fw-700 {
    font-weight: 700;
  }

  .fw-800 {
    font-weight: 800;
  }

  .mt-0 {
    margin-top: 0;
  }

  .mt-4 {
    margin-top: var(--space-4);
  }

  .mt-6 {
    margin-top: var(--space-6);
  }

  .mt-8 {
    margin-top: var(--space-8);
  }

  .mb-0 {
    margin-bottom: 0;
  }

  .mb-4 {
    margin-bottom: var(--space-4);
  }

  .mb-6 {
    margin-bottom: var(--space-6);
  }

  .mb-8 {
    margin-bottom: var(--space-8);
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .d-none {
    display: none;
  }

  .d-flex {
    display: flex;
  }

  .d-grid {
    display: grid;
  }

  .d-block {
    display: block;
  }

  .gap-3 {
    gap: var(--space-3);
  }

  .gap-4 {
    gap: var(--space-4);
  }

  .gap-6 {
    gap: var(--space-6);
  }

  .gap-8 {
    gap: var(--space-8);
  }

  .align-center {
    align-items: center;
  }

  .justify-center {
    justify-content: center;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .w-100 {
    width: 100%;
  }

  .h-100 {
    height: 100%;
  }

  .rounded-full {
    border-radius: var(--radius-full);
  }

  .rounded-xl {
    border-radius: var(--radius-xl);
  }

  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .position-relative {
    position: relative;
  }
}

/* ============================================================
   LAYER: pages
   ============================================================ */
@layer pages {

  /* ─── About Page ─────────────────────────────── */
  .about-hero-content {
    max-width: 700px;
  }

  .about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-top: var(--space-8);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  @media (min-width: 640px) {
    .about-stats {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .about-stat-item {
    text-align: center;
  }

  .about-stat-num {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 900;
    color: white;
    line-height: 1;
    display: block;
    margin-bottom: var(--space-1);
  }

  .about-stat-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .mission-block {
    background: var(--gradient-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8) var(--space-10);
    position: relative;
    overflow: hidden;
  }

  .mission-block::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: var(--space-4);
    left: var(--space-6);
    font-size: 4rem;
    color: rgba(102, 16, 242, 0.06);
    line-height: 1;
  }

  .mission-block p {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-text);
    line-height: 1.8;
    max-width: 65ch;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  /* ─── Referral Page ──────────────────────────── */
  .referral-layout {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
    align-items: start;
  }

  @media (min-width: 1024px) {
    .referral-layout {
      grid-template-columns: 1fr 300px;
    }
  }

  .what-next-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-4);
  }

  .what-next-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .what-next-num {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-sm);
    font-weight: 800;
    flex-shrink: 0;
  }

  .what-next-item p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
    padding-top: 4px;
  }

  .what-next-item strong {
    display: block;
    color: var(--color-text);
    margin-bottom: var(--space-1);
  }

  /* ─── About Image ────────────────────────────── */
  .about-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
  }

  .about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
  }

  .about-image-wrap:hover .about-image {
    transform: scale(1.05);
  }

  .about-image-badge {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    background: var(--color-surface);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-primary);
    z-index: 2;
  }

  .about-image-badge i {
    color: var(--color-accent);
  }

  /* ─── Contact Page ───────────────────────────── */
  .contact-layout {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
  }

  @media (min-width: 1024px) {
    .contact-layout {
      grid-template-columns: 1fr 1fr;
      align-items: start;
    }
  }

  .contact-form-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
  }

  /* ─── Responsive adjustments ─────────────────── */
  @media (max-width: 639px) {
    .section {
      padding-block: var(--space-12);
    }

    .home-hero {
      min-height: 85vh;
      padding: var(--space-16) 0 var(--space-12);
    }

    .home-hero--image {
      /* Account for fixed header + utility bar on small screens */
      padding-top: calc(var(--utility-bar-height) + var(--header-height) + var(--space-12));
      min-height: 100svh;
    }

    .page-hero {
      padding: var(--space-12) 0 var(--space-10);
    }

    .cta-band {
      padding: var(--space-12) 0;
    }

    .btn-lg {
      font-size: var(--text-sm);
      padding: 0.8rem var(--space-6);
    }

    .hero-actions {
      flex-direction: column;
      align-items: flex-start;
    }

    .cta-band .btn-group {
      flex-direction: column;
      align-items: center;
    }

    .footer-grid {
      gap: var(--space-8);
    }
  }

  @media (min-width: 768px) {
    :root {
      --container-pad: var(--space-8);
    }
  }

  @media (min-width: 1280px) {
    :root {
      --container-pad: var(--space-10);
    }
  }
}