/* ==========================================================================
   Ardor Care — Homepage V4 "Combined"
   V2 hero, capability bar, service cards, referral and footer;
   V3 Why Ardor Care and Service Areas, restyled to V2's system.
   ========================================================================== */

@font-face { font-family: "Aligarh"; src: url("../fonts/Aligarh-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Aligarh"; src: url("../fonts/Aligarh-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aligarh"; src: url("../fonts/Aligarh-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Aligarh"; src: url("../fonts/Aligarh-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Aligarh"; src: url("../fonts/Aligarh-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --navy: #235784;
  --blue: #4092C1;
  --teal: #63B4B3;
  --sky: #64B5CE;

  --night: #12304B;        /* deepest brand navy for dark chapters */
  --ink: #15283A;
  --ink-soft: #52616F;
  --white: #FFFFFF;
  --cloud: #F3F6F8;
  --line: rgba(21, 40, 58, .12);
  --line-dark: rgba(255, 255, 255, .16);

  --serif: "Aligarh", "Iowan Old Style", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 60px);
  --section: clamp(4.5rem, 8vw, 7rem);       /* vertical padding for every content section */
  --section-sm: clamp(3.5rem, 6vw, 5rem);    /* bands and footer */
  --section-head: clamp(2.5rem, 4.5vw, 4rem); /* gap between a section heading and its content */
  --cols: 5fr 7fr;                           /* one two-column split for every section, so right-hand columns line up site-wide */
  --cols-gap: clamp(2rem, 6vw, 6rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
/* Lenis smooth scroll (takes over from CSS smooth scrolling when active) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.kicker { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.2rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .8rem; padding: 1.05rem 1.7rem; font: 600 .88rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); white-space: nowrap; }
.btn-teal { background: var(--teal); color: var(--night); }
.btn-teal:hover { background: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--night); border-color: #fff; }
.arrow { display: inline-block; width: 16px; height: 1px; background: currentColor; position: relative; transition: width .3s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
a:hover > .arrow { width: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: none; }

/* ---------- Header (transparent over hero, solid on scroll) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s; }
.header-inner { display: flex; align-items: center; gap: 2.4rem; height: 102px; transition: height .35s var(--ease); }
.brand { position: relative; }
.brand img { width: 310px; transition: opacity .3s, width .35s var(--ease); }
.scrolled .brand img { width: 270px; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2.2rem; }
.nav a { text-decoration: none; font-size: .96rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav ul a:hover::after { transform: scaleX(1); }
.nav-foot { display: none; }
/* Contact: the last main nav item is shown as a solid blue button (desktop only) */
@media (min-width: 1025px) {
  .nav > ul > li:last-child > a { display: inline-block; padding: .5rem 1.75rem; background: var(--navy); color: #fff; font-weight: 600; transition: background .3s var(--ease); }
  .nav > ul { align-items: center; }
  .nav > ul > li:last-child > a::after { display: none; }
  .nav > ul > li:last-child > a:hover, .nav > ul > li:last-child > a[aria-current="page"] { background: var(--night); }
}
.header-btn { padding: .85rem 1.3rem; }
.menu-toggle { display: none; }
.site-header.scrolled { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.scrolled .header-inner { height: 82px; }
.scrolled .brand .logo-light { opacity: 0; }
.scrolled .brand .logo-dark { opacity: 1; }
.scrolled .header-btn { background: var(--navy); color: #fff; }
.scrolled .header-btn:hover { background: var(--night); }

/* ---------- 1. Hero ---------- */
.hero { position: relative; min-height: max(640px, 100vh); display: flex; flex-direction: column; justify-content: flex-end; background: var(--night); color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; animation: settle 2s var(--ease) both; }
/* Functional scrim so type stays legible over the photograph */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 48, 75, .86) 0%, rgba(18, 48, 75, .62) 38%, rgba(18, 48, 75, .08) 70%), linear-gradient(0deg, rgba(18, 48, 75, .55), transparent 40%); }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
.hero-inner { padding-top: 140px; padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-text { max-width: 600px; }
.hero .kicker { color: var(--sky); display: flex; align-items: center; gap: .8rem; }
.hero .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.3rem); line-height: 1.05; margin-bottom: 1.6rem; color: #fff; }
.hero .lead { font-size: 1.12rem; line-height: 1.65; color: rgba(255, 255, 255, .94); max-width: 52ch; }
.hero .sub { font-size: .96rem; color: rgba(255, 255, 255, .72); max-width: 54ch; }

/* ---------- 2. Capability bar ---------- */
/* Straddles the hero edge: half over the photo, half into the Why section */
.cap-wrap { position: relative; z-index: 2; }
.cap { display: flex; align-items: stretch; background: #fff; color: var(--ink); transform: translateY(50%); box-shadow: 0 30px 60px -36px rgba(18, 48, 75, .45); }
.cap-list { display: flex; flex: 1; }
.cap-list li { flex: 1 1 0; display: flex; align-items: center; padding: 1.4rem 1.5rem; border-left: 1px solid var(--line); }
.cap-list li.cap-ndis { border-left: 0; flex: 1.15 1 0; }
.cap-ndis img { width: 170px; }
.cap-list strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; line-height: 1.3; color: var(--navy); }
.cap-list b { color: var(--teal); font-weight: 400; }

/* ---------- 3. Why ---------- */
/* From V3: centred statement, photo + copy beneath. White, so it continues on from the capability bar. */
.why { --cap-half: 95px; background: var(--white); padding-block: calc(clamp(2.5rem, 4vw, 3.5rem) + var(--cap-half)) var(--section); }
.why-head { max-width: 900px; margin: 0 auto var(--section-head); text-align: center; }
.why h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.12; color: var(--navy); }
.why-grid { display: grid; grid-template-columns: var(--cols); gap: var(--cols-gap); align-items: center; }
/* Collage: arched main photo, two ringed circles and a rotating seal */
.why-media { position: relative; aspect-ratio: 1 / .9; margin: 0; }
.why-media::before { content: ""; position: absolute; inset: 8% -6% -4% 6%; background: var(--cloud); border-radius: 62% 38% 55% 45% / 48% 52% 48% 52%; z-index: 0; }
.why-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-arch { position: absolute; left: 15%; top: 0; width: 68%; height: 100%; overflow: hidden; border-radius: 50%; z-index: 1; }
.why-arch img { object-position: 42% 50%; }
.why-dot { position: absolute; aspect-ratio: 1; border-radius: 50%; overflow: visible; z-index: 2; }
.why-dot img { border-radius: 50%; border: clamp(6px, 1vw, 12px) solid var(--white); box-shadow: 0 18px 40px -18px rgba(18, 48, 75, .35); }
.why-dot-a { top: 5%; right: 0; width: 31%; }
.why-dot-a img { object-position: 60% 50%; }
.why-dot-b { bottom: 4%; left: 0; width: 33%; }
.why-dot-b img { object-position: 50% 30%; }
/* Thin connector lines reaching out from the circles, like callouts */
.why-dot-a::after { content: ""; position: absolute; top: 50%; left: 100%; width: clamp(2rem, 5vw, 5.5rem); height: 1px; background: var(--navy); opacity: .5; }
.why-dot-b::after { content: ""; position: absolute; top: 50%; right: 100%; width: var(--gutter); height: 1px; background: var(--navy); opacity: .5; }
.why-badge { position: absolute; top: 12%; left: 0; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #E3F1F1; z-index: 3; container-type: inline-size; display: grid; place-items: center; }
.why-badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: why-spin 28s linear infinite; }
.why-badge-ring text { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .12em; fill: var(--navy); }
.why-badge-core { position: relative; width: 64%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.05; }
.why-badge-core small { font-size: 7cqi; font-weight: 500; }
.why-badge-core strong { font-family: var(--serif); font-size: 21cqi; font-weight: 400; margin-block: .1em; }
.why-badge-core em { font-style: normal; font-size: 8.5cqi; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
@keyframes why-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .why-badge-ring { animation: none; } }
.why-lead { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.4; color: var(--navy); padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.why-copy p:not(.why-lead) { color: var(--ink-soft); }

/* ---------- Why choose us (follows Our approach) ---------- */
/* Continues the white Why section: no top padding, a ruled line instead, and the photo flipped to the right so the two don't mirror */
.why, .reasons { overflow-x: clip; } /* collage accents bleed past the edge on narrow screens */
.reasons { background: var(--white); padding-block: 0 var(--section); }
.reasons-grid { display: grid; grid-template-columns: var(--cols); gap: var(--cols-gap); align-items: center; padding-top: var(--section); background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
/* Single photo, chamfered top-left and bottom-right corners, soft rounding on the other two */
.reasons-media { order: 2; margin: 0; }
.reasons-main { --cut: clamp(3rem, 8vw, 6.5rem); aspect-ratio: 549 / 495; overflow: hidden; border-radius: 20px; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.reasons-main img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; display: block; }
.reasons-head { margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.reasons-head h2 { font-size: clamp(2.2rem, 3.8vw, 3.3rem); line-height: 1.08; color: var(--navy); margin-bottom: 1.1rem; }
.reasons-head p:last-child { color: var(--ink-soft); font-size: 1.05rem; margin: 0; max-width: 50ch; }
.reasons-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 3vw, 2.8rem); }
.reasons-list li { position: relative; isolation: isolate; padding: 1.5rem 0 1.6rem; border-top: 1px solid var(--line); }
/* Hover: a pale tint fades in behind the reason, bleeding slightly past the text so it reads as a panel */
.reasons-list li::after { content: ""; position: absolute; inset: 0 -1rem; z-index: -1; background: var(--cloud); opacity: 0; transition: opacity .4s var(--ease); }
.reasons-list li:hover::after { opacity: 1; }
.reasons-list h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.2; color: var(--navy); margin-bottom: .5rem; transition: transform .4s var(--ease); }
.reasons-list li:hover h3 { transform: translateX(6px); }
.reasons-list p { color: var(--ink-soft); font-size: .92rem; line-height: 1.6; margin: 0; }
.reasons-link { margin-top: 1.4rem; padding-bottom: 4px; border-bottom: 1px solid var(--teal); }

/* ---------- 4. Services (category cards) ---------- */
/* Three cards, every service visible at once: no tabs, nothing hidden behind a click */
.services { background: var(--cloud); padding-block: var(--section); }
.services-head { display: grid; grid-template-columns: var(--cols); column-gap: var(--cols-gap); align-items: end; margin-bottom: var(--section-head); }
.services-head .kicker { grid-column: 1 / -1; }
.services-head h2 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1; color: var(--navy); }
.services-head p:last-child { color: var(--ink-soft); font-size: 1.05rem; margin: 0; max-width: 52ch; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2vw, 2rem); }
.svc { display: flex; flex-direction: column; background: #fff; position: relative; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.svc::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: var(--teal); transition: width .5s var(--ease); }
.svc:hover, .svc.reveal.in:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(18, 48, 75, .45); }
.svc:hover::after { width: 100%; }
.svc-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--cloud); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.04); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.5rem, 2.4vw, 2.2rem); }
.svc h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.2; color: var(--navy); margin-bottom: .8rem; }
.svc-body > p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.4rem; }
.svc ul { margin-top: auto; border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); }
.svc li:last-child { border-bottom: 0; }
.svc li a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; text-decoration: none; font-weight: 500; font-size: .92rem; line-height: 1.4; transition: color .25s; }
.svc li a::after { content: "→"; color: var(--teal); transition: transform .3s var(--ease); }
.svc li a:hover { color: var(--blue); }
.svc li a:hover::after { transform: translateX(4px); }
.svc-all { margin-top: 2.4rem; padding-bottom: 4px; border-bottom: 1px solid var(--teal); }

/* ---------- 5. Areas (route line) ---------- */
/* From V3: white panel over the Gold Coast coastline */
.areas { background: var(--night); color: rgba(255, 255, 255, .8); padding-block: var(--section); }
.areas-grid { display: grid; grid-template-columns: var(--cols); gap: var(--cols-gap); align-items: center; }
.areas .kicker { color: var(--sky); }
.areas h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.12; color: #fff; margin-bottom: 1.3rem; }
.areas-panel > p:not(.kicker) { max-width: 48ch; }
.area-tags { display: flex; flex-wrap: wrap; margin: 1.8rem 0 1.4rem; border-top: 1px solid var(--line-dark); }
.area-tags li { width: 50%; padding: .8rem 0; border-bottom: 1px solid var(--line-dark); font-family: var(--serif); font-size: 1.3rem; color: #fff; display: flex; align-items: center; gap: .8rem; }
.area-tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.area-note { font-size: .88rem; margin: 0; }
.area-note a { color: #fff; font-weight: 600; text-decoration-color: var(--teal); text-underline-offset: 4px; }
/* Leaflet map with one pin per area */
.area-map { position: relative; z-index: 0; width: 100%; aspect-ratio: 4 / 3.4; border-radius: 0; overflow: hidden; background: #e8eef3; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); }
.area-pin span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 4px solid #fff; box-shadow: 0 0 0 6px rgba(99, 180, 179, .35), 0 2px 6px rgba(0, 0, 0, .25); }
.area-tip.leaflet-tooltip { background: #fff; border: 0; border-radius: 999px; padding: 4px 11px; font: 600 13px var(--sans); color: var(--navy); box-shadow: 0 2px 8px rgba(35, 87, 132, .18); }
.area-tip.leaflet-tooltip::before { display: none; }

/* ---------- 6. Enquiry ---------- */
/* Heading and contact lines on the left, enquiry form on the right. White, so it sits between the Areas photo and the night footer. */
.enquiry { background: #fff; padding-block: var(--section); }
.enquiry-grid { display: grid; grid-template-columns: var(--cols); gap: var(--cols-gap); align-items: start; }
.enquiry-intro { position: sticky; top: 110px; }
.enquiry-mark { width: 56px; margin-bottom: 1.2rem; }
.enquiry h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.05; color: var(--navy); margin-bottom: 1.1rem; }
.enquiry-text { color: var(--ink-soft); font-size: 1.05rem; max-width: 44ch; }
.btn-navy { background: var(--navy); color: #fff; border: 0; cursor: pointer; }
.btn-navy:hover { background: var(--night); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.enquiry-contact { margin: 2.4rem 0 0; border-top: 1px solid var(--line); }
.enquiry-contact > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.enquiry-contact dt { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: .6rem; }
.enquiry-contact dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); overflow-wrap: anywhere; }
.enquiry-contact a { text-decoration: none; }
.enquiry-contact a:hover { color: var(--teal); }

/* Form: square edges and hairlines, same as the rest of the page */
.enquiry-form { background: var(--cloud); padding: clamp(1.6rem, 3.5vw, 3rem); border-top: 6px solid var(--teal); }
.enq-mode { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 2rem; padding: 0; border: 1px solid var(--navy); }
.enq-mode label { position: relative; cursor: pointer; }
.enq-mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.enq-mode span { display: block; padding: 1rem; text-align: center; font: 600 .88rem/1.2 var(--sans); letter-spacing: .02em; color: var(--navy); transition: background .3s var(--ease), color .3s var(--ease); }
.enq-mode label + label span { border-left: 1px solid var(--navy); }
.enq-mode input:checked + span { background: var(--navy); color: #fff; }
.enq-mode input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.enq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.4rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field > label { font: 600 .8rem/1.3 var(--sans); color: var(--ink); margin-bottom: .5rem; }
.opt { font-weight: 400; color: var(--ink-soft); margin-left: .35rem; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid rgba(21, 40, 58, .22); border-radius: 0; padding: .85rem 1rem; transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 7rem; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23235784' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(21, 40, 58, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: inset 0 -2px 0 var(--teal); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { margin: .4rem 0 0; font-size: .8rem; line-height: 1.4; color: #B3261E; }
.field-error:empty { display: none; }
.field[hidden] { display: none; }
.field-check label { display: flex; gap: .8rem; align-items: flex-start; font-size: .86rem; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
.field-check input { flex: none; width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--navy); }
.field-check a { color: var(--navy); text-decoration-color: var(--teal); text-underline-offset: 3px; }

.enq-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.enq-note { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.enq-done { padding: 1rem 0; }
.enq-done:focus { outline: none; }
.enq-done-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--navy); }
.enq-done p:last-child { color: var(--ink-soft); margin: 0; }
.enq-done a { color: var(--navy); font-weight: 600; }
.enquiry-form.sent .enq-mode, .enquiry-form.sent .enq-fields, .enquiry-form.sent .enq-submit { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .72); font-size: .9rem; padding-top: var(--section-sm); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr .8fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.footer-areas p { max-width: 28ch; margin: 0 0 1.4rem; }
.footer-ndis { display: block; width: 180px; height: auto; }
/* Oversized wordmark closing the page */
.footer-word svg { display: block; width: 100%; height: auto; overflow: visible; }
.footer-word text { font-family: var(--serif); font-weight: 500; font-size: 176px; fill: #fff; }
.footer-word tspan { fill: var(--teal); }
.site-footer h3 { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sky); margin-bottom: 1.3rem; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; }
/* Column links: a sky dash draws in from the left and the label steps aside for it */
.site-footer nav a { position: relative; display: inline-block; transition: color .3s, transform .45s var(--ease); }
.site-footer nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1.5px; background: var(--sky); transform: translate(-14px, -50%) scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.site-footer nav a:hover, .site-footer nav a:focus-visible { transform: translateX(14px); }
.site-footer nav a:hover::before, .site-footer nav a:focus-visible::before { transform: translate(-14px, -50%) scaleX(1); }
/* Email and base-row links: underline grows from the left */
.footer-contact a:not(.footer-phone), .footer-base a { background: linear-gradient(var(--sky), var(--sky)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: color .3s, background-size .45s var(--ease); }
.footer-contact a:not(.footer-phone):hover, .footer-contact a:not(.footer-phone):focus-visible,
.footer-base a:hover, .footer-base a:focus-visible { background-size: 100% 1px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.footer-contact .footer-phone { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; letter-spacing: .02em; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; color: #fff; }
.footer-address { font-style: normal; line-height: 1.55; margin-top: .4rem; }
.footer-reg { margin: .9rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line-dark); display: grid; gap: .35rem; font-size: .82rem; }
.footer-reg div { display: flex; gap: .5rem; }
.footer-reg dt { color: rgba(255, 255, 255, .5); }
.footer-reg dd { margin: 0; color: rgba(255, 255, 255, .8); }
.footer-contact .footer-phone { background: linear-gradient(var(--sky), var(--sky)) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: color .3s, background-size .5s var(--ease); }
.footer-contact .footer-phone:hover, .footer-contact .footer-phone:focus-visible { color: var(--sky); background-size: 100% 2px; }
.footer-base { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.5rem 2rem; margin-top: clamp(1rem, 2vw, 1.5rem); background: linear-gradient(var(--line-dark), var(--line-dark)) content-box top / 100% 1px no-repeat; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.footer-base p { margin: 0; }
.footer-base .ack { max-width: 60ch; text-align: right; }

/* ---------- Floating chat ---------- */
.chat { position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.chat-btn { width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--teal); color: var(--night); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(18, 48, 75, .28); transition: background .3s var(--ease), transform .3s var(--ease); }
.chat-btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.chat-btn svg { grid-area: 1 / 1; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; transition: opacity .25s, transform .35s var(--ease); }
.chat-ic-close, .chat.open .chat-ic-open { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.open .chat-ic-close { opacity: 1; transform: none; }
.chat-panel { width: min(340px, calc(100vw - 32px)); background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(18, 48, 75, .25); transform-origin: bottom right; animation: chat-in .35s var(--ease); }
.chat-head { background: var(--night); color: rgba(255, 255, 255, .8); padding: 1.4rem 1.5rem; font-size: .88rem; line-height: 1.55; }
.chat-head p { margin: 0; }
.chat-title { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin-bottom: .35rem !important; }
.chat-options { padding: .5rem 0; }
.chat-options a { display: block; padding: .85rem 1.5rem; text-decoration: none; border-left: 2px solid transparent; transition: background .25s, border-color .25s; }
.chat-options a:hover, .chat-options a:focus-visible { background: rgba(99, 180, 179, .1); border-left-color: var(--teal); }
.chat-options span { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); }
.chat-options small { display: block; font-size: .78rem; color: rgba(21, 40, 58, .6); line-height: 1.4; }
.menu-open .chat { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .svc:hover, .svc.reveal.in:hover { transform: none; }
  .hero-bg, .chat-panel { animation: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .cap-ndis img { width: 140px; }
  .nav ul { gap: 1.5rem; }
}

@media (max-width: 1024px) {
  .header-inner { height: 82px; }
  .brand img, .scrolled .brand img { width: 260px; }
  .header-btn { display: none; }
  .menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
  .menu-toggle span:not(.sr) { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .menu-open .site-header { background: var(--night); color: #fff; box-shadow: none; }
  .menu-open .brand .logo-light { opacity: 1; }
  .menu-open .brand .logo-dark { opacity: 0; }
  .nav { position: fixed; inset: 82px 0 0 0; background: var(--night); color: #fff; padding: 2rem var(--gutter); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; font-family: var(--serif); font-size: 1.8rem; padding: .8rem 0; border-bottom: 1px solid var(--line-dark); }
  .nav ul a::after { display: none; }
  .nav-foot { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 1.5rem; }
  .nav-foot > a:first-child { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; }
  .nav-foot .btn { justify-content: center; padding: 1rem 1.6rem; }

  .cap-list { flex-wrap: wrap; }
  .cap-list li { flex: 1 1 33%; border-top: 1px solid var(--line); }
  .cap-list li:nth-child(-n+3) { border-top: 0; }
  .cap-list li:nth-child(4) { border-left: 0; }

  .why { --cap-half: 90px; }
  .why-grid, .services-head, .reasons-grid, .areas-grid { grid-template-columns: 1fr; }
  .reasons-media { order: 0; }
  .reasons-media { width: 100%; max-width: 680px; margin-inline: auto; }
  .why-head { text-align: left; }
  .why-media { width: 100%; max-width: 620px; margin-inline: auto; }
  .why-dot::after { display: none; }
  .services-head h2 { margin-bottom: 1.2rem; }

  /* Cards turn sideways on tablet: photo left, services right */
  .svc-grid { grid-template-columns: 1fr; }
  .svc { flex-direction: row; }
  .svc-img { flex: 0 0 40%; aspect-ratio: auto; }

  .enquiry-grid { grid-template-columns: 1fr; }
  .enquiry-intro { position: static; }
  .enquiry-contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; }
  .footer-base .ack { text-align: left; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero-inner { padding-top: 120px; }
  .hero::before { background: linear-gradient(0deg, rgba(18, 48, 75, .92) 0%, rgba(18, 48, 75, .7) 55%, rgba(18, 48, 75, .25) 100%); }
  .cap-list li { flex: 1 1 50%; padding: 1.1rem 1rem; }
  .cap-list li:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .cap-list li:first-child { border-top: 0; flex-basis: 100%; }
  .cap-list li:nth-child(odd):not(:first-child) { border-left: 1px solid var(--line); }
  .cap-list strong { font-size: .98rem; }
  .why { --cap-half: 150px; }
  .area-map { aspect-ratio: 1 / 1.1; }
  .area-tags li { font-size: 1.15rem; }
  .svc { flex-direction: column; }
  .svc-img { aspect-ratio: 3 / 2; }
  .reasons-list { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .enquiry-contact { grid-template-columns: 1fr; }
  .enquiry-contact dd { font-size: 1.15rem; }
  .enquiry .wrap { padding-inline: 0; }
  .enquiry-intro { padding-inline: var(--gutter); }
  .enquiry-form { padding: 2rem var(--gutter); }
  .enq-fields { grid-template-columns: 1fr; }
  .enq-submit .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Shared header dropdown + footer (all pages) ---------- */
.nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav .has-sub { position: relative; }
.nav .sub { position: absolute; top: calc(100% + 18px); left: 50%; width: min(820px, 90vw); transform: translate(-50%, 8px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2rem 2.2rem 2.2rem; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(18, 48, 75, .4); border-top: 3px solid var(--teal); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 21px; } /* hover bridge */
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .sub p { font: 600 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin: 0 0 .8rem; }
.nav .sub ul { display: block; }
.nav .sub li { border-top: 1px solid var(--line); }
.nav .sub a { display: block; padding: .6rem 0; font-size: .86rem; font-weight: 500; line-height: 1.35; }
.nav .sub a::after { display: none; }
.nav .sub a:hover { color: var(--blue); }
.nav .sub .sub-all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1rem; }
.nav .sub .sub-all a { display: inline-flex; gap: .8rem; align-items: center; font-weight: 600; color: var(--navy); }

@media (max-width: 1024px) { .nav .sub { display: none; } }
/* brand ~ col-4; the three link cols size to content with equal visual gaps between them */
.footer-grid { grid-template-columns: minmax(0, 30%) repeat(3, auto); justify-content: space-between; }
.footer-brand > img:first-child { width: 245px; margin-bottom: 2rem; }
.footer-brand p { max-width: 34ch; margin: 0 0 1.4rem; }
.footer-area { margin: .6rem 0 0; }
.footer-ack { padding-block: 0 1.6rem; background: linear-gradient(var(--line-dark), var(--line-dark)) content-box top / 100% 1px no-repeat; }
.footer-ack p { max-width: 90ch; margin: 0; padding-top: 1.6rem; font-size: .84rem; line-height: 1.65; }
.footer-base { margin-top: 0; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
