/* ==========================================================================
   Treetops Tree Services — design system
   Brand: teal #0A9E8C · signal orange #EA4800 (sampled from the logo)
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/fraunces-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --teal:        #0A9E8C;
  --teal-600:    #068574;
  --teal-700:    #056356;
  --teal-900:    #06322C;
  --orange:      #EA4800;
  --orange-600:  #C93D00;

  /* surfaces */
  --ink:         #10201C;
  --ink-2:       #1B322C;
  --paper:       #FBF9F5;
  --paper-2:     #F4F0E8;
  --sand:        #EDE6D9;
  --white:       #FFFFFF;

  /* text */
  --text:        #172A25;
  --text-soft:   #4C5F59;
  --text-mute:   #6E807A;
  --on-dark:     #F3F1EC;
  --on-dark-soft:#B9C8C2;

  /* lines & shadow */
  --line:        rgba(16, 32, 28, .12);
  --line-strong: rgba(16, 32, 28, .22);
  --line-dark:   rgba(243, 241, 236, .16);
  --shadow-sm:   0 1px 2px rgba(16,32,28,.06), 0 2px 6px rgba(16,32,28,.05);
  --shadow-md:   0 4px 12px rgba(16,32,28,.07), 0 12px 32px rgba(16,32,28,.07);
  --shadow-lg:   0 8px 24px rgba(16,32,28,.10), 0 30px 70px rgba(16,32,28,.12);

  /* geometry */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* rhythm */
  --gutter: clamp(20px, 5vw, 48px);
  --wrap: 1220px;
  --wrap-narrow: 760px;
  --section-y: clamp(64px, 9vw, 132px);

  /* type */
  --font-display: 'Fraunces', ui-serif, Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.6rem, 6.2vw, 4.6rem);
  --fs-h1:      clamp(2.15rem, 4.9vw, 3.5rem);
  --fs-h2:      clamp(1.75rem, 3.5vw, 2.7rem);
  --fs-h3:      clamp(1.24rem, 2vw, 1.55rem);
  --fs-lead:    clamp(1.06rem, 1.55vw, 1.28rem);
  --fs-body:    1.0625rem;
  --fs-sm:      .9375rem;
  --fs-xs:      .8125rem;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The off-canvas drawer sits at translateX(100%); clip so it can never
     create a horizontal scrollbar on any device. */
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  overflow-x: hidden;
  /* Keeps the footer at the bottom of short pages (404, thin service pages)
     instead of leaving a band of empty paper under it. */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > .header, body > .footer, body > .actionbar, body > .drawer { flex: none; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  color: var(--ink);
  font-variation-settings: 'SOFT' 0, 'WONK' 0, 'opsz' 100;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 650;
     letter-spacing: -.005em; line-height: 1.35; }

/* Callout / aside label. Looks like a heading, isn't one — keeps the document
   outline clean for screen readers and for Google. */
.ctitle {
  font-size: 1.0625rem; font-weight: 650; letter-spacing: -.005em;
  line-height: 1.35; color: var(--ink); margin: 0 0 .3em;
}
.section--dark .ctitle { color: #fff; }
.contactcard .ctitle, .ctaband .ctitle { color: #fff; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
:is(p, li) { text-wrap: pretty; }

a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

strong, b { font-weight: 650; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--teal); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(44px, 6vw, 84px); }
.section--paper2 { background: var(--paper-2); }
.section--sand { background: var(--sand); }

.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section--dark :is(h1,h2,h3,h4) { color: var(--white); }
.section--dark p { color: var(--on-dark-soft); }
.section--dark a { color: #6FDCC9; }
.section--dark a:hover { color: #FF7A3D; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .75rem; font-weight: 650; letter-spacing: .13em;
  text-transform: uppercase; color: var(--teal-700);
  margin: 0 0 1.1em;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--orange); flex: none;
}
.section--dark .eyebrow { color: #6FDCC9; }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-soft); }
.section--dark .lead { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-body);
  font-size: .96rem; font-weight: 620; letter-spacing: -.005em;
  padding: 15px 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; text-align: center;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), background-color .18s, border-color .18s, color .18s, box-shadow .18s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; width: 18px; height: 18px; }

.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(234,72,0,.25); }
.btn--primary:hover { background: var(--orange-600); color: #fff; box-shadow: 0 10px 26px rgba(234,72,0,.32); }

.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(10,158,140,.24); }
.btn--teal:hover { background: var(--teal-600); color: #fff; box-shadow: 0 10px 26px rgba(10,158,140,.3); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--lg { padding: 18px 32px; font-size: 1.02rem; }
.btn--sm { padding: 11px 20px; font-size: .875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251,249,245,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(16,32,28,.06); }

.header__bar {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}
.header__logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; margin-right: auto; }
.header__logo img { width: 50px; height: auto; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.header__logo-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  color: var(--ink); letter-spacing: -.02em;
}
.header__logo-sub {
  font-size: .625rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-700); font-weight: 620;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  font-size: .9rem; font-weight: 520; color: var(--text-soft);
  text-decoration: none; padding: 9px 13px; border-radius: var(--r-sm);
  white-space: nowrap; transition: color .16s, background-color .16s;
}
.nav__link:hover { color: var(--ink); background: rgba(16,32,28,.05); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 620; }
.nav__link[aria-current="page"]::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; background: var(--orange); border-radius: 2px;
}

/* dropdown */
.nav__item { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font: inherit; font-size: .9rem; font-weight: 520; color: var(--text-soft);
  background: none; border: 0; cursor: pointer; padding: 9px 13px;
  border-radius: var(--r-sm); font-family: var(--font-body);
}
.nav__toggle:hover { color: var(--ink); background: rgba(16,32,28,.05); }
.nav__toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__item.is-open .nav__toggle { color: var(--ink); background: rgba(16,32,28,.05); }

.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 268px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu li { margin: 0; }
.nav__menu a {
  display: block; padding: 10px 12px; border-radius: var(--r-sm);
  font-size: .9rem; color: var(--text); text-decoration: none; font-weight: 500;
}
.nav__menu a:hover { background: var(--paper-2); color: var(--ink); }
.nav__menu a small { display: block; font-size: .75rem; color: var(--text-mute); font-weight: 400; margin-top: 1px; }

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 640; font-size: .95rem; color: var(--ink); text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--orange); }
.header__phone svg { width: 17px; height: 17px; color: var(--teal); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: transparent; border-radius: var(--r-sm); cursor: pointer;
  align-items: center; justify-content: center; flex: none; padding: 0;
}
.burger span { display: block; width: 19px; height: 1.8px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 19px; height: 1.8px; background: var(--ink);
  transition: transform .24s cubic-bezier(.2,.8,.3,1), top .2s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .header__cta .header__phone { display: none; }
  .burger { display: inline-flex; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 89;
  background: var(--paper);
  padding: 24px var(--gutter) 120px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
body.nav-open .drawer { transform: translateX(0); visibility: visible; }
body.nav-open { overflow: hidden; }
.drawer__group + .drawer__group { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.drawer__label {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 650; margin-bottom: 10px;
}
.drawer a {
  display: block; padding: 11px 0; font-size: 1.06rem; font-weight: 550;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(16,32,28,.06);
}
.drawer a:hover, .drawer a[aria-current="page"] { color: var(--orange); }
.drawer__cta { margin-top: 26px; display: grid; gap: 10px; }
@media (min-width: 1081px) { .drawer { display: none; } }

/* ---------- Sticky mobile action bar ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 88;
  display: none; gap: 1px;
  background: var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 24px rgba(16,32,28,.14);
}
.actionbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 11px 6px; text-decoration: none;
  background: #fff; color: var(--ink);
  font-size: .74rem; font-weight: 620; letter-spacing: .01em;
}
.actionbar a svg { width: 19px; height: 19px; }
.actionbar a.is-primary { background: var(--orange); color: #fff; }
.actionbar a.is-teal { background: var(--teal); color: #fff; }
@media (max-width: 860px) {
  .actionbar { display: flex; }
  body { padding-bottom: 68px; }
  body.nav-open .actionbar { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,25,21,.42) 0%, rgba(6,25,21,.14) 32%, rgba(6,25,21,.52) 76%, rgba(6,25,21,.80) 100%),
    linear-gradient(100deg, rgba(6,25,21,.62) 0%, rgba(6,25,21,.30) 46%, rgba(6,25,21,0) 74%);
}
.hero__inner {
  padding-block: clamp(72px, 12vw, 148px);
  max-width: 810px;
}
.hero h1 {
  color: #fff; font-size: var(--fs-display); font-weight: 600;
  letter-spacing: -.028em; margin-bottom: .32em;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero h1 em { font-style: normal; color: #6FDCC9; }
.hero__sub {
  font-size: clamp(1.06rem, 1.85vw, 1.32rem); color: rgba(255,255,255,.9);
  max-width: 60ch; line-height: 1.55; margin-bottom: 2rem;
  text-shadow: 0 1px 16px rgba(0,0,0,.35);
}
.hero .btn-row { margin-bottom: 2.2rem; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff; font-size: .8rem; font-weight: 560;
  padding: 8px 15px 8px 11px; border-radius: var(--r-pill);
  margin-bottom: 1.5rem; text-decoration: none;
}
.hero__badge:hover { background: rgba(255,255,255,.2); color: #fff; }
.hero__badge .stars { color: #FFC53D; letter-spacing: 1px; font-size: .84rem; }

@media (max-width: 560px) {
  /* Full-width CTAs on a phone: bigger tap targets, tidier stack. */
  .hero .btn-row .btn, .ctaband .btn-row .btn { width: 100%; }
  .hero__badge { font-size: .76rem; }
}

.hero__proof {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.2);
}
.hero__proof div { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-size: .875rem; font-weight: 540; }
.hero__proof svg { width: 16px; height: 16px; color: #6FDCC9; flex: none; }

/* page hero (interior) */
.pagehero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-2); }
.pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.pagehero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,25,21,.66) 0%, rgba(6,25,21,.42) 50%, rgba(6,25,21,.78) 100%),
    linear-gradient(95deg, rgba(6,25,21,.42) 0%, rgba(6,25,21,0) 70%);
}
.pagehero__inner { padding-block: clamp(54px, 8vw, 96px); max-width: 800px; }
.pagehero h1 { color: #fff; margin-bottom: .38em; }
.pagehero p { color: rgba(255,255,255,.88); font-size: var(--fs-lead); max-width: 62ch; }
.pagehero .eyebrow { color: #6FDCC9; }
.pagehero--plain { background: var(--paper-2); }
.pagehero--plain::after { display: none; }
.pagehero--plain h1 { color: var(--ink); }
.pagehero--plain p { color: var(--text-soft); }
.pagehero--plain .eyebrow { color: var(--teal-700); }

/* breadcrumbs */
.crumbs { font-size: .8rem; margin-bottom: 1.1rem; color: rgba(255,255,255,.66); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; gap: 6px; align-items: center; }
.crumbs li + li::before { content: '/'; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.pagehero--plain .crumbs { color: var(--text-mute); }
.pagehero--plain .crumbs a:hover { color: var(--ink); }

/* ---------- Trust strip ---------- */
.trustbar { background: var(--ink); color: var(--on-dark); padding: 18px 0; }
.trustbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px clamp(18px, 4vw, 52px);
}
.trustbar__item {
  display: flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 560; letter-spacing: .01em; color: rgba(255,255,255,.86);
  white-space: nowrap;
  max-width: 100%;
}
/* Below ~640px the nowrap labels no longer fit side by side — stack them
   left-aligned in two columns instead of letting them clip. */
@media (max-width: 640px) {
  .trustbar { padding: 16px 0; }
  .trustbar__inner {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px; justify-content: stretch;
  }
  .trustbar__item { white-space: normal; font-size: .76rem; align-items: flex-start; }
  .trustbar__item svg { margin-top: 2px; }
  .trustbar__item:first-child { grid-column: 1 / -1; }
}
.trustbar__item svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--2up { grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform .24s cubic-bezier(.2,.8,.3,1), box-shadow .24s, border-color .24s;
}
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(10,158,140,.4); color: inherit; }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(10,158,140,.1); color: var(--teal-700);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .45em; font-size: 1.24rem; }
.card p { color: var(--text-soft); font-size: .96rem; margin-bottom: 0; }
.card__more {
  margin-top: auto; padding-top: 16px;
  font-size: .875rem; font-weight: 620; color: var(--teal-700);
  display: inline-flex; align-items: center; gap: 6px;
}
.card--link:hover .card__more { color: var(--orange); }
.card__more svg { width: 15px; height: 15px; transition: transform .2s; }
.card--link:hover .card__more svg { transform: translateX(3px); }

/* service card with photo */
.scard {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  text-decoration: none; color: inherit;
  transition: transform .24s cubic-bezier(.2,.8,.3,1), box-shadow .24s;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.scard__img { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }

/* dark cards */
.section--dark .card { background: rgba(255,255,255,.045); border-color: var(--line-dark); }
.section--dark .card p { color: var(--on-dark-soft); }
.section--dark .card__icon { background: rgba(111,220,201,.14); color: #6FDCC9; }
.section--dark .card__more { color: #6FDCC9; }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid; gap: clamp(28px, 5vw, 68px); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }

/* Article sidebar tracks the reader down a long page so the phone number and
   the local CTA never scroll away. Only above 900px, where the columns exist. */
@media (min-width: 900px) {
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 22px); align-self: start; }
}
.split__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.split__media--tall img { aspect-ratio: 4/5; object-fit: cover; }

.figcap {
  margin-top: 12px; font-size: .8rem; color: var(--text-mute);
  display: flex; gap: 7px; align-items: flex-start; line-height: 1.45;
}
.figcap svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--teal); }
.section--dark .figcap { color: var(--on-dark-soft); }

/* floating stat badge on image */
.statbadge {
  position: absolute; bottom: -18px; left: -18px;
  background: #fff; border-radius: var(--r-md); padding: 16px 22px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  max-width: 220px;
}
.statbadge strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--teal-700); margin-bottom: 3px; }
.statbadge span { font-size: .8rem; color: var(--text-soft); line-height: 1.35; display: block; }
@media (max-width: 620px) { .statbadge { position: static; margin-top: 16px; max-width: none; } }

/* ---------- Feature list ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; line-height: 1.5; }
.ticks svg { width: 21px; height: 21px; flex: none; color: var(--teal); margin-top: 1px; }
.section--dark .ticks svg { color: #6FDCC9; }
.ticks strong { display: block; margin-bottom: 1px; }
.ticks span { color: var(--text-soft); font-size: .94rem; }
.section--dark .ticks span { color: var(--on-dark-soft); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 2px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  counter-increment: step;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--teal); line-height: 1;
}
.step__n::before { content: '0' counter(step); }
.step h3 { font-size: 1.18rem; margin-bottom: .3em; }
.step p { color: var(--text-soft); margin: 0; font-size: .97rem; }
.section--dark .step { border-color: var(--line-dark); }
.section--dark .step__n { color: #6FDCC9; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; height: 100%;
}
.quote__stars { color: #F5A623; letter-spacing: 2px; font-size: 1rem; margin-bottom: 14px; }
.quote p {
  font-family: var(--font-display); font-size: 1.06rem; line-height: 1.55;
  color: var(--ink); font-weight: 400; letter-spacing: -.008em;
  margin-bottom: 18px;
}
.quote blockquote { margin: 0; }
.quote :is(footer, figcaption) { margin-top: auto; font-size: .875rem; color: var(--text-mute); font-weight: 560; }
.quote :is(footer, figcaption) strong { color: var(--ink); font-weight: 640; display: block; }
.section--dark .quote :is(footer, figcaption) { color: var(--on-dark-soft); }
.section--dark .quote :is(footer, figcaption) strong { color: #fff; }
.section--dark .quote { background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.section--dark .quote p { color: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--paper); padding: clamp(22px, 3vw, 34px) 20px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; color: var(--teal-700); line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
/* Word-shaped values (a standard number, a certification) need less size than a
   single digit or they wrap and fight the numeric stats beside them. */
.stat strong.stat--text { font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.1; }
.stat span { font-size: .84rem; color: var(--text-soft); line-height: 1.4; display: block; }
.section--dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.section--dark .stat { background: var(--ink); }
.section--dark .stat strong { color: #6FDCC9; }
.section--dark .stat span { color: var(--on-dark-soft); }

/* ---------- Callout / alert boxes ---------- */
.callout {
  border-radius: var(--r-md); padding: 20px 24px;
  border: 1px solid var(--line); background: #fff;
  display: flex; gap: 15px; align-items: flex-start;
}
.callout svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--teal-700); }
.callout p { margin-bottom: 0; font-size: .95rem; }
.callout h4 { margin-bottom: .3em; }
.callout--warn { background: #FFF7ED; border-color: #FCD9B6; }
.callout--warn svg { color: var(--orange); }
.callout--teal { background: rgba(10,158,140,.07); border-color: rgba(10,158,140,.28); }

/* ---------- Prose (article body) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; font-size: 1.24rem; }
.prose ul li::marker { color: var(--teal); }
.prose ol li::marker { color: var(--teal-700); font-weight: 620; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--teal);
  font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; color: var(--ink);
}
.prose > :last-child { margin-bottom: 0; }

/* data table */
.tablewrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 460px; }
thead th {
  text-align: left; background: var(--paper-2); padding: 13px 18px;
  font-size: .74rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 680; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(16,32,28,.018); }
td strong { color: var(--ink); }

/* ---------- FAQ / accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.04rem, 1.7vw, 1.2rem);
  font-weight: 600; color: var(--ink); letter-spacing: -.012em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 13px; height: 13px; margin-top: -7px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); transition: transform .24s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--teal-700); }
.faq__body { padding: 0 44px 24px 0; color: var(--text-soft); }
.faq__body > :last-child { margin-bottom: 0; }
.section--dark .faq, .section--dark .faq details { border-color: var(--line-dark); }
.section--dark .faq summary { color: #fff; }
.section--dark .faq__body { color: var(--on-dark-soft); }

/* ---------- Tree checker tool ---------- */
.checker {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-md);
}
.checker__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 22px; }
.checker__result {
  margin-top: 22px; padding: 22px 24px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--paper-2);
  display: none;
}
.checker__result.is-shown { display: block; animation: fadeUp .35s cubic-bezier(.2,.8,.3,1); }
.checker__result h3 { display: flex; align-items: flex-start; gap: 11px; font-size: 1.24rem; margin-bottom: .5em; }
.checker__result h3 svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.checker__result.is-regulated { background: #FFF7ED; border-color: #FBC894; }
.checker__result.is-regulated h3 svg { color: var(--orange); }
.checker__result.is-clear { background: rgba(10,158,140,.07); border-color: rgba(10,158,140,.32); }
.checker__result.is-clear h3 svg { color: var(--teal-700); }
.checker__why { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: .9rem; }
.checker__why ul { margin: .5em 0 0; padding-left: 1.15em; }
.checker__why li { font-size: .89rem; margin-bottom: .3em; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 0; }
.field > span, .label {
  display: block; font-size: .82rem; font-weight: 620; color: var(--text);
  margin-bottom: 7px; letter-spacing: .005em;
}
.field .hint { display: block; font-size: .78rem; color: var(--text-mute); font-weight: 400; margin-top: -3px; margin-bottom: 7px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: .97rem;
  padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; color: var(--text); transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%234C5F59' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 38px;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,158,140,.16);
}
input::placeholder, textarea::placeholder { color: #9AA8A3; }

.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-grid--full { grid-template-columns: 1fr; }
.span-2 { grid-column: 1 / -1; }

.filedrop {
  display: block; position: relative;
  border: 2px dashed var(--line-strong); border-radius: var(--r-md);
  padding: 26px 22px; text-align: center; background: var(--paper);
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
.filedrop:hover, .filedrop.is-over { border-color: var(--teal); background: rgba(10,158,140,.05); }
.filedrop svg { width: 26px; height: 26px; color: var(--teal); margin: 0 auto 8px; }
.filedrop strong { display: block; font-size: .93rem; margin-bottom: 3px; }
.filedrop span { display: block; font-size: .8rem; color: var(--text-mute); line-height: 1.45; }
.filedrop input[type="file"] {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
.filedrop input[type="file"]:focus-visible { outline: none; }
.filedrop:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10,158,140,.16); }
.filelist:not(:empty) { margin-top: 12px; font-size: .82rem; color: var(--teal-700); font-weight: 600; }

.radio-row { display: flex; flex-wrap: wrap; gap: 9px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-chip span {
  display: block; padding: 10px 17px; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill); font-size: .88rem; font-weight: 560; cursor: pointer;
  transition: all .16s; background: #fff;
}
.radio-chip input:checked + span { border-color: var(--teal); background: rgba(10,158,140,.1); color: var(--teal-700); }
.radio-chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.form-note { font-size: .82rem; color: var(--text-mute); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.formstatus {
  margin-top: 16px; padding: 15px 18px; border-radius: var(--r-sm);
  font-size: .92rem; display: none;
}
.formstatus.is-shown { display: block; }
.formstatus.is-ok { background: rgba(10,158,140,.1); border: 1px solid rgba(10,158,140,.3); color: var(--teal-700); }
.formstatus.is-info { background: #FFF7ED; border: 1px solid #FBC894; color: #8A3A00; }

/* ---------- Contact panel ---------- */
.contactcard {
  background: var(--ink); color: var(--on-dark); border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 40px);
}
.contactcard h3 { color: #fff; }
.contactline {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line-dark);
  text-decoration: none; color: inherit;
}
.contactline:last-of-type { border-bottom: 0; }
.contactline__ico {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: rgba(111,220,201,.14); color: #6FDCC9; display: grid; place-items: center;
}
.contactline__ico svg { width: 19px; height: 19px; }
.contactline strong { display: block; color: #fff; font-size: 1.02rem; font-weight: 620; margin-bottom: 1px; }
.contactline span { font-size: .85rem; color: var(--on-dark-soft); }
a.contactline:hover strong { color: #6FDCC9; }

/* ---------- Areas ---------- */
.arealist { columns: 3 180px; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.arealist li { break-inside: avoid; margin-bottom: 9px; }
.arealist a { display: flex; gap: 8px; align-items: center; font-size: .93rem; text-decoration: none; color: var(--text); }
.arealist a:hover { color: var(--orange); }
.arealist svg { width: 13px; height: 13px; color: var(--teal); flex: none; }

.suburbchips { display: flex; flex-wrap: wrap; gap: 8px; }
.suburbchips span, .suburbchips a {
  font-size: .82rem; padding: 6px 13px; border-radius: var(--r-pill);
  background: rgba(10,158,140,.09); color: var(--teal-700); font-weight: 550;
  border: 1px solid rgba(10,158,140,.2); text-decoration: none;
}
.suburbchips a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.section--dark .suburbchips span, .section--dark .suburbchips a {
  background: rgba(111,220,201,.12); color: #6FDCC9; border-color: rgba(111,220,201,.24);
}

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--sand); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.3,1); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 13px;
  background: linear-gradient(transparent, rgba(6,25,21,.88));
  color: #fff; font-size: .8rem; font-weight: 540; line-height: 1.35;
}
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: 3/4; height: 100%; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; isolation: isolate; overflow: hidden; background: var(--teal-900); }
.ctaband__media { position: absolute; inset: 0; z-index: -2; }
.ctaband__media img { width: 100%; height: 100%; object-fit: cover; }
.ctaband::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(4,50,44,.95) 0%, rgba(4,50,44,.8) 48%, rgba(4,50,44,.6) 100%);
}
.ctaband__inner { padding-block: clamp(52px, 7vw, 92px); max-width: 720px; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.86); font-size: var(--fs-lead); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-soft); padding-top: clamp(48px, 6vw, 74px); font-size: .9rem; }
.footer__grid {
  display: grid; gap: 34px clamp(24px, 4vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-bottom: 40px;
}
.footer__brand { grid-column: span 2; max-width: 340px; }
@media (max-width: 700px) { .footer__brand { grid-column: 1 / -1; } }
.footer__logo { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; text-decoration: none; }
.footer__logo img { width: 46px; }
.footer__logo strong { font-family: var(--font-display); font-size: 1.08rem; color: #fff; letter-spacing: -.02em; }
.footer h4 { color: #fff; font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 15px; font-weight: 680; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--on-dark-soft); text-decoration: none; }
.footer a:hover { color: #6FDCC9; }
.footer__bottom {
  border-top: 1px solid var(--line-dark); padding: 20px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .8rem; color: var(--text-mute);
}
.footer__bottom a { color: var(--text-mute); }
@media (max-width: 860px) { .footer__bottom { padding-bottom: 86px; } }

/* ---------- Instagram panel (under the homepage gallery, and on /links) ----------
   Lives on a .section--dark band, so the colour rules are written with the
   .section--dark prefix to beat the generic `.section--dark a` link colour. */
.iglink {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 22px);
  padding: 17px clamp(17px, 2.2vw, 26px);
  border: 1px solid var(--line-dark); border-radius: var(--r-md);
  background: rgba(255,255,255,.05);
  text-decoration: none;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), background-color .18s, border-color .18s;
}
.section--dark .iglink { color: var(--on-dark); }
.iglink:hover { transform: translateY(-2px); background: rgba(255,255,255,.085); border-color: rgba(111,220,201,.45); }
.section--dark .iglink:hover { color: var(--on-dark); }
.iglink__badge {
  flex: none; display: grid; place-items: center; width: 50px; height: 50px;
  border-radius: 15px; color: #fff;
  background: radial-gradient(circle at 28% 108%, #FDF497 0%, #FD5949 44%, #D6249F 62%, #285AEB 92%);
  box-shadow: 0 6px 18px rgba(214,36,159,.3);
}
.iglink__badge svg { width: 26px; height: 26px; }
.iglink__t { min-width: 0; }
.section--dark .iglink__t strong {
  display: block; font-family: var(--font-display); font-size: 1.14rem;
  color: #fff; letter-spacing: -.02em; line-height: 1.25;
}
.section--dark .iglink__t small {
  display: block; margin-top: 4px; font-size: .88rem; line-height: 1.45;
  color: var(--on-dark-soft);
}
.iglink__go {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 640; white-space: nowrap;
}
.section--dark .iglink__go { color: #6FDCC9; }
.iglink__go svg { width: 16px; height: 16px; transition: transform .2s; }
.iglink:hover .iglink__go svg { transform: translateX(3px); }
@media (max-width: 620px) {
  .iglink { flex-wrap: wrap; gap: 14px; }
  .iglink__go { margin-left: 62px; }
}

/* ---------- Link hub (the /links page) ---------- */
.hubsec + .hubsec { margin-top: clamp(34px, 4.4vw, 54px); }
.hubsec__h {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(1.2rem, 2vw, 1.42rem); margin-bottom: 16px;
}
.hubsec__h::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }
.section--dark .hubsec__h::after { background: var(--line-dark); }

.linkgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.linkgrid--tight { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.linkrow {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--text);
  transition: transform .18s cubic-bezier(.2,.8,.3,1), border-color .18s, box-shadow .18s;
}
.linkrow:hover {
  transform: translateY(-2px); border-color: rgba(10,158,140,.45);
  box-shadow: var(--shadow-md); color: var(--text);
}
.linkrow__icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; background: rgba(10,158,140,.1); color: var(--teal-700);
}
.linkrow__icon svg { width: 20px; height: 20px; }
.linkrow__t { min-width: 0; }
.linkrow__t strong { display: block; font-size: 1rem; font-weight: 640; letter-spacing: -.012em; }
.linkrow__t small { display: block; margin-top: 2px; font-size: .845rem; line-height: 1.4; color: var(--text-soft); }
.linkrow__arrow {
  margin-left: auto; flex: none; width: 17px; height: 17px;
  color: var(--text-mute); transition: transform .2s, color .2s;
}
.linkrow:hover .linkrow__arrow { transform: translateX(3px); color: var(--orange); }

.linkrow--call { border-color: rgba(234,72,0,.32); }
.linkrow--call .linkrow__icon { background: rgba(234,72,0,.1); color: var(--orange-600); }
.linkrow--call:hover { border-color: var(--orange); }
.linkrow--call:hover .linkrow__arrow { color: var(--orange); }

/* Instagram's own colours, so the row is recognised at a glance */
.linkrow--ig .linkrow__icon {
  color: #fff;
  background: radial-gradient(circle at 28% 108%, #FDF497 0%, #FD5949 44%, #D6249F 62%, #285AEB 92%);
}
.linkrow--ig:hover { border-color: rgba(214,36,159,.45); }
.linkrow--google .linkrow__icon { background: rgba(66,133,244,.12); color: #1A73E8; }

/* Rows that leave the site, for the official ACT and council pages */
.linkrow--out .linkrow__icon { background: rgba(16,32,28,.07); color: var(--text-soft); }
.linkrow--out:hover { border-color: var(--line-strong); }
.linkrow--out:hover .linkrow__arrow { transform: translate(2px, -2px); color: var(--ink); }
.hubsec__note { margin: -4px 0 16px; font-size: .92rem; line-height: 1.5; color: var(--text-soft); max-width: 66ch; }

@media (max-width: 420px) {
  .linkrow { padding: 13px 14px; gap: 12px; }
  .linkrow__t small { display: none; }
}

/* Instagram button in the footer */
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.footer__social a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px 9px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.05);
  font-size: .85rem; font-weight: 600; color: var(--on-dark);
  transition: background-color .18s, border-color .18s, color .18s;
}
.footer__social a:hover { background: rgba(255,255,255,.1); border-color: rgba(111,220,201,.42); color: #fff; }
.footer__social svg { width: 17px; height: 17px; flex: none; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-60 { max-width: 60ch; }
.maxw-52 { max-width: 52ch; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.75rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.75rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }

/* section head */
.shead { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 52px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead p { font-size: var(--fs-lead); color: var(--text-soft); margin-bottom: 0; }
.section--dark .shead p { color: var(--on-dark-soft); }

/* ---------- Reveal on scroll ----------
   Hidden ONLY when JS is confirmed running (html.js is set by an inline script
   in <head>). Without JS — or if site.js fails to load — every .reveal stays
   fully visible. Content must never depend on a script to be readable. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,.8,.3,1); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .btn:hover, .card--link:hover, .scard:hover { transform: none; }
  .scard:hover .scard__img img, .gallery figure:hover img { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .header, .actionbar, .drawer, .ctaband, .footer__grid, .btn { display: none !important; }
  body { background: #fff; padding: 0; }
  .hero::after, .pagehero::after { background: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
