/* ────────────────────────────────────────────────────────────────────
   The Pet Hair Guy — design system
   Mobile-first. Self-hosted variable fonts. No framework.
   ──────────────────────────────────────────────────────────────────── */

/* @font-face declarations are inlined in index.html <head> so the browser
   fetches fonts in parallel with this stylesheet, removing a render-blocking
   step. */

:root {
  --c-bg:     #EDE6D6;   /* Putty */
  --c-bg-2:   #FAF7F0;   /* Cream */
  --c-ink:    #10243C;
  --c-text:   #171717;   /* Char */
  --c-accent: #F2C12E;   /* Hi-Vis */
  --c-rust:   #B5572D;
  --c-line:   rgba(16,36,60,0.10);

  --f-head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --pad-x: clamp(20px, 4vw, 64px);
  --gap:   clamp(24px, 4vw, 48px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;

  --track-tight:   -0.035em;
  --track-tight-2: -0.03em;
  --track-mono:     0.18em;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

::selection { background: var(--c-accent); color: var(--c-ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── focus ─── */
:focus-visible {
  outline: 3px solid var(--c-ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-color: var(--c-accent); outline-offset: 4px; }

/* ─── skip link ─── */
.skip {
  position: absolute;
  left: 12px; top: 12px;
  background: var(--c-ink); color: var(--c-bg);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .15s;
  z-index: 100;
}
.skip:focus { transform: none; }

/* ─── headings ─── */
h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: var(--track-tight);
  line-height: 0.95;
  margin: 0;
}
h2 { font-size: clamp(36px, 5.5vw, 64px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: var(--track-tight-2); }

p { margin: 0; }

/* ─── mono labels ─── */
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
}
.mono--muted { opacity: 0.55; }
.mono--accent { color: var(--c-accent); }

/* ─── highlight (the "missed." treatment) ─── */
.hl {
  background: var(--c-accent);
  padding: 0 0.18em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ─── chip ─── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-ink);
  color: var(--c-bg);
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.chip__dot {
  width: 7px; height: 7px;
  background: var(--c-accent);
  border-radius: 999px;
}

/* ─── wordmark ─── */
.mark--inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-head);
  font-weight: 800;
  letter-spacing: var(--track-tight-2);
  font-size: 18px;
  line-height: 1;
  color: var(--c-ink);
}
.mark--inline .mark__dot {
  width: 0.42em; height: 0.42em;
  background: var(--c-accent);
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}
.mark--inverse { color: var(--c-bg); }

/* ─── buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: -0.01em;
  min-height: 48px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--big { padding: 16px 24px; min-height: 56px; }
.btn--block { display: flex; width: 100%; }

.btn--ink   { background: var(--c-ink);    color: var(--c-bg); }
.btn--accent{ background: var(--c-accent); color: var(--c-ink); }
.btn--cream { background: var(--c-bg-2);   color: var(--c-ink); border: 1px solid var(--c-line); }

.btn__label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.65;
}
.btn__num {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 18px;
}

/* ─── header / nav ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad-x);
  position: sticky;
  top: 0;
  background: var(--c-bg);
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, background .15s;
}
.nav.is-scrolled { border-bottom-color: var(--c-line); background: rgba(237,230,214,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__brand { text-decoration: none; flex: 0 0 auto; }
.nav__links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 500;
  font-size: 15px;
}
.nav__links a:hover { color: var(--c-rust); }
.nav__cta { padding: 8px 16px; min-height: 48px; }
.nav__cta .btn__num { font-size: 15px; }
.nav__cta .btn__label { font-size: 9px; }

@media (min-width: 880px) {
  .nav__links { display: flex; }
}

/* ─── hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  padding: clamp(24px, 4vw, 48px) var(--pad-x) clamp(48px, 7vw, 80px);
  align-items: center;
}
.hero__title {
  font-size: clamp(48px, 11vw, 96px);
  line-height: 0.9;
  margin-top: 16px;
}
.hero__lede {
  margin-top: 20px;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
  max-width: 480px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  opacity: 0.85;
}
.hero__meta li { display: inline-flex; align-items: center; }
.hero__meta li + li::before { content: "·"; opacity: 0.5; margin-right: 18px; }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #000;
  border-radius: var(--r-lg);
  overflow: hidden;
  /* On mobile, show video AFTER the headline + CTAs so the buttons are above the fold.
     On desktop the grid puts text + media side-by-side and order is irrelevant. */
}
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero__live {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--c-ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

@media (min-width: 880px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 580px; }
}

/* ─── how / steps ─── */
.how {
  background: var(--c-ink);
  color: var(--c-bg);
  padding: clamp(48px, 7vw, 80px) var(--pad-x);
}
.how__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.how__head h2 { color: var(--c-bg); }
.how__accent { color: var(--c-accent); }
.how__lede {
  max-width: 720px;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
  opacity: 0.88;
  margin-bottom: 36px;
}
.how__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .how__steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.how__steps li {
  border-top: 2px solid var(--c-accent);
  padding-top: 18px;
}
.how__num {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.9;
  letter-spacing: var(--track-tight);
  color: var(--c-accent);
  display: block;
}
.how__steps h3 { color: var(--c-bg); margin-top: 12px; }
.how__steps p { font-size: 15px; line-height: 1.5; opacity: 0.85; margin-top: 8px; }

.how__points {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .how__points { grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 36px; border-top: 1px solid rgba(237,230,214,0.15); }
}
.how__points li {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.92;
  padding-left: 18px;
  position: relative;
}
.how__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--c-accent);
  border-radius: 999px;
}

/* ─── proof ─── */
.proof {
  padding: clamp(48px, 7vw, 80px) var(--pad-x);
}
.proof__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 700px) {
  .proof__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.proof__card {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-bg-2);
}
.proof__card img { width: 100%; height: 100%; object-fit: cover; }
.proof__card figcaption { position: absolute; top: 14px; left: 14px; }
.proof__tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-ink);
}
.proof__tag--before { background: var(--c-bg); }
.proof__tag--after  { background: var(--c-accent); }
.proof__caption {
  margin-top: 24px;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
  color: var(--c-ink);
  max-width: 720px;
}

/* ─── pricing ─── */
.pricing {
  background: var(--c-accent);
  color: var(--c-ink);
  padding: clamp(48px, 7vw, 80px) var(--pad-x);
}
.pricing__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.pricing__lede {
  margin: 16px 0 24px;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
  max-width: 640px;
}
.pricing__banner {
  margin: 0 0 28px;
  padding: 12px 16px;
  background: var(--c-ink);
  color: var(--c-bg);
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
}
.rate-num {
  background: var(--c-ink);
  color: var(--c-accent);
  padding: 0 0.18em;
  border-radius: 6px;
  white-space: nowrap;
}

/* ─── pricing tiers (hourly-derived, "from $X" framing) ─── */
.price-tiers {
  background: var(--c-ink);
  color: var(--c-bg);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.price-tier {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid rgba(237,230,214,0.12);
}
.price-tier:first-child { border-top: 0; }
.price-tier__copy { display: flex; flex-direction: column; gap: 4px; }
.price-tier__name {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(15px, 1.9vw, 19px);
  letter-spacing: var(--track-tight-2);
}
.price-tier__time { margin: 0; }
.price-tier__nums {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--f-head);
  white-space: nowrap;
}
.price-tier__from {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}
.price-tier__strike {
  text-decoration: line-through;
  opacity: 0.5;
  font-weight: 700;
  font-size: 18px;
}
.price-tier__now {
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 30px);
  letter-spacing: var(--track-tight-2);
  color: var(--c-accent);
}
@media (max-width: 480px) {
  .price-tier { grid-template-columns: 1fr; }
  .price-tier__nums { justify-content: flex-start; }
}

/* ─── booking hints (replaces the OPTION 04 form placeholder) ─── */
.book__hints {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  max-width: 520px;
}
.book__hints li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-ink);
}
.book__hints .mono { line-height: 1; padding-top: 2px; }

/* ─── footer ABN ─── */
.foot__abn {
  margin: 8px 0 0 !important;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.55;
}
.pricing__note {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.8;
}

/* add-ons accordion */
.addons {
  margin-top: 28px;
  background: var(--c-bg-2);
  border-radius: var(--r-md);
  overflow: hidden;
}
.addons summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: var(--track-tight-2);
  color: var(--c-ink);
}
.addons summary::-webkit-details-marker { display: none; }
.addons__chev { font-size: 22px; transition: transform .18s; }
.addons[open] .addons__chev { transform: rotate(45deg); }
.addons__grid {
  padding: 0 20px 4px;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .addons__grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
.addons__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed var(--c-line);
  font-size: 15px;
  color: var(--c-ink);
}
.addons__row span:last-child { font-weight: 600; white-space: nowrap; }
.addons__repeat {
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--c-line);
  background: rgba(16,36,60,0.04);
  font-size: 14px;
  color: var(--c-ink);
}

.pricing__guarantee {
  margin-top: 28px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: var(--track-tight-2);
  max-width: 600px;
}

/* ─── FAQ ─── */
.faq {
  padding: clamp(48px, 7vw, 80px) var(--pad-x);
}
.faq__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 880px;
}
.faq__list details {
  background: var(--c-bg-2);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  overflow: hidden;
}
.faq__list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 19px);
  letter-spacing: var(--track-tight-2);
  color: var(--c-ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list .chev {
  width: 12px; height: 12px;
  border-right: 2px solid var(--c-ink);
  border-bottom: 2px solid var(--c-ink);
  transform: rotate(45deg);
  transition: transform .18s;
  flex-shrink: 0;
}
.faq__list details[open] .chev { transform: rotate(-135deg); }
.faq__list details p {
  padding: 0 22px 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text);
}

/* ─── booking ─── */
.book {
  background: var(--c-bg-2);
  padding: clamp(48px, 7vw, 80px) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: start;
}
@media (min-width: 880px) {
  .book { grid-template-columns: 1fr 1fr; }
}
.book__copy h2 { margin-top: 12px; max-width: 520px; }
.book__copy p { margin-top: 18px; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.55; max-width: 520px; }
.book__panel {
  background: var(--c-bg);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.book__option { display: flex; flex-direction: column; gap: 8px; }

/* ─── footer ─── */
.foot {
  background: var(--c-ink);
  color: var(--c-bg);
  padding: clamp(40px, 5vw, 56px) var(--pad-x) 32px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 760px) {
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.foot__grid p { font-size: 14px; line-height: 1.55; opacity: 0.7; max-width: 320px; margin-top: 14px; }
.foot__suburbs, .foot__contact {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
}
.foot__contact a { color: var(--c-bg); text-decoration: none; }
.foot__contact a:hover { color: var(--c-accent); }
.foot__legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(237,230,214,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.55;
}

/* ─── sticky mobile CTA ─── */
/* Hi-Vis yellow + dark text guarantees readable contrast against every section
   bg the page goes through (Putty, Ink, Hi-Vis, Cream). A navy CTA disappeared
   on the dark "How it works" + footer sections in a previous draft. */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  text-align: center;
  background: var(--c-accent);
  color: var(--c-ink);
  padding: 16px;
  border-radius: var(--r-md);
  border: 2px solid var(--c-ink);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(16,36,60,0.35);
  transform: translateY(140%);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (max-width: 879px) {
  .sticky-cta { display: block; }
  /* Reserve space at the bottom of the page so the last row of any section
     can scroll above the sticky CTA without being obscured by it. */
  body { padding-bottom: 88px; }
}

/* ─── print ─── */
@media print {
  .nav, .sticky-cta, .hero__media, video { display: none; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
