/* =====================================================================
   S&R Support Services — site styles
   Design: "Gum & Wattle". Eucalypt green, wattle gold, leaf white.
   Mobile-first. Colours below all pass WCAG 2.1 AA for text.
   ===================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font Licence, see /fonts) ---------- */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* colour */
  --bg: #F4F7F2;          /* leaf white: page background */
  --surface: #FFFFFF;     /* cards */
  --alt: #EAF1EC;         /* alternate section background */
  --ink: #17261F;         /* main text: 14.6:1 on bg */
  --ink-soft: #3E5248;    /* secondary text: 7.8:1 on bg */
  --brand: #1F5B45;       /* eucalypt: 7.4:1 on bg */
  --brand-deep: #163F31;  /* dark bands, hover */
  --accent: #F2B53A;      /* wattle: decoration, highlights, ink text on top */
  --tint: #D6E6DA;        /* sage */
  --line: #CFDDD2;
  --on-deep: #FFFFFF;
  --on-deep-soft: #D3E2D8;
  /* map */
  --land: #E7EEE3;
  --water: #BCD8D2;
  /* type */
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-display: "Bricolage Grotesque", "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  /* layout */
  --max: 1180px;
  --gutter: 20px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 50px -30px rgba(18, 45, 35, .45);
  --shadow-sm: 0 10px 30px -20px rgba(18, 45, 35, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.125rem;       /* 18px body text */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 760;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.4vw + 1rem, 4.5rem); line-height: 1.02; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.95rem, 2.4vw + 1.1rem, 3rem); }
h3 { font-size: clamp(1.25rem, .5vw + 1.1rem, 1.5rem); letter-spacing: -0.012em; line-height: 1.2; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }
a { color: var(--brand); text-decoration-thickness: .08em; text-underline-offset: .2em; transition: color .2s, text-decoration-thickness .2s; }
a:hover { color: var(--brand-deep); text-decoration-thickness: .14em; }
::selection { background: var(--accent); color: var(--ink); }

/* Focus: thick, high-contrast, never removed */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.band-deep :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--accent); }
main:focus { outline: none; }

[hidden] { display: none !important; } /* anything marked hidden stays hidden, even buttons */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1vw + 1.2rem, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .25s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(18, 45, 35, .55); }
.btn-primary:hover svg.arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn-ghost:hover { color: var(--brand-deep); transform: translateY(-2px); box-shadow: inset 0 0 0 3px var(--brand-deep); }
.btn-gold { background: var(--accent); color: var(--ink); }
.btn-gold:hover { background: #F6C55F; color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }
.btn-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75); }
.btn-light:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 2px #fff; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 1rem; }
.btn:active { transform: translateY(0); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 242, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header-inner { display: flex; align-items: center; gap: 16px; padding-block: 16px; transition: padding-block .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(18, 45, 35, .6); }
.site-header.is-scrolled .header-inner { padding-block: 8px; }
.site-header.is-scrolled .wordmark { transform: scale(.9); }

.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); line-height: 1; transform-origin: left center; transition: transform .3s var(--ease); margin-right: auto; }
.wordmark:hover { color: var(--brand); }
.wm-badge { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; background: var(--brand); color: #fff; padding: 9px 10px 10px; border-radius: 12px; white-space: nowrap; }
.wm-badge .amp { color: var(--accent); }
.wm-text { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; line-height: 1.02; letter-spacing: -0.01em; }

.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.main-nav a { display: inline-block; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 8px 2px; background: linear-gradient(var(--accent), var(--accent)) 0 calc(100% - 4px) / 0 3px no-repeat; transition: background-size .25s var(--ease), color .2s; }
.main-nav a:hover { background-size: 100% 3px; color: var(--ink); }
.main-nav a[aria-current="page"] { background-size: 100% 3px; }
.header-cta { display: none; }
.menu-toggle { display: none; }

/* Menu button below 960px (only when JS is running; without JS the links just wrap) */
@media (max-width: 959.98px) {
  .header-inner { flex-wrap: wrap; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    font: inherit; font-weight: 700; font-size: 1rem; color: var(--ink);
    background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  }
  .menu-toggle .bars { width: 18px; height: 12px; position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
  .menu-toggle .bars::before { top: 2px; }
  .menu-toggle .bars::after { top: 8px; }
  .menu-toggle[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }
  .main-nav { order: 3; width: 100%; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding-block: 8px 12px; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a { display: block; padding: 14px 4px; font-size: 1.125rem; background: none; }
  .main-nav a[aria-current="page"] { color: var(--brand); }
  .main-nav a[aria-current="page"]::after { content: " ·  you're here"; font-weight: 400; color: var(--ink-soft); font-size: .95rem; }
  .no-js .main-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
  .no-js .main-nav li + li { border-top: 0; }
}
@media (min-width: 960px) {
  .main-nav { margin-left: auto; }
  .header-cta { display: inline-flex; }
  .wordmark { margin-right: 0; }
  .header-cta { margin-left: 8px; }
}

/* Floating "Call us" button on phones: compact, and main.js only shows it once you've scrolled past the top section */
.call-fab {
  position: fixed; z-index: 40;
  right: max(14px, calc(env(safe-area-inset-right, 0px) + 10px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 10px 18px 10px 14px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 0 0 3px rgba(244, 247, 242, .9), 0 14px 30px -10px rgba(18, 45, 35, .6);
  transition: transform .3s var(--ease), opacity .3s, background-color .2s, visibility 0s;
}
.call-fab svg { width: 20px; height: 20px; }
.call-fab:hover { color: #fff; background: var(--brand-deep); }
.call-fab:focus-visible { outline: 3px solid transparent; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ink), 0 14px 30px -10px rgba(18, 45, 35, .6); }
.call-fab.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s; }
@media (min-width: 900px) { .call-fab { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-alt { background: var(--alt); }
.band-deep { background: var(--brand-deep); color: var(--on-deep); }
.band-deep h2, .band-deep h3 { color: var(--on-deep); }
.band-deep a:not(.btn) { color: #fff; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); flex: none; }
.band-deep .kicker { color: var(--accent); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 44rem; }
.section-head .kicker { margin-bottom: 0; }
.section-intro { font-size: clamp(1.125rem, .3vw + 1.05rem, 1.25rem); color: var(--ink-soft); max-width: 40em; }
.band-deep .section-intro { color: var(--on-deep-soft); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 72px) clamp(40px, 5vw, 64px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); } }
.hero-copy { min-width: 0; display: grid; gap: 22px; justify-items: start; }
.hero .eyebrow { margin: 0; }
/* Headline sizes are tuned so it wraps as "Helping you get out, / get around and / get things done."
   (no-break spaces in index.html keep each "get ..." phrase, and the gold highlight, on one line) */
.hero h1 { max-width: 15ch; font-size: clamp(2.2rem, 4.4vw + 1rem, 4.5rem); }
@media (min-width: 900px) { .hero h1 { font-size: clamp(2.2rem, 4.4vw + .6rem, 4.5rem); } }
.hero h1 mark, .page-hero h1 mark {
  color: inherit;
  background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%) 0 0 / 100% 100% no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: .04em;
}
/* Suburb checker in the hero, right beside the map (directly above it on phones) */
.hero-copy .checker { justify-self: stretch; width: 100%; max-width: 560px; margin-top: 6px; }
.hero .lead { font-size: clamp(1.125rem, .4vw + 1rem, 1.3rem); color: var(--ink-soft); max-width: 34em; }
.hero .lead strong { color: var(--ink); }
.assurances { list-style: none; display: grid; gap: 8px; }
.assurances li { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--ink-soft); }
.assurances svg { width: 22px; height: 22px; flex: none; color: var(--brand); }
.assurances [lang="ar"] { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", sans-serif; font-weight: 700; color: var(--ink); }

/* Hero visual: the service-area map */
.hero-visual { position: relative; width: 100%; max-width: 440px; justify-self: center; }
.hero-visual .map { position: relative; z-index: 1; }
@media (max-width: 899.98px) { .hero-visual { max-width: 520px; } }

.facts { position: relative; z-index: 2; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 60px); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; align-content: start; min-width: 0; }
.facts .k { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.facts .v { font-weight: 700; line-height: 1.3; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 17ch; font-size: clamp(2.3rem, 3.6vw + 1rem, 4rem); }
.page-hero .section-intro { margin-top: 20px; }
.page-hero .leaf-bg { position: absolute; z-index: 0; right: -60px; top: -40px; width: min(460px, 60vw); color: var(--tint); opacity: .7; pointer-events: none; }
@media (max-width: 699.98px) { .page-hero .leaf-bg { opacity: .35; right: -120px; } }
.page-hero .btn-row { margin-top: 28px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .why-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .why-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.why-list { list-style: none; display: grid; gap: 0; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.why-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; gap: 4px 16px; padding-block: 22px; border-top: 1px solid var(--line); }
.why-list .icon { grid-row: 1 / span 2; }
.why-list h3 { font-size: 1.25rem; }
.why-list p { color: var(--ink-soft); font-size: 1.0625rem; }
.why-list .featured { grid-column: 1 / -1; }
.why-list .featured h3 { font-size: clamp(1.4rem, 1vw + 1.1rem, 1.75rem); }
.why-list .featured p { font-size: 1.125rem; max-width: 40em; }
.icon { width: 52px; height: 52px; border-radius: 16px; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.icon svg { width: 28px; height: 28px; }
.band-deep .icon { background: rgba(255, 255, 255, .1); color: var(--accent); }

/* ---------- Service cards ---------- */
.cards { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .cards.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; display: grid; gap: 12px; align-content: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; min-width: 0;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card h3 a:focus-visible { outline: none; }
.card p { color: var(--ink-soft); font-size: 1.0625rem; }
.card .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.card .more svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }
.card:hover .icon { background: var(--accent); color: var(--ink); }
.card .icon { transition: background-color .3s, color .3s; }

/* ---------- How it works ---------- */
.steps { position: relative; }
.steps-list { list-style: none; display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 18px; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step .num { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
.section-alt .step .num { box-shadow: 0 0 0 6px var(--alt); }
.step h3 { padding-top: 12px; }
.step p { color: var(--ink-soft); }
.steps-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: top; }
@media (min-width: 900px) {
  .steps-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .step { grid-template-columns: 1fr; grid-template-rows: none; align-content: start; padding-bottom: 0; }
  .step .num { grid-row: auto; margin-bottom: 8px; }
  .step h3 { padding-top: 0; }
  .steps-line { left: 28px; right: calc(25% - 28px); top: 27px; bottom: auto; width: auto; height: 3px; }
  .steps-line::after { transform-origin: left; }
}

/* ---------- Service area ---------- */
.area-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .area-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); } }
.area-copy { display: grid; gap: 22px; min-width: 0; }
.area-copy .section-head { margin-bottom: 0; }
.zones { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zones li { background: var(--surface); border-radius: var(--radius-sm); padding: 12px 14px; display: grid; gap: 2px; min-width: 0; transition: box-shadow .3s, transform .3s var(--ease); }
.zones strong { display: flex; align-items: center; gap: 8px; }
.zones strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(242, 181, 58, .3); flex: none; }
.zones span { font-size: .9375rem; color: var(--ink-soft); line-height: 1.35; }
@media (min-width: 900px) { .zones-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.zones li.is-match { box-shadow: 0 0 0 3px var(--brand); transform: translateY(-2px); }
/* Area cards and the suburb checker sit on the dark band on the home page: keep their own dark text, links and focus rings */
.band-deep .zones li, .band-deep .checker { color: var(--ink); }
.band-deep .checker a:not(.btn) { color: var(--brand); }
.band-deep .checker :focus-visible, .band-deep .zones :focus-visible { outline-color: var(--ink); }
.band-deep .zones li.is-match { box-shadow: 0 0 0 3px var(--accent); }

.map { width: 100%; height: auto; border-radius: 24px; background: var(--land); box-shadow: var(--shadow); }
.map .water { fill: var(--water); }
.map .land { fill: var(--land); }
.map .river { fill: none; stroke: var(--water); stroke-width: 4.5; stroke-linecap: round; }
.map .river.thin { stroke-width: 3; }
.map .glow-stop { stop-color: var(--accent); }
.map .glow { fill: url(#glow-grad); transform-box: fill-box; transform-origin: center; }
.map .road-casing { fill: none; stroke: var(--bg); stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.map .road { fill: none; stroke: var(--brand); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.map .pin { fill: var(--surface); stroke: var(--brand-deep); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.map .pin.end { fill: var(--brand-deep); }
.map .lbl { font-family: var(--f-body); font-size: 13px; font-weight: 700; fill: var(--ink-soft); paint-order: stroke; stroke: var(--land); stroke-width: 4px; stroke-linejoin: round; }
.map .zone-lbl { font-family: var(--f-display); font-size: 19px; font-weight: 800; fill: var(--ink); letter-spacing: -.01em; paint-order: stroke; stroke: var(--land); stroke-width: 5px; stroke-linejoin: round; }
.map .sea-lbl { font-family: var(--f-body); font-style: italic; font-size: 14px; fill: #34493F; letter-spacing: .04em; }
.map .furniture { fill: var(--ink-soft); font-family: var(--f-body); font-size: 12px; font-weight: 700; }
.map .scale { stroke: var(--ink-soft); stroke-width: 2; fill: none; }
.map .north { fill: var(--ink-soft); }
.map .zm { display: none; }
/* Phones: the map is small, so show only the four area names (their own positions) and the start/end pins */
@media (max-width: 479.98px) {
  .map .lbl, .map .pin.mid, .map .zd { display: none; }
  .map .zm { display: inline; font-size: 24px; }
  .map .sea-lbl { font-size: 19px; }
  .map .furniture { font-size: 19px; }
}

/* Suburb checker */
.checker { background: var(--surface); border-radius: 18px; padding: 20px; display: grid; gap: 10px; box-shadow: var(--shadow-sm); }
.checker label { font-family: var(--f-display); font-weight: 760; font-size: 1.3rem; letter-spacing: -0.015em; }
.checker .hint { font-size: 1rem; color: var(--ink-soft); margin-top: -6px; }
.checker .row { display: flex; flex-wrap: wrap; gap: 8px; }
.checker input { flex: 1 1 200px; min-width: 0; }
.checker .result:empty { display: none; }
.result { font-weight: 700; }
.result .ans { display: flex; gap: 10px; align-items: flex-start; }
.result svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.result .yes svg { color: var(--brand); }
.result .maybe svg { color: var(--ink-soft); }
.result small { display: block; font-weight: 400; font-size: 1rem; color: var(--ink-soft); }
.result .sugg { font: inherit; font-weight: 700; color: var(--brand); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Honest band ---------- */
.honest-grid { list-style: none; display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 640px) { .honest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1040px) { .honest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.honest-grid li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid rgba(255, 255, 255, .16); }
.honest-grid h3 { font-size: 1.3rem; }
.honest-grid p { color: var(--on-deep-soft); }
.band-note { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--on-deep-soft); font-size: 1rem; }

/* ---------- Coordinator callout ---------- */
.callout { display: grid; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 48px); position: relative; overflow: hidden; }
@media (min-width: 860px) { .callout { grid-template-columns: minmax(0, 1fr) auto; } }
.callout h2 { font-size: clamp(1.7rem, 1.6vw + 1.1rem, 2.4rem); }
.callout p { color: var(--ink-soft); margin-top: 10px; max-width: 40em; }
.callout .tick-list { margin-top: 16px; }

.tick-list { list-style: none; display: grid; gap: 8px; }
.panel > p { color: var(--ink-soft); }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--brand); }
.band-deep .tick-list svg { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; border-radius: 32px; padding: clamp(32px, 6vw, 72px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; z-index: 0; background: radial-gradient(circle, rgba(242, 181, 58, .18), rgba(242, 181, 58, 0) 70%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 16ch; position: relative; }
.cta-band p { color: #EEF5F0; max-width: 38em; font-size: 1.2rem; position: relative; }
.cta-band .btn-row { position: relative; }
.cta-band .cta-note { position: relative; font-size: 1rem; color: #E1EDE5; }
.cta-band .contact-lines { position: relative; font-weight: 700; overflow-wrap: anywhere; }
.cta-band .contact-lines a { color: #fff; }

/* ---------- Services page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; transition: border-color .2s, transform .2s var(--ease); }
.jump a:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--ink); }
.service { display: grid; gap: clamp(24px, 4vw, 56px); padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
@media (min-width: 900px) { .service { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.service-head { display: grid; gap: 16px; align-content: start; }
.service-head .icon { width: 64px; height: 64px; border-radius: 20px; }
.service-head .icon svg { width: 34px; height: 34px; }
.service-head p { font-size: 1.2rem; color: var(--ink-soft); }
.service-body { display: grid; gap: 20px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 12px; }
.panel h3 { font-size: 1.15rem; }
.panel h2 { font-size: clamp(1.4rem, .8vw + 1.15rem, 1.75rem); }
.panel .method { background: var(--bg); }
.panel .method a, .panel .method .value { font-size: 1.125rem; }
@media (max-width: 399.98px) { .panel { padding: 18px 16px; } .panel .method { padding: 14px; gap: 2px 12px; } }
[lang="ar"] { white-space: nowrap; }
.promise-panel { background: var(--brand-deep); border-color: transparent; color: #fff; }
.promise-panel h2 { font-family: var(--f-body); font-size: .9375rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.big-promise { font-family: var(--f-display); font-weight: 760; font-size: clamp(1.8rem, 2vw + 1.2rem, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; }
.big-promise strong { color: var(--accent); font-weight: 800; }
.promise-panel .big-promise { color: #fff; }
.funding { font-size: 1rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.funding svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--brand); }

/* ---------- About page ---------- */
.split { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.details { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.details > div { display: grid; gap: 2px 24px; padding-block: 14px; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .details > div { grid-template-columns: 12rem minmax(0, 1fr); } }
.details dt { font-weight: 700; color: var(--ink-soft); font-size: 1rem; }
.details dd { margin: 0; min-width: 0; }
.values { list-style: none; display: grid; gap: 16px; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.values li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; }
.values p { color: var(--ink-soft); }

/* ---------- Coordinators page ---------- */
.glance { display: grid; gap: 12px; margin: 0; }
@media (min-width: 700px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .glance { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.glance > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.glance dt { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.glance dd { margin: 0; font-weight: 700; line-height: 1.4; }
.glance dd a.sub { padding-block: 2px; }
.glance dd .sub { display: block; font-weight: 400; color: var(--ink-soft); font-size: 1rem; margin-top: 4px; }
.status { list-style: none; display: grid; gap: 6px; }
.status li { display: flex; align-items: center; gap: 8px; }
.status svg { width: 20px; height: 20px; flex: none; }
.status .ok svg { color: var(--brand); }
.status .no { color: var(--ink-soft); font-weight: 400; }
.status .no svg { color: var(--ink-soft); }
.ref-steps { list-style: none; display: grid; gap: 14px; counter-reset: ref; }
.ref-steps li { counter-increment: ref; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 2px 14px; align-items: start; }
.ref-steps li::before { content: counter(ref); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }
.ref-steps strong { font-size: 1.125rem; padding-top: 8px; }
.ref-steps span { color: var(--ink-soft); }
.two-col { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sub-h2 { font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.1rem); margin-top: 16px; }
.perks { list-style: none; display: grid; gap: 18px; }
.perks li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.perks h3 { font-size: 1.2rem; }
.perks p { color: var(--ink-soft); font-size: 1.0625rem; }
.note { background: var(--alt); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 1rem; color: var(--ink-soft); }
.note strong { color: var(--ink); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.contact-methods { list-style: none; display: grid; gap: 12px; }
.method { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; transition: transform .25s var(--ease), box-shadow .25s; }
.method:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.method .icon { grid-row: span 2; }
.method .label { font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.method a, .method .value { font-size: 1.25rem; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.method a:hover { color: var(--brand); text-decoration: underline; }
/* Narrow phones: the email address is too long to sit beside the icon, so it takes the card's full width underneath */
@media (max-width: 419.98px) {
  .method:has(a[data-mailto]) { align-items: center; }
  .method:has(a[data-mailto]) .icon { grid-row: auto; }
  .method a[data-mailto] { grid-column: 1 / -1; margin-top: 6px; }
}

/* Form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: clamp(1.6rem, 1vw + 1.3rem, 2.1rem); }
.form-card > p { color: var(--ink-soft); margin-top: 8px; }
.form { display: grid; gap: 22px; margin-top: 26px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 1.0625rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field .help { font-size: 1rem; color: var(--ink-soft); }
input[type="text"], input[type="tel"], input[type="email"], input[type="url"], input[type="search"], textarea {
  width: 100%; font: inherit; font-size: 1.125rem; color: var(--ink);
  background: var(--bg); border: 2px solid #5B6F65; border-radius: 12px;
  padding: 12px 14px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
input[type="file"] { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 2px dashed #5B6F65; border-radius: 12px; padding: 10px 12px; min-height: 52px; cursor: pointer; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 700; margin-right: 12px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--brand); background: #fff; color: var(--brand); cursor: pointer; }
input[type="file"]:hover { border-color: var(--ink); }
input[type="file"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.file-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.file-row input { flex: 1 1 240px; min-width: 0; }
.form-status.busy { background: var(--alt); color: var(--ink); border: 2px solid var(--line); }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 6px rgba(242, 181, 58, .45); }
[aria-invalid="true"] { border-color: #A3261B !important; }
.error { color: #A3261B; font-weight: 700; font-size: 1rem; display: flex; gap: 8px; align-items: flex-start; }
.error:empty { display: none; }
.error::before { content: "!"; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #A3261B; color: #fff; font-size: .8rem; display: grid; place-items: center; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.choices { display: grid; gap: 8px; }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } .choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; }
/* The real input sits invisibly over its label, so keyboard focus scrolls the whole option into view */
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.choice label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; font-weight: 700; transition: border-color .2s, background-color .2s; }
.choice label::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #5B6F65; background: #fff; flex: none; transition: border-width .15s, border-color .15s; }
.choice label:hover { border-color: var(--ink-soft); }
.choice input:checked + label { border-color: var(--brand); background: #F1F7F3; }
.choice input:checked + label::before { border: 6px solid var(--brand); }
.choice input[type="checkbox"] + label::before { border-radius: 6px; }
.choice input[type="checkbox"]:checked + label::before { border: 2px solid var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; }
.form-foot { display: grid; gap: 14px; }
.form-foot .small { font-size: 1rem; color: var(--ink-soft); }
.form-status:empty { display: none; }
/* Shown instead of the Send button until the form key is set in js/site-details.js */
.form-soon { border-radius: 16px; padding: 18px 20px; background: var(--alt); color: var(--ink); border: 2px solid var(--line); }
.form-soon p:first-child { font-weight: 700; text-wrap: balance; }
.form-soon p + p { margin-top: 6px; }
.form-soon a { overflow-wrap: anywhere; }
@media (max-width: 379.98px) { .form-soon { padding: 14px 12px; } }
.form-status { border-radius: 16px; padding: 18px 20px; font-weight: 700; }
.form-status.ok { background: #E3F1E8; color: var(--brand-deep); border: 2px solid var(--brand); }
.form-status.bad { background: #FBEAE7; color: #7E1D14; border: 2px solid #A3261B; }
.form-status p + p { margin-top: 6px; font-weight: 400; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: var(--on-deep-soft); padding-block: clamp(56px, 7vw, 88px) 32px; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .wordmark { color: #fff; }
.footer-brand .wm-badge { background: var(--bg); color: var(--brand-deep); }
.footer-brand .wm-badge .amp { color: var(--brand); }
.footer-brand p { max-width: 30em; }
.site-footer h2 { font-family: var(--f-body); font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 12px; font-size: .9375rem; }
.footer-legal .ack { max-width: 62em; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 700; }
@media (max-width: 899.98px) { .site-footer { padding-bottom: 110px; } html { scroll-padding-bottom: 96px; } }

/* ---------- Motion ---------- */
/* Page-load entrance for the home hero (content is visible at rest; headline never starts hidden) */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero .lead, .hero .btn-row, .hero .assurances { animation: rise .8s var(--ease) both; }
  .hero h1 { animation: lift .8s var(--ease) both; }
  .hero .lead { animation-delay: .12s; }
  .hero .btn-row { animation-delay: .2s; }
  .hero .assurances { animation-delay: .28s; }
  .hero h1 mark, .page-hero h1 mark { animation: sweep .9s cubic-bezier(.6, .05, .3, 1) .45s both; }
  .hero-visual .map { animation: rise .9s var(--ease) .15s both; }
  .page-hero .leaf-bg { animation: fade 1.4s ease .1s both; }
  .facts li { animation: rise .7s var(--ease) both; }
  .facts li:nth-child(1) { animation-delay: .35s; } .facts li:nth-child(2) { animation-delay: .42s; }
  .facts li:nth-child(3) { animation-delay: .49s; } .facts li:nth-child(4) { animation-delay: .56s; }

  /* Scroll reveal: only hides things once main.js has switched it on */
  .reveal-on .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
  .reveal-on .reveal.is-visible { opacity: 1; transform: none; }

  /* How it works: line draws, numbers pop */
  .reveal-on .steps .steps-line::after { transform: scaleY(0); transition: transform 1.4s var(--ease) .2s; }
  .reveal-on .steps.is-visible .steps-line::after { transform: none; }
  @media (min-width: 900px) { .reveal-on .steps .steps-line::after { transform: scaleX(0); } }
  .reveal-on .steps .num { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.2, .9, .3, 1.4), opacity .3s; }
  .reveal-on .steps .step:nth-child(1) .num { transition-delay: .15s; }
  .reveal-on .steps .step:nth-child(2) .num { transition-delay: .45s; }
  .reveal-on .steps .step:nth-child(3) .num { transition-delay: .75s; }
  .reveal-on .steps .step:nth-child(4) .num { transition-delay: 1.05s; }
  .reveal-on .steps.is-visible .num { transform: none; opacity: 1; }

  /* Map: resting state is fully drawn; main.js adds .anim to set the start, .live to play */
  .map.anim .road, .map.anim .road-casing { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
  .map.anim .glow { opacity: 0; transform: scale(.55); }
  .map.anim .pin { transform: scale(0); }
  .map.anim.live .road, .map.anim.live .road-casing { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s linear; }
  .map.anim.live .glow { opacity: 1; transform: none; transition: opacity .7s ease, transform .9s cubic-bezier(.2, .9, .3, 1.2); transition-delay: var(--d); }
  .map.anim.live .pin { transform: none; transition: transform .45s cubic-bezier(.2, .9, .3, 1.4); transition-delay: var(--d); }
  .map .glow.pulse { animation: pulse 1.4s ease-in-out 2; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes lift { from { transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes sweep { from { background-size: 0% 100%; } }
@keyframes pulse { 50% { transform: scale(1.18); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .call-fab, .site-footer .footer-grid, .checker { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}
