/* =========================================================
   Uncle Moe Cares: main stylesheet
   Brand: logo purple #84329B (headings, accents) + logo teal #045A70 (actions)
   on a warm cream background
   ========================================================= */

:root {
  --purple: #84329b;
  --purple-700: #6d2882;
  --purple-800: #5c236c;
  --purple-900: #4a1c57;
  --teal: #045a70;
  --teal-700: #034a5d;
  --teal-800: #023a49;
  --cream: #fbf6ee;
  --cream-2: #f4ebdc;
  --white: #ffffff;
  --tint-teal: #e3f1f3;
  --tint-purple: #f4eaf7;
  --ink: #2c2831;
  --ink-soft: #58525f;
  --line: #eadfed;
  --amber: #e0a43a;
  --heading: var(--purple);

  --font-head: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 40px -26px rgba(74, 28, 87, 0.45);
  --shadow-card: 0 10px 30px -18px rgba(74, 28, 87, 0.35);
  --container: 1180px;
  --section-y: clamp(44px, 6vw, 76px);
  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--purple); }
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 800; line-height: 1.15; color: var(--heading);
  margin: 0 0 0.6em; letter-spacing: -0.01em;
}
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote { margin: 0; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 400; background: var(--purple-800); color: #fff; padding: 12px 20px;
  border-radius: 0 0 12px 12px; font-family: var(--font-head); font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

/* ---------- Shared components ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); background: var(--tint-teal); padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--tint { background: var(--tint-purple); }
.section-head { max-width: 700px; margin: 0 auto clamp(26px, 3.5vw, 42px); text-align: center; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 0; }
.accent-teal { color: var(--teal); }
.center-cta { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 42px); }
.text-note { text-align: center; margin: 28px 0 0; color: var(--ink-soft); font-size: 0.95rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 800;
  font-size: 1rem; line-height: 1.1; padding: 15px 30px; border-radius: 999px; border: 2px solid transparent; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 24px -12px rgba(4, 90, 112, 0.75); }
.btn-primary:hover { background: var(--teal-700); color: #fff; box-shadow: 0 16px 28px -12px rgba(3, 74, 93, 0.8); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-light { background: #fff; color: var(--purple-800); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.45); }
.btn-light:hover { background: var(--cream); color: var(--purple-800); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--tight { margin-top: 22px; gap: 12px; }
.btn-row--tight .btn { padding: 13px 22px; font-size: 0.95rem; }

.icon-badge {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--tint-purple); color: var(--purple); margin-bottom: 18px;
}
.icon-badge svg { width: 30px; height: 30px; }
.icon-badge--teal { background: var(--tint-teal); color: var(--teal); }

.check-list { margin-bottom: 1.3em; }
.check-list li { position: relative; padding-left: 36px; margin-bottom: 12px; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--tint-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23045a70' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}
.check-list--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.check-list--grid li { margin-bottom: 8px; line-height: 1.45; }

.frame-wrap { position: relative; isolation: isolate; }
.frame-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--radius-lg);
  background: var(--tint-teal); transform: translate(18px, 18px);
}
.frame-wrap--purple::before { background: var(--tint-purple); transform: translate(-18px, 18px); }
.frame { border-radius: var(--radius-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-soft); background: var(--cream-2); }
.frame img { width: 100%; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5.5vw, 76px); align-items: center; }
.split--top { align-items: start; }
.split--reverse .split-media { order: 2; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; }
.tag {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; line-height: 1.2;
  background: var(--tint-teal); color: var(--teal-700); transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.tag:nth-child(even) { background: var(--tint-purple); color: var(--purple-700); }
.tag:hover { transform: translateY(-2px); }

.note {
  margin: 0 0 1.4em; padding: 16px 18px 16px 20px; border-left: 5px solid var(--teal); background: var(--tint-teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-size: 0.98rem;
}
.note p { margin: 0; }
.note strong { color: var(--teal-700); }
.note--alert { border-left-color: var(--purple); background: var(--tint-purple); }
.note--alert strong { color: var(--purple-700); }
.inline-link { font-family: var(--font-head); font-weight: 800; color: var(--purple); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(251, 246, 238, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(74, 28, 87, 0.6); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; line-height: 0; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-family: var(--font-head); font-weight: 800; font-size: 0.98rem; color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; transition: background-color 0.2s ease, color 0.2s ease;
}
.nav a:hover { background: var(--tint-teal); color: var(--teal); }
.nav a[aria-current="page"] { color: var(--purple); background: var(--tint-purple); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; color: var(--teal); text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; }
.header-phone:hover { color: var(--purple); }
.header-actions .btn { padding: 12px 22px; font-size: 0.95rem; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--tint-purple);
  cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--purple-800); transition: transform 0.25s ease, background-color 0.25s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(28px, 4.5vw, 60px) clamp(40px, 6vw, 68px); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.hero::before { width: 620px; height: 620px; left: -260px; top: -300px; background: radial-gradient(circle, rgba(132, 50, 155, 0.13), transparent 68%); }
.hero::after { width: 520px; height: 520px; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(4, 90, 112, 0.12), transparent 68%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 0.45em; font-size: clamp(2.2rem, 4.1vw, 3.25rem); }
.hero h1 .accent-teal { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.hero-call { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.hero-call small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }
.hero-call-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-teal); color: var(--teal); transition: background-color 0.2s, color 0.2s; }
.hero-call-ico svg { width: 22px; height: 22px; }
.hero-call:hover { color: var(--teal); }
.hero-call:hover .hero-call-ico { background: var(--teal); color: #fff; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 100%; }
.hero-blob {
  position: absolute; left: 6%; right: 2%; bottom: 0; top: 10%; z-index: 0;
  border-radius: 58% 42% 46% 54% / 52% 48% 52% 48%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 55%), linear-gradient(145deg, #e9d3f1 0%, #d3eaee 100%);
}
.hero-moe { position: relative; z-index: 1; width: min(100%, 480px); height: auto; margin-bottom: calc(-1 * clamp(40px, 6vw, 68px)); filter: drop-shadow(0 18px 24px rgba(74, 28, 87, 0.18)); }
.hero-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: #fff;
  box-shadow: 0 16px 34px -16px rgba(74, 28, 87, 0.5); border: 1px solid var(--line); color: var(--ink); text-decoration: none; line-height: 1.25; font-size: 0.86rem;
}
.hero-chip strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--purple); }
.hero-chip--video { left: 0; bottom: 18%; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hero-chip--video:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 20px 38px -16px rgba(74, 28, 87, 0.6); }
.hero-chip-play { width: 42px; height: 42px; border-radius: 50%; background: var(--purple); display: grid; place-items: center; flex-shrink: 0; }
.hero-chip-play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.hero .hero-copy .lede { margin-bottom: 1.5em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34em; margin-bottom: 1.6em; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px 34px;
  box-shadow: var(--shadow-card); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -24px rgba(74, 28, 87, 0.5); }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card--media { padding: 0; }
.card-media { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--cream-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 0.7, 0.2, 1); }
.card--media:hover .card-media img { transform: scale(1.06); }
.card--media .card-body { padding: 0 28px 30px; }
.card--media .icon-badge { position: relative; margin: -32px 0 14px; border: 4px solid #fff; box-shadow: 0 10px 20px -12px rgba(74, 28, 87, 0.55); width: 64px; height: 64px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--font-head); font-weight: 800; color: var(--purple); text-decoration: none; }
.card-link svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.card-link:hover { color: var(--purple-700); text-decoration: underline; }
.card-link:hover svg { transform: translateX(4px); }
.card-media--video { aspect-ratio: 16 / 9; }
.play-badge {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: rgba(74, 28, 87, 0.85); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 0.82rem;
}
.play-badge svg { width: 18px; height: 18px; fill: #fff; }
.card--media .card-body--guide { padding-top: 22px; }

/* ---------- Trust strip (compact) ---------- */
.trust { background: #fff; border-block: 1px solid var(--line); position: relative; z-index: 2; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 18px 0; }
.trust-list li { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.trust-list strong { display: block; font-family: var(--font-head); font-weight: 800; color: var(--purple-800); font-size: 0.98rem; }
.trust-list small { display: block; font-size: 0.86rem; color: var(--ink-soft); }
.nowrap { white-space: nowrap; }
.trust-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-purple); color: var(--purple); }
.trust-list li:nth-child(even) .trust-ico { background: var(--tint-teal); color: var(--teal); }
.trust-ico svg { width: 20px; height: 20px; }

/* ---------- Service tiles (photo on top, text below) ---------- */
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-tile {
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.svc-tile:hover { transform: translateY(-4px); border-color: rgba(132, 50, 155, 0.35); box-shadow: 0 22px 34px -22px rgba(74, 28, 87, 0.55); color: var(--ink); }
.svc-tile-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint-purple); }
.svc-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-tile:hover .svc-tile-img img { transform: scale(1.05); }
.svc-tile-body { flex: 1; display: flex; align-items: center; gap: 14px; padding: 18px 20px 20px; }
.svc-tile-text { flex: 1; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.svc-tile-text strong { font-family: var(--font-head); font-size: 1.06rem; color: var(--purple-800); }
.svc-tile-text span { font-size: 0.93rem; color: var(--ink-soft); }
.svc-tile-go { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-teal); color: var(--teal); transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.svc-tile-go svg { width: 16px; height: 16px; }
.svc-tile:hover .svc-tile-go { background: var(--teal); color: #fff; transform: translateX(3px); }

/* ---------- Why choose us (Home) ---------- */
.why-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.why-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.why-list h3 { font-size: 1.12rem; margin: 2px 0 2px; }
.why-list p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }
.why-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint-purple); color: var(--purple); }
.why-ico--teal { background: var(--tint-teal); color: var(--teal); }
.why-ico svg { width: 24px; height: 24px; }
.why-motto { margin: 24px 0 0; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--teal); }

/* ---------- Who we support (two pathways) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card { position: relative; background: var(--tint-purple); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 36px); overflow: hidden; }
.path-card--teal { background: var(--tint-teal); }
.path-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--purple); margin-bottom: 14px; box-shadow: var(--shadow-card); }
.path-card--teal .path-ico { color: var(--teal); }
.path-ico svg { width: 28px; height: 28px; }
.path-eyebrow { font-family: var(--font-head); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin: 0 0 4px; }
.path-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 0.35em; }
.path-card > p { color: var(--ink-soft); }
.path-card .check-list li { color: var(--ink); }
.path-card .check-list li::before { background-color: #fff; }

/* ---------- Welcome video band ---------- */
.video-band { background: linear-gradient(135deg, var(--tint-purple) 0%, var(--tint-teal) 100%); overflow: hidden; }
.video-band .eyebrow { background: #fff; }

.funding-line {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px auto 0; max-width: 640px; text-align: center;
  color: var(--ink-soft); font-size: 1rem;
}
.funding-line svg { width: 26px; height: 26px; color: var(--teal); flex-shrink: 0; }
.funding-line strong { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps::before {
  content: ""; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--purple) 0 12px, transparent 12px 20px); opacity: 0.5;
  transform-origin: left center; transform: scaleX(0);
}
.steps.is-visible::before { transform: scaleX(1); transition: transform 1.3s cubic-bezier(0.22, 0.7, 0.2, 1) 0.25s; }
.step { position: relative; text-align: center; }
.step-icon {
  position: relative; z-index: 1; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: #fff;
  border: 3px solid var(--purple); color: var(--purple); display: grid; place-items: center;
  box-shadow: 0 12px 24px -14px rgba(132, 50, 155, 0.7); transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.step:nth-child(even) .step-icon { border-color: var(--teal); color: var(--teal); }
.step-icon svg { width: 34px; height: 34px; }
.step-icon .num {
  position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--purple-800); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; border: 3px solid var(--tint-purple);
}
.step:hover .step-icon { background: var(--purple); color: #fff; transform: translateY(-4px); }
.step:nth-child(even):hover .step-icon { background: var(--teal); }
.step h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.step p { color: var(--ink-soft); font-size: 0.98rem; margin: 0 auto; max-width: 250px; }

/* ---------- Accordion (FAQ, eligibility, coordination levels) ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro p:not(.eyebrow) { color: var(--ink-soft); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 2px solid transparent; border-radius: var(--radius-md);
  box-shadow: 0 6px 22px -16px rgba(74, 28, 87, 0.5); transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item:hover { border-color: var(--line); }
.faq-item.is-open { border-color: var(--purple); box-shadow: 0 16px 34px -22px rgba(132, 50, 155, 0.7); }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 800; font-size: 1.06rem; color: var(--purple-800); line-height: 1.35; border-radius: var(--radius-md);
}
.faq-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--tint-purple); color: var(--purple); font-size: 0.85rem; transition: background-color 0.25s, color 0.25s;
}
.faq-item.is-open .faq-num { background: var(--purple); color: #fff; }
.faq-text { flex: 1; }
.faq-icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--tint-teal); transition: background-color 0.25s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--teal); border-radius: 2px; transition: transform 0.35s ease, background-color 0.25s; }
.faq-icon::before { width: 12px; height: 3px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 3px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-icon { background: var(--teal); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: #fff; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; visibility: hidden; transition: visibility 0s linear 0.35s; }
.faq-item.is-open .faq-a-inner { visibility: visible; transition-delay: 0s; }
.faq-a-inner p { margin: 0; padding: 0 24px 22px 74px; color: var(--ink-soft); }
.faq-list--compact .faq-q, .levels .faq-q { padding: 14px 16px; font-size: 1rem; }
.faq-list--compact .faq-num, .levels .faq-num { width: 32px; height: 32px; border-radius: 10px; font-size: 0.8rem; }
.faq-list--compact .faq-a-inner p, .levels .faq-a-inner p { padding: 0 18px 18px 64px; }
.levels { margin-bottom: 14px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 34px; padding: clamp(34px, 5.5vw, 62px);
  background: linear-gradient(120deg, var(--teal) 0%, var(--purple) 100%); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px;
}
.cta-banner::after { content: ""; position: absolute; width: 380px; height: 380px; right: -110px; bottom: -190px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.cta-banner h2 { color: #fff; margin-bottom: 0.35em; max-width: 18em; }
.cta-banner p { margin: 0; color: #f3ecf6; max-width: 34em; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-sub { margin-top: 12px !important; font-size: 0.98rem; }
.cta-sub a { color: #fff; font-family: var(--font-head); font-weight: 800; text-underline-offset: 4px; }
.cta-sub a:hover { color: var(--amber); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; text-align: center; padding-block: clamp(34px, 5vw, 60px) clamp(30px, 4.5vw, 52px);
  background: linear-gradient(135deg, var(--tint-purple) 0%, var(--tint-teal) 100%);
}
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.page-hero::before { width: 380px; height: 380px; left: -120px; top: -160px; background: rgba(132, 50, 155, 0.1); }
.page-hero::after { width: 300px; height: 300px; right: -90px; bottom: -150px; background: rgba(4, 90, 112, 0.1); }
.page-hero .container { position: relative; z-index: 1; max-width: 860px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-hero .lede { margin: 0 auto; }
.hero-intro { max-width: 40em; margin: 14px auto 0; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.chip {
  font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; text-decoration: none; color: var(--teal); background: #fff;
  border: 2px solid rgba(4, 90, 112, 0.25); padding: 8px 16px; border-radius: 999px; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.chip:hover { background: var(--teal); color: #fff; border-color: var(--teal); transform: translateY(-2px); }

/* Info band under the Services hero */
.info-band { background: #fff; border-bottom: 1px solid var(--line); }
.info-band-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-block: 20px; }
.info-band p { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.35; }
.info-band svg { width: 30px; height: 30px; color: var(--teal); flex-shrink: 0; }
.info-band strong { display: block; color: var(--purple); font-family: var(--font-head); }

/* ---------- Service rows ---------- */
.service-row { padding-block: clamp(36px, 5vw, 60px); }
.service-row + .service-row { border-top: 1px solid var(--line); }
.service-row h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.35em; }
.service-no {
  display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; color: var(--teal);
  letter-spacing: 0.12em; font-size: 0.8rem; text-transform: uppercase; margin: 0 0 10px;
}
.service-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tint-purple); color: var(--purple); }
.service-ico--teal { background: var(--tint-teal); color: var(--teal); }
.service-ico svg { width: 21px; height: 21px; }
.service-lead { font-family: var(--font-head); font-weight: 700; font-size: 1.14rem; color: var(--ink); line-height: 1.45; }
.highlights-title { font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 1.4em 0 0.8em; }
.service-row .check-list { margin-bottom: 1.5em; }
.example {
  position: relative; margin: 26px 0 0; padding: 16px 18px 16px 52px; background: #fff; border: 1px dashed rgba(132, 50, 155, 0.35);
  border-radius: var(--radius-md); font-size: 0.97rem; color: var(--ink-soft);
}
.example::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 24px; height: 24px; border-radius: 50%; background: var(--tint-purple)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384329b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9c.5.4.8 1 .8 1.6V16h5.4v-.5c0-.6.3-1.2.8-1.6A6 6 0 0 0 12 3z'/%3E%3C/svg%3E") center/15px no-repeat;
}
.example strong { color: var(--purple); }
.section--white .example { background: var(--cream); }
.small-link { margin: 0 0 1.4em; }

/* SIL / SDA pair (full width under the Home & Living row) */
.service-wide { margin-top: clamp(26px, 4vw, 40px); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 26px; align-items: start; }
.duo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px 26px 10px; box-shadow: var(--shadow-card); }
.section--white .duo-card { background: var(--cream); }
.duo-card h3 { font-size: 1.08rem; margin: 10px 0 0.5em; }
.duo-card p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 0.9em; }
.duo-card .check-list li { font-size: 0.95rem; margin-bottom: 8px; line-height: 1.45; }
.duo-card--info { border-style: dashed; border-color: rgba(4, 90, 112, 0.35); }
.duo-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--purple); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.04em; }
.duo-badge--info { background: var(--tint-teal); color: var(--teal-700); }
.duo-badge--teal { background: var(--teal); }
.duo-card { overflow: hidden; }
.duo-media { margin: -24px -26px 20px; background: var(--tint-purple); }
.duo-media img { display: block; width: 100%; height: auto; }
.duo-note { padding: 12px 14px; border-radius: 12px; background: var(--tint-teal); color: var(--teal-700) !important; font-size: 0.9rem !important; }
.duo-card--teal .duo-note { margin-bottom: 18px; }

/* "Not sure" help box */
.help-box {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 32px; align-items: center; background: #fff; border: 2px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-card);
}
.help-box h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.35em; }
.help-box p { margin: 0; color: var(--ink-soft); }
.help-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--tint-purple); color: var(--purple); }
.help-ico svg { width: 34px; height: 34px; }

/* ---------- Video player (click to play) ---------- */
.video-card { position: relative; overflow: hidden; background: #1d1224; border-radius: var(--radius-lg); border: 6px solid #fff; box-shadow: var(--shadow-soft); }
.video-card::before { content: ""; display: block; padding-top: 56.25%; }
.video-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-card video::cue { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.35; color: #fff; background: rgba(20, 8, 26, 0.78); }
.video-play-label abbr { text-decoration: none; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.22); }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; display: flex; align-items: flex-end; justify-content: flex-start;
  background: linear-gradient(180deg, rgba(74, 28, 87, 0) 45%, rgba(74, 28, 87, 0.75) 100%); color: #fff; font: inherit;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-play-icon {
  position: absolute; left: 50%; top: 46%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--purple);
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.video-play-icon svg { width: 30px; height: 30px; margin-left: 4px; fill: #fff; }
.video-play:hover .video-play-icon, .yt-play:hover .video-play-icon { transform: scale(1.08); background: var(--purple-700); }
.video-play:focus-visible, .yt-play:focus-visible { outline: 4px solid var(--amber); outline-offset: -8px; border-radius: 0; }
.video-play-label { position: relative; margin: 0 18px 16px; font-family: var(--font-head); font-weight: 800; font-size: 0.98rem; line-height: 1.25; text-align: left; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.video-play-label small { display: block; font-weight: 700; opacity: 0.9; font-size: 0.82rem; }
.video-card.is-playing .video-play { opacity: 0; visibility: hidden; }
.video-note { margin: 14px 4px 0; font-size: 0.9rem; color: var(--ink-soft); }

/* Official NDIS video (YouTube, loads only when clicked) */
.yt-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 6px solid #fff; box-shadow: var(--shadow-soft); background: linear-gradient(135deg, var(--teal-800) 0%, var(--purple-900) 100%); }
.yt-card::before { content: ""; display: block; padding-top: 56.25%; }
.yt-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 20px 22px; cursor: pointer; color: #fff; font: inherit; text-align: left;
  display: flex; flex-direction: column; justify-content: flex-start; background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.14), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(224, 164, 58, 0.18), transparent 45%);
}
.yt-source { font-family: var(--font-head); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.yt-title { margin-top: auto; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; }
.yt-note { font-size: 0.85rem; opacity: 0.85; margin-top: 2px; }
.yt-play .video-play-icon { top: 50%; }
.block-title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 0.4em; }

/* ---------- Useful links ---------- */
.link-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.link-card {
  display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.link-card:hover { transform: translateY(-4px); box-shadow: 0 22px 34px -24px rgba(74, 28, 87, 0.5); color: var(--ink); }
.link-card strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--purple); }
.link-card span { color: var(--ink-soft); font-size: 0.95rem; }
.link-card em { font-style: normal; font-family: var(--font-head); font-weight: 800; color: var(--teal); margin-top: auto; padding-top: 8px; overflow-wrap: anywhere; }
.link-card--alert { border-color: rgba(132, 50, 155, 0.35); background: var(--tint-purple); }

/* ---------- About ---------- */
.pull-quote {
  position: relative; margin: 8px 0 0; padding: 20px 24px 20px 64px; border-radius: var(--radius-md); background: var(--tint-purple);
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; line-height: 1.4; color: var(--purple-800);
}
.pull-quote::before { content: "\201C"; position: absolute; left: 18px; top: 4px; font-size: 3.6rem; line-height: 1; color: var(--purple); opacity: 0.6; }
.pull-quote p { margin: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-card); transition: transform 0.3s, box-shadow 0.3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: 0 26px 40px -24px rgba(74, 28, 87, 0.5); }
.value-card .icon-badge { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; }
.value-card .icon-badge svg { width: 26px; height: 26px; }
.value-card h3 { margin-bottom: 0.35em; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.qual-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 6px; }
.qual { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; box-shadow: 0 6px 20px -16px rgba(74, 28, 87, 0.5); }
.section--white .qual { background: var(--cream); }
.qual .icon-badge { flex-shrink: 0; margin: 0; width: 44px; height: 44px; border-radius: 13px; }
.qual .icon-badge svg { width: 22px; height: 22px; }
.qual h3 { font-size: 1rem; margin: 0; line-height: 1.3; }
.qual p { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.4; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin-inline: auto; }
.team-grid li {
  display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius-md); padding: 16px 18px;
  font-family: var(--font-head); font-weight: 800; color: var(--purple-800); line-height: 1.3; box-shadow: var(--shadow-card);
}
.team-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--tint-teal); color: var(--teal); }
.team-grid li:nth-child(even) .team-ico { background: var(--tint-purple); color: var(--purple); }
.team-ico svg { width: 22px; height: 22px; }
/* ---------- Inclusion & cultural respect (Home + About) ---------- */
.ack-section { background: linear-gradient(180deg, var(--cream) 0%, #fff 70%); overflow: hidden; }
.ack-head { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: clamp(16px, 3vw, 36px); align-items: end; }
.ack-head .section-head { margin-bottom: clamp(70px, 8vw, 110px); }
.ack-art img { display: block; width: 100%; height: auto; border-radius: 28px 28px 0 0; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.ack-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(-90px, -7vw, -50px); }
.ack-card { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: start; background: #fff; border-radius: var(--radius-lg); padding: 24px 24px 26px; border-top: 6px solid var(--purple); box-shadow: var(--shadow-card); }
.ack-card--teal { border-top-color: var(--teal); }
.ack-card--amber { border-top-color: var(--amber); }
.ack-icon { width: 88px; height: 88px; }
.ack-card h3 { font-size: 1.15rem; margin: 4px 0 0.45em; }
.ack-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* Compact acknowledgement above the footer on every other page */
.ack-strip { background: var(--cream); border-top: 1px solid var(--line); }
.ack-strip-inner { display: grid; grid-template-columns: 190px 1fr 190px; gap: clamp(18px, 3vw, 40px); align-items: center; padding-block: clamp(26px, 3.5vw, 38px); }
.ack-strip-art { width: 100%; height: 150px; object-fit: cover; object-position: 50% 18%; border-radius: 22px; box-shadow: var(--shadow-card); }
.ack-strip-text { text-align: center; max-width: 560px; margin-inline: auto; }
.ack-strip-text h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 0 0 0.35em; }
.ack-strip-text p { margin: 0 0 0.6em; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-soft); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 800; font-size: 0.92rem; color: var(--ink); }
.field label .req { color: var(--purple); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 14px; padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(132, 50, 155, 0.15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin: 14px 0 0; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-status { margin: 14px 0 0; font-weight: 700; color: var(--teal); min-height: 1.4em; }
.form-status--error { color: #b3261e; }
/* hidden from people, visible to spam bots */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-aside { display: grid; gap: 20px; }
.contact-photo { border-radius: var(--radius-lg); }
.info-card { background: linear-gradient(135deg, var(--purple-800) 0%, var(--purple-900) 100%); color: #f3ebf6; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); position: relative; overflow: hidden; }
.info-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; bottom: -110px; border-radius: 50%; background: rgba(224, 164, 58, 0.16); }
.info-card h2 { color: #fff; font-size: 1.45rem; }
.info-list { display: grid; gap: 16px; margin: 18px 0 0; position: relative; z-index: 1; }
.info-list a, .info-list p { display: flex; align-items: center; gap: 14px; margin: 0; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.06rem; overflow-wrap: anywhere; }
.info-list a:hover { text-decoration: underline; color: #fff; }
.info-list .ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.13); display: grid; place-items: center; }
.info-list .ico svg { width: 22px; height: 22px; color: var(--amber); }
.info-card :focus-visible { outline-color: var(--amber); }
.feedback-box { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-900); color: #e3d5ea; padding-top: clamp(40px, 5vw, 60px); font-size: 0.96rem; }
.site-footer a { color: #e3d5ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1.1fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
/* Logo in its own colours on a white card, so it matches the header */
.footer-logo { display: inline-block; margin-bottom: 16px; padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.55); }
.footer-logo img { display: block; width: 190px; height: auto; }
.footer-logo:hover { text-decoration: none; }
.footer-tagline { font-family: var(--font-head); font-weight: 800; color: #fff; margin-bottom: 0.5em; }
.footer-note { max-width: 30em; margin: 0; }
.site-footer h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; line-height: 1.4; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--amber); }
.footer-legal { margin: 28px 0; padding: 20px 24px; border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); font-size: 0.88rem; color: #d6c5de; }
.footer-legal p { margin: 0 0 0.9em; }
.footer-legal p:last-child { margin: 0; }
.footer-legal strong { color: #fff; }
.footer-legal a { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 0 0 30px; font-size: 0.85rem; color: #c7b3d1; }

/* ---------- Registered provider badge (placeholder until official artwork is supplied) ---------- */
/* Registered NDIS provider badge (client's official design, rebuilt so it stays sharp) */
.ndis-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border-radius: 999px;
  background: linear-gradient(135deg, #8b31a0 0%, #6a1f80 55%, #571869 100%); color: #fff;
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px #c7a0d4, 0 14px 28px -16px rgba(74, 28, 87, 0.7);
  font-family: var(--font-head); line-height: 1.2; text-align: left;
}
.ndis-badge-logo { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ndis-badge-logo img { width: 76%; height: auto; display: block; }
.ndis-badge-text strong { display: block; font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: 0.005em; }
.ndis-badge-text span { display: block; font-weight: 600; font-size: 0.82rem; color: rgba(255, 255, 255, 0.92); }
.ndis-badge--dark { margin-top: 18px; }

/* ---------- Service pages ---------- */
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; font-size: 0.92rem; color: var(--ink-soft); }
.crumbs a { font-family: var(--font-head); font-weight: 800; }
.svc-intro { font-size: 1.1rem; }
.svc-body .btn-row { margin-top: 8px; }
.card-title { font-size: 1.22rem; margin: 0 0 0.5em; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.svc-card { position: relative; }
.svc-card .card-link { color: var(--purple); }
.pricing-note { display: flex; align-items: flex-start; gap: 12px; max-width: 760px; margin: 28px auto 0; color: var(--ink-soft); font-size: 0.97rem; }
.pricing-note svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.pricing-note--small { margin: 22px 0 0; font-size: 0.9rem; }
.duo-card h2 { font-size: 1.3rem; margin: 10px 0 0.5em; }

/* ---------- Contact extras ---------- */
.referral-fields { margin: 22px 0 0; padding: 20px; border: 2px dashed rgba(4, 90, 112, 0.35); border-radius: var(--radius-md); background: var(--tint-teal); }
.referral-fields legend { padding: 0 8px; font-family: var(--font-head); font-weight: 800; color: var(--teal-700); }
.referral-fields .field input, .referral-fields .field select { background: #fff; }
#contact-form > .form-grid + .form-grid, #contact-form > .referral-fields + .form-grid { margin-top: 18px; }
.form-privacy { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.form-privacy svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.lang-box { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-card); }
.lang-box p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.lang-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--tint-teal); color: var(--teal); }
.lang-ico svg { width: 22px; height: 22px; }
.commission-box { background: var(--tint-purple); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 32px); }
.commission-box h3 { font-size: 1.25rem; }
.commission-box p { color: var(--ink-soft); }
.commission-list { display: grid; gap: 12px; margin: 0 0 16px; }
.commission-list li { display: flex; gap: 12px; align-items: flex-start; }
.commission-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--purple); margin-top: 2px; }
.commission-list a { font-family: var(--font-head); font-weight: 800; }
.commission-alert { margin: 0; font-weight: 700; color: var(--purple-800) !important; }

/* ---------- Text pages (privacy, accessibility) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); margin-top: 1.6em; }
.prose-meta { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Footer policies ---------- */
.footer-policies { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-policies a { font-weight: 700; }
.footer-bottom span { line-height: 1.6; }

/* ---------- Floating: mobile action bar + accessibility ---------- */
.mobile-bar { display: none; }
.a11y-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 260; width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff;
  background: var(--purple); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 12px 26px -10px rgba(74, 28, 87, 0.7); transition: transform 0.2s ease, background-color 0.2s ease;
}
.a11y-toggle svg { width: 30px; height: 30px; }
.a11y-toggle:hover { transform: scale(1.06); background: var(--purple-700); }
.a11y-toggle:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.a11y-panel {
  position: fixed; right: 22px; bottom: 88px; z-index: 270; width: min(360px, calc(100vw - 24px)); max-height: calc(100vh - 120px); overflow: auto;
  background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(44, 20, 54, 0.55); border: 1px solid var(--line); padding: 20px;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.a11y-head h2 { font-size: 1.2rem; margin: 0; }
.a11y-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tint-purple); color: var(--purple-800); cursor: pointer; display: grid; place-items: center; }
.a11y-close svg { width: 18px; height: 18px; }
.a11y-intro { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 14px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a11y-opt {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 8px;
  border: 2px solid var(--line); border-radius: 16px; background: var(--cream); color: var(--ink); cursor: pointer;
  font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; line-height: 1.2; text-align: center; transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.a11y-opt svg { width: 28px; height: 28px; }
.a11y-opt:hover { border-color: var(--purple); }
.a11y-opt[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.a11y-level { display: flex; gap: 4px; }
.a11y-level i { width: 16px; height: 4px; border-radius: 4px; background: rgba(44, 40, 49, 0.2); }
.a11y-opt[aria-pressed="true"] .a11y-level i { background: rgba(255, 255, 255, 0.35); }
.a11y-opt[data-level="1"] .a11y-level i:nth-child(1), .a11y-opt[data-level="2"] .a11y-level i { background: #fff; }
.a11y-reset {
  width: 100%; margin-top: 12px; padding: 12px; border-radius: 14px; border: 2px solid var(--teal); background: #fff; color: var(--teal);
  font-family: var(--font-head); font-weight: 800; cursor: pointer;
}
.a11y-reset:hover { background: var(--teal); color: #fff; }

/* Accessibility modes (set on <html> by the accessibility panel) */
html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }
html.a11y-spacing body { letter-spacing: 0.05em; word-spacing: 0.14em; }
html.a11y-spacing p, html.a11y-spacing li { line-height: 1.95 !important; }
html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font h4, html.a11y-font .btn,
html.a11y-font button, html.a11y-font input, html.a11y-font select, html.a11y-font textarea, html.a11y-font [class] { font-family: Verdana, Tahoma, sans-serif !important; }
html.a11y-links a:not(.btn):not(.brand):not(.card-media) { background: #fff3a6 !important; color: #1b1b1b !important; text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 1px solid #1b1b1b; }
html.a11y-links .btn, html.a11y-links .chip { outline: 3px dashed #1b1b1b; outline-offset: 2px; }
html.a11y-contrast {
  --ink: #000; --ink-soft: #111; --heading: #3d0f4d; --purple: #5a1a6e; --purple-700: #45114f; --teal: #013544; --teal-700: #012a36;
  --line: #4a4a4a; --cream: #ffffff; --cream-2: #f2f2f2; --tint-purple: #f2e6f6; --tint-teal: #e2f0f2;
}
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .card, html.a11y-contrast .faq-item, html.a11y-contrast .value-card, html.a11y-contrast .form-card, html.a11y-contrast .link-card,
html.a11y-contrast .duo-card, html.a11y-contrast .help-box, html.a11y-contrast .ack-card, html.a11y-contrast .team-grid li, html.a11y-contrast .qual { border: 2px solid #000 !important; }
html.a11y-contrast a:not(.btn) { text-decoration: underline; }
html.a11y-contrast .page-hero, html.a11y-contrast .section--tint { background: #fff; }
html.a11y-noimg img:not(.brand img):not(.footer-logo img), html.a11y-noimg video { opacity: 0 !important; }
html.a11y-noimg .card-media, html.a11y-noimg .frame, html.a11y-noimg .video-card { background: var(--tint-purple) !important; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 8-6.5 2L9.5 19z' fill='%23000' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }
html.a11y-still { scroll-behavior: auto; }
.js.a11y-still [data-reveal] { opacity: 1; transform: none; }
.js.a11y-still [data-reveal] .frame img { transform: none; }
.js.a11y-still .steps::before { transform: none; }

/* ---------- Scroll reveal & motion ---------- */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 300; pointer-events: none;
  background: linear-gradient(90deg, var(--purple), var(--teal)); transform-origin: left center; transform: scaleX(0);
}
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="zoom"] { transform: scale(0.95); }
.js [data-reveal="left"].is-visible, .js [data-reveal="right"].is-visible, .js [data-reveal="zoom"].is-visible { transform: none; }
.js [data-reveal] .frame img { transform: scale(1.12); transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-visible .frame img { transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(0.95) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(24px, 18px, 0); } }
.hero-copy > * { animation: rise 0.8s cubic-bezier(0.22, 0.7, 0.2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.36s; }
.hero-visual { animation: settle 1s cubic-bezier(0.22, 0.7, 0.2, 1) 0.25s both; }
.page-hero > .container > * { animation: rise 0.8s cubic-bezier(0.22, 0.7, 0.2, 1) both; }
.page-hero > .container > *:nth-child(2) { animation-delay: 0.1s; }
.page-hero > .container > *:nth-child(3) { animation-delay: 0.2s; }
.page-hero > .container > *:nth-child(4) { animation-delay: 0.3s; }
.hero::before, .page-hero::before { animation: drift 14s ease-in-out infinite alternate; }
.hero::after, .page-hero::after { animation: drift 17s ease-in-out infinite alternate-reverse; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .cards { gap: 20px; }
  .steps { gap: 18px; }
  .svc-tiles { grid-template-columns: repeat(2, 1fr); }
  .link-cards { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .ack-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .ack-head { grid-template-columns: 1fr 1fr; }
  .ack-head .section-head { grid-column: 1 / -1; grid-row: 1; margin-bottom: 8px; }
  .ack-strip-inner { grid-template-columns: 150px 1fr 150px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 52px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 24px 26px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -26px rgba(74, 28, 87, 0.6);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { padding: 14px 18px; font-size: 1.08rem; }

  /* Home hero: heading, lede, Uncle Moe, then CTA (the mobile-bar already gives a standing CTA) */
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-copy .lede { order: 3; margin-bottom: 22px; }
  .hero-copy .hero-actions { order: 5; }
  .hero-visual { order: 4; max-width: 460px; width: 100%; margin: 0 auto 22px; min-height: 0; }
  .hero-moe { width: 78%; }

  /* "Who we support": icon sits beside the heading to save height */
  .paths { grid-template-columns: 1fr; }
  .path-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 0; }
  .path-card > .path-ico { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 52px; height: 52px; margin-bottom: 0; }
  .path-card > .path-eyebrow { grid-column: 2; grid-row: 1; margin: 0; align-self: end; }
  .path-card > h3 { grid-column: 2; grid-row: 2; margin: 2px 0 0; font-size: 1.3rem; align-self: start; }
  .path-card > p:not(.path-eyebrow), .path-card .check-list, .path-card .btn { grid-column: 1 / -1; }
  .path-card > p:not(.path-eyebrow) { margin-top: 16px; }

  .split, .faq-layout, .contact-layout, .feedback-box { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media { max-width: 600px; margin-inline: auto; width: 100%; }
  .faq-intro { position: static; }
  .info-band-inner { grid-template-columns: 1fr; gap: 12px; }
  .help-box { grid-template-columns: 1fr; text-align: left; }
  .contact-aside { max-width: 600px; }

  /* floating bar (Call / Enquire) */
  body { padding-bottom: 66px; }
  .mobile-bar {
    display: flex; gap: 10px; justify-content: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
    padding: 9px 76px 9px 16px; padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 246, 238, 0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 22px -14px rgba(74, 28, 87, 0.45);
  }
  .mobile-bar .btn { flex: 0 1 150px; padding: 9px 16px; font-size: 0.92rem; gap: 8px; min-height: 42px; box-shadow: none; }
  .mobile-bar .btn svg { width: 17px; height: 17px; }
  .a11y-toggle { right: 14px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border-width: 2px; }
  .a11y-toggle svg { width: 26px; height: 26px; }
  .a11y-panel { right: 12px; left: 12px; width: auto; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); max-height: calc(100vh - 150px); }
}

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; gap: 26px; max-width: 520px; margin-inline: auto; }
  .steps::before { top: 42px; bottom: 42px; left: 41px; right: auto; width: 4px; height: auto; transform: scaleY(0); transform-origin: top center; background: repeating-linear-gradient(180deg, var(--purple) 0 12px, transparent 12px 20px); }
  .steps.is-visible::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 84px 1fr; gap: 20px; text-align: left; align-items: start; }
  .step-icon { margin: 0; }
  .step p { margin: 0; max-width: none; }
  .check-list--grid, .duo { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .ack-strip-inner { grid-template-columns: 96px 1fr; }
  .ack-strip-art--right { display: none; }
  .ack-strip-art { height: 96px; border-radius: 50%; object-position: 50% 12%; }
  .ack-strip-text { text-align: left; margin: 0; }
}

@media (max-width: 640px) {
  .trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; }
  .trust-list li { align-items: center; gap: 10px; }
  .trust-list strong { font-size: 0.88rem; }
  .trust-list small { font-size: 0.78rem; }
  .svc-tiles { grid-template-columns: 1fr; gap: 16px; }
  .svc-tile-img { aspect-ratio: 16 / 9; }
  .svc-tile-body { padding: 14px 16px 16px; gap: 12px; }
  .svc-tile-text span { font-size: 0.9rem; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Simplify the footer on small screens: Services already reachable via Quick Links */
  .footer-grid > :nth-child(3) { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 1.03rem; }
  .container { width: min(100% - 32px, var(--container)); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-chip { font-size: 0.8rem; padding: 8px 12px 8px 8px; }
  .hero-chip strong { font-size: 0.92rem; }
  .hero-chip-play { width: 36px; height: 36px; }
  .hero-chip--video { bottom: 12%; }
  .ack-card { grid-template-columns: 64px 1fr; gap: 14px; padding: 20px 18px 22px; }
  .ack-icon { width: 64px; height: 64px; }
  .ack-card h3 { font-size: 1.08rem; margin-top: 2px; }
  .ndis-badge { gap: 10px; padding: 5px 16px 5px 5px; }
  .ndis-badge-logo { width: 44px; height: 44px; }
  .ndis-badge-text strong { font-size: 0.88rem; }
  .ndis-badge-text span { font-size: 0.74rem; }
  .video-card video::cue { font-size: 0.85rem; }
  .faq-q { padding: 15px 15px; gap: 12px; font-size: 1rem; }
  .faq-num { display: none; }
  .faq-a-inner p, .faq-list--compact .faq-a-inner p, .levels .faq-a-inner p { padding: 0 16px 18px; }
  .frame-wrap::before { transform: translate(10px, 10px); }
  .frame-wrap--purple::before { transform: translate(-10px, 10px); }
  .cta-banner { border-radius: 26px; }
  .cta-banner .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .card--media .card-body { padding: 0 22px 26px; }
  .link-cards { grid-template-columns: 1fr; }
  .video-play-icon { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .video-play-label { margin: 0 14px 12px; font-size: 0.9rem; }
  /* Quick Links and Get In Touch side by side (contact column gets the extra width for the email) */
  .footer-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 18px; row-gap: 26px; }
  .footer-contact a, .footer-contact span { gap: 8px; }
  .footer-bottom { flex-direction: column; }
  .btn { white-space: normal; text-align: center; }
  /* compact value cards: icon beside the text */
  .value-grid { gap: 12px; }
  .value-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; }
  .value-card .icon-badge { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; margin: 0; }
  .value-card .icon-badge svg { width: 22px; height: 22px; }
  .value-card h3 { margin: 2px 0 4px; font-size: 1.1rem; }
  /* jump-to chips become one swipeable row */
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 22px -16px 0; padding: 4px 16px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
}

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

/* ---------- Reduced motion (system setting) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal] .frame img { opacity: 1; transform: none; }
  .steps::before { transform: none !important; }
}
