/* Accessible Care & Living — site stylesheet.
   Source: site-src/assets/styles.css (copied into site/assets/css by the build). */

@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  --navy: #14375d;
  --navy-light: #1f4a7a;
  --navy-dark: #0d2743;
  --orange: #f7831d;
  --orange-deep: #f29100;
  --teal: #017987;
  --grey: #f4f2f0;
  --footer: #f7f7f9;
  --ink: #111;
  --font: "Jost", "Segoe UI", Arial, sans-serif;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --header-h: 7.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.45; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(13, 39, 67, .85); }
.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: fixed; left: 1rem; top: -5rem; z-index: 300; background: var(--navy); color: #fff; padding: .75rem 1.1rem; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2.5rem, 80rem); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; overflow: hidden; isolation: isolate;
  padding: .8rem 1.5rem; border: 0; border-radius: 3px; font-size: 1.0625rem; font-weight: 600; line-height: 1; letter-spacing: .01em;
  text-transform: uppercase; text-decoration: none; color: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-orange { background: var(--orange); }
.btn-orange::before { background: var(--navy); }
.btn-navy { background: var(--navy); box-shadow: 0 .6rem 1.4rem -.6rem rgba(0, 0, 0, .6); }
.btn-navy::before { background: var(--orange); }
.btn-black { background: #000; }
.btn-black::before { background: var(--navy); }
.btn-lg { font-size: 1.375rem; font-weight: 500; padding: .95rem 1.75rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background-color .35s, box-shadow .35s, color .35s; }
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .28); transition: border-color .35s; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 2.75rem; transition: height .35s var(--ease); }
.topbar-phone { font-weight: 600; font-size: 1rem; text-decoration: none; transition: color .25s; }
.topbar-phone:hover { color: var(--orange); }
.social { display: flex; gap: .45rem; }
.social a { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 3px; background: var(--navy); color: #fff; transition: background-color .25s, transform .3s var(--ease); }
.social a:hover { background: var(--orange); transform: translateY(-3px) rotate(-6deg); }
.social svg { width: 1rem; height: 1rem; fill: currentColor; }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 4.5rem; transition: height .35s var(--ease); }
.brand { position: relative; display: block; flex: none; }
.brand img { height: 3.4rem; width: auto; transition: height .35s var(--ease), opacity .35s; }
.logo-dark { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.primary-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 2rem; }
.primary-nav ul { display: flex; gap: 2.25rem; margin-inline: auto; }
.primary-nav ul a { position: relative; display: block; padding: .5rem 0; font-size: 1rem; font-weight: 500; text-transform: uppercase; text-decoration: none; transition: color .25s; }
.primary-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease); }
.primary-nav ul a:hover, .primary-nav ul a[aria-current] { color: var(--orange); }
.primary-nav ul a:hover::after, .primary-nav ul a:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }
.btn-referral { box-shadow: 0 0 .9rem rgba(247, 131, 29, .65); }

.site-header.is-stuck { background: #fff; color: #000; box-shadow: 0 .25rem 1.25rem rgba(0, 0, 0, .12); }
.site-header.is-stuck .topbar { border-color: #eee; }
.site-header.is-stuck .topbar-inner { height: 2.25rem; }
.site-header.is-stuck .navbar { height: 3.75rem; }
.site-header.is-stuck .brand img { height: 2.75rem; }
.site-header.is-stuck .logo-light { opacity: 0; }
.site-header.is-stuck .logo-dark { opacity: 1; }
.read-progress { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; opacity: 0; transition: opacity .3s; }
.site-header.is-stuck .read-progress { opacity: 1; }
.read-progress span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }

.nav-toggle { display: none; width: 2.9rem; height: 2.9rem; padding: 0; border: 0; border-radius: 3px; background: var(--orange); place-content: center; gap: 5px; }
.nav-toggle i { display: block; width: 1.4rem; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(34rem, 78vh, 46rem); display: grid; place-items: center; overflow: hidden; background: #222; color: #fff; text-align: center; }
.hero-slides, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: 50% 30%; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.02); }
.slide.is-active { opacity: 1; animation: kenburns 9s linear both; }
.slide:nth-child(even).is-active { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate3d(-1.2%, -1%, 0); } }
@keyframes kenburns-alt { from { transform: scale(1.14) translate3d(1.2%, 0, 0); } to { transform: scale(1.02); } }
.hero-slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .28) 35%, rgba(0, 0, 0, .45)); }
.hero-content { position: relative; padding: var(--header-h) 1.25rem 2rem; transform: translate3d(0, var(--hy, 0), 0); opacity: var(--ho, 1); will-change: transform; }
.hero-rule { display: block; width: 5.5rem; height: 4px; margin: 1.4rem auto 0; background: var(--orange); transform-origin: 50% 50%; }
.js .hero-content.is-playing .hero-rule { animation: ruleIn .9s 1.55s var(--ease) both; }
@keyframes ruleIn { from { transform: scaleX(0); } }
.hero-btn { margin-top: 1.5rem; }
.js .hero-content:not(.is-playing) .hero-rule,
.js .hero-content:not(.is-playing) .hero-btn { opacity: 0; }
.js .hero-content.is-playing .hero-btn { animation: popIn .7s 1.75s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(1rem); } }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 1.25rem; display: flex; justify-content: center; align-items: center; gap: .9rem; }
.hero-dots { display: flex; gap: .5rem; }
.hero-dots button { position: relative; width: 2.2rem; height: 1.5rem; padding: 0; border: 0; background: none; }
.hero-dots button::before, .hero-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; }
.hero-dots button::before { background: rgba(255, 255, 255, .45); }
.hero-dots button::after { background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }
.hero-dots button[aria-current="true"]::after { transform: scaleX(1); }
.hero.is-playing .hero-dots button[aria-current="true"]::after { animation: dotFill var(--slide-ms, 6000ms) linear both; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-pause { display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; }
.hero-pause svg { width: 1rem; height: 1rem; fill: currentColor; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- Intro ---------- */
.intro { padding: 3.25rem 0 2.5rem; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 2.5rem; }
.intro-title { font-size: 1.65rem; font-weight: 700; line-height: 1.25; margin-bottom: 1rem; }
.intro p + p { margin-top: .8rem; }

/* ---------- Section titles ---------- */
.section-title { position: relative; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 900; text-transform: uppercase; text-align: center; letter-spacing: .02em; padding-bottom: .9rem; }
.section-title.medium { font-weight: 500; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5rem; height: 4px; margin-left: -2.5rem; background: var(--orange); transform: scaleX(0); transition: transform .8s .25s var(--ease); }
.section-title.is-in::after, html:not(.js) .section-title::after { transform: scaleX(1); }

/* ---------- Services ---------- */
.services { padding: 2rem 0 4.5rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1.25rem; margin-top: 2.25rem; }
.service-card { display: flex; flex-direction: column; background: var(--navy); box-shadow: 0 .2rem .6rem rgba(0, 0, 0, .18); }
.service-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #dde3ea; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 55, 93, .55), transparent 55%); opacity: 0; transition: opacity .45s; }
.service-body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.75rem 1.75rem 1.6rem; color: #fff; text-align: center; transition: background-color .45s; }
.service-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); transform: scaleX(0); transition: transform .5s var(--ease); }
.service-body h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.service-body p { font-size: 1rem; line-height: 1.5; }
.learn-more { position: relative; margin-top: auto; padding: .25rem 0; font-size: 1rem; font-weight: 600; text-decoration: none; }
.learn-more::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; transition: background-color .3s; }
.learn-more::after { content: "→"; display: inline-block; width: 0; opacity: 0; transform: translateX(-.4rem); transition: width .35s var(--ease), opacity .35s, transform .35s var(--ease); }
.service-card:hover, .service-card:focus-within { transform: translateY(-.5rem); box-shadow: 0 1.4rem 2.4rem -.8rem rgba(13, 39, 67, .55); }
.service-card:hover .service-img img, .service-card:focus-within .service-img img { transform: scale(1.09); }
.service-card:hover .service-img::after, .service-card:focus-within .service-img::after { opacity: 1; }
.service-card:hover .service-body, .service-card:focus-within .service-body { background: var(--navy-light); }
.service-card:hover .service-body::before, .service-card:focus-within .service-body::before { transform: scaleX(1); }
.service-card:hover .learn-more::before, .learn-more:focus-visible::before { background: var(--orange); }
.service-card:hover .learn-more::after, .learn-more:focus-visible::after { width: 1.3rem; opacity: 1; transform: translateX(.3rem); }

/* ---------- Why choose ---------- */
.why { padding: 4rem 0 4.5rem; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; width: min(100% - 2.5rem, 69rem); align-items: start; }
.why h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 300; line-height: 1.08; }
.why-kicker { display: block; text-transform: uppercase; }
.why-name { display: block; color: var(--navy); }
.why-lede { margin-top: 1.5rem; }
.book-label { margin-top: 2.5rem; font-size: 1rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #3d5a80; }
.book-links { display: grid; justify-items: start; gap: .2rem; margin-top: .4rem; }
.book-links a { font-size: 1.55rem; font-weight: 600; color: var(--navy); text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 3px no-repeat; transition: background-size .45s var(--ease); }
.book-links a:hover, .book-links a:focus-visible { background-size: 100% 3px; }
.why-list { border-top: 1px solid #e6e6e6; padding-top: 1rem; display: grid; gap: .25rem; }
.why-list li { position: relative; isolation: isolate; padding: .7rem 1rem .7rem 1.1rem; }
.why-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--orange); transform: scaleY(0); transform-origin: 50% 0; transition: transform .6s .35s var(--ease); }
.why-list li::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grey); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.why-list li.is-in::before, html:not(.js) .why-list li::before { transform: scaleY(1); }
.why-list li:hover::after { transform: scaleX(1); }
.why-list h3 { font-size: 1.05rem; font-weight: 700; }
.why-list p { font-size: 1rem; line-height: 1.4; }

/* ---------- Enquire band ---------- */
.enquire { background: var(--navy); color: #fff; padding: 3.5rem 0 4rem; overflow: hidden; }
.enquire-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; width: min(100% - 2.5rem, 75rem); align-items: start; }
.enquire h2 { font-size: clamp(2rem, 1.3rem + 2.3vw, 3rem); font-weight: 900; line-height: 1.05; letter-spacing: .01em; margin-bottom: 1rem; }
.enquire-grid > div > p { font-weight: 600; font-size: 1.05rem; }
.enquiry-form { display: grid; gap: .75rem; }
.enquiry-form[hidden] { display: none; }
.enquiry-form h3 { font-size: 1.6rem; font-weight: 900; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field { position: relative; }
.field input, .field textarea { display: block; width: 100%; padding: 1.25rem .9rem .4rem; border: 2px solid transparent; border-radius: 2px; background: #fff; font: inherit; font-size: 1rem; color: #111; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field label { position: absolute; left: .95rem; top: .82rem; font-size: 1rem; color: #5b6470; pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-.62rem) scale(.74); color: var(--navy); font-weight: 600; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(247, 131, 29, .45); }
.field [aria-invalid="true"] { border-color: #ff6b5e; background: #fff5f4; }
.error { margin-top: .3rem; font-size: .95rem; font-weight: 600; color: #ffd0cb; }
.btn-submit { justify-self: start; padding: .9rem 1.5rem; font-weight: 500; }
.btn-submit::before { background: #fff; }
.btn-submit:hover, .btn-submit:focus-visible { color: var(--navy); }
.btn-submit svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.btn-submit:hover svg { transform: translateX(.3rem); }
.form-success { display: grid; gap: .9rem; justify-items: start; padding: 1rem 0; }
.form-success[hidden] { display: none; }
.form-success svg { width: 4rem; height: 4rem; fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.form-success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .5s var(--ease) forwards; }
.form-success circle { stroke-dasharray: 180; stroke-dashoffset: 180; animation: draw .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success .form-success-title { font-size: 1.6rem; font-weight: 900; }
.form-success a { color: #fff; font-weight: 700; }
.link-btn { padding: .4rem 0; border: 0; background: none; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }

/* ---------- About split ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--orange); }
.about-photo { position: relative; overflow: hidden; min-height: 26rem; }
.about-photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 30% 50%; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.js .about-photo { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.js .about.is-in .about-photo { clip-path: inset(0); }
.about-panel { padding: 3.25rem clamp(1.5rem, 3vw, 2.75rem); color: #fff; max-width: 46rem; }
.about-panel h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; margin-bottom: 1rem; }
.about-panel h3 { font-size: 1.1rem; font-weight: 700; margin-top: .9rem; }
.about-panel p { font-size: 1.05rem; font-weight: 500; line-height: 1.4; }
.about-panel p + p { margin-top: .9rem; }
.about-panel .btn { margin-top: .4rem; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 3.5rem 0 3rem; }
/* Testimonials: a 3D deck of cards. The script shuffles the deck, pulls one card
   out and flips it face up, then shuffles it back in and pulls the next. */
.testimonials { overflow-x: clip; }
.t-carousel { position: relative; margin-top: 2.5rem; }
.t-stage { position: relative; perspective: 1600px; perspective-origin: 50% 15%; }
.t-card { position: absolute; left: 0; top: 0; margin: 0; transform-style: preserve-3d; transform-origin: 50% 50%; will-change: transform; }
.t-face, .t-back { border-radius: 1.4rem; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.t-face { position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem 2.2rem 1.7rem; background: #fff; border: 1px solid #f1e2d4; box-shadow: 0 1.8rem 3rem -2rem rgba(120, 60, 10, .5); }
.t-mark { display: block; height: 2.6rem; font-family: var(--display); font-size: 5rem; font-weight: 800; line-height: 1; color: var(--orange); }
.t-face blockquote { font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); font-style: italic; line-height: 1.55; color: #2a2a33; }
.t-face figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: 1.3rem; font-weight: 700; font-size: 1.05rem; color: #17171f; }
.t-avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: linear-gradient(135deg, #fbb26e, var(--orange)); color: #fff; font-family: var(--display); font-weight: 800; }
.t-back { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .4rem; transform: rotateY(180deg); background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .22), transparent 45%), linear-gradient(135deg, #f7831d, #d95f06); box-shadow: inset 0 0 0 .6rem rgba(255, 255, 255, .14), inset 0 0 0 .7rem rgba(255, 255, 255, .35), 0 .3rem .6rem rgba(120, 50, 0, .25); color: #fff; }
.t-back-mark { height: 4.5rem; font-family: var(--display); font-size: 8rem; font-weight: 800; line-height: 1; opacity: .9; }
.t-back-name { font-size: .95rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.t-table { position: absolute; left: var(--tx, 50%); top: var(--ty, 50%); width: var(--tw, 20rem); height: 3.5rem; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 80, 20, .25), transparent); pointer-events: none; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.6rem; }
html:not(.js) .t-stage { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
html:not(.js) .t-card { position: static; }
html:not(.js) .t-back, html:not(.js) .t-table, html:not(.js) .t-controls { display: none; }
.t-arrow { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 2px solid var(--navy); border-radius: 50%; background: #fff; color: var(--navy); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.t-arrow:hover { background: var(--navy); color: #fff; }
.t-arrow.prev:hover { transform: translateX(-3px); }
.t-arrow.next:hover { transform: translateX(3px); }
.t-arrow svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.t-dots { display: flex; justify-content: center; gap: .2rem; }
.t-dots button { position: relative; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: none; }
.t-dots button::before { content: ""; position: absolute; inset: 50% auto auto 50%; width: .55rem; height: .55rem; margin: -.275rem 0 0 -.275rem; border-radius: 50%; background: #c9c9c9; transition: background-color .3s, transform .3s var(--ease); }
.t-dots button[aria-current="true"]::before { background: #000; transform: scale(1.35); }

/* ---------- Photo bands ---------- */
.band { position: relative; overflow: hidden; color: #fff; text-align: center; isolation: isolate; }
.band-bg { position: absolute; inset: -18% 0; z-index: -2; background-size: cover; background-position: 50% 30%; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .58); }
.band-inner { padding: 7rem 0; display: grid; gap: 1rem; justify-items: center; }
.band h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.band p { max-width: 70rem; font-weight: 600; }
.band-final::after { background: rgba(60, 64, 70, .72); }
.band-final .band-inner { padding: 6rem 0; }
.band-final h2 { font-weight: 600; text-transform: none; letter-spacing: 0; }

/* ---------- Process ---------- */
.process { background: var(--orange-deep); color: #fff; text-align: center; padding: 4.25rem 0 5rem; }
.process h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 700; text-transform: uppercase; }
.title-rule { display: block; width: 6.5rem; height: 4px; margin: 1.1rem auto 0; background: #fff; transform: scaleX(0); transition: transform .9s .2s var(--ease); }
.process.is-in .title-rule, html:not(.js) .title-rule { transform: scaleX(1); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.25rem; }
.steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 2.35rem; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 .5rem, transparent .5rem 1rem); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s .4s var(--ease); opacity: .85; }
.process.is-in .steps::before, html:not(.js) .steps::before { transform: scaleX(1); }
.step { position: relative; display: grid; justify-items: center; gap: .8rem; align-content: start; }
.step-icon { position: relative; display: grid; place-items: center; width: 4.7rem; height: 4.7rem; border: 2px solid #fff; border-radius: 50%; background: var(--orange-deep); transition: background-color .35s, transform .45s var(--ease); }
.step-icon::after { content: ""; position: absolute; inset: -2px; border: 2px solid #fff; border-radius: 50%; opacity: 0; }
.step-icon svg { width: 2.2rem; height: 2.2rem; fill: #fff; transition: fill .35s, transform .45s var(--ease); }
.step h3 { font-size: 1.5rem; font-weight: 700; margin-top: .4rem; }
.step p { font-size: 1rem; font-weight: 500; line-height: 1.75; max-width: 17rem; }
.step:hover .step-icon { background: #fff; transform: translateY(-.35rem); }
.step:hover .step-icon svg { fill: var(--orange-deep); transform: scale(1.1) rotate(-8deg); }
.step:hover .step-icon::after { animation: ring 1s var(--ease); }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
.js .step { opacity: 0; transform: translateY(1.75rem) scale(.94); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(.35s + var(--i, 0) * .4s); }
.js .process.is-in .step { opacity: 1; transform: none; }
.js .process.is-in .step .step-icon::after { animation: ring 1.1s var(--ease) calc(.8s + var(--i, 0) * .4s); }

/* ---------- Contact strip ---------- */
.contact-strip { background: var(--grey); text-align: center; padding: 3.25rem 0 3.5rem; }
.contact-strip h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 700; line-height: 1.15; color: var(--navy); }
.strip-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.pill { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; overflow: hidden; isolation: isolate; border: 2px solid currentColor; border-radius: 35px; font-size: 1.0625rem; font-weight: 600; text-decoration: none; transition: color .35s, transform .3s var(--ease); }
.pill::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; transform: translateY(102%); transition: transform .4s var(--ease); }
.pill svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.pill-teal { color: var(--teal); }
.pill-teal::before { background: var(--teal); }
.pill-orange { color: #a85400; border-color: var(--orange-deep); }
.pill-orange::before { background: var(--orange-deep); }
.pill:hover, .pill:focus-visible { color: #fff; transform: translateY(-2px); }
.pill-orange:hover, .pill-orange:focus-visible { color: #111; }
.pill:hover::before, .pill:focus-visible::before { transform: none; }
.pill:hover svg { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr .8fr .8fr; gap: 2.5rem; padding: 3.5rem 0; }
.footer-brand img { width: 13.5rem; height: auto; }
.site-footer h2 { font-size: 1.375rem; font-weight: 600; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer p, .site-footer li { font-size: 1.05rem; }
.site-footer p + p { margin-top: .8rem; }
.site-footer ul { display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease), color .25s; }
.site-footer a:hover, .site-footer a:focus-visible { background-size: 100% 2px; color: var(--navy); }
.copyright { background: #1c1c1c; color: #fff; text-align: center; padding: 1.25rem 0; font-size: 1rem; }

.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .3); opacity: 0; visibility: hidden; transform: translateY(1rem); transition: opacity .35s, transform .35s var(--ease), visibility .35s, background-color .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; translate: 0 2rem; transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), box-shadow .45s var(--ease), transform .45s var(--ease); }
.js .reveal.from-left { translate: -2.5rem 0; }
.js .reveal.from-right { translate: 2.5rem 0; }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .nav-toggle { display: grid; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 0; padding: 0 1.25rem; background: #fff; color: #000; box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, .18); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .45s var(--ease), padding .45s var(--ease), visibility .45s; }
  .primary-nav.is-open { max-height: 26rem; padding: .5rem 1.25rem 1.5rem; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 0; margin: 0; }
  .primary-nav ul a { padding: .95rem 0; border-bottom: 1px solid #eee; font-size: 1.1rem; }
  .primary-nav ul a::after { display: none; }
  .btn-referral { margin-top: 1.1rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  .intro-grid, .why-grid, .enquire-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 18rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
  .steps::before { display: none; }
  .band-inner { padding: 4.5rem 0; }
  .js .reveal.from-left, .js .reveal.from-right { translate: 0 2rem; }
  .js .reveal.is-in { translate: 0 0; }
}
@media (max-width: 36rem) {
  body { font-size: 1.0625rem; }
  .service-grid, .steps, .form-row, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { height: clamp(30rem, 80vh, 38rem); }
}

/* =====================================================================
   Outline-then-fill titles (.fx): hero and page banners
   The real text sits in .fx-text (transparent), so search engines and
   screen readers read it once. ::before draws the outline through an SVG
   filter that traces only the outer edge of each letter (no inner contour
   lines), and ::after is the white fill.
   The fill loops exactly like the original site: over 5 seconds white floods
   the letters from left to right, then drains away left to right, forever.
   ===================================================================== */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.fx { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.04; color: #fff; font-kerning: normal; -webkit-font-smoothing: antialiased; }
.fx-mask { display: block; overflow: clip; overflow-clip-margin: .25em; padding-block: .03em; }
.fx-line { display: inline-grid; vertical-align: top; }
.fx-line > .fx-text, .fx-line::before, .fx-line::after { grid-area: 1 / 1; }
.fx-text { color: transparent; }
/* the shadow lives on the outline layer, underneath the fill, so it never darkens the letter edges */
.fx-line::before { content: attr(data-text); color: #fff; filter: url(#fx-outline) drop-shadow(0 .12rem .7rem rgba(0, 0, 0, .45)); }
.fx-line::after {
  content: attr(data-text); color: transparent;
  background: linear-gradient(90deg, transparent 50%, #fff 0) 100% 0 / 200% 100%; /* 100% = fully filled */
  -webkit-background-clip: text; background-clip: text;
}
/* waiting for the font: keep titles hidden so the fallback font never animates in */
.js .fx:not(.is-ready) { visibility: hidden; }
.js .fx .fx-line { transform: translateY(105%); }
/* entrance: each line rises out of its mask as an outline */
.js .fx.is-playing .fx-line { animation: fxRise .95s var(--ease) both; animation-delay: calc(.1s + var(--l, 0) * .14s); }
@keyframes fxRise { from { transform: translateY(105%) rotate(2.5deg); } to { transform: none; } }
/* then the original looping fill takes over */
.js .fx .fx-line::after { background-position: 200% 0; }
.js .fx.is-playing .fx-line::after { animation: textFill 5s linear .9s infinite; }
@keyframes textFill { from { background-position: 200% 0; } to { background-position: 0 0; } }
/* hero: a quicker fill (1.2s) and drain (1.2s), then a 4-second pause on the outline before looping */
.js .hero-title.is-playing .fx-line::after { animation: heroFill 6.4s linear .9s infinite; }
@keyframes heroFill {
  0% { background-position: 200% 0; }
  18.75% { background-position: 100% 0; }
  37.5%, 100% { background-position: 0 0; }
}

.hero-title { font-size: clamp(2.3rem, .9rem + 5vw, 5.1rem); }
.hero-eyebrow { display: block; margin-bottom: 1.1rem; font-family: var(--font); font-size: clamp(.85rem, .78rem + .3vw, 1.05rem); font-weight: 600; letter-spacing: .22em; color: #fff; text-shadow: 0 .1rem .6rem rgba(0, 0, 0, .5); }
.js .hero-title.is-playing .hero-eyebrow { animation: eyebrowIn .9s var(--ease) both; }
@keyframes eyebrowIn { from { opacity: 0; letter-spacing: .45em; } }

/* ---------- Display font for the big headings ---------- */
.section-title, .band h2, .process h2, .enquire h2 { font-family: var(--display); }
.section-title { font-weight: 800; letter-spacing: .03em; }
.section-title.medium { font-weight: 600; }
.band h2, .enquire h2 { font-weight: 800; }
.band-final h2 { font-weight: 700; }

/* ---------- Inner-page banner ---------- */
.page-banner { position: relative; display: grid; place-items: center; min-height: 25rem; padding: calc(var(--header-h) + 1.5rem) 1.25rem 3rem; overflow: hidden; color: #fff; text-align: center; isolation: isolate; background: var(--navy-dark); }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .36) 45%, rgba(0, 0, 0, .5)); }
.page-banner--tall { min-height: 32rem; }
.banner-title { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5rem); }
.banner-btn { margin-top: 1.6rem; }
.js .page-banner .banner-btn { animation: popIn .7s 1.5s var(--ease) both; }

/* ---------- About page ---------- */
.eyebrow { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #a04a00; }
.eyebrow::before { content: ""; width: 2rem; height: 3px; background: repeating-linear-gradient(90deg, var(--navy) 0 3px, transparent 3px 6px); }
.about-intro { padding: 4.5rem 0; }
.about-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; align-items: center; }
.about-intro-copy { display: grid; gap: .9rem; }
.about-intro-copy h2 { font-family: var(--display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; line-height: 1.12; color: var(--navy); margin-bottom: .3rem; }
.about-intro-copy h3 { font-size: 1.2rem; font-weight: 700; margin-top: .6rem; }
.about-intro-close { margin-top: .6rem; padding: 1rem 1.25rem; border-left: 4px solid var(--orange); background: var(--grey); font-weight: 600; }
.about-intro-media { position: relative; aspect-ratio: 1; max-width: 30rem; justify-self: center; width: 100%; }
.about-intro-media img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 1.5rem 3rem -1.25rem rgba(13, 39, 67, .5); }
.about-intro-media .ring { position: absolute; inset: -1.1rem; border: 3px dashed var(--orange); border-radius: 50%; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.why--tinted { background: #f7f8f9; }

/* ---------- Services page ---------- */
.svc-nav { position: sticky; top: 6rem; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid #e8e8e8; }
.svc-nav ul { display: flex; gap: .4rem; overflow-x: auto; padding: .7rem 0; scrollbar-width: thin; }
.svc-nav a { display: block; white-space: nowrap; padding: .45rem .9rem; border: 1px solid #d6dbe2; border-radius: 99px; font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--navy); transition: background-color .25s, color .25s, border-color .25s; }
.svc-nav a:hover { border-color: var(--navy); }
.svc-nav a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.svc-row { padding: 4rem 0; scroll-margin-top: 9rem; }
.svc-row + .svc-row { border-top: 1px solid #eee; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.svc-row.is-flipped .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; box-shadow: 0 1.2rem 2.5rem -1.2rem rgba(13, 39, 67, .45); }
/* a navy curtain lifts off each photo as it scrolls into view */
.svc-media::after { content: ""; position: absolute; inset: 0; border-radius: 4px; background: var(--navy); transform: scaleY(0); transform-origin: 50% 0; pointer-events: none; }
.js .svc-media.reveal { translate: 0 0; opacity: 1; }
.js .svc-media.reveal::after { transform: scaleY(1); transition: transform 1.1s .1s cubic-bezier(.77, 0, .18, 1); }
.js .svc-media.reveal.is-in::after { transform: scaleY(0); }
.svc-media img { transition: transform 1.4s var(--ease); }
.js .svc-media.reveal:not(.is-in) img { transform: scale(1.12); }
.svc-num { z-index: 1; }
.svc-num { position: absolute; top: -1.4rem; left: -.6rem; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--display); font-size: 1.25rem; font-weight: 800; box-shadow: 0 .6rem 1.2rem -.4rem rgba(247, 131, 29, .8); }
.svc-row.is-flipped .svc-num { left: auto; right: -.6rem; }
.svc-copy { display: grid; gap: 1rem; }
.svc-copy h2 { font-family: var(--display); font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem); font-weight: 800; line-height: 1.18; color: var(--navy); }
.svc-cta { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: .15rem; }
.svc-cta svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.svc-cta:hover svg { transform: translateX(.3rem); }
.svc-row:target .svc-copy h2 { animation: flash 1.6s var(--ease); }
@keyframes flash { 30% { color: var(--orange); } }

/* ---------- Contact page ---------- */
.contact-main { padding: 4.5rem 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 3.5rem; align-items: start; }
.contact-details h2 { font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 1.5rem; }
.detail-list { display: grid; gap: 1.6rem; }
.detail-list li { display: flex; gap: 1rem; align-items: flex-start; }
.detail-icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--orange); transition: transform .4s var(--ease); }
.detail-list li:hover .detail-icon { transform: rotate(-10deg) scale(1.08); }
.detail-icon svg { width: 1.35rem; height: 1.35rem; fill: #fff; }
.detail-list h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }
.detail-list address { font-style: normal; }
.detail-link { color: var(--navy); font-weight: 600; text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.detail-link:hover, .detail-link:focus-visible { background-size: 100% 2px; }
.detail-link.big { font-size: 1.3rem; }
.contact-card-title { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); font-weight: 700; line-height: 1.25; color: #111; margin-bottom: 1.25rem; }
.map iframe { display: block; width: 100%; height: 28rem; border: 0; }

/* ---------- Referral page ---------- */
.referral { background: var(--grey); padding: 4rem 0 5rem; }
.referral-inner { width: min(100% - 2.5rem, 64rem); }
.referral-title { font-family: var(--display); font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 800; text-transform: uppercase; text-align: center; color: var(--navy); }
.referral-sub { text-align: center; font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); font-weight: 600; color: var(--navy); margin-top: .6rem; }
.referral-lede { text-align: center; max-width: 40rem; margin: .8rem auto 0; color: #444; }

/* =====================================================================
   Guided flow forms: choice cards first, details last
   ===================================================================== */
.flow-card { margin-top: 2.25rem; background: #fff; border-radius: 10px; padding: clamp(1.25rem, 3vw, 2.75rem); box-shadow: 0 1rem 2.5rem -1.5rem rgba(13, 39, 67, .35); }
.contact-card.flow-card { margin-top: 0; background: var(--grey); box-shadow: none; }
.flow { display: block; }
.flow[hidden] { display: none; }
.flow-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.flow-count { flex: none; font-size: .95rem; font-weight: 600; color: #5b6470; }
.flow-bar { flex: 1; height: 6px; border-radius: 6px; background: #e3e7ec; overflow: hidden; }
.flow-bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #ffad5c); transform-origin: 0 50%; transform: scaleX(var(--progress, .1)); transition: transform .6s var(--ease); }
.flow-summary { display: flex; flex-wrap: wrap; gap: .5rem; margin: -.5rem 0 1.5rem; }
.flow-summary[hidden] { display: none; }
.summary-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .5rem .35rem .85rem; border-radius: 99px; background: #fff3e7; border: 1px solid #ffd2a8; font-size: .92rem; color: #4a2a0a; animation: chipIn .4s var(--ease) both; }
.summary-chip b { font-weight: 600; }
.summary-chip button { padding: .15rem .55rem; border: 0; border-radius: 99px; background: #fff; color: var(--navy); font-size: .85rem; font-weight: 600; text-decoration: underline; text-underline-offset: .15em; }
@keyframes chipIn { from { opacity: 0; transform: scale(.85); } }
.flow-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.flow-q { float: left; width: 100%; padding: 0; margin-bottom: .4rem; font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); font-weight: 800; line-height: 1.2; color: var(--navy); }
.flow-q + * { clear: left; }
.flow-help { clear: left; color: #5b6470; margin-bottom: 1.25rem; }
.flow-q + .bubbles, .flow-q + .sgrid { margin-top: 1rem; }
.js .flow-step:not(.is-current) { display: none; }
.js .flow-step.is-current { animation: stepIn .55s var(--ease) both; }
.js .flow-step.is-current.from-prev { animation-name: stepInPrev; }
@keyframes stepIn { from { opacity: 0; transform: translateX(2.5rem); } }
@keyframes stepInPrev { from { opacity: 0; transform: translateX(-2.5rem); } }
html:not(.js) .flow-step + .flow-step { margin-top: 3rem; }
html:not(.js) .flow-head, html:not(.js) [data-step-prev], html:not(.js) [data-step-next] { display: none; }

/* choice cards */
.bubbles { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1rem; }
.bubbles.is-many { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 52rem) { .bubbles.is-many { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); } }
.contact-card .bubbles { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.bubble { position: relative; display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: 1.4rem 1rem 1.2rem; border: 2px solid #e1e5ea; border-radius: 1.25rem; background: #fff; text-align: center; color: inherit; text-decoration: none; cursor: pointer; transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease), background-color .25s; }
.bubble:hover { border-color: #ffc690; transform: translateY(-4px); box-shadow: 0 1rem 1.6rem -1rem rgba(13, 39, 67, .35); }
.bubble:has(.bubble-input:focus-visible), .bubble.is-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.bubble-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bubble-art { position: relative; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; }
.bubble-art::before { content: ""; position: absolute; inset: .2rem; background: #f2f5f9; border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; animation: blob 9s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -1.3s); transition: background-color .3s, transform .4s var(--ease); }
@keyframes blob { 50% { border-radius: 58% 42% 44% 56% / 56% 52% 48% 44%; } 100% { border-radius: 42% 58% 52% 48% / 46% 58% 42% 54%; } }
.ill { position: relative; width: 3.6rem; height: 3.6rem; overflow: visible; transition: transform .45s var(--ease); }
.ill .soft { fill: #ffe6cf; }
.ill .ac { fill: var(--orange); transform-box: fill-box; transform-origin: center; }
.ill .ln, .ill .acl, .ill .lnw { fill: none; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.ill .ln { stroke: var(--navy); }
.ill .acl { stroke: var(--orange); }
.ill .lnw { stroke: #fff; }
.bubble-text { display: grid; gap: .2rem; }
.bubble-label { font-size: 1.08rem; font-weight: 700; line-height: 1.2; color: var(--navy); }
.bubble-desc { font-size: .9rem; line-height: 1.3; color: #5b6470; }
.bubble-tick { position: absolute; top: .7rem; right: .7rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.bubble-go { position: absolute; top: .8rem; right: .8rem; color: var(--orange); }
.bubble-go svg { width: 1.2rem; height: 1.2rem; transition: transform .3s var(--ease); }
.bubble.is-link:hover .bubble-go svg { transform: translateX(.25rem); }
/* hover: the illustration lifts and tilts, its blob warms up */
.bubble:hover .ill { transform: translateY(-3px) rotate(-4deg) scale(1.06); }
.bubble:hover .bubble-art::before { background: #fff1e3; transform: scale(1.08); }
/* chosen */
.bubble:has(.bubble-input:checked) { border-color: var(--orange); background: #fffaf5; box-shadow: 0 0 0 4px rgba(247, 131, 29, .15); }
.bubble:has(.bubble-input:checked) .bubble-tick { transform: scale(1); }
.bubble:has(.bubble-input:checked) .bubble-art::before { background: var(--orange); }
.bubble:has(.bubble-input:checked) .ill .soft { fill: #fff; }
.bubble:has(.bubble-input:checked) .ill .ac { fill: var(--navy); }
.bubble:has(.bubble-input:checked) .ill .acl { stroke: #fff; }
.bubble.is-picked { animation: picked .5s var(--ease); }
@keyframes picked { 40% { transform: scale(.96); } }
/* each card fades up in turn and its drawing traces itself in */
.js .flow-step.is-current .bubble { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 65ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(1.2rem) scale(.96); } }
.js .flow-step.is-current .ill .ln, .js .flow-step.is-current .ill .acl, .js .flow-step.is-current .ill .lnw { stroke-dasharray: 1; animation: draw 1.1s var(--ease) both; animation-delay: calc(.15s + var(--i, 0) * 65ms); }
.js .flow-step.is-current .ill .ac { animation: pop .55s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(.7s + var(--i, 0) * 65ms); }
.js .flow-step.is-current .ill .soft { animation: fade .6s ease both; animation-delay: calc(.1s + var(--i, 0) * 65ms); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes fade { from { opacity: 0; } }

/* detail fields */
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.sfield, .sgroup { display: grid; gap: .4rem; align-content: start; min-width: 0; }
.sfield[hidden], .sgroup[hidden] { display: none; }
.sfield.wide, .sgroup.wide { grid-column: 1 / -1; }
.sfield label, .sgroup legend { font-weight: 600; font-size: 1rem; color: var(--navy); padding: 0; }
.sfield.is-required > label::after, .sgroup.is-required > legend::after { content: " *"; color: #c0392b; }
.sgroup { border: 0; margin: 0; padding: 0; }
.sgroup legend { margin-bottom: .45rem; }
.hint { font-size: .9rem; color: #5b6470; margin-top: -.2rem; }
.sfield input, .sfield select, .sfield textarea { width: 100%; padding: .75rem .85rem; border: 2px solid #c5ccd6; border-radius: 6px; background: #fff; font: inherit; font-size: 1rem; color: #111; transition: border-color .25s, box-shadow .25s; }
.sfield textarea { resize: vertical; }
.sfield ::placeholder { color: #8b95a3; }
.sfield input:hover, .sfield select:hover, .sfield textarea:hover { border-color: #8a96a6; }
.sfield input:focus, .sfield select:focus, .sfield textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(247, 131, 29, .3); }
.sfield [aria-invalid="true"] { border-color: #c0392b; background: #fff8f7; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.sgroup.cols .choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: flex; align-items: center; gap: .55rem; padding: .55rem .9rem; border: 2px solid #d6dbe2; border-radius: 99px; background: #fff; cursor: pointer; font-size: .98rem; line-height: 1.25; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.sgroup.cols .choice, .consent .choice { border-radius: 8px; }
.choice:hover { border-color: #8a96a6; }
.choice input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--orange); flex: none; }
.choice:has(input:checked) { border-color: var(--orange); background: #fff6ee; }
.choice:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.sgroup[aria-invalid="true"] .choice { border-color: #c0392b; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; clear: both; }
.step-nav [data-step-next], .step-nav .btn-submit { margin-left: auto; }
.step-nav [hidden] { display: none; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost::before { background: var(--navy); }
.btn-ghost:hover { color: #fff; }
.flow .btn-submit::before { background: var(--navy); }
.flow .btn-submit:hover { color: #fff; }
.flow .error { color: #b3261e; margin-top: 0; }
.form-success.is-light { color: #111; padding: 1.5rem 0; }
.form-success.is-light a, .form-success.is-light .link-btn { color: var(--navy); }

/* ---------- 404 ---------- */
.notfound { padding: 4rem 0 5rem; text-align: center; font-size: 1.2rem; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.75rem; }

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 52rem) {
  .about-intro-grid, .svc-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .about-intro-media { max-width: 22rem; }
  .svc-row.is-flipped .svc-media { order: 0; }
  .svc-row.is-flipped .svc-num { left: -.6rem; right: auto; }
  .svc-row { padding: 3rem 0; }
  .sgroup.cols .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-banner { min-height: 21rem; }
  .page-banner--tall { min-height: 26rem; }
}
@media (max-width: 36rem) {
  .sgrid, .sgroup.cols .choices { grid-template-columns: minmax(0, 1fr); }
  .bubbles, .bubbles.is-many, .contact-card .bubbles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .bubble { padding: 1.1rem .6rem 1rem; }
  .bubble-art { width: 4.4rem; height: 4.4rem; }
  .ill { width: 3rem; height: 3rem; }
  .bubble-desc { display: none; }
  .flow-head { flex-wrap: wrap; gap: .5rem; }
  .flow-bar { flex-basis: 100%; }
  .map iframe { height: 20rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .step { opacity: 1; translate: 0 0; transform: none; }
  .js .about-photo { clip-path: none; }
  .js .svc-media.reveal::after { transform: scaleY(0); }
  .about-intro-media .ring, .bubble-art::before { animation: none; }
  .slide.is-active { animation: none; }
  .js .fx .fx-line::after, .fx-line::after { animation: none !important; background-position: 100% 0; }
}

/* =====================================================================
   Alternative landing page (home-alt): illustrated hero with layered parallax.
   app.js sets --sy (scroll) and --mx / --my (pointer) on each [data-depth]
   layer; entrance animations use the separate translate / scale properties
   so they never fight the parallax transform.
   ===================================================================== */
.light-hero .site-header:not(.is-stuck) { color: #1b1b24; }
.light-hero .site-header:not(.is-stuck) .topbar { border-color: rgba(0, 0, 0, .08); }
.light-hero .site-header:not(.is-stuck) .logo-light { opacity: 0; }
.light-hero .site-header:not(.is-stuck) .logo-dark { opacity: 1; }

.ahero {
  --peach: #fde7d3; --ink-2: #1b1b24;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(42rem, 100vh, 58rem); padding: calc(var(--header-h) + 2rem) 0 8.5rem;
  display: grid; align-items: center;
  background: radial-gradient(120% 80% at 80% 10%, #fff6ee 0, #fffaf6 45%, #fff 100%);
  color: var(--ink-2);
}
[data-px-scene] [data-depth] { transform: translate3d(var(--mx, 0px), calc(var(--sy, 0px) + var(--my, 0px)), 0); will-change: transform; }
.ah-layers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ah-blob, .ah-dot, .ah-ring { position: absolute; display: block; border-radius: 50%; }
.ah-blob-1 { left: -14rem; top: 10%; width: 30rem; height: 30rem; background: radial-gradient(circle at 60% 40%, #ffe9d6, #fdd8b8); opacity: .75; }
.ah-blob-2 { right: -10rem; top: -6rem; width: 34rem; height: 34rem; border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%; background: linear-gradient(160deg, #fbb26e, #f7831d); opacity: .9; }
.ah-blob-3 { right: 34%; bottom: 3rem; width: 16rem; height: 16rem; background: radial-gradient(circle, #ffe2c7 0, rgba(255, 226, 199, 0) 70%); }
.ah-dot-1 { left: 47%; top: 22%; width: 1.1rem; height: 1.1rem; background: var(--orange); }
.ah-dot-2 { right: 6%; bottom: 30%; width: .75rem; height: .75rem; background: var(--navy); opacity: .7; }
.ah-ring { left: 39%; top: 17%; width: 3.2rem; height: 3.2rem; border: 3px dashed rgba(247, 131, 29, .55); }

.ah-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.ah-copy { opacity: var(--fade, 1); }
.ah-badge { display: inline-block; padding: .5rem 1.1rem; border-radius: 99px; background: #fde3cc; color: #b85600; font-size: 1rem; font-weight: 600; }
.ah-title { margin-top: 1.4rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, .5rem + 3.6vw, 4.3rem); line-height: 1.08; letter-spacing: -.025em; }
.ah-line { display: block; }
@media (min-width: 52.01rem) { .ah-line { white-space: nowrap; } .ah-art-wrap { margin-right: clamp(-7rem, -5vw, 0rem); margin-left: -1rem; } }
.ah-accent { color: var(--orange); }
.ah-squiggle { display: block; width: 7.5rem; height: 1rem; margin-top: .9rem; fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; }
.ah-lead { max-width: 33rem; margin-top: 1.4rem; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: #4a4a55; }
.ah-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.ah-btn { padding: 1rem 1.6rem; border-radius: .6rem; font-size: 1.15rem; text-transform: none; letter-spacing: 0; }
.ah-btn.btn-orange { box-shadow: 0 .8rem 1.6rem -.8rem rgba(247, 131, 29, .9); }
.ah-btn-ghost { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 2px #fbd2ae; }
.ah-btn-ghost::before { background: #fff1e4; }
.ah-arrow { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .35s var(--ease); }
.ah-btn-ghost .ah-arrow { stroke: var(--orange); }
.ah-btn:hover .ah-arrow, .ah-btn:focus-visible .ah-arrow { translate: .3rem 0; }
.ah-features { display: flex; flex-wrap: wrap; margin-top: 2.5rem; }
.ah-features li { display: flex; align-items: center; gap: .8rem; padding-right: 1.6rem; margin-right: 1.6rem; border-right: 1px solid #e6dcd3; font-size: 1rem; font-weight: 500; line-height: 1.25; }
.ah-features li:last-child { border: 0; margin: 0; padding: 0; }
.ah-feature-icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: .8rem; background: #fde9d8; transition: transform .45s var(--ease), background-color .3s; }
.ah-feature-icon svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ah-features li:hover .ah-feature-icon { transform: translateY(-4px) rotate(-6deg); background: #fcd9ba; }

.ah-art-wrap { position: relative; }
.ah-art {
  position: relative; overflow: hidden; aspect-ratio: 900 / 616;
  border-radius: 46% 54% 44% 56% / 52% 46% 54% 48%;
  box-shadow: 0 2.5rem 4rem -2rem rgba(150, 70, 0, .35);
  background: #fbeee2;
}
/* the picture drifts against its frame for a "window" depth effect */
.ah-art-img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(calc(var(--mx, 0px) * -1.4), calc(var(--iy, 0px) + var(--my, 0px) * -1.4), 0) scale(1.12); }

.ah-wave { position: absolute; left: 0; width: 100%; pointer-events: none; }
.ah-wave-back { bottom: 1.5rem; height: 9rem; }
.ah-wave-front { bottom: -1px; height: 6.5rem; }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .ahero .ah-badge, .js .ahero .ah-line, .js .ahero .ah-lead, .js .ahero .ah-actions, .js .ahero .ah-features li { animation: ahUp .9s var(--ease) both; }
  .js .ahero .ah-line:nth-child(1) { animation-delay: .1s; }
  .js .ahero .ah-line:nth-child(2) { animation-delay: .22s; }
  .js .ahero .ah-lead { animation-delay: .5s; }
  .js .ahero .ah-actions { animation-delay: .62s; }
  .js .ahero .ah-features li:nth-child(1) { animation-delay: .75s; }
  .js .ahero .ah-features li:nth-child(2) { animation-delay: .85s; }
  .js .ahero .ah-features li:nth-child(3) { animation-delay: .95s; }
  .js .ahero .ah-squiggle path { stroke-dasharray: 120; animation: ahDraw 1s .55s var(--ease) both; }
  .js .ahero .ah-art { animation: ahArtIn 1.3s .15s var(--ease) both, ahMorph 14s 1.5s ease-in-out infinite alternate; }
  .js .ahero .ah-blob-2 { animation: ahSpin 40s linear infinite; }
  .js .ahero .ah-ring { animation: ahSpin 18s linear infinite; }
  .js .ahero .ah-dot-1 { animation: ahBob 5s ease-in-out infinite; }
  .js .ahero .ah-dot-2 { animation: ahBob 6.5s 1s ease-in-out infinite; }
}
@keyframes ahUp { from { opacity: 0; translate: 0 1.6rem; } }
@keyframes ahDraw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@keyframes ahArtIn { from { opacity: 0; scale: .9; translate: 2rem 1rem; } }
@keyframes ahMorph {
  to { border-radius: 54% 46% 52% 48% / 45% 55% 45% 55%; }
}
@keyframes ahSpin { to { rotate: 360deg; } }
@keyframes ahBob { 50% { translate: 0 -.9rem; } }

@media (max-width: 64rem) {
  .ah-features li { gap: .6rem; padding-right: .8rem; margin-right: .8rem; font-size: .95rem; }
  .ah-feature-icon { width: 2.7rem; height: 2.7rem; }
  .ah-feature-icon svg { width: 1.4rem; height: 1.4rem; }
}
@media (max-width: 52rem) {
  .ahero { min-height: 0; padding: calc(var(--header-h) + 1.5rem) 0 6.5rem; }
  .ah-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .ah-art-wrap { max-width: 34rem; width: 100%; justify-self: center; }
  .ah-blob-2 { width: 22rem; height: 22rem; top: auto; bottom: 18rem; right: -8rem; }
  .ah-ring, .ah-dot-1 { display: none; }
  .ah-wave-back { height: 5.5rem; bottom: 1rem; }
  .ah-wave-front { height: 4rem; }
}
@media (max-width: 36rem) {
  .ah-features { gap: 1rem; }
  .ah-features li { flex: 1 1 100%; padding: 0; margin: 0; border: 0; }
  .ah-btn { flex: 1 1 100%; }
}

/* =====================================================================
   Careers page: sunset hero, "More Than a Job", open roles.
   Proportions follow the 1024px-wide mockup: the hero photo spans 61% of
   the width, the leaf windows 39%, the lounge arch 42%. Photo silhouettes
   are SVG clip paths traced from the mockup (site-src/careers-shapes.js),
   so each shape and its picture always scale together.
   Layers marked [data-depth] move with the shared parallax script.
   ===================================================================== */
.page-careers main { --cr-bg: #f8f6f4; --cr-ink: #17171f; background: var(--cr-bg); color: var(--cr-ink); }
.cr-eyebrow { display: flex; align-items: center; gap: 1.1rem; font-size: .85rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #2a2a33; }
.cr-eyebrow::before { content: ""; width: 1.8rem; height: 3px; border-radius: 3px; background: var(--orange); }
.cr-h2 { margin-top: 1rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; }
.cr-body { margin-top: 1.2rem; font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); line-height: 1.45; color: #34343d; }
.cr-arrow { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .35s var(--ease); }
.cr-btn { padding: 1rem 1.6rem; border-radius: .6rem; background: #1d1f27; font-size: 1.05rem; text-transform: none; letter-spacing: 0; box-shadow: 0 .9rem 1.6rem -1rem rgba(0, 0, 0, .7); }
.cr-btn::before { background: var(--orange); }
.cr-btn:hover .cr-arrow, .cr-btn:focus-visible .cr-arrow, .cr-text-link:hover .cr-arrow, .cr-text-link:focus-visible .cr-arrow { translate: .3rem 0; }
.cr-text-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; padding-bottom: .35rem; font-weight: 600; text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 2px no-repeat; }
.cr-text-link .cr-arrow { stroke: var(--orange); }
.cr-icon { flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #fdeee2; transition: transform .45s var(--ease), background-color .3s; }
.cr-icon svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cr-wave { position: absolute; left: 0; width: 100%; pointer-events: none; overflow: visible; }
.cr-wave-fill { fill: var(--cr-bg); }
/* pictures inside a traced silhouette drift a little against it, never past its spare margin */
.cr-photo-img { transform-box: fill-box; transform-origin: 50% 50%; transform: translate(calc(var(--mx, 0px) * -1), clamp(-22px, var(--iy, 0px), 22px)) scale(1.1); }

/* ---------- hero ---------- */
.cr-hero { --art-w: min(61vw, 60rem); position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: calc(var(--header-h) - .75rem + var(--art-w) * .809); padding: var(--header-h) 0 calc(var(--art-w) * .13); }
.cr-hero-art { position: absolute; z-index: -1; right: 0; top: calc(var(--header-h) - .75rem); width: var(--art-w); height: auto; overflow: visible; }
.cr-hero-copy { max-width: min(31rem, 40vw); opacity: var(--fade, 1); }
.cr-title { margin-top: 1.6rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, .9rem + 4.3vw, 5rem); line-height: 1.02; letter-spacing: -.035em; }
.cr-title span { display: block; }
@media (min-width: 36.01rem) { .cr-title span { white-space: nowrap; } }
.cr-accent { color: #e8640c; }
.cr-lead { margin-top: 1.5rem; font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem); line-height: 1.5; color: #2f2f38; }
.cr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.2rem; }
.cr-circle-link { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; text-decoration: none; }
.cr-circle { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 2px solid var(--orange); border-radius: 50%; color: var(--orange); transition: background-color .3s, color .3s; }
.cr-circle svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cr-circle-link:hover .cr-circle, .cr-circle-link:focus-visible .cr-circle { background: var(--orange); color: #fff; }
/* same 1024 × 140 ratio as the mockup's bottom sweep */
.cr-hero-waves { bottom: -1px; height: 13.7vw; }

/* ---------- why join ---------- */
.cr-why { position: relative; padding: clamp(1rem, 3vw, 3rem) 0 clamp(3rem, 6vw, 6rem); }
.cr-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1.1fr); gap: 2rem; align-items: center; }
.cr-why-copy .cr-body { max-width: 15rem; }
.cr-why-copy .cr-h2 { font-size: clamp(2.2rem, .9rem + 2.6vw, 3.6rem); letter-spacing: -.04em; }
.cr-leaves { display: block; width: 100%; height: auto; overflow: visible; }
.cr-leaves-shadow { fill: rgba(170, 85, 20, .28); }
.cr-leaves-edge { fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 1.2; }
/* the photo behind the leaf windows only slides with scroll (no pointer drift), within the photo's spare margin */
.cr-leaves [data-depth] { transform: translate3d(0, clamp(-150px, var(--sy, 0px), 150px), 0); }
.cr-benefits li { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid #e7e1dc; font-size: .98rem; line-height: 1.35; color: #3a3a44; }
.cr-benefits li:first-child { padding-top: 0; }
.cr-benefits li:last-child { border: 0; padding-bottom: 0; }
.cr-benefits strong { display: block; margin-bottom: .2rem; font-size: 1.15rem; color: var(--cr-ink); }
.cr-benefits li:hover .cr-icon { transform: scale(1.08) rotate(-6deg); background: #fcdcc0; }

/* ---------- roles ---------- */
.cr-roles { --pad-top: clamp(3rem, 6vw, 5.5rem); --lounge-w: min(42vw, 40rem); position: relative; isolation: isolate; overflow: hidden; min-height: calc(var(--lounge-w) * 1.05 + var(--pad-top)); padding: var(--pad-top) 0 calc(10.7vw + 2.5rem); }
.cr-roles-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
/* lounge photo: runs from the left edge of the screen down to the bottom of the section, starting below
   the section above (so nothing cuts it off), with one big curve on its top-right corner. The end wave is drawn in front of it,
   and a solid copy of the wave shape behind the orange hides the photo below the curve. */
.cr-lounge { position: absolute; z-index: 0; left: 0; top: var(--pad-top); bottom: 0; width: var(--lounge-w); overflow: hidden; border-radius: 0 52% 0 0 / 0 34% 0 0; background: #f3dcc6; }
.cr-lounge-arch { position: absolute; inset: 0; }
.cr-lounge-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: translate3d(0, clamp(-26px, var(--iy, 0px), 26px), 0) scale(1.1); }
.cr-roles-copy { grid-column: 2; }
.cr-role-list { display: grid; gap: .8rem; margin-top: 1.8rem; }
.cr-role { border-radius: .8rem; background: #fff; box-shadow: 0 .1rem .3rem rgba(0, 0, 0, .05), 0 .8rem 1.8rem -1.2rem rgba(120, 60, 10, .35); transition: box-shadow .35s var(--ease), translate .35s var(--ease); }
.cr-role:hover { translate: 0 -3px; box-shadow: 0 .1rem .3rem rgba(0, 0, 0, .05), 0 1.4rem 2.4rem -1.4rem rgba(120, 60, 10, .5); }
.cr-role summary { display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.cr-role summary::-webkit-details-marker { display: none; }
.cr-role .cr-icon { width: 3.1rem; height: 3.1rem; border-radius: .7rem; }
.cr-role .cr-icon svg { width: 1.5rem; height: 1.5rem; }
.cr-role-head { flex: 1; min-width: 0; }
.cr-role-title { display: block; font-size: 1.15rem; font-weight: 600; color: var(--cr-ink); }
.cr-role-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin-top: .3rem; font-size: .92rem; color: #4a4a54; }
.cr-role-meta > span { display: inline-flex; align-items: center; gap: .4rem; }
.cr-role-meta svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-role-toggle { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--orange); color: #fff; transition: rotate .35s var(--ease), background-color .3s; }
.cr-role-toggle svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cr-role[open] .cr-role-toggle { rotate: 90deg; background: #1d1f27; }
.cr-role-body { padding: 0 1.2rem 1.3rem 5.4rem; color: #3a3a44; line-height: 1.5; }
.cr-role[open] .cr-role-body { animation: crOpen .45s var(--ease); }
.cr-btn-sm { margin-top: 1rem; padding: .75rem 1.2rem; font-size: 1rem; }
@keyframes crOpen { from { opacity: 0; translate: 0 -.5rem; } }
.cr-wave-end { bottom: -1px; height: 10.7vw; }

/* ---------- entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .cr-hero .cr-eyebrow, .js .cr-hero .cr-title span, .js .cr-hero .cr-lead, .js .cr-hero .cr-actions { animation: ahUp .9s var(--ease) both; }
  .js .cr-hero .cr-title span:nth-child(1) { animation-delay: .1s; }
  .js .cr-hero .cr-title span:nth-child(2) { animation-delay: .22s; }
  .js .cr-hero .cr-lead { animation-delay: .45s; }
  .js .cr-hero .cr-actions { animation-delay: .58s; }
  .js .cr-hero-art { animation: crArtIn 1.3s .1s var(--ease) both; }
  .js .cr-circle { animation: crPulse 2.6s 2s ease-in-out infinite; }
}
@keyframes crArtIn { from { opacity: 0; translate: 3rem 0; } }
@keyframes crPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(247, 131, 29, .45); } 50% { box-shadow: 0 0 0 .55rem rgba(247, 131, 29, 0); } }

/* ---------- smaller screens ---------- */
@media (max-width: 60rem) {
  .cr-why-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .cr-why-copy { grid-column: 1 / -1; }
  .cr-why-copy .cr-body { max-width: 30rem; }
}
@media (max-width: 52rem) {
  .cr-hero { --art-w: 100vw; min-height: 0; padding: calc(var(--header-h) + 1.5rem) 0 0; display: flex; flex-direction: column; }
  .cr-hero-copy { max-width: 34rem; opacity: 1; }
  .cr-hero-art { position: relative; order: 2; top: auto; align-self: flex-end; width: 94vw; margin-top: 2rem; }
  .cr-hero-waves { height: 18vw; }
  .cr-why-grid { grid-template-columns: minmax(0, 1fr); }
  .cr-leaves { max-width: 28rem; justify-self: center; }
  .cr-roles { --pad-top: 0rem; }
  .cr-roles { min-height: 0; }
  .cr-lounge { position: relative; top: auto; bottom: auto; width: calc(100% + 1.25rem); height: min(105vw, 34rem); margin: 0 0 2rem -1.25rem; }
  .cr-roles-grid { grid-template-columns: minmax(0, 1fr); }
  .cr-roles-copy { grid-column: 1; }
  .cr-role-body { padding-left: 1.2rem; }
  .cr-wave-end { height: 16vw; }
}
@media (max-width: 36rem) {
  .cr-role summary { gap: .8rem; padding: .9rem; }
  .cr-role .cr-icon { display: none; }
}

/* =====================================================================
   About Us: illustrated hero (no buttons), Who We Are, Mission/Vision/Values,
   What Sets Us Apart, Our Approach, enquiry band.
   Proportions follow the 1024px-wide mockup: hero art 61% of the width.
   The hero art and traced photos use multiply blending, so their white
   paper disappears and the soft shapes behind them show through as they
   move at their own parallax depths.
   ===================================================================== */
.page-about main { --ab-ink: #17171f; --ab-peach: #fdf1e7; --ab-line: #f1e3d7; background: #fff; color: var(--ab-ink); }
.ab-eyebrow { display: flex; align-items: center; gap: 1.1rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #2a2a33; }
.ab-eyebrow::before { content: ""; width: 1.8rem; height: 3px; border-radius: 3px; background: var(--orange); }
.ab-h2 { margin-top: .8rem; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.1rem + 2.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; }
.ab-arrow { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .35s var(--ease); }
.ab-wave { position: absolute; left: 0; width: 100%; pointer-events: none; }
.ab-wave-fill { fill: #fff; }
.ab-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.ab-copy p:not(.ab-eyebrow) { margin-top: 1rem; max-width: 34rem; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.55; color: #3a3a44; }
.ab-copy .ab-h2 + p { margin-top: 1.3rem; }
.ab-media svg { display: block; width: 100%; height: auto; overflow: visible; mix-blend-mode: multiply; }

/* ---------- hero ---------- */
.ab-hero { --art-w: min(61vw, 62rem); position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: calc(var(--header-h) - 1rem + var(--art-w) * .64); padding: var(--header-h) 0 calc(var(--art-w) * .1); background: linear-gradient(180deg, #fffaf6, #fff 70%); }
.ab-hero-layers { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.ab-blob { position: absolute; display: block; border-radius: 50%; }
.ab-blob-1 { left: -12vw; top: 18%; width: 34vw; height: 34vw; background: radial-gradient(circle at 60% 40%, #fff1e5, #fde6d2 70%); opacity: .8; }
.ab-blob-2 { right: 4vw; top: calc(var(--header-h) - 2rem); width: 30vw; height: 26vw; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; background: #fdeadb; }
.ab-blob-3 { right: -6vw; bottom: 18%; width: 18vw; height: 18vw; background: radial-gradient(circle, #fcd9b9, rgba(252, 217, 185, 0) 70%); }
.ab-hero-copy { max-width: min(30rem, 42vw); opacity: var(--fade, 1); }
.ab-title { margin-top: 1.3rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, .3rem + 3.6vw, 4rem); line-height: 1.08; letter-spacing: -.035em; }
.ab-title span { display: block; }
@media (min-width: 36.01rem) { .ab-title span { white-space: nowrap; } }
.ab-accent { color: var(--orange); }
.ab-squiggle { display: block; width: 6.5rem; height: .9rem; margin-top: .3rem; fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; }
.ab-lead { margin-top: 1.1rem; font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem); line-height: 1.5; color: #3a3a44; }
.ab-hero-art { position: absolute; z-index: -1; right: 0; top: calc(var(--header-h) - 1.25rem); width: var(--art-w); mix-blend-mode: multiply; }
.ab-hero-art img { width: 100%; height: auto; }
.ab-hero-wave { bottom: -1px; height: 8.8vw; }

/* ---------- who we are ---------- */
.ab-who { position: relative; padding: clamp(2rem, 4vw, 4rem) 0; }
.ab-who .ab-media { max-width: 30rem; }

/* ---------- mission, vision, values ---------- */
.ab-purpose { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.ab-cards { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: .9rem; margin-top: 2rem; }
.ab-card { padding: 1.4rem 1.15rem 1.5rem; border-radius: 1rem; background: #fff; box-shadow: 0 .1rem .3rem rgba(160, 90, 30, .06), 0 1rem 2rem -1.6rem rgba(160, 90, 30, .45); border: 1px solid #f6ebe2; transition: translate .4s var(--ease), box-shadow .4s var(--ease); }
.ab-card-lg { background: var(--ab-peach); border-color: transparent; }
.ab-card:hover { translate: 0 -4px; box-shadow: 0 .1rem .3rem rgba(160, 90, 30, .06), 0 1.6rem 2.4rem -1.6rem rgba(160, 90, 30, .6); }
.ab-card-icon svg { width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.ab-card-lg .ab-card-icon svg { width: 2.8rem; height: 2.8rem; }
.ab-card:hover .ab-card-icon svg { transform: scale(1.1) rotate(-6deg); }
.ab-card h3 { margin-top: .9rem; font-size: clamp(.98rem, .85rem + .3vw, 1.12rem); font-weight: 600; line-height: 1.2; color: var(--ab-ink); }
.ab-card-lg h3 { font-size: 1.3rem; }
.ab-card p { margin-top: .55rem; font-size: .9rem; line-height: 1.45; color: #4a4a54; }
.ab-card-lg p { font-size: 1rem; }

/* ---------- what sets us apart ---------- */
.ab-apart { position: relative; padding: clamp(2rem, 4vw, 3.5rem) 0; }
.ab-apart .ab-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.ab-family { display: block; width: 100%; height: auto; overflow: visible; }
.ab-family image { filter: saturate(1.04); }
.ab-family-arc { fill: none; stroke: var(--orange); stroke-width: 9; stroke-linecap: round; }
.ab-apart-list { margin-top: 1.5rem; }
.ab-apart-list li { display: grid; grid-template-columns: 2.9rem minmax(0, 11rem) minmax(0, 1fr); align-items: center; gap: 0 1.1rem; padding: .7rem 0; border-bottom: 1px solid var(--ab-line); }
.ab-apart-list li:last-child { border: 0; }
.ab-round { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--ab-peach); transition: transform .45s var(--ease); }
.ab-round svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: var(--orange); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ab-apart-list li:hover .ab-round { transform: scale(1.08) rotate(-6deg); }
.ab-apart-list strong { font-size: 1.05rem; font-weight: 600; color: var(--ab-ink); }
.ab-apart-list li > span:last-child { padding-left: 1.1rem; border-left: 1px solid #e3d5ca; font-size: .9rem; line-height: 1.4; color: #4a4a54; }
.ab-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2rem, 3vw, 3rem); padding: 1.1rem 1.5rem; border-radius: 1.2rem; background: var(--ab-peach); }
.ab-strip li { display: flex; align-items: center; justify-content: center; gap: .9rem; font-size: 1.05rem; font-weight: 600; line-height: 1.2; }
.ab-strip li + li { border-left: 1px solid #e8d3c2; }
.ab-strip svg { flex: none; width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- approach ---------- */
.ab-approach { position: relative; padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(3rem, 5vw, 5rem); }
.ab-approach-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .85fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
@media (min-width: 56.01rem) { .ab-approach-copy .ab-h2 { white-space: nowrap; } }
.ab-approach-copy p:not(.ab-eyebrow) { margin-top: 1.2rem; font-size: clamp(1rem, .95rem + .2vw, 1.1rem); line-height: 1.55; color: #3a3a44; }
.ab-approach-blob { overflow: hidden; aspect-ratio: 1.75; border-radius: 52% 48% 46% 54% / 60% 54% 46% 40%; background: #fdf1e7; }
.ab-approach-blob img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; mix-blend-mode: multiply; }
.ab-checks { display: grid; gap: 1.1rem; padding: 1.5rem 1.3rem; border-radius: 1.1rem; background: #fff; border: 1px solid #f6ebe2; box-shadow: 0 1.2rem 2.4rem -1.8rem rgba(160, 90, 30, .5); }
.ab-checks li { display: flex; align-items: center; gap: .8rem; font-size: 1.05rem; color: var(--ab-ink); }
.ab-checks svg { flex: none; width: 1.7rem; height: 1.7rem; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- enquiry band ---------- */
.ab-cta { position: relative; isolation: isolate; }
.ab-cta-wave { display: block; width: 100%; height: 11.7vw; margin-bottom: -1px; overflow: visible; }
.ab-cta-band { position: relative; z-index: 1; background: linear-gradient(90deg, #f7831d, #f26a0c); color: #fff; padding: .5rem 0 3rem; }
.ab-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.ab-cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; }
.ab-cta p:not(.ab-cta-actions) { margin-top: .6rem; max-width: 36rem; font-size: 1.02rem; line-height: 1.45; color: #fff4ea; }
.ab-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.ab-btn { padding: .95rem 1.4rem; border-radius: .55rem; font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.ab-btn-light { background: #fff; color: #d55a00; }
.ab-btn-light::before { background: var(--navy); }
.ab-btn-light:hover, .ab-btn-light:focus-visible { color: #fff; }
.ab-btn-outline { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.ab-btn-outline::before { background: rgba(255, 255, 255, .18); }
.ab-btn:hover .ab-arrow, .ab-btn:focus-visible .ab-arrow { translate: .3rem 0; }

/* ---------- entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .ab-hero .cr-eyebrow, .js .ab-hero .ab-title span, .js .ab-hero .ab-lead { animation: ahUp .9s var(--ease) both; }
  .js .ab-hero .ab-title span:nth-child(1) { animation-delay: .1s; }
  .js .ab-hero .ab-title span:nth-child(2) { animation-delay: .22s; }
  .js .ab-hero .ab-lead { animation-delay: .5s; }
  .js .ab-hero .ab-squiggle path { stroke-dasharray: 120; animation: ahDraw 1s .55s var(--ease) both; }
  .js .ab-hero-art img { animation: abArtIn 1.3s .15s var(--ease) both; }
  .js .ab-blob-2 { animation: ahMorphBlob 12s ease-in-out infinite alternate; }
  .js .ab-approach-blob { animation: abMorph 14s ease-in-out infinite alternate; }
}
@keyframes abArtIn { from { opacity: 0; translate: 2.5rem .5rem; scale: .97; } }
@keyframes ahMorphBlob { to { border-radius: 56% 44% 52% 48% / 44% 56% 44% 56%; } }
@keyframes abMorph { to { border-radius: 46% 54% 56% 44% / 50% 60% 40% 50%; } }

/* ---------- smaller screens ---------- */
@media (max-width: 56rem) {
  .ab-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ab-card-lg { grid-column: span 2; }
}
@media (max-width: 56rem) {
  .ab-approach-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ab-approach-copy { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  .ab-hero { --art-w: 100vw; min-height: 0; padding: calc(var(--header-h) + 1.5rem) 0 0; display: flex; flex-direction: column; }
  .ab-hero-copy { max-width: 34rem; opacity: 1; }
  .ab-hero-art { position: relative; top: auto; align-self: flex-end; width: 100%; margin-top: 1.5rem; }
  .ab-hero-wave { height: 12vw; }
  .ab-split, .ab-apart .ab-split { grid-template-columns: minmax(0, 1fr); }
  .ab-media { max-width: 28rem; justify-self: center; width: 100%; }
  .ab-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0; }
  .ab-strip li:nth-child(3) { border-left: 0; }
  .ab-approach-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-approach-art { max-width: 32rem; justify-self: center; width: 100%; }
}
@media (max-width: 36rem) {
  .ab-cards { grid-template-columns: minmax(0, 1fr); }
  .ab-card-lg { grid-column: auto; }
  .ab-apart-list li { grid-template-columns: 2.9rem minmax(0, 1fr); row-gap: .3rem; }
  .ab-apart-list li > span:last-child { grid-column: 2; padding-left: 0; border: 0; }
  .ab-strip { grid-template-columns: minmax(0, 1fr); padding: 1rem 1.2rem; }
  .ab-strip li { justify-content: flex-start; }
  .ab-strip li + li { border-left: 0; border-top: 1px solid #e8d3c2; padding-top: 1rem; }
  .ab-btn { flex: 1 1 100%; }
}

/* =====================================================================
   Home: cross-fading video hero (left-aligned copy over a dark wash)
   ===================================================================== */
.hero--video { height: auto; min-height: clamp(36rem, 92vh, 54rem); place-items: center stretch; text-align: left; background: #0d1a2a; }
.hero-videos { position: absolute; inset: 0; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; opacity: 0; transition: opacity 1.1s ease-in-out; }
.hero-video.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  /* each clip eases in from a slight zoom while it plays */
  .hero-video { scale: 1.06; transition: opacity 1.1s ease-in-out, scale 6s linear; }
  .hero-video.is-active { scale: 1; }
  .hero.is-held .hero-video.is-active { transition: opacity 1.1s ease-in-out; }
}
/* dark wash: strongest in an ellipse behind the centred text, lighter towards the edges */
.hero-videos::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 64% 62% at 50% 48%, rgba(8, 18, 32, .8) 0%, rgba(8, 18, 32, .62) 55%, rgba(8, 18, 32, .3) 100%),
  linear-gradient(180deg, rgba(8, 18, 32, .55) 0%, rgba(8, 18, 32, 0) 30%, rgba(8, 18, 32, 0) 70%, rgba(8, 18, 32, .5) 100%); }

.hero--video .hero-content { padding: calc(var(--header-h) + 2rem) 0 6.5rem; }
/* the hero copy is centred over the video */
.hero--video .hero-content { text-align: center; }
.hero--video .hero-content > * { max-width: 40rem; margin-inline: auto; }
.hero--video .hero-content > .hero-headline { max-width: none; }
.hero--video .hero-content > .hero-kicker { max-width: 62rem; letter-spacing: .18em; text-wrap: balance; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 .1rem .8rem rgba(0, 0, 0, .35); }
.hero--video .hero-actions { justify-content: center; }
.hero--video .hero-progress { justify-content: center; }
.hero-kicker { font-size: clamp(.9rem, .78rem + .45vw, 1.25rem); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--orange); }
.hero-headline { margin-top: 1rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.9rem, 1.1rem + 5.6vw, 6.4rem); line-height: 1.02; letter-spacing: -.025em; color: #fff; text-shadow: 0 .2rem 1.6rem rgba(0, 0, 0, .35); }
.hero-headline span { display: block; }
.hero-accent { color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.2rem; }
.hero-cta { gap: .6rem; padding: 1.05rem 1.7rem; border-radius: .5rem; background: var(--orange); font-size: 1.1rem; text-transform: none; letter-spacing: 0; box-shadow: 0 1rem 2rem -1rem rgba(247, 131, 29, .9); }
.hero-cta::before { background: #fff; }
.hero-cta:hover, .hero-cta:focus-visible { color: var(--navy); }
.hero-cta svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: translate .35s var(--ease); }
.hero-cta:hover svg, .hero-cta:focus-visible svg { translate: .25rem 0; }

/* round play/pause control with a soft halo, in the bottom-right corner level with the progress bars */
.hero-play { position: absolute; z-index: 2; right: calc((100vw - min(100vw - 2.5rem, 80rem)) / 2); bottom: 1.3rem; display: inline-flex; align-items: center; gap: .75rem; padding: 0; border: 0; background: none; color: #fff; font-weight: 600; font-size: .95rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.hero-play-ring { position: relative; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--orange); box-shadow: 0 0 0 .55rem rgba(255, 255, 255, .22); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hero-play-ring svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.hero-play .i-play, .hero-play[aria-pressed="true"] .i-pause { display: none; }
.hero-play[aria-pressed="true"] .i-play { display: block; margin-left: .15rem; }
.hero-play:hover .hero-play-ring, .hero-play:focus-visible .hero-play-ring { transform: scale(1.06); box-shadow: 0 0 0 .8rem rgba(255, 255, 255, .28); }
.hero-play:focus-visible { outline: none; }
.hero-play:focus-visible .hero-play-ring { outline: 3px solid var(--orange); outline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-play-ring::after { content: ""; position: absolute; inset: -.55rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: heroHalo 2.4s ease-out infinite; }
  .hero.is-held .hero-play-ring::after { animation: none; opacity: 0; }
  .js .hero--video .hero-kicker, .js .hero--video .hero-headline span, .js .hero--video .hero-actions { animation: ahUp .9s var(--ease) both; }
  .js .hero--video .hero-headline span:nth-child(1) { animation-delay: .12s; }
  .js .hero--video .hero-headline span:nth-child(2) { animation-delay: .24s; }
  .js .hero--video .hero-actions { animation-delay: .6s; }
}
@keyframes heroHalo { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }

/* which clip is showing: three short bars that fill as each plays */
.hero-progress { position: absolute; left: 0; right: 0; bottom: 2rem; display: flex; gap: .55rem; }
.hero-progress button { width: 3rem; height: 1.4rem; padding: 0; border: 0; background: none; }
.hero-progress span { position: relative; display: block; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .35); }
.hero-progress span::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }
.hero-progress button[aria-current] span::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .hero-progress button[aria-current].is-running span::after { animation: dotFill var(--clip-s, 4.7s) linear both; }
  .hero.is-held .hero-progress span::after { animation-play-state: paused !important; }
}

@media (max-width: 52rem) {
  .hero--video { min-height: clamp(34rem, 88svh, 44rem); }
  .hero-video { object-position: 68% 40%; }
  .hero-videos::after { background:
    linear-gradient(180deg, rgba(8, 18, 32, .6) 0%, rgba(8, 18, 32, .55) 40%, rgba(8, 18, 32, .78) 100%); }
  .hero--video .hero-content { padding-bottom: 5.5rem; }
}
@media (max-width: 36rem) {
  .hero-cta { flex: 1 1 100%; }
  .hero-play-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* =====================================================================
   Header dropdown (NDIS → Understanding the NDIS, Participant Information, FAQ)
   Opens on hover or keyboard focus; the chevron button opens it on touch.
   In the mobile menu the sub-links sit indented under their parent.
   ===================================================================== */
.primary-nav .has-sub { position: relative; display: flex; align-items: center; gap: .15rem; }
.has-sub.is-current > a { color: var(--orange); }
.sub-toggle { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; transition: color .25s, background-color .25s; }
.sub-toggle svg { width: .95rem; height: .95rem; rotate: 90deg; transition: rotate .3s var(--ease); }
.has-sub:hover > .sub-toggle, .sub-toggle:focus-visible, .has-sub.is-open > .sub-toggle { color: var(--orange); }
.primary-nav .sub-menu {
  position: absolute; z-index: 5; top: 100%; left: -1rem; display: block; min-width: 14rem; margin: .35rem 0 0; padding: .45rem;
  border-radius: .6rem; background: #fff; color: #111; box-shadow: 0 1.2rem 2.4rem -.8rem rgba(13, 39, 67, .35), 0 0 0 1px rgba(13, 39, 67, .06);
  opacity: 0; visibility: hidden; translate: 0 .5rem; transition: opacity .25s, translate .3s var(--ease), visibility .3s;
}
/* invisible bridge so the menu stays open while the pointer travels down to it */
.primary-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.9rem; height: .9rem; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; translate: 0 0; }
.has-sub:hover > .sub-toggle svg, .has-sub:focus-within > .sub-toggle svg, .has-sub.is-open > .sub-toggle svg { rotate: -90deg; }
.primary-nav .sub-menu a { padding: .7rem .9rem; border-radius: .4rem; font-size: .95rem; white-space: nowrap; transition: background-color .2s, color .2s; }
.primary-nav .sub-menu a::after { display: none; }
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu a:focus-visible, .primary-nav .sub-menu a[aria-current] { background: #fff3e8; color: #c25c00; }

@media (max-width: 64rem) {
  .primary-nav.is-open { max-height: 44rem; }
  .primary-nav .has-sub { flex-wrap: wrap; gap: 0; }
  .primary-nav .has-sub > a { flex: 1; }
  .sub-toggle { display: none; }
  .primary-nav .sub-menu { position: static; flex: 1 1 100%; min-width: 0; margin: 0; padding: 0 0 0 1rem; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; translate: none; transition: none; }
  .primary-nav .sub-menu::before { display: none; }
  .primary-nav .sub-menu a { padding: .85rem 0; border-radius: 0; font-size: 1rem; }
  .primary-nav .sub-menu a:hover, .primary-nav .sub-menu a[aria-current] { background: none; }
}

/* =====================================================================
   Business details: NDIS registration, hours, Acknowledgement of Country
   ===================================================================== */
.footer-reg { margin-top: 1.2rem; font-size: .95rem !important; line-height: 1.6; color: #333; }
.ndis-badge { display: inline-block; margin-bottom: .35rem; padding: .3rem .7rem; border-radius: 99px; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.footer-ack { border-top: 1px solid #e4e6ea; background: var(--footer); }
.footer-ack .ack { padding: 1.4rem 0; }
.ack { display: flex; align-items: center; gap: 1.2rem; }
.ack p { max-width: 62rem; font-size: .98rem; line-height: 1.55; color: #333; }
.ack-flags { flex: none; display: flex; gap: .6rem; }
.ack-flags img { width: 3.6rem; height: auto; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }

.hours-note { margin-top: 1.6rem; padding: 1rem 1.2rem; border-left: 4px solid var(--orange); border-radius: 0 .5rem .5rem 0; background: #fff6ee; }
.hours-note p { font-size: 1rem; line-height: 1.5; }
.hours-note p + p { margin-top: .45rem; }
.hours-note a { font-weight: 700; color: #b3261e; }
.referral-hours { max-width: 46rem; margin-inline: auto; text-align: left; }
.detail-text { font-size: 1.1rem; }

.ab-trust { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.ab-trust-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.ab-reg, .ab-country { padding: 1.8rem; border-radius: 1.1rem; }
.ab-reg { background: #fff; border: 1px solid #f1e3d7; box-shadow: 0 1.2rem 2.4rem -1.8rem rgba(160, 90, 30, .45); }
/* Acknowledgement card: the dot-painting and gum-leaf background has its motifs in the
   corners and along the bottom, so the text sits centred in the clear middle. The image is
   near-square like the card and has its own rounded corners, so it is stretched to fit. */
.ab-country { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 24rem; padding: clamp(4.5rem, 9%, 6rem) clamp(2.5rem, 11%, 4.5rem) clamp(5.5rem, 15%, 7.5rem); border-radius: 1.4rem; background: #fcf3ec url("../img/acknowledgement-card-background.webp") center / 100% 100% no-repeat; text-align: center; }
.ab-country .ack--page { align-items: center; }
.ab-reg-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 99px; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ab-reg-badge svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab-h3 { margin-top: 1rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); letter-spacing: -.02em; }
.ab-country .ab-h3 { margin-top: 0; }
.ab-reg-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1.2rem 0 0; }
.ab-reg-facts div { padding: .8rem .9rem; border-radius: .6rem; background: #fdf6f0; }
.ab-reg-facts dt { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a5a2e; }
.ab-reg-facts dd { margin: .25rem 0 0; font-size: 1.02rem; font-weight: 600; color: var(--ab-ink); }
.ab-reg-sub { margin-top: 1.4rem; font-size: 1rem; font-weight: 600; }
.ab-reg-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.ab-reg-list li { padding: .38rem .75rem; border-radius: 99px; border: 1px solid #f0d9c6; background: #fffaf6; font-size: .9rem; color: #4a3b30; }
.ack--page { flex-direction: column; align-items: flex-start; margin-top: 1rem; }
.ack--page p { font-size: 1.08rem; line-height: 1.6; color: #3a3a44; }
.ack--page .ack-flags img { width: 5.4rem; }

@media (max-width: 52rem) {
  .ab-trust-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-reg-facts { grid-template-columns: minmax(0, 1fr); }
  .ack { flex-direction: column; align-items: flex-start; gap: .8rem; }
}

/* =====================================================================
   New-look pages: Services, Contact, Referral (and the job application).
   Same family as About/Careers: warm light background, Montserrat
   headings, orange accents, photos in soft organic frames, layered
   parallax. Housing paths and "support in your language" lead.
   ===================================================================== */
.page-services main, .page-contact main, .page-referral main, .page-apply main { --nx-ink: #17171f; --nx-peach: #fdf1e7; --nx-line: #f1e3d7; background: #fffdfb; color: var(--nx-ink); }
.nx-arrow { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .35s var(--ease); }
.nx-btn { gap: .55rem; padding: .95rem 1.4rem; border-radius: .6rem; background: var(--orange); font-size: 1.02rem; text-transform: none; letter-spacing: 0; box-shadow: 0 .9rem 1.6rem -1rem rgba(247, 131, 29, .9); }
.nx-btn::before { background: #1d1f27; }
.nx-btn:hover .nx-arrow, .nx-btn:focus-visible .nx-arrow { translate: .3rem 0; }
.nx-btn-ghost { background: #fff; color: var(--nx-ink); box-shadow: inset 0 0 0 2px #f3c9a3; }
.nx-btn-ghost::before { background: #fff1e4; }
.nx-link { font-weight: 600; color: var(--nx-ink); text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 2px no-repeat; padding-bottom: .15rem; }
.nx-link:hover { color: #c25c00; }
.nx-intro { max-width: 40rem; margin-top: 1rem; font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem); line-height: 1.55; color: #3a3a44; }

/* ---------- light hero ---------- */
.nx-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 2.5rem) 0 clamp(5rem, 9vw, 8rem); background: linear-gradient(180deg, #fff7f0, #fffdfb 75%); }
.nx-hero-blob { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.nx-hero-blob-1 { left: -10vw; top: 22%; width: 30vw; height: 30vw; background: radial-gradient(circle at 60% 40%, #fff1e5, #fde6d2 70%); opacity: .85; }
.nx-hero-blob-2 { right: -4vw; top: calc(var(--header-h) - 3rem); width: 36vw; height: 30vw; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; background: #fde7d4; }
.nx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.nx-hero-copy { opacity: var(--fade, 1); }
.nx-badge { display: inline-block; padding: .45rem 1rem; border-radius: 99px; background: #fde3cc; color: #b85600; font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.nx-title { margin-top: 1.2rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, .9rem + 3.3vw, 3.9rem); line-height: 1.07; letter-spacing: -.035em; }
.nx-title span { display: block; }
.nx-accent { color: var(--orange); }
.nx-squiggle { display: block; width: 6.5rem; height: .9rem; margin-top: .4rem; fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; }
.nx-lead { max-width: 34rem; margin-top: 1.1rem; font-size: clamp(1.05rem, .97rem + .35vw, 1.25rem); line-height: 1.55; color: #3a3a44; }
.nx-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.nx-jump a { padding: .55rem 1rem; border-radius: 99px; background: #fff; border: 1.5px solid #f3c9a3; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--nx-ink); transition: background-color .25s, color .25s, border-color .25s; }
.nx-jump a:hover, .nx-jump a:focus-visible { background: var(--orange); border-color: var(--orange); color: #fff; }
.nx-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.8rem; }
/* organic photo frame; the picture drifts a little inside it */
.nx-frame { overflow: hidden; aspect-ratio: 16 / 11; border-radius: 46% 54% 44% 56% / 52% 46% 54% 48%; background: #fbe6d4; box-shadow: 0 2.4rem 4rem -2.4rem rgba(150, 70, 0, .45); }
.nx-frame--1 { border-radius: 56% 44% 52% 48% / 44% 56% 44% 56%; }
.nx-frame--2 { border-radius: 40% 60% 58% 42% / 55% 40% 60% 45%; }
.nx-frame--alt { border-radius: 58% 42% 46% 54% / 50% 58% 42% 50%; }
.nx-frame-img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(calc(var(--mx, 0px) * -1.2), calc(var(--iy, 0px) + var(--my, 0px) * -1.2), 0) scale(1.1); }
.nx-hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 8.8vw; pointer-events: none; }
.nx-wave-fill { fill: #fffdfb; }

/* ---------- three paths ---------- */
.nx-paths { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.nx-path-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.2rem; }
.nx-path-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.3rem; background: #fff; border: 1px solid var(--nx-line); box-shadow: 0 1.4rem 2.6rem -2rem rgba(160, 90, 30, .5); transition: translate .4s var(--ease), box-shadow .4s var(--ease); }
.nx-path-card:hover { translate: 0 -5px; box-shadow: 0 2rem 3rem -2rem rgba(160, 90, 30, .65); }
.nx-path-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.nx-path-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.nx-path-card:hover .nx-path-photo img { scale: 1.05; }
.nx-path-num { position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; color: var(--orange); font-family: var(--display); font-weight: 800; }
.nx-path-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.6rem; }
.nx-path-body h3 { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.nx-path-body dl { display: grid; gap: .8rem; margin: 1rem 0 0; }
.nx-path-body dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #a0561a; }
.nx-path-body dd { margin: .2rem 0 0; font-size: .98rem; line-height: 1.45; color: #3a3a44; }
.nx-path-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.3rem; margin-top: auto; padding-top: 1.3rem; }
.nx-path-body .nx-btn { padding: .8rem 1.1rem; font-size: .95rem; }

/* ---------- path detail rows ---------- */
.nx-path-detail { position: relative; padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.nx-path-detail:nth-of-type(odd) { background: linear-gradient(180deg, #fffdfb, #fff6ee 50%, #fffdfb); }
.nx-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.is-flipped .nx-split-art { order: 2; }
.nx-for { margin-top: 1rem; font-size: 1.08rem; color: #3a3a44; }
.nx-steps { counter-reset: nxstep; display: grid; gap: .9rem; margin-top: 1.4rem; }
.nx-steps li { counter-increment: nxstep; position: relative; padding-left: 3rem; font-size: 1.02rem; line-height: 1.5; color: #2f2f38; }
.nx-steps li::before { content: counter(nxstep); position: absolute; left: 0; top: -.1rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--nx-peach); color: #c25c00; font-weight: 700; }
.nx-fact { margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-radius: .9rem; background: #fff; border: 1px solid var(--nx-line); }
.nx-fact h3 { font-size: 1.02rem; font-weight: 700; }
.nx-fact ul { display: grid; gap: .45rem; margin-top: .6rem; }
.nx-fact li { position: relative; padding-left: 1.1rem; font-size: .96rem; line-height: 1.45; color: #3a3a44; }
.nx-fact li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--orange); }
.nx-fact.is-urgent { border: 0; border-left: 4px solid #c62828; background: #fff4f2; }
.nx-fact a, .nx-urgent-strip a, .flow-urgent a { font-weight: 700; color: #b3261e; white-space: nowrap; }
.nx-split-copy .nx-path-actions { padding-top: 1.6rem; }

/* ---------- support in your language ---------- */
.nx-lang { position: relative; padding: clamp(3rem, 6vw, 5rem) 0; background: linear-gradient(135deg, #fff1e4, #fde3cc); }
.nx-lang-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.nx-lang.is-compact .nx-lang-grid { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.nx-lang-copy > p:not(.ab-eyebrow) { margin-top: 1rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.55; color: #3a3a44; }
.nx-lang-list { display: grid; gap: .9rem; margin-top: 1.4rem; }
.nx-lang-list li { padding: 1rem 1.2rem; border-radius: .9rem; background: rgba(255, 255, 255, .75); font-size: 1rem; line-height: 1.5; color: #3a3a44; }
.nx-lang-list strong { display: block; margin-bottom: .15rem; color: var(--nx-ink); }
.nx-lang-list a { font-weight: 700; color: #c25c00; }

/* ---------- everyday NDIS supports ---------- */
.nx-supports { padding: clamp(3rem, 6vw, 5rem) 0; }
.nx-support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; margin-top: 2.2rem; }
.nx-support { overflow: hidden; border-radius: 1.1rem; background: #fff; border: 1px solid var(--nx-line); scroll-margin-top: 7rem; transition: translate .4s var(--ease), box-shadow .4s var(--ease); }
.nx-support:hover { translate: 0 -4px; box-shadow: 0 1.6rem 2.6rem -2rem rgba(160, 90, 30, .55); }
.nx-support:target { box-shadow: 0 0 0 3px var(--orange); }
.nx-support-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.nx-support-photo img { width: 100%; height: 100%; object-fit: cover; }
.nx-support-body { padding: 1.2rem 1.3rem 1.4rem; }
.nx-support-body h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.nx-support-body p { margin-top: .55rem; font-size: .95rem; line-height: 1.5; color: #4a4a54; }
.nx-more summary { margin-top: .7rem; font-weight: 600; color: #c25c00; cursor: pointer; }

/* ---------- contact: referral routes ---------- */
.nx-routes { padding: clamp(1rem, 3vw, 2.5rem) 0 1rem; }
.nx-routes-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); letter-spacing: -.02em; }
.nx-route-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.nx-route { position: relative; display: grid; gap: .3rem; padding: 1.2rem 3.4rem 1.2rem 1.3rem; border-radius: 1rem; background: #fff; border: 1.5px solid var(--nx-line); text-decoration: none; color: var(--nx-ink); transition: border-color .3s, translate .35s var(--ease), box-shadow .35s var(--ease); }
.nx-route:hover, .nx-route:focus-visible { border-color: var(--orange); translate: 0 -3px; box-shadow: 0 1.2rem 2rem -1.6rem rgba(160, 90, 30, .6); }
.nx-route-name { font-weight: 700; font-size: 1.1rem; }
.nx-route-who { font-size: .93rem; line-height: 1.4; color: #4a4a54; }
.nx-route-go { position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--orange); color: #fff; }
.nx-route.is-urgent .nx-route-go { background: #c62828; }
.nx-urgent-strip { margin-top: 1.2rem; padding: .85rem 1.1rem; border-radius: .7rem; border-left: 4px solid #c62828; background: #fff4f2; font-size: 1rem; line-height: 1.5; }
.flow-urgent { display: block; margin-top: .4rem; padding: .7rem .9rem; border-radius: .6rem; background: #fff4f2; border-left: 4px solid #c62828; color: #3a1d1d; }
.flow-urgent[hidden] { display: none; }

/* ---------- contact + referral: restyled form areas ---------- */
.page-contact .contact-main { padding: clamp(2rem, 4vw, 3.5rem) 0 4rem; }
.page-contact .contact-details h2, .page-referral .referral-title { font-family: var(--display); font-weight: 800; text-transform: none; letter-spacing: -.025em; color: var(--nx-ink); }
.page-contact .detail-icon { background: var(--nx-peach); }
.page-contact .detail-icon svg { fill: var(--orange); }
.page-contact .detail-link { color: var(--nx-ink); }
.page-contact .contact-card.flow-card { background: #fff; border: 1px solid var(--nx-line); border-radius: 1.3rem; box-shadow: 0 1.6rem 3rem -2.2rem rgba(160, 90, 30, .55); }
.page-referral .referral { background: transparent; padding: clamp(1.5rem, 3vw, 3rem) 0 4.5rem; }
.page-referral .referral-sub { color: #c25c00; }
.page-referral .flow-card { border-radius: 1.3rem; border: 1px solid var(--nx-line); box-shadow: 0 1.8rem 3.2rem -2.4rem rgba(160, 90, 30, .55); }
.page-referral .flow-q, .page-contact .flow-q { color: var(--nx-ink); letter-spacing: -.02em; }
.page-referral .bubble, .page-contact .bubble { border-color: #f0e2d6; border-radius: 1.1rem; }
.page-referral .bubble:hover, .page-contact .bubble:hover { border-color: #f3b57d; }
.page-referral .sfield label, .page-referral .sgroup legend, .page-contact .sfield label, .page-contact .sgroup legend { color: var(--nx-ink); }
.page-referral .sfield input, .page-referral .sfield select, .page-referral .sfield textarea,
.page-contact .sfield input, .page-contact .sfield select, .page-contact .sfield textarea { border-color: #e6d6c8; border-radius: .55rem; }
.page-referral .btn-ghost, .page-contact .btn-ghost { color: var(--nx-ink); box-shadow: inset 0 0 0 2px #e3cdb9; border-radius: .55rem; text-transform: none; letter-spacing: 0; }
.page-referral .btn-ghost::before, .page-contact .btn-ghost::before { background: #1d1f27; }
.page-referral .flow .btn-orange, .page-contact .flow .btn-orange { border-radius: .55rem; text-transform: none; letter-spacing: 0; }

/* ---------- entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .nx-hero .nx-badge, .js .nx-hero .nx-title span, .js .nx-hero .nx-lead, .js .nx-hero .nx-jump, .js .nx-hero .nx-hero-actions { animation: ahUp .9s var(--ease) both; }
  .js .nx-hero .nx-title span:nth-child(2) { animation-delay: .12s; }
  .js .nx-hero .nx-lead { animation-delay: .4s; }
  .js .nx-hero .nx-jump, .js .nx-hero .nx-hero-actions { animation-delay: .55s; }
  .js .nx-hero .nx-squiggle path { stroke-dasharray: 120; animation: ahDraw 1s .5s var(--ease) both; }
  .js .nx-hero-art .nx-frame { animation: abArtIn 1.3s .15s var(--ease) both, abMorph 14s 1.5s ease-in-out infinite alternate; }
}

@media (max-width: 64rem) {
  .nx-path-cards, .nx-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-path-cards .nx-path-card:last-child { grid-column: 1 / -1; }
  .nx-route-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 52rem) {
  .nx-hero { padding-bottom: 4rem; }
  .nx-hero-grid, .nx-split, .nx-lang-grid { grid-template-columns: minmax(0, 1fr); }
  .is-flipped .nx-split-art { order: 0; }
  .nx-hero-art, .nx-split-art, .nx-lang-art { max-width: 32rem; width: 100%; justify-self: center; }
  .nx-hero-wave { height: 12vw; }
}
@media (max-width: 36rem) {
  .nx-path-cards, .nx-support-grid { grid-template-columns: minmax(0, 1fr); }
  .nx-path-cards .nx-path-card:last-child { grid-column: auto; }
}

/* =====================================================================
   Job application page (careers/apply/)
   ===================================================================== */
.ap { padding: calc(var(--header-h) + 2rem) 0 5rem; background: linear-gradient(180deg, #fff7f0, #fffdfb 30%); }
.ap-back { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.4rem; font-weight: 600; font-size: .95rem; text-decoration: none; color: #6b4a2f; }
.ap-back svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }
.ap-back:hover svg { translate: -.25rem 0; }
.ap-title { margin-top: .8rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.07; letter-spacing: -.035em; }
.ap-lead { max-width: 40rem; margin-top: .9rem; font-size: 1.08rem; line-height: 1.55; color: #3a3a44; }
.ap-star { color: #c0392b; font-weight: 700; }
.ap-grid { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; margin-top: 2.2rem; }

/* the job card */
.ap-job { position: sticky; top: 7rem; }
.ap-job-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #a0561a; }
.ap-job-card { margin-top: .7rem; padding: 1.4rem; border-radius: 1.2rem; background: #fff; border: 1.5px solid #f3c9a3; box-shadow: 0 1.6rem 2.8rem -2rem rgba(160, 90, 30, .6); }
.ap-job-card.is-swapped { animation: apSwap .45s var(--ease); }
@keyframes apSwap { from { opacity: 0; translate: 0 .6rem; } }
.ap-job-icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: .8rem; background: #fdeee2; }
.ap-job-icon svg { width: 1.55rem; height: 1.55rem; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-job-title { margin-top: .9rem; font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
.ap-job-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .5rem; font-size: .9rem; color: #4a4a54; }
.ap-job-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.ap-job-meta svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ap-job-summary { margin-top: .9rem; font-size: .95rem; line-height: 1.5; color: #3a3a44; }
.ap-job-note { margin-top: .8rem; font-size: .88rem; color: #6b6b75; }

/* the form */
.ap-card { padding: clamp(1.3rem, 3vw, 2.4rem); border-radius: 1.3rem; background: #fff; border: 1px solid #f1e3d7; box-shadow: 0 1.8rem 3.2rem -2.4rem rgba(160, 90, 30, .55); }
.ap-section { margin: 0; padding: 0; border: 0; }
.ap-section + .ap-section { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid #f3e7dd; }
.ap-section > legend { float: left; width: 100%; padding: 0; margin-bottom: 1rem; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: var(--nx-ink); }
.ap-section > legend + * { clear: left; }
.ap-form .sfield label, .ap-form .sgroup legend { color: var(--nx-ink); }
.ap-form .sfield input, .ap-form .sfield select, .ap-form .sfield textarea { border-color: #e6d6c8; border-radius: .55rem; }

/* drop zones */
.dropzone { position: relative; display: grid; place-items: center; min-height: 6.2rem; padding: 1rem; border: 2px dashed #efc49d; border-radius: .9rem; background: #fffaf5; text-align: center; transition: border-color .25s, background-color .25s; }
.dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone-text { display: inline-flex; align-items: center; gap: .6rem; font-size: .98rem; color: #5a4a3e; pointer-events: none; }
.dropzone-text svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dropzone-browse { font-weight: 700; color: #c25c00; text-decoration: underline; }
.dropzone.is-over, .dropzone:hover { border-color: var(--orange); background: #fff3e8; }
.dropzone:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.dropzone.has-files { min-height: 4rem; }
.file-field [aria-invalid="true"] ~ .dropzone-text, .file-field:has([aria-invalid="true"]) .dropzone { border-color: #c0392b; background: #fff8f7; }
.file-list { display: grid; gap: .45rem; margin-top: .6rem; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; gap: .8rem; padding: .55rem .8rem; border-radius: .6rem; background: #fdf3ea; font-size: .93rem; }
.file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-size { color: #6b6b75; }
.file-list button { padding: .2rem .5rem; border: 0; border-radius: .4rem; background: none; font-weight: 600; color: #b3261e; }
.file-list button:hover { background: #fde4e1; }

.ap-status a, .form-status a { color: inherit; text-decoration: underline; }
.form-status { margin: .6rem 0; font-weight: 600; line-height: 1.5; color: #8a3a00; }
.enquiry-form .form-status { color: #fff; }
.form-status:empty { display: none; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form[aria-busy="true"] button[type=submit] { opacity: .65; cursor: progress; }
.ap-status { margin-top: 1rem; font-weight: 600; color: #8a3a00; }
.ap-status:empty { display: none; }
.ap-submit { margin-top: 1.2rem; }
.ap-submit[disabled] { opacity: .6; cursor: progress; }
.ap-success h2 { font-family: var(--display); font-weight: 800; }

@media (max-width: 52rem) {
  .ap-grid { grid-template-columns: minmax(0, 1fr); }
  .ap-job { position: static; }
}

/* =====================================================================
   Streamlined Services / Contact / Referral / Apply
   ===================================================================== */
/* ---------- services: path tabs ---------- */
.nx-explorer { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.nx-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.8rem; }
.nx-tab { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 1rem; border: 1.5px solid var(--nx-line); background: #fff; text-decoration: none; color: var(--nx-ink); transition: border-color .25s, background-color .25s, box-shadow .3s var(--ease), translate .3s var(--ease); }
.nx-tab:hover { border-color: #f3b57d; translate: 0 -2px; }
.nx-tab[aria-selected="true"] { border-color: var(--orange); background: #fff6ee; box-shadow: 0 1.2rem 2rem -1.6rem rgba(160, 90, 30, .6); }
.nx-tab.is-urgent[aria-selected="true"] { border-color: #c62828; background: #fff4f2; }
.nx-tab-num { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--nx-peach); color: #c25c00; font-family: var(--display); font-weight: 800; font-size: .95rem; }
.nx-tab[aria-selected="true"] .nx-tab-num { background: var(--orange); color: #fff; }
.nx-tab.is-urgent[aria-selected="true"] .nx-tab-num { background: #c62828; }
.nx-tab-text { display: grid; gap: .2rem; }
.nx-tab-name { font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.nx-tab-who { font-size: .9rem; line-height: 1.4; color: #4a4a54; }
.nx-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 1.6rem; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 1.4rem; background: #fff; border: 1px solid var(--nx-line); box-shadow: 0 2rem 3.4rem -2.6rem rgba(160, 90, 30, .55); scroll-margin-top: 8rem; }
.nx-explorer:not(.has-tabs) .nx-panel + .nx-panel { margin-top: 1.2rem; }
.nx-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .has-tabs .nx-panel:not([hidden]) { animation: nxPanel .5s var(--ease); } }
@keyframes nxPanel { from { opacity: 0; translate: 0 .8rem; } }
.nx-panel-photo { overflow: hidden; aspect-ratio: 16 / 11; border-radius: 1rem; }
.nx-panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.nx-panel-copy h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.025em; }
.nx-offer { margin-top: .5rem; font-size: 1.05rem; line-height: 1.5; color: #3a3a44; }
.nx-panel .nx-steps { margin-top: 1.1rem; }
.nx-panel .nx-fact { margin-top: 1.2rem; }
.nx-fact h4 { font-size: 1rem; font-weight: 700; }
.nx-panel .nx-path-actions { padding-top: 1.3rem; }

/* ---------- compact language strip ---------- */
.nx-strip { padding: clamp(2.2rem, 4vw, 3.2rem) 0; background: linear-gradient(135deg, #fff1e4, #fde3cc); }
.nx-strip .ab-h2 { font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.3rem); }
.nx-strip-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.nx-strip-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.nx-strip-list li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: .9rem; background: rgba(255, 255, 255, .78); font-size: .93rem; line-height: 1.45; color: #3a3a44; }
.nx-strip-list svg { flex: none; width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nx-strip-list strong { display: block; margin-bottom: .15rem; font-size: 1rem; color: var(--nx-ink); }
.nx-strip-list a { font-weight: 700; color: #c25c00; }

/* ---------- compact supports list ---------- */
.nx-support-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 1.8rem; }
.nx-support-list .nx-support { display: flex; gap: 1rem; align-items: center; padding: .7rem; border-radius: 1rem; }
.nx-support-thumb { flex: none; width: 5.2rem; height: 5.2rem; overflow: hidden; border-radius: .8rem; }
.nx-support-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nx-support-list .nx-support-body { display: grid; gap: .25rem; padding: 0; font-size: .92rem; line-height: 1.4; color: #4a4a54; }
.nx-support-list .nx-support-body strong { font-size: 1.02rem; line-height: 1.25; color: var(--nx-ink); }

/* ---------- contact: one column of details, routes and urgent help ---------- */
.nx-after { margin-top: 1.4rem; font-size: .95rem; line-height: 1.5; color: #4a4a54; }
.nx-after a { font-weight: 700; color: #b3261e; }
.contact-details .nx-routes-title { margin-top: 2rem; font-size: 1.3rem; }
.nx-routes-sub { margin-top: .2rem; font-size: .95rem; color: #4a4a54; }
.nx-route-list { display: grid; gap: .55rem; margin-top: .9rem; }
.nx-route-list .nx-route { display: flex; align-items: center; justify-content: space-between; padding: .85rem .9rem .85rem 1.1rem; }
.nx-route-list .nx-route-go { position: static; translate: none; width: 1.9rem; height: 1.9rem; }
.contact-details .nx-urgent-strip { font-size: .95rem; }

/* ---------- referral: compact header, form first ---------- */
.page-referral .referral { padding-top: calc(var(--header-h) + 2.2rem); background: linear-gradient(180deg, #fff7f0, #fffdfb 40%); }
.rf-head { max-width: 62rem; margin-inline: auto; text-align: center; }
.rf-head .nx-lead { max-width: 40rem; }
.rf-title { font-size: clamp(2rem, 1rem + 2.6vw, 3.2rem); }
.rf-head .nx-lead { margin-inline: auto; }
.rf-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.3rem; }
.rf-facts li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 99px; background: #fff; border: 1px solid var(--nx-line); font-size: .9rem; color: #3a3a44; }
.rf-facts svg { width: 1rem; height: 1rem; fill: var(--orange); }
.rf-facts a { font-weight: 700; color: var(--nx-ink); text-decoration: none; }
.rf-facts .is-urgent { border-color: #f2c1bb; background: #fff4f2; }
.rf-facts .is-urgent svg { fill: #c62828; }
.rf-facts .is-urgent a { color: #b3261e; }
.rf-after { max-width: 40rem; margin: .8rem auto 0; font-size: .88rem; line-height: 1.5; color: #6b6b75; }
.rf-after a { font-weight: 700; color: #b3261e; }
.page-referral .flow-card { margin-top: 1.8rem; }

/* ---------- apply: numbered sections ---------- */
.ap-num { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; margin-right: .6rem; border-radius: 50%; background: var(--nx-peach); color: #c25c00; font-size: .9rem; vertical-align: .15em; }

@media (max-width: 64rem) {
  .nx-support-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-strip-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 52rem) {
  .nx-tabs { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .nx-tab-who { display: none; }
  .nx-panel { grid-template-columns: minmax(0, 1fr); }
  .nx-strip-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 36rem) {
  .nx-support-list { grid-template-columns: minmax(0, 1fr); }
  .rf-facts { justify-content: flex-start; }
  .rf-head { text-align: left; }
}

/* =====================================================================
   Make a Referral (redesign): hero, five-step form with a named stepper
   ===================================================================== */
.page-referral main { background: linear-gradient(180deg, #fff8f2 0, #fffdfb 38%, #fff 70%); }
.rf-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 2.5rem) 0 2rem; }
.rf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: center; }
.rf-hero-copy { opacity: var(--fade, 1); }
.rf-hero-copy .cr-eyebrow { font-size: .85rem; }
.rf-title { margin-top: 1.4rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 1.2rem + 4.6vw, 5.4rem); line-height: 1; letter-spacing: -.04em; color: #17171f; }
.rf-title span { display: block; }
.rf-lead { max-width: 30rem; margin-top: 1.4rem; font-size: clamp(1.05rem, .97rem + .35vw, 1.25rem); line-height: 1.55; color: #3a3a44; }
.rf-promise { display: flex; flex-wrap: wrap; margin-top: 2rem; }
.rf-promise li { display: flex; align-items: center; gap: .55rem; padding: .2rem 1.3rem; font-weight: 600; font-size: .98rem; color: #17171f; }
.rf-promise li:first-child { padding-left: 0; }
.rf-promise li + li { border-left: 1px solid #ead8c8; }
.rf-promise svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rf-promise li:first-child svg { fill: var(--orange); stroke: none; }
.rf-hero-art { justify-self: end; width: min(100%, 36rem); }
.rf-hero-art img { width: 100%; height: auto; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: no-preference) {
  .js .rf-hero .cr-eyebrow, .js .rf-title span, .js .rf-lead, .js .rf-promise { animation: ahUp .9s var(--ease) both; }
  .js .rf-title span:nth-child(2) { animation-delay: .12s; }
  .js .rf-lead { animation-delay: .35s; }
  .js .rf-promise { animation-delay: .5s; }
  .js .rf-hero-art img { animation: abArtIn 1.2s .1s var(--ease) both, rfFloat 6s 1.4s ease-in-out infinite alternate; }
}
@keyframes rfFloat { to { translate: 0 -10px; } }

/* outer card with the stepper, inner card with the step */

.rf-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }



.rf-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(4rem, 9vw, 8rem); pointer-events: none; }

@media (max-width: 64rem) {
  .rf-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .rf-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .rf-hero-art { justify-self: center; width: min(100%, 26rem); order: -1; }
}
@media (max-width: 36rem) {
  .rf-promise li { padding: .2rem .8rem; font-size: .9rem; }
  .rf-promise li + li { border: 0; }
  .rf-type.bubble { min-height: 8.5rem; padding: 1.1rem .7rem; }
  .rf-type .bubble-label { font-size: .98rem; }
}
.rf-promise { flex-wrap: nowrap; }
.rf-promise li { padding: .2rem 1rem; font-size: .95rem; white-space: nowrap; }
@media (max-width: 36rem) { .rf-promise { flex-wrap: wrap; } }

/* Referral: the quick one-question-at-a-time form under the mockup hero */
.page-referral .referral.rf-quick { position: relative; padding: 1rem 0 clamp(7rem, 11vw, 10rem); background: transparent; }
.rf-quick-note { max-width: 44rem; margin: 0 auto; text-align: center; font-size: 1.02rem; line-height: 1.55; color: #3a3a44; }
.rf-quick .nx-urgent-strip { max-width: 44rem; margin: 1rem auto 0; }
.rf-quick .flow-card { margin-top: 1.6rem; }

/* =====================================================================
   Our Services and Contact Us (from the approved mockups)
   ===================================================================== */
.page-services main, .page-contact main { background: linear-gradient(180deg, #fff6ee 0, #fffaf6 28%, #fffdfb 60%); }
.sv-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2a2a33; }
.sv-h2 { margin-top: .5rem; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem); line-height: 1.05; letter-spacing: -.035em; color: #17171f; }
.sv-h2 span { display: block; }
.ct-chat .sv-h2 span { display: inline; }

/* ---------- services hero ---------- */
.sv-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 2.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.sv-hero::before { content: ""; position: absolute; z-index: -1; right: -6vw; top: calc(var(--header-h) - 2rem); width: 52vw; height: 26vw; border-radius: 50% 50% 46% 54% / 60% 60% 40% 40%; background: radial-gradient(ellipse at 60% 40%, #fde3cc, rgba(253, 227, 204, 0) 70%); }
.sv-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 2rem; align-items: center; }
.sv-hero-copy { opacity: var(--fade, 1); }
.sv-title { margin-top: 1.3rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 1rem + 3.9vw, 4.4rem); line-height: 1.04; letter-spacing: -.04em; color: #17171f; }
.sv-title span, .ct-title { display: block; }
.sv-lead, .ct-lead { max-width: 32rem; margin-top: 1.2rem; font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); line-height: 1.55; color: #3a3a44; }
.sv-hero-art { justify-self: center; width: min(100%, 22rem); }
.sv-hero-art img, .ct-hero-art img, .sv-stage-art img, .ct-chat-art img, .sv-icon img { width: 100%; height: auto; mix-blend-mode: multiply; }
.sv-hills { position: absolute; left: 0; bottom: -1px; z-index: -1; width: 100%; height: clamp(3rem, 9vw, 7rem); pointer-events: none; }

/* ---------- service cards ---------- */
.sv-cards { padding: 0 0 clamp(2.5rem, 5vw, 4rem); }
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.sv-icon svg { display: block; width: 100%; height: auto; }
.sv-card { position: relative; display: flex; flex-direction: column; padding: 1.3rem 1.3rem 1.2rem; border-radius: 1.1rem; background: #fff; border: 1px solid #f4e9e0; box-shadow: 0 1.2rem 2.2rem -1.8rem rgba(160, 90, 30, .45); scroll-margin-top: 8rem; transition: translate .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.sv-card:hover { translate: 0 -4px; border-color: #f3c9a3; box-shadow: 0 1.8rem 2.8rem -1.8rem rgba(160, 90, 30, .6); }
.sv-card:target { border-color: var(--orange); }
.sv-icon { display: block; width: 6rem; transition: transform .45s var(--ease); }
.sv-card:hover .sv-icon { transform: translateY(-3px) scale(1.04); }
.sv-name { margin-top: .8rem; font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.015em; color: #17171f; }
.sv-card p { margin-top: .45rem; padding-bottom: 2.6rem; font-size: .93rem; line-height: 1.45; color: #4a4a54; }
.sv-go { position: absolute; right: 1.1rem; bottom: 1.1rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 2px solid var(--orange); border-radius: 50%; color: var(--orange); transition: background-color .25s, color .25s; }
.sv-go::after { content: ""; position: absolute; inset: -40rem; } /* whole card is the link */
.sv-card { overflow: hidden; }
.sv-go svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sv-card:hover .sv-go, .sv-go:focus-visible { background: var(--orange); color: #fff; }
.sv-go:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- "Support for Every Stage" and "Let's Chat" bands ---------- */
.sv-stage, .ct-chat { position: relative; padding: 0 0 clamp(7rem, 11vw, 10rem); }
.sv-stage-card, .ct-chat-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0; padding: clamp(1.2rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2.4rem); border-radius: 1.4rem; background: linear-gradient(135deg, #fff3e8, #fdf1e7); }
.sv-stage-art, .ct-chat-art { padding-right: clamp(1rem, 3vw, 2.5rem); border-right: 1px solid #ecd6c3; }
.ct-chat-art img { max-width: 20rem; margin-inline: auto; }
.sv-stage-copy, .ct-chat-copy { padding-left: clamp(1.2rem, 3vw, 2.5rem); }
/* the path illustration runs to its edges in solid orange: fade every side into the card */
.sv-stage-art img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 76%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 76%, transparent); mask-composite: intersect; }
.sv-stage-copy p:not(.sv-kicker), .ct-chat-copy p:not(.sv-kicker) { margin-top: .8rem; font-size: 1.05rem; line-height: 1.5; color: #3a3a44; }
.sv-stage-copy .nx-btn, .ct-chat-copy .nx-btn { margin-top: 1.4rem; }
.sv-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(4rem, 9vw, 7.5rem); pointer-events: none; }

/* ---------- contact hero ---------- */
.ct-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.ct-hero::before { content: ""; position: absolute; z-index: -1; right: -4vw; top: calc(var(--header-h) - 2rem); width: 38vw; height: 30vw; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; background: radial-gradient(ellipse, #fde3cc, rgba(253, 227, 204, 0) 70%); }
.ct-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem; align-items: center; }
.ct-hero-copy { opacity: var(--fade, 1); }
.ct-title { margin-top: 1.3rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 1rem + 4.2vw, 4.6rem); line-height: 1; letter-spacing: -.04em; color: #17171f; }
.ct-ways { display: flex; flex-wrap: wrap; margin-top: 2rem; }
.ct-ways li { display: flex; flex-direction: column; gap: .6rem; padding: .2rem 1.6rem; font-size: .95rem; color: #3a3a44; }
.ct-ways li:first-child { padding-left: 0; }
.ct-ways li + li { border-left: 1px solid #ead8c8; }
.ct-ways svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-ways svg.is-fill, .ct-call svg.is-fill { fill: var(--orange); stroke: none; }
.ct-ways strong { display: block; font-size: 1rem; color: #17171f; }
.ct-ways a { color: inherit; text-decoration: none; }
.ct-ways a:hover { color: #c25c00; text-decoration: underline; }
.ct-hero-art { justify-self: center; width: min(100%, 22rem); }

/* ---------- contact form + side card ---------- */
.ct-main { padding: 0 0 clamp(2.5rem, 5vw, 4rem); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
.ct-form-card { padding: clamp(1.3rem, 3vw, 2.2rem); border-radius: 1.3rem; background: #fff; border: 1px solid #f4e9e0; box-shadow: 0 1.8rem 3rem -2.4rem rgba(160, 90, 30, .5); }
.ct-h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + .9vw, 1.95rem); letter-spacing: -.025em; color: #17171f; }
.ct-sub { max-width: 30rem; margin-top: .4rem; font-size: .98rem; line-height: 1.5; color: #4a4a54; }
.ct-form .sgrid { margin-top: 1.4rem; }
.ct-form .sfield label { font-size: .92rem; color: #17171f; }
.ct-form .sfield input, .ct-form .sfield select, .ct-form .sfield textarea { border-color: #e6d6c8; border-radius: .55rem; }
.ct-send { width: 100%; margin-top: 1.4rem; padding: 1.05rem 1.4rem; font-size: 1.08rem; }
.ct-after { margin-top: 1rem; font-size: .86rem; line-height: 1.5; color: #6b6b75; }
.ct-after a { font-weight: 700; color: #b3261e; }
.ct-side { padding: .4rem clamp(1.2rem, 2.5vw, 1.8rem); border-radius: 1.3rem; background: #fdf3ea; }
.ct-side-item { display: flex; gap: 1rem; padding: 1.3rem 0; }
.ct-side-item + .ct-side-item { border-top: 1px solid #ecd6c3; }
.ct-side-icon svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-side h3 { font-size: 1.08rem; font-weight: 700; color: #17171f; }
.ct-side p { margin-top: .3rem; font-size: .93rem; line-height: 1.45; color: #4a4a54; }
.ct-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .55rem; font-weight: 700; font-size: .93rem; color: #c25c00; }
.ct-link svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }
.ct-link:hover svg { translate: .25rem 0; }
.ct-call svg { width: 1.2rem; height: 1.2rem; }
.ct-call { gap: .6rem; padding: 1rem 1.8rem; font-size: 1.15rem; }

@media (prefers-reduced-motion: no-preference) {
  .js .sv-hero .cr-eyebrow, .js .sv-title span, .js .sv-lead, .js .ct-hero .cr-eyebrow, .js .ct-title, .js .ct-lead, .js .ct-ways { animation: ahUp .9s var(--ease) both; }
  .js .sv-title span:nth-child(2) { animation-delay: .12s; }
  .js .sv-lead, .js .ct-lead { animation-delay: .35s; }
  .js .ct-ways { animation-delay: .5s; }
  .js .sv-hero-art img, .js .ct-hero-art img, .js .dc-hero-art svg { animation: abArtIn 1.2s .1s var(--ease) both, rfFloat 6s 1.4s ease-in-out infinite alternate; }
}

@media (max-width: 64rem) {
  .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  .sv-hero-grid, .ct-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .sv-hero-art, .ct-hero-art { order: -1; width: min(70%, 16rem); }
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .sv-stage-card, .ct-chat-card { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .sv-stage-art, .ct-chat-art { padding: 0; border: 0; }
  .sv-stage-copy, .ct-chat-copy { padding: 0; }
}
@media (max-width: 36rem) {
  .sv-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-ways { flex-direction: column; gap: 1rem; }
  .ct-ways li { flex-direction: row; align-items: center; padding: 0; border: 0 !important; }
}
/* fade the edges of the cut-out illustrations so no rectangle shows against the page */
.sv-hero-art img, .ct-hero-art img, .rf-hero-art img { -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 76%, transparent 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 76%, transparent 100%); }
/* the new signpost sits on white: fade it out in a circle so no square edge shows on the peach hero */
.sv-hero-art img { -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); }

/* =====================================================================
   Home: sections below the video hero
   ===================================================================== */
/* ---------- statement under the hero (after the reference site: quiet kicker, big centred
   line and a pill button; each word rises in turn) ---------- */
.hm-statement { padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem); text-align: center; }
.hm-statement-kicker { font-size: .95rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(27, 27, 31, .6); }
.hm-statement-text { max-width: 68rem; margin: 1.2rem auto 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.85rem, .9rem + 2.8vw, 3.5rem); line-height: 1.1; letter-spacing: -.045em; color: #1b1b1f; text-wrap: balance; }
.hm-w { display: inline-block; }
.js .hm-statement-text.reveal { opacity: 1; translate: none; }
.js .hm-statement-text .hm-w { opacity: 0; translate: 0 .55em; filter: blur(6px); transition: opacity .7s var(--ease), translate .8s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 35ms); }
.js .hm-statement-text.is-in .hm-w { opacity: 1; translate: 0 0; filter: blur(0); }
.hm-statement-cta { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: clamp(1.8rem, 3.5vw, 2.6rem); --d: .35s; }
.hm-pill { display: inline-flex; align-items: center; gap: .6rem; height: 3.75rem; padding: 0 1.9rem; white-space: nowrap; flex: none; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background-color .25s, translate .3s var(--ease); }
.hm-pill svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }
.hm-pill:hover { background: #1b1b1f; }
.hm-pill:hover svg { translate: .25rem 0; }
.hm-pill:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (max-width: 36rem) {
  .hm-statement-cta { gap: .75rem; }
  .hm-pill { height: 3rem; padding: 0 1.3rem; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .js .hm-statement-text .hm-w { opacity: 1; translate: none; filter: none; transition: none; } }

/* ---------- shared type for the sections below (after the reference site) ---------- */
.hm-kicker { font-size: .9rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(27, 27, 31, .6); }
.hm-display { margin-top: .9rem; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.1rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.04em; color: #1b1b1f; text-wrap: balance; }
.hm-body { max-width: 34rem; margin-top: 1.1rem; font-size: 1.08rem; line-height: 1.6; color: #4a4a54; }
.hm-pill--dark { background: #1b1b1f; }
.hm-pill--dark:hover { background: var(--orange); }

/* ---------- accommodation and tenancy: statement + accordion, then the house cut-out ---------- */
.hm-housing { overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hm-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
/* The photo cut-out and the orange band behind it, traced from the mockup, share one
   604 x 370 box (site-src/house-cutout.js). As in the mockup, the art runs off the right-hand
   edge of the screen, so the photo's straight right side is hidden. Positions are % of that box. */
.hm-housing-art { position: relative; isolation: isolate; aspect-ratio: 604 / 370; container-type: inline-size; margin-right: calc((100vw - min(100vw - 2.5rem, 80rem)) / -2); }
.hm-house-deco { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hm-blob { position: absolute; left: 2.594%; top: 9.876%; width: 96.909%; height: 88.503%; }
.hm-blob img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; clip-path: url(#hmHouseClip); }
.hm-badge { position: absolute; left: 60.9%; top: 6.5%; display: flex; align-items: center; gap: 1.7cqw; padding: 2.1cqw 2.9cqw 2.1cqw 2.2cqw; border-radius: 3.2cqw; background: var(--orange); color: #fff; font-family: var(--display); font-weight: 600; font-size: max(.78rem, 2.3cqw); line-height: 1.12; box-shadow: 0 1rem 1.8rem -1.2rem rgba(200, 90, 0, .8); }
.hm-badge svg { flex: none; width: max(1.5rem, 5.4cqw); height: max(1.5rem, 5.4cqw); fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hm-accordion { margin: 1.8rem 0 2.2rem; border-top: 1px solid rgba(27, 27, 31, .12); interpolate-size: allow-keywords; }
.hm-acc { border-bottom: 1px solid rgba(27, 27, 31, .12); }
.hm-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; font-weight: 600; font-size: 1.08rem; color: #1b1b1f; cursor: pointer; list-style: none; }
.hm-acc summary::-webkit-details-marker { display: none; }
.hm-acc summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: .3rem; }
.hm-acc-icon { position: relative; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(27, 27, 31, .07); transition: background-color .25s, rotate .35s var(--ease); }
.hm-acc-icon::before, .hm-acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .75rem; height: 2px; margin: -1px 0 0 -.375rem; border-radius: 2px; background: #1b1b1f; }
.hm-acc-icon::after { rotate: 90deg; }
.hm-acc summary:hover .hm-acc-icon { background: rgba(247, 131, 29, .18); }
.hm-acc[open] .hm-acc-icon { rotate: 45deg; background: var(--orange); }
.hm-acc[open] .hm-acc-icon::before, .hm-acc[open] .hm-acc-icon::after { background: #fff; }
.hm-acc p { padding: 0 3rem 1.15rem 0; font-size: 1rem; line-height: 1.55; color: #4a4a54; }
.hm-acc::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.hm-acc[open]::details-content { block-size: auto; }

/* ---------- getting started: dark band, numbered cards joined by arrows ---------- */
.hm-journey { padding: clamp(4.5rem, 8vw, 7rem) 0; background: #1b1b1f; color: #fff; }
.hm-journey .hm-kicker { color: rgba(255, 255, 255, .55); }
.hm-journey .hm-display { color: #fff; }
.hm-journey .hm-body { color: rgba(255, 255, 255, .7); }
.hm-journey-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
/* the illustration's white background is recoloured to the band's grey (filter #hmOnDark in home.js) */
.hm-journey-art { overflow: hidden; }
.hm-journey-art img { display: block; width: 100%; height: auto; filter: url(#hmOnDark); }
.hm-step-cards { --gap: 3rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.hm-step-cards li { position: relative; padding: 1.7rem 1.6rem 1.9rem; background: linear-gradient(180deg, #2a2a31, #232328); }
/* an orange rule draws across the top of the card on hover */
.hm-step-cards li::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--orange); scale: 0 1; transform-origin: left; transition: scale .45s var(--ease); }
.hm-step-cards li:hover { transform: translateY(-.3rem); }
.hm-step-cards li:hover::before { scale: 1 1; }
.hm-step-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hm-step-icon { display: grid; place-items: center; flex: none; width: 3.9rem; height: 3.9rem; border: 2px solid var(--orange); border-radius: 50%; color: #fff; transition: background-color .3s, box-shadow .3s; }
.hm-step-icon svg { width: 1.65rem; height: 1.65rem; }
.hm-step-cards li:hover .hm-step-icon { background: var(--orange); box-shadow: 0 0 0 .45rem rgba(247, 131, 29, .16); }
.hm-step-num { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 1.7rem + 1.4vw, 3rem); line-height: 1; letter-spacing: -.04em; color: rgba(255, 255, 255, .16); transition: color .3s; }
.hm-step-cards li:hover .hm-step-num { color: rgba(255, 255, 255, .4); }
.hm-step-cards h3 { margin-top: 1.3rem; font-size: 1.15rem; font-weight: 700; color: #fff; }
.hm-step-cards p { margin-top: .5rem; font-size: .96rem; line-height: 1.55; color: rgba(255, 255, 255, .66); }
@media (prefers-reduced-motion: no-preference) {
  .js .hm-step-cards li .hm-step-icon { scale: .6; opacity: 0; transition: scale .6s calc(var(--d, 0s) + .25s) cubic-bezier(.34, 1.56, .64, 1), opacity .4s calc(var(--d, 0s) + .25s), background-color .3s, box-shadow .3s; }
  .js .hm-step-cards li.is-in .hm-step-icon { scale: 1; opacity: 1; }
}
/* the arrow sits centred in the gap after each card, pointing at the next */
.hm-step-arrow { position: absolute; z-index: 1; top: 50%; left: calc(100% + var(--gap) / 2); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 0 0 .4rem #1b1b1f; }
.hm-step-arrow svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .js .hm-step-cards li.is-in .hm-step-arrow svg { animation: hmNudge 2.4s calc(var(--d, 0s) + .8s) var(--ease) infinite; }
}
@keyframes hmNudge { 0%, 60%, 100% { translate: 0 0; } 30% { translate: .2rem 0; } }

/* ---------- CALD friendly: icon, short statement and a pill, over a slow row of greetings ---------- */
.hm-cald { overflow: hidden; padding: clamp(.5rem, 2vw, 1.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.hm-cald-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
/* the supplied icon has a grey margin and its own shadow: show only its white tile */
.hm-cald-icon { overflow: hidden; width: clamp(6.5rem, 4rem + 6vw, 9rem); aspect-ratio: 1052 / 1064; border-radius: 20%; box-shadow: 0 1.2rem 2rem -1.3rem rgba(200, 90, 0, .55), 0 0 0 1px rgba(27, 27, 31, .06); }
.hm-cald-icon img { display: block; width: 119.2%; max-width: none; height: auto; margin: -9.79% 0 0 -9.13%; }
.hm-cald-title { margin-top: .6rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1rem + 1.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.035em; color: #1b1b1f; text-wrap: balance; }
.hm-cald-text { max-width: 40rem; margin-top: .8rem; font-size: 1.04rem; line-height: 1.6; color: #4a4a54; }
.hm-cald-marquee { margin-top: clamp(2.5rem, 5vw, 3.5rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hm-cald-track { display: flex; width: max-content; }
.hm-cald-track > span { display: flex; }
.hm-cald-track [lang] { padding: 0 clamp(1.2rem, 2.5vw, 2rem); font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1.3; letter-spacing: -.03em; white-space: nowrap; color: #b2b2b4; transition: color .3s; } /* solid, not translucent: joined letters (Arabic, Hindi) overlap slightly and translucent ink shows darker seams there */
.hm-cald-track [lang]:nth-child(3n + 2) { color: #e8730f; }
/* tight tracking suits Latin letters but breaks joined scripts (Arabic, Persian, Hindi) and crowds Korean and Chinese */
.hm-cald-track :is([lang="ar"], [lang="fa"], [lang="hi"], [lang="ko"], [lang="zh"]) { letter-spacing: normal; font-synthesis: none; }
/* the display font has no glyphs for these scripts: use system fonts that ship a real bold, rather than a smeared fake one */
.hm-cald-track :is([lang="ar"], [lang="fa"]) { font-family: "Segoe UI", "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif; }
.hm-cald-track [lang="hi"] { font-family: "Nirmala UI", "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif; }
.hm-cald-track [lang="ko"] { font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
.hm-cald-track [lang="zh"] { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif; }
@media (prefers-reduced-motion: no-preference) {
  .hm-cald-track { animation: hmMarquee 48s linear infinite; }
  .hm-cald-marquee:hover .hm-cald-track { animation-play-state: paused; }
}
@keyframes hmMarquee { to { translate: -50% 0; } }

/* ---------- closing orange call-to-action ---------- */
.hm-cta { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.hm-cta-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto; align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem); padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.5rem, 4vw, 3.5rem); border-radius: 1.6rem; background: linear-gradient(100deg, #d95f06 0%, #ef7612 50%, #f7831d 100%); color: #fff; box-shadow: 0 2rem 3rem -2.2rem rgba(200, 90, 0, .9); }
.hm-cta-bg { position: absolute; z-index: -1; inset: 0 0 0 45%; background-size: cover; background-position: center 40%; opacity: .4; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.hm-cta-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; }
.hm-cta-text { padding-left: clamp(1.2rem, 3vw, 2.5rem); border-left: 1px solid rgba(255, 255, 255, .5); font-size: 1.05rem; line-height: 1.55; }
.hm-cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: .7rem; }
.hm-cta-btn, .hm-cta-phone { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1.02rem; text-decoration: none; white-space: nowrap; }
.hm-cta-btn { background: #fff; color: #17171f; transition: background-color .25s, color .25s; }
.hm-cta-btn:hover { background: #17171f; color: #fff; }
.hm-cta-phone { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); transition: background-color .25s; }
.hm-cta-phone:hover { background: rgba(255, 255, 255, .15); }
.hm-cta-btn svg, .hm-cta-phone svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }
.hm-cta-phone svg { stroke-width: 2; }
.hm-cta-btn:hover svg { translate: .25rem 0; }
.hm-cta-btn:focus-visible, .hm-cta-phone:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 64rem) {
  .hm-step-cards { --gap: 2.6rem; grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .hm-step-arrow { top: calc(100% + var(--gap) / 2); left: 50%; rotate: 90deg; }
  .hm-cta-card { grid-template-columns: minmax(0, 1fr); }
  .hm-cta-text { padding: 0; border: 0; }
  .hm-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .hm-cta-bg { inset: 30% 0 0 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
}
@media (max-width: 52rem) {
  .hm-split, .hm-journey-head { grid-template-columns: minmax(0, 1fr); }
  .hm-housing-art { margin-top: 1rem; }
  .hm-journey-art { max-width: 32rem; }
  .hm-cald-inner { grid-template-columns: auto minmax(0, 1fr); }
  .hm-cald-cta { grid-column: 2; justify-self: start; }
}
@media (max-width: 36rem) {
  .hm-cald-inner { grid-template-columns: minmax(0, 1fr); }
  .hm-cald-cta { grid-column: auto; }
}
@media (max-width: 36rem) {
  .hm-acc p { padding-right: 0; }
}

/* =====================================================================
   Information pages (Privacy Policy, NDIS pages), matching the new look
   of Our Services: warm light hero, then section cards beside a sticky
   "On this page" card.
   ===================================================================== */
.page-privacy main, .page-accessibility main, .page-ndis-understanding main, .page-ndis-participant main, .page-ndis-faq main {
  --nx-ink: #17171f; color: var(--nx-ink); background: linear-gradient(180deg, #fff6ee 0, #fffaf6 28%, #fffdfb 60%);
}
.dc-hero-art { width: min(100%, 20rem); }
.dc-hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.dc { padding: 0 0 clamp(3.5rem, 7vw, 6rem); }
.dc-grid { display: grid; grid-template-columns: 17.5rem minmax(0, 50rem); gap: clamp(1.5rem, 3vw, 2.75rem); justify-content: center; align-items: start; }
.dc-toc { position: sticky; top: calc(var(--header-h) - 1rem); padding: 1.3rem 1rem 1rem; border-radius: 1.1rem; background: #fff; border: 1px solid #f4e9e0; box-shadow: 0 1.2rem 2.2rem -1.8rem rgba(160, 90, 30, .45); }
.dc-toc-title { display: flex; align-items: center; gap: .8rem; padding: 0 .5rem .75rem; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #2a2a33; }
.dc-toc-title::before { content: ""; width: 1.4rem; height: 3px; border-radius: 3px; background: var(--orange); }
.dc-toc ol { display: grid; gap: .15rem; }
.dc-toc a { display: flex; align-items: center; gap: .7rem; padding: .55rem .5rem; border-radius: .6rem; font-size: .95rem; font-weight: 500; line-height: 1.25; color: #33333d; text-decoration: none; transition: background-color .2s, color .2s; }
.dc-toc a:hover, .dc-toc a:focus-visible { background: #fff3e8; color: #b85600; }
.dc-toc-icon { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .55rem; background: #fdf1e7; color: var(--orange); }
.dc-toc-icon svg, .dc-icon svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dc-body { display: grid; gap: 1.1rem; }
.dc-card { padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); border-radius: 1.3rem; background: #fff; border: 1px solid #f4e9e0; box-shadow: 0 1.4rem 2.6rem -2rem rgba(160, 90, 30, .45); scroll-margin-top: 7.5rem; font-size: 1.05rem; line-height: 1.65; color: #3a3a44; }
.dc-card-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.dc-icon { flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .9rem; background: linear-gradient(160deg, #ffa64f, #f0670a); color: #fff; box-shadow: 0 .7rem 1.2rem -.7rem rgba(240, 103, 10, .8); }
.dc-card h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); line-height: 1.15; letter-spacing: -.025em; color: #17171f; }
.dc-card h3 { margin: 1.6rem 0 .6rem; font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; color: #17171f; }
.dc-card strong { color: #17171f; }
.dc-card > * + p, .dc-card > * + ul, .dc-card > * + ol { margin-top: .9rem; }
.dc-card > .dc-card-head + * { margin-top: 0; }
.dc-card a { color: #b85600; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.dc-card ul { display: grid; gap: .6rem; }
.dc-card ul li { position: relative; padding-left: 1.85rem; }
.dc-card ul li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fde3cc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23e0690a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.dc-card ol.doc-steps { display: grid; gap: .8rem; counter-reset: step; }
.dc-card ol.doc-steps li { position: relative; padding: .95rem 1.1rem .95rem 3.6rem; border-radius: .9rem; background: #fffaf5; border: 1px solid #f6e8dc; counter-increment: step; }
.dc-card ol.doc-steps li::before { content: counter(step); position: absolute; left: 1rem; top: .95rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--display); font-size: .9rem; font-weight: 800; }
.dc-card .doc-callout { margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: .9rem; background: linear-gradient(90deg, #fff1e4, #fff8f1); border: 1px solid #fbd9ba; color: #3a3a44; }
.doc-faq { display: grid; gap: .65rem; }
.doc-faq details { border-radius: .9rem; background: #fffaf5; border: 1px solid #f6e8dc; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.doc-faq details[open] { background: #fff; border-color: #fbd0a8; box-shadow: 0 1rem 1.8rem -1.4rem rgba(160, 90, 30, .5); }
.doc-faq summary { position: relative; padding: 1rem 3.4rem 1rem 1.15rem; font-weight: 600; line-height: 1.35; color: #17171f; cursor: pointer; list-style: none; }
.doc-faq summary::-webkit-details-marker { display: none; }
.doc-faq summary::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 1.7rem; height: 1.7rem; translate: 0 -50%; border-radius: 50%; background: #fde3cc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23e0690a' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat; transition: rotate .3s var(--ease), background-color .25s; }
.doc-faq details[open] summary::after { rotate: 45deg; background-color: #fbd0a8; }
.doc-faq summary:hover { color: #b85600; }
.doc-faq .faq-a { padding: 0 1.15rem 1.1rem; }
.copyright a { color: #fff; }
.copyright .sep { margin: 0 .5rem; opacity: .5; }
@media (max-width: 64rem) {
  .dc-grid { grid-template-columns: minmax(0, 1fr); }
  .dc-toc { position: static; }
  .dc-toc ol { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
}
@media (max-width: 48rem) {
  .sv-hero-art.dc-hero-art { width: min(55%, 12rem); }
}
.dc-lead-link { color: #b85600; font-weight: 600; white-space: nowrap; }
.nowrap { white-space: nowrap; }
