/* ============================================================
   Western Sydney Planning - Website
   Shared site styles. Built entirely on the design-system tokens
   (css/styles.css). No colour or size literals that aren't tokens
   unless a one-off layout value is genuinely local.
   ============================================================ */

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-y) 0; }
.section-sm { padding: 4rem 0; }
.bg-page { background: var(--surface-page); }
.bg-card { background: var(--surface-card); }
.bg-ink { background: var(--teal-900); color: #fff; }
.border-top { border-top: 1px solid var(--border); }

.eyebrow {
  font-family: var(--font-sans); font-size: var(--text-eyebrow); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-brand);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { display: none; }
.eyebrow.on-ink { color: var(--teal-200); }
.eyebrow.plain::before { display: none; }

.section-head { max-width: 660px; margin-bottom: 44px; }
.section-title {
  font-family: var(--font-display); font-weight: var(--fw-extra);
  font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12;
  letter-spacing: -0.035em; margin: 18px 0 0; padding-bottom: 0.08em; text-wrap: balance;
  background: linear-gradient(100deg, var(--teal-900) 0%, var(--teal-700) 48%, var(--teal-500) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.on-ink .section-title, .section-title.on-ink {
  background: linear-gradient(100deg, #ffffff 0%, #C9E6E4 58%, #8FCAC7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.section-intro {
  font-size: var(--text-lead); line-height: var(--lh-body); color: var(--text-muted);
  margin: 20px 0 0; max-width: 600px; text-wrap: pretty;
}
.on-ink .section-intro { color: rgba(255,255,255,0.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 15px; font-weight: var(--fw-semibold);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; line-height: 1;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base), border-color var(--dur-base);
}
.btn:hover { text-decoration: none; }
.btn .ic { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(100deg, var(--teal-500) 0%, var(--teal-700) 100%); color: #fff; box-shadow: 0 6px 18px rgba(1,129,129,0.26); }
.btn-primary:hover { background: linear-gradient(100deg, var(--teal-600) 0%, var(--teal-800) 100%); color: #fff; box-shadow: 0 9px 24px rgba(1,129,129,0.34); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text-heading); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--brand); color: var(--text-brand); }
.btn-ghost { background: transparent; color: var(--text-brand); padding: 0 6px; }
.btn-ghost:hover { color: var(--brand-strong); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
/* On dark backgrounds */
.on-ink .btn-secondary, .btn-secondary.on-ink { color: #fff; border-color: rgba(255,255,255,0.35); }
.on-ink .btn-secondary:hover, .btn-secondary.on-ink:hover { border-color: #fff; color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(15,46,46,0.94);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(255,255,255,0.10);
}
.site-header.transparent { background: transparent; border-bottom-color: transparent; }
/* An open mobile menu always needs a solid bar - a transparent bar sitting on top of
   the solid menu panel reads as a rendering fault. */
.site-header.transparent.menu-open { background: rgba(15,46,46,0.98); border-bottom-color: rgba(255,255,255,0.10); }
.site-header .bar {
  max-width: var(--container-wide); margin: 0 auto; padding: 0 32px;
  height: 76px; display: flex; align-items: center; justify-content: space-between;
}
.site-header .logo img { height: 44px; display: block; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a.navlink {
  font-family: var(--font-sans); font-size: 15px; font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.82); letter-spacing: 0.01em; text-decoration: none;
  transition: color var(--dur-base);
}
.site-nav a.navlink:hover, .site-nav a.navlink[aria-current="page"] { color: #fff; text-decoration: none; }
.site-nav a.navlink[aria-current="page"] { color: var(--teal-200); }
.nav-toggle {
  display: none; background: transparent; border: 0; color: #fff; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.mobile-menu { display: none; background: var(--teal-900); border-top: 1px solid rgba(255,255,255,0.1); padding: 8px 32px 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 13px 0; color: rgba(255,255,255,0.85); font-family: var(--font-sans);
  font-size: 17px; border-bottom: 1px solid rgba(255,255,255,0.08); text-decoration: none;
}
/* `.mobile-menu a` outranks `.btn` on specificity, which was flattening the CTA into a
   left-aligned block with no horizontal padding. Restore the button box explicitly. */
.mobile-menu a.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; padding: 14px 22px; border-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: #0B2323;
  margin-top: -76px; padding-top: 76px;
}
/* full-bleed photo, rendered as an ink-teal duotone */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../assets/hero-context.jpg") center 32% / cover no-repeat;
  filter: grayscale(100%) contrast(1.06) brightness(0.98);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #12A6A6 0%, #01686A 46%, #0F2E2E 100%);
  mix-blend-mode: color; opacity: 0.95;
}
/* legibility + fade toward the dark hero edges */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(96deg, rgba(11,35,35,0.96) 0%, rgba(15,46,46,0.82) 40%, rgba(15,46,46,0.42) 74%, rgba(15,46,46,0.22) 100%),
    linear-gradient(180deg, rgba(15,46,46,0.32) 0%, transparent 34%, rgba(11,35,35,0.92) 100%);
}
/* ghosted W device over the hero image */
.hero-wm {
  position: absolute; right: -5%; bottom: -16%; width: 52%; z-index: 1;
  opacity: 0.10; pointer-events: none; user-select: none;
}
.hero .inner {
  position: relative; z-index: 2;
  max-width: var(--container-wide); margin: 0 auto; padding: 132px 32px 136px;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-family: var(--font-display); font-weight: var(--fw-extra);
  font-size: clamp(2.7rem, 5.6vw, 4.75rem); line-height: 1.07; letter-spacing: -0.04em;
  margin: 22px 0 0; padding-bottom: 0.04em; text-wrap: balance;
  background: linear-gradient(96deg, #ffffff 0%, #EAF6F5 42%, #97CFCC 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: wsp-sheen 9s ease-in-out infinite alternate;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(96deg, #5EB2AF, #2A9591);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
@keyframes wsp-sheen { to { background-position: 100% center; } }
@media (prefers-reduced-motion: reduce) { .hero h1 { animation: none; } }
.hero .lede {
  font-family: var(--font-sans); font-size: var(--text-lead); line-height: var(--lh-body);
  color: rgba(255,255,255,0.78); max-width: 500px; margin: 24px 0 0;
}
.hero .cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero .stat .n { font-family: var(--font-display); font-size: 34px; font-weight: var(--fw-extra); line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(100deg, #ffffff, #5EB2AF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero .stat .l { font-family: var(--font-sans); font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; }
/* (hero now uses a full-bleed background image - see .hero-bg / .hero-scrim above) */

/* Page hero (interior pages) */
.page-hero { position: relative; overflow: hidden; color: #fff; margin-top: -76px; padding: 76px 0 0;
  background:
    radial-gradient(50% 80% at 88% 0%, rgba(1,129,129,0.40), transparent 60%),
    radial-gradient(40% 70% at 0% 100%, rgba(42,149,145,0.22), transparent 60%),
    linear-gradient(160deg, #0F3535 0%, var(--teal-900) 62%, #0B2424 100%); }
.page-hero .wm { position: absolute; right: -4%; bottom: -34%; width: 40%; opacity: 0.05; pointer-events: none; }
.page-hero .inner { max-width: var(--container-max); margin: 0 auto; padding: 84px 32px 92px; position: relative; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: var(--fw-extra);
  font-size: clamp(2.5rem, 4.8vw, 3.85rem); line-height: 1.08; letter-spacing: -0.04em;
  margin: 20px 0 0; padding-bottom: 0.04em; text-wrap: balance; max-width: 16ch;
  background: linear-gradient(96deg, #ffffff 0%, #CFE9E7 55%, #97CFCC 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.page-hero .lede { font-family: var(--font-sans); font-size: var(--text-lead); line-height: var(--lh-body);
  color: rgba(255,255,255,0.76); max-width: 560px; margin: 22px 0 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.card-pad { padding: 28px 30px; }
.card-hover { transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-out), border-color var(--dur-base); }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); }
.card-accent { position: relative; padding-left: 30px; }
.card-accent::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px; background: linear-gradient(180deg, var(--teal-400), var(--teal-700)); border-radius: 0 2px 2px 0; }

/* Service card */
.svc-icon {
  display: inline-flex; width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-700) 100%); color: #fff;
  align-items: center; justify-content: center; box-shadow: 0 5px 14px rgba(1,129,129,0.24);
}
.svc-icon .ic { width: 22px; height: 22px; }
.svc-card h3 { margin: 18px 0 8px; font-size: 20px; }
.svc-card p { margin: 0; font-size: 15px; line-height: var(--lh-body); color: var(--text-muted); }

/* ---------- Approach steps (on ink) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.step { border-top: 2px solid var(--teal-500); border-image: linear-gradient(90deg, var(--teal-300), var(--teal-600)) 1; padding-top: 20px; }
.step .n { font-family: var(--font-display); font-size: 44px; font-weight: var(--fw-extra); line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(120deg, #97CFCC, #2A9591); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.step h3 { font-family: var(--font-sans); font-size: 18px; font-weight: var(--fw-semibold); color: #fff; margin: 14px 0 8px; }
.step p { font-family: var(--font-sans); font-size: 14.5px; line-height: var(--lh-body); color: rgba(255,255,255,0.66); margin: 0; }

/* ---------- Tags / badges ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 13px;
  font-weight: var(--fw-medium); padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); background: transparent; color: var(--text-body);
  cursor: pointer; transition: all var(--dur-base);
}
.tag:hover { border-color: var(--brand); color: var(--text-brand); }
.tag.active { background: var(--surface-brand-soft); color: var(--brand-strong); border-color: var(--brand); }
.badge { display: inline-flex; font-family: var(--font-sans); font-size: 12px; font-weight: var(--fw-bold); padding: 5px 11px; border-radius: var(--radius-pill); }
.badge-success { background: var(--success-tint); color: var(--success); }
.badge-warning { background: var(--warning-tint); color: var(--amber-500); }

/* ---------- Project cards ---------- */
.proj { display: block; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit; }
.proj .thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; background: #0F2E2E; }
/* ink-teal duotone matching the hero: grayscale photo + teal tint + dark scrim */
.proj .thumb .thumb-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.06) brightness(0.9); }
.proj .thumb::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(140deg, #12A6A6 0%, #01686A 46%, #0F2E2E 100%); mix-blend-mode: color; opacity: 0.95; pointer-events: none; }
.proj .thumb::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(155deg, rgba(15,46,46,0.32) 0%, rgba(11,35,35,0.82) 100%); pointer-events: none; }
.proj:hover .thumb .thumb-img { transform: scale(1.03); transition: transform var(--dur-slow) var(--ease-out); }
.proj .thumb .badge { position: absolute; top: 14px; left: 14px; z-index: 3; }
.proj .body { padding: 20px 22px 22px; }
.proj .type { font-family: var(--font-sans); font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-brand); }
.proj h3 { margin: 8px 0; font-size: 21px; }
.proj p { margin: 0; font-size: 15px; line-height: var(--lh-body); color: var(--text-muted); }
.proj[hidden] { display: none; }

/* ---------- Feature / split rows ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.prose { max-width: 560px; }
.prose p { font-size: 16px; line-height: var(--lh-body); color: var(--text-body); margin: 0 0 1em; }
.prose .lead { font-size: var(--text-lead); color: var(--text-muted); }
.media-block {
  border-radius: var(--radius-lg); border: 1px solid var(--border); aspect-ratio: 4/3;
  background: linear-gradient(200deg, #D8E4E1, #B9CEC9); display: flex; align-items: center; justify-content: center;
  color: rgba(15,46,46,0.3); position: relative; overflow: hidden;
}
.media-block.ink { background: linear-gradient(200deg, #14413F, #0F2E2E); color: rgba(255,255,255,0.4); }
.media-block .cap { position: absolute; bottom: 14px; left: 16px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.media-block .portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal { max-width: 720px; }
.legal .updated { font-family: var(--font-sans); font-size: 13px; color: var(--text-subtle);
  padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal h2 { font-family: var(--font-display); font-size: 21px; font-weight: var(--fw-extra);
  letter-spacing: -0.01em; color: var(--text-heading); margin: 42px 0 12px; }
.legal h2:first-of-type { margin-top: 26px; }
.legal h3 { font-family: var(--font-sans); font-size: 16px; font-weight: var(--fw-semibold);
  color: var(--text-heading); margin: 24px 0 6px; }
.legal p { font-size: 16px; line-height: var(--lh-body); color: var(--text-body); margin: 0 0 1em; }
.legal ul { margin: 0 0 1.2em; padding-left: 22px; }
.legal li { font-size: 16px; line-height: var(--lh-body); color: var(--text-body); margin-bottom: 0.5em; }
.legal a { color: var(--teal-700, #01686A); text-decoration: underline; text-underline-offset: 2px; }
.legal .note { background: var(--surface-brand-soft); border-radius: var(--radius-md, 10px);
  padding: 18px 20px; margin: 0 0 1.4em; }
.legal .note p:last-child { margin-bottom: 0; }

/* ---------- Value / list items ---------- */
.value h3 { font-family: var(--font-display); font-size: var(--text-h3); margin: 0 0 8px; color: var(--text-heading); letter-spacing: -0.01em; }
.value p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding: 10px 0 10px 30px; font-size: 16px; color: var(--text-body); border-bottom: 1px solid var(--border); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-brand-soft); }
.tick-list li::after { content: ""; position: absolute; left: 5px; top: 20px; width: 8px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* Sector chips */
.sectors { display: flex; flex-wrap: wrap; gap: 12px; }
.sector { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-card); font-family: var(--font-sans); font-weight: var(--fw-medium); font-size: 15px; color: var(--text-heading); }
.sector .ic { width: 18px; height: 18px; color: var(--brand); }

/* ---------- Contact / forms ---------- */
.contact-card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; display: grid; grid-template-columns: 0.85fr 1.15fr; }
.contact-aside { background: linear-gradient(200deg, #14413F, var(--teal-900)); color: #fff; padding: 48px 44px; position: relative; overflow: hidden; }
.contact-aside .wm { position: absolute; right: -30px; bottom: -30px; width: 180px; opacity: 0.06; }
.contact-aside h2 { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 34px; line-height: 1.08; letter-spacing: -0.03em; color: #fff; margin: 0; text-wrap: balance; }
.contact-aside p { font-family: var(--font-sans); font-size: 16px; line-height: var(--lh-body); color: rgba(255,255,255,0.72); margin: 18px 0 30px; }
.contact-line { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: rgba(255,255,255,0.9); font-family: var(--font-sans); font-size: 15px; }
.contact-line .ic { width: 18px; height: 18px; color: var(--teal-200); flex-shrink: 0; }
.contact-line a { color: rgba(255,255,255,0.9); }
.contact-line a:hover { color: #fff; }
.contact-form { padding: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-sans); font-size: 13.5px; font-weight: var(--fw-semibold); color: var(--text-heading); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--text-body); background: var(--surface-card);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 11px 13px; width: 100%;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-subtle); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus-ring); box-shadow: var(--shadow-focus); }
.field textarea { resize: vertical; min-height: 116px; }
.form-alert { display: none; padding: 20px 22px; border-radius: var(--radius-md); background: var(--success-tint); border: 1px solid var(--success); color: var(--text-heading); }
.form-alert.show { display: block; }
.form-alert strong { display: block; color: var(--success); font-size: 16px; margin-bottom: 4px; }
.form-error { display: none; padding: 14px 18px; border-radius: var(--radius-md); background: var(--danger-tint); border: 1px solid var(--danger); color: var(--text-heading); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.form-error.show { display: block; }
.form-error a { color: var(--danger); font-weight: var(--fw-semibold); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--surface-card); }
.acc-item + .acc-item { border-top: 1px solid var(--border); }
.acc-q { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-sans); font-size: 16px; font-weight: var(--fw-semibold); color: var(--text-heading); }
.acc-q .ic { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; transition: transform var(--dur-base); }
.acc-item.open .acc-q .ic { transform: rotate(180deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-standard); }
.acc-a .inner { padding: 0 24px 22px; font-size: 15.5px; line-height: var(--lh-body); color: var(--text-muted); }
.acc-item.open .acc-a { max-height: 400px; }

/* ---------- CTA band ---------- */
.cta-band { background:
    radial-gradient(48% 68% at 90% 4%, rgba(1,129,129,0.34), transparent 60%),
    radial-gradient(40% 60% at 4% 100%, rgba(42,149,145,0.20), transparent 60%),
    var(--teal-900); color: #fff; position: relative; overflow: hidden; }
.cta-band .wm { position: absolute; left: -4%; top: -30%; width: 32%; opacity: 0.05; pointer-events: none; }
.cta-band .inner { max-width: var(--container-max); margin: 0 auto; padding: 84px 32px; position: relative; }
.cta-band h2 { font-family: var(--font-display); font-weight: var(--fw-extra); font-size: clamp(2rem, 4.2vw, 3.15rem); line-height: 1.1; letter-spacing: -0.035em; margin: 16px 0 0; padding-bottom: 0.05em; max-width: 18ch; text-wrap: balance;
  background: linear-gradient(100deg, #ffffff 0%, #C9E6E4 60%, #8FCAC7 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cta-band .cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,0.7); padding: 56px 0 36px; border-top: 3px solid var(--teal-500); border-image: linear-gradient(90deg, var(--teal-500) 0%, var(--teal-300) 55%, var(--brass-500) 100%) 1; }
.site-footer .top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .brand { max-width: 300px; }
.site-footer .brand img { height: 40px; }
.site-footer .brand p { font-family: var(--font-sans); font-size: 14px; line-height: var(--lh-body); margin-top: 18px; }
.site-footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
.site-footer .col h4 { font-family: var(--font-sans); font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-200); margin: 0 0 16px; }
.site-footer .col a { display: block; font-family: var(--font-sans); font-size: 14.5px; color: rgba(255,255,255,0.72); padding: 5px 0; text-decoration: none; }
.site-footer .col a:hover { color: #fff; text-decoration: none; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-sans); font-size: 13px; color: rgba(255,255,255,0.5); }
.site-footer .bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.site-footer .bottom a:hover { color: #fff; text-decoration: underline; }
.site-footer .acknowledge { font-family: var(--font-sans); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.45); margin-top: 20px; max-width: 720px; }

/* ---------- Reveal on scroll ----------
   Animation is gated behind html.js so content is ALWAYS visible without JS. */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .logo img { height: 38px; }
  .hero .inner { padding: 100px 32px 104px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .contact-card { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: 1fr 1fr; }
  .cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container, .container-wide { padding: 0 22px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .contact-aside { padding: 32px 26px; }
  /* iOS Safari zooms the whole page whenever a focused field is under 16px, and never
     zooms back out. 16px keeps tapping into the enquiry form from breaking the layout. */
  .field input, .field select, .field textarea { font-size: 16px; }
  .hero .inner { padding: 64px 22px 72px; }
  .site-header .bar { padding: 0 22px; }
  /* The horizontal lockup is three lines of type - at 44px it eats most of a phone. */
  .site-header .logo img { height: 32px; }
  /* clamp()'s 2.7rem floor was never reached down here, leaving the headline oversized
     and breaking after single words. */
  .hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .page-hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.5rem); }
  .page-hero .inner { padding: 60px 22px 68px; }
  /* Three items free-wrapping at this width lands as 1-then-2, which reads as a mistake.
     A fixed two-column grid makes the same wrap look intentional. */
  .hero .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; margin-top: 38px; }
  .hero .stat .n { font-size: 26px; }
  .hero .stat .l { font-size: 12px; }
}
