/* ============================================================
   Sidekick Canberra — sitewide styles
   Palette drawn from the Sidekick portfolio & brochure:
   charcoal, olive green, sage, warm cream.
   ============================================================ */

:root {
  --ink: #1c1e17;
  --charcoal: #1e231a;
  --charcoal-2: #293021;
  --olive: #698f3f;
  --olive-dark: #52752f;
  --sage: #a2c377;
  --sage-light: #c9deA6;
  --green-deep: #55792c;
  --sage-soft: #a0ba80;
  --cream: #fbfaf4;
  --cream-2: #f1eee1;
  --paper: #ffffff;
  --grey: #6b6e60;
  --line: #ddd9c8;
  --line-dark: rgba(255, 255, 255, 0.12);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step-hero: clamp(2.6rem, 6.5vw, 4.6rem);
  --step-1: clamp(2rem, 4.5vw, 3.1rem);
  --step-2: clamp(1.45rem, 2.6vw, 1.9rem);
  --step-3: 1.15rem;

  --space: clamp(4.5rem, 9vw, 8rem);
  --radius: 12px;
  --radius-lg: 22px;
  --shadow: 0 18px 45px -18px rgba(24, 24, 21, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--olive-dark); }

::selection { background: var(--sage); color: var(--charcoal); }

/* ---------- page fade transitions ---------- */

body {
  opacity: 0;
  transition: opacity 0.45s ease;
}
body.is-loaded { opacity: 1; }
body.is-leaving { opacity: 0; transition: opacity 0.3s ease; }

/* ---------- shared layout ---------- */

.wrap {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * 0.6); }
.section--dark {
  background: var(--charcoal);
  color: #eceae2;
}
.section--paper { background: var(--paper); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--sage-soft); }
.hero .eyebrow {
  color: #fff;
  background: rgba(20, 23, 15, 0.6);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.heading-xl { font-size: var(--step-hero); }
.heading-lg { font-size: var(--step-1); margin-bottom: 1.4rem; }
.heading-md { font-size: var(--step-2); margin-bottom: 0.8rem; }

.accent { color: var(--green-deep); }
.section--dark .accent, .hero .accent, .cta-band .accent { color: var(--sage-soft); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  max-width: 44rem;
  color: var(--grey);
}
.section--dark .lede { color: #b9b7ad; }

.rule {
  border: 0;
  border-top: 2px solid var(--ink);
  margin: 1.6rem 0 0;
  width: 100%;
}
.rule--green {
  border-top: 3px solid var(--sage);
  width: 64px;
  margin: 1.8rem 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: var(--olive);
  color: #fff;
}
.btn--solid:hover {
  background: var(--olive-dark);
  color: #fff;
  box-shadow: 0 12px 25px -10px rgba(105, 143, 63, 0.6);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--ghost:hover { border-color: var(--sage); color: var(--sage); }

.btn--ink {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ink:hover { background: var(--ink); color: var(--cream); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* ---------- header / nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  background: linear-gradient(rgba(20, 20, 18, 0.75), rgba(20, 20, 18, 0));
}
.site-header.is-solid {
  background: rgba(20, 20, 18, 0.96);
  box-shadow: 0 6px 25px -12px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  transition: padding 0.35s ease;
}
.site-header.is-solid .nav { padding-block: 0.6rem; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
}
.brand img {
  height: 52px;
  width: auto;
  transition: height 0.35s ease;
}
.site-header.is-solid .brand img { height: 42px; }
.brand-name {
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-size: 1.06rem;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.12;
}
.brand-name span {
  display: block;
  font-family: var(--font);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--sage-soft);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--sage);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-links a.is-active { color: #fff; }

.nav-links .nav-cta {
  background: var(--olive);
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--olive-dark); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(20, 20, 18, 0.98);
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
  }
  .nav-links a { font-size: 1.25rem; }
  body.nav-open .nav-links { transform: translateY(0); }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero--short { min-height: 62vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.08);
  animation: hero-drift 14s var(--ease) forwards;
}
@keyframes hero-drift {
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(18, 21, 14, 0.62) 0%, rgba(18, 21, 14, 0.28) 46%, rgba(18, 21, 14, 0) 70%),
    linear-gradient(180deg, rgba(20,20,18,0.38) 0%, rgba(20,20,18,0.1) 40%, rgba(20,20,18,0.82) 100%);
}

.hero-inner {
  padding-block: clamp(6rem, 12vh, 9rem) clamp(3.5rem, 8vh, 6rem);
  max-width: 46rem;
  text-shadow: 0 2px 24px rgba(10, 12, 8, 0.45);
}
.hero .lede { color: rgba(255, 255, 255, 0.85); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
}
.hero-meta b { display: block; font-size: 1.02rem; }
.hero-meta .label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-soft);
  font-weight: 700;
}

.scroll-hint {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 2.2rem;
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.scroll-hint::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--sage);
  animation: hint 2.2s ease-in-out infinite;
}
@keyframes hint {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* ---------- service cards ---------- */

.grid {
  display: grid;
  gap: 1.4rem;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border-left: 4px solid var(--olive);
  padding: 1.7rem 1.7rem 1.6rem;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.12rem; margin-bottom: 0.55rem; }
.card p { color: var(--grey); font-size: 0.95rem; }
.card .card-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-deep);
  display: block;
  margin-bottom: 0.9rem;
}

/* dark variant */
.section--dark .card {
  background: var(--charcoal-2);
  border-left-color: var(--sage);
}
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: #b9b7ad; }

/* ---------- before / after slider ---------- */

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background: var(--charcoal-2);
}
@media (min-width: 720px) {
  .ba-slider { aspect-ratio: 4 / 4.4; }
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
}
.ba-handle::after {
  content: "◂ ▸";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: var(--charcoal);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 0.55rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.ba-tag {
  position: absolute;
  top: 1rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  pointer-events: none;
}
.ba-tag--before { left: 1rem; background: rgba(24, 24, 21, 0.75); }
.ba-tag--after { right: 1rem; background: var(--olive); }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* ---------- job feature rows ---------- */

.job-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.job-row + .job-row { margin-top: calc(var(--space) * 0.9); }
@media (min-width: 901px) {
  .job-row:nth-child(even) .job-media { order: 2; }
}
@media (max-width: 900px) {
  .job-row { grid-template-columns: 1fr; }
}
.job-copy .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 1.3rem;
}
.tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-dark);
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.job-facts {
  margin-top: 1.6rem;
  border-top: 2px solid var(--ink);
  font-size: 0.92rem;
}
.job-facts div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.job-facts dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding-top: 0.15rem;
}
.job-facts dd { font-weight: 600; }

/* ---------- stats strip ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
@media (max-width: 620px) { .stat-strip { grid-template-columns: 1fr; } }
.stat b {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat b em { color: var(--sage-soft); font-style: normal; }
.stat span { color: #b9b7ad; font-size: 0.92rem; }

/* ---------- service area ---------- */

.suburbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}
.suburb {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--olive);
  color: var(--olive-dark);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}
.suburb:hover { background: var(--olive); color: #fff; transform: translateY(-2px); }
.suburb--muted {
  border-color: var(--line);
  color: var(--grey);
}
.section--dark .suburb { border-color: var(--sage); color: var(--sage); }
.section--dark .suburb:hover { background: var(--sage); color: var(--charcoal); }
.section--dark .suburb--muted { border-color: var(--line-dark); color: #8f8d84; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--charcoal);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow);
}
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: var(--step-1); }
.cta-band p { color: #b9b7ad; margin-top: 1rem; }

/* ---------- steps ---------- */

.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 1.8rem 1.6rem 1.6rem 1.8rem;
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 4px solid var(--olive);
  counter-increment: step;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step::before {
  content: "0" counter(step);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cream-2);
  -webkit-text-stroke: 1.5px var(--olive);
  color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.94rem; color: var(--grey); }

/* ---------- quote form ---------- */

.quote-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--olive);
}

.field { margin-bottom: 1.35rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.field label .opt { color: var(--grey); font-weight: 600; letter-spacing: 0.1em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(105, 143, 63, 0.18);
}
.field textarea { min-height: 130px; resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
@media (max-width: 560px) { .check-grid { grid-template-columns: 1fr; } }
.check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.check:hover { border-color: var(--olive); }
.check input {
  accent-color: var(--olive);
  width: 1.05rem; height: 1.05rem;
  flex: none;
}
.check:has(input:checked) {
  border-color: var(--olive);
  background: rgba(105, 143, 63, 0.07);
}

.form-note {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 1rem;
}
.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(105, 143, 63, 0.12);
  border: 1.5px solid var(--olive);
  font-weight: 600;
  font-size: 0.92rem;
}
.form-status.is-visible { display: block; }

/* ---------- contact ---------- */

.contact-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-top: 5px solid var(--olive);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}
.contact-card:hover { transform: translateY(-5px); }
.contact-card .label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: block;
  margin-bottom: 0.4rem;
}
.contact-card b { font-size: 1.3rem; display: block; margin-bottom: 0.2rem; }
.contact-card a.big {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.contact-card a.big:hover { color: var(--olive); }
.contact-card p { color: var(--grey); font-size: 0.92rem; margin-top: 0.6rem; }

/* ---------- gallery strip ---------- */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
@media (max-width: 720px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
.photo-strip img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: saturate(0.95);
  transition: transform 0.4s var(--ease), filter 0.4s ease;
}
.photo-strip img:hover { transform: scale(1.03); filter: saturate(1.1); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: #b9b7ad;
  padding-block: calc(var(--space) * 0.7) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.site-footer a { color: #b9b7ad; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--sage); }
.footer-brand img { height: 84px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.92rem; max-width: 26rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #8f8d84;
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  background: var(--charcoal);
  color: #fff;
  padding: clamp(8rem, 18vh, 11rem) 0 clamp(3rem, 7vh, 4.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 480px; height: 480px;
  background: url("../assets/img/logo.png") center / contain no-repeat;
  opacity: 0.05;
  transform: rotate(-8deg);
  pointer-events: none;
}
.page-hero .lede { color: #b9b7ad; }

/* ---------- reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* photo strips: each photo cascades in on its own */
.photo-strip.reveal img {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
    filter 0.4s ease;
}
.photo-strip.reveal.is-in img { opacity: 1; transform: none; }
.photo-strip.reveal.is-in img:nth-child(1) { transition-delay: 0.05s; }
.photo-strip.reveal.is-in img:nth-child(2) { transition-delay: 0.15s; }
.photo-strip.reveal.is-in img:nth-child(3) { transition-delay: 0.25s; }
.photo-strip.reveal.is-in img:nth-child(4) { transition-delay: 0.35s; }

/* ---------- quick quote widget ---------- */

.quick-quote {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.qq-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--olive);
  color: #fff;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(24, 24, 21, 0.55);
  transition: transform 0.25s var(--ease), background 0.25s ease,
    box-shadow 0.25s var(--ease);
}
.qq-toggle:hover {
  background: var(--olive-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -10px rgba(24, 24, 21, 0.6);
}
.qq-toggle .qq-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sage-light);
  animation: qq-pulse 2s ease-in-out infinite;
}
@keyframes qq-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.55; }
}

.qq-panel {
  width: min(340px, calc(100vw - 2rem));
  background: var(--paper);
  border-radius: var(--radius-lg);
  border-top: 5px solid var(--olive);
  box-shadow: 0 24px 60px -18px rgba(24, 24, 21, 0.5);
  padding: 1.4rem 1.4rem 1.2rem;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.quick-quote.qq-open .qq-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.qq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}
.qq-head b { font-size: 1.08rem; }
.qq-close {
  background: none;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--grey);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
.qq-close:hover { color: var(--ink); }

.qq-panel p {
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 0.9rem;
}
.qq-panel form {
  display: grid;
  gap: 0.6rem;
}
.qq-panel input,
.qq-panel textarea {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.qq-panel input:focus,
.qq-panel textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(105, 143, 63, 0.18);
}
.qq-panel textarea { resize: none; }
.qq-panel .btn { width: 100%; padding: 0.8rem 1rem; }
.qq-alt {
  text-align: center;
  margin: 0.8rem 0 0 !important;
}
.qq-alt a { font-weight: 700; }
.qq-status {
  display: none;
  margin-top: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  background: rgba(105, 143, 63, 0.12);
  border: 1.5px solid var(--olive);
  font-size: 0.82rem;
  font-weight: 600;
}
.qq-status.is-visible { display: block; }

@media (max-width: 560px) {
  .qq-toggle { padding: 0.85rem 1.25rem; font-size: 0.9rem; }
}

/* ---------- sister site (Sidekick Removals) ---------- */

.sister-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
}
.sister-link {
  font-weight: 700;
  color: var(--sage);
  white-space: nowrap;
}
.sister-link:hover { color: #fff; }
.cta-band .sister-link, .section--dark .sister-link { color: var(--sage); }

/* ---------- instagram link ---------- */

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.ig-link svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

/* ---------- service categories (services page) ---------- */

.service-cats { margin-top: 2.6rem; }

.service-list-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.service-cat {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) 2fr;
  gap: 1.4rem 3rem;
  align-items: start;
  padding-block: 2.4rem;
  border-top: 1px solid var(--line);
}
.service-cat:first-child { border-top: none; }

.service-cat-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.service-cat-num {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--olive);
  flex: none;
}
.service-cat-head h2 { margin-bottom: 0; }
.service-cat-sub {
  display: block;
  margin-top: 0.4rem;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--green-deep);
}
.svc-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.svc-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.svc-item:hover { border-color: var(--olive); color: var(--green-deep); }

.service-cat-body p {
  margin-top: 1.1rem;
  color: var(--grey);
  font-size: 0.95rem;
  max-width: 46rem;
}

/* ============================================================
   MOBILE / iOS
   The site is used mostly on phones, so this layer tightens
   spacing, guarantees comfortable tap targets and handles
   iPhone-specific quirks (notch insets, input zoom, vh jump).
   ============================================================ */

/* iOS zooms the page in when a focused input is under 16px.
   Listed specifically so later component rules can't undercut it. */
input, select, textarea, button,
.field input, .field select, .field textarea,
.qq-panel input, .qq-panel textarea,
.check { font-size: 16px; }

/* No grey flash box when tapping */
a, button, input, select, textarea, label, .suburb, .ba-slider {
  -webkit-tap-highlight-color: transparent;
}

/* Stable viewport height — avoids the Safari address-bar jump */
@supports (height: 100svh) {
  .hero { min-height: 92svh; }
  .hero--short { min-height: 62svh; }
}

/* Respect the notch / Dynamic Island / home indicator */
.site-header .nav {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.quick-quote {
  right: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-right));
  bottom: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-bottom));
}
.site-footer { padding-bottom: max(2rem, env(safe-area-inset-bottom)); }

/* Touch devices: no sticky hover states left behind after a tap */
@media (hover: none) {
  .btn:hover,
  .card:hover,
  .step:hover,
  .contact-card:hover,
  .suburb:hover,
  .qq-toggle:hover,
  .nav-links .nav-cta:hover,
  .photo-strip img:hover {
    transform: none;
  }
  .card:hover, .step:hover, .contact-card:hover { box-shadow: none; }
}

@media (max-width: 820px) {
  :root {
    --space: 3.6rem;
    --step-hero: clamp(2.4rem, 11vw, 3.2rem);
    --step-1: clamp(1.85rem, 8vw, 2.4rem);
  }

  body { font-size: 1rem; }
  .wrap { width: min(1140px, 90vw); }

  /* Comfortable 44px+ tap targets throughout */
  .nav-links a { padding-block: 0.6rem; }
  .btn { padding: 1rem 1.6rem; }
  .btn-row .btn { flex: 1 1 100%; text-align: center; }

  /* Full-screen menu clears the notch and scrolls on short screens */
  .nav-links {
    padding-top: max(4rem, env(safe-area-inset-top));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
    overflow-y: auto;
  }

  /* Hero: shorter so the next section peeks, text sized for a phone */
  .hero { min-height: 86vh; }
  @supports (height: 100svh) { .hero { min-height: 86svh; } }
  .hero-inner { padding-block: 7rem 4.5rem; }
  /* Keep the eyebrow pill on a single line */
  .hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    padding: 0.45rem 0.85rem;
  }
  .hero .lede { font-size: 1.02rem; }
  .hero-meta { gap: 1.2rem 2rem; margin-top: 2rem; padding-top: 1.2rem; }
  .hero-meta > div { flex: 1 1 40%; }
  .scroll-hint { display: none; }

  /* Chips stay on one line each, so shrink them to fit a narrow screen */
  .tag { font-size: 0.62rem; letter-spacing: 0.07em; padding: 0.32rem 0.62rem; }
  .svc-item { font-size: 0.8rem; padding: 0.42rem 0.68rem; }

  /* Service categories stack on a phone */
  .service-cats { margin-top: 2rem; }
  .service-cat { grid-template-columns: 1fr; gap: 1rem; padding-block: 1.9rem; }
  .service-cat-num { font-size: 1.8rem; }

  /* Sliders: taller portrait crop suits a phone screen */
  .ba-slider { aspect-ratio: 3 / 4; }
  .ba-handle::after { padding: 0.65rem 0.75rem; font-size: 0.8rem; }
  .job-facts div { grid-template-columns: 1fr; gap: 0.2rem; }

  /* Inner page headers: less dead space above the title */
  .page-hero { padding: 6.5rem 0 2.75rem; }
  .page-hero::after { width: 300px; height: 300px; right: -90px; top: -90px; }

  .cta-band { padding: 2.2rem 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
  /* Clear space so the floating quote button never sits on the last line */
  .site-footer { padding-bottom: max(5rem, calc(env(safe-area-inset-bottom) + 5rem)); }
}

@media (max-width: 560px) {
  .wrap { width: min(1140px, 88vw); }
  .grid { gap: 1rem; }
  .card, .step { padding: 1.4rem 1.3rem; }
  .contact-card { padding: 1.5rem; }

  /* Quote widget behaves like a proper mobile sheet */
  .quick-quote { left: max(1rem, env(safe-area-inset-left)); align-items: stretch; }
  .qq-panel { width: 100%; }
  .qq-toggle { align-self: flex-end; }
  .form-card { padding: 1.4rem 1.2rem; }
}

/* Very narrow phones: let a long chip wrap rather than push the page sideways */
@media (max-width: 360px) {
  .tag, .svc-item { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
