/* Find My Roofer site styles (final identity, 27 Oct 2026: brand/final/)
   Tokens: Ridge Charcoal #24282B, White #FFFFFF, Hi-Vis #FFC629 (roof and buttons, never text on white),
   Gum Green #2E6B4F (pin, links, accent words), Gum Green Light #7FBF98 (on charcoal only), Slate #5C6670,
   Line #E3E3E3. Surface #F5F6F4 is a neutral for boxes, not a brand colour. Type: Gabarito 800 + Public Sans.
   Signature device: the roofline, a street of houses with exactly one Hi-Vis roof. */

@font-face { font-family: 'Gabarito'; src: url(/assets/fonts/Gabarito-var-latin.woff2) format('woff2');
  font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url(/assets/fonts/PublicSans-var-latin.woff2) format('woff2');
  font-weight: 100 900; font-display: swap; }

:root {
  --ink: #24282B; --paper: #FFFFFF; --paper-2: #F5F6F4; --surface: #F5F6F4; --hivis: #FFC629; --hivis-tint: #FFF0C2;
  --green: #2E6B4F; --green-light: #7FBF98; --green-tint: #EAF2ED;
  --slate: #5C6670; --line: #E3E3E3; --white: #FFFFFF;
  --display: 'Gabarito', 'Arial Black', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px; --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .64, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem;
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1;
  letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.6rem); line-height: .98; }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.55rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.12; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.slate { color: var(--slate); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 36em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--hivis); padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--hivis); border-radius: 2px; }
.preview-flag { background: var(--ink); color: var(--paper); font-size: .82rem; text-align: center; padding: 7px var(--gut); }
.preview-flag b { color: var(--hivis); font-weight: 700; }

/* the small label: a gable, then sentence-case words (no all-caps micro labels) */
.mark-label { display: inline-flex; align-items: center; gap: .5em; font-family: var(--display);
  font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.on-dark .mark-label { color: var(--paper); }

/* ---------- buttons: the roof lifts on hover ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--display);
  font-weight: 800; font-size: 1.05rem; line-height: 1; padding: .95em 1.35em; min-height: 52px;
  border-radius: 4px; border: 2px solid var(--ink); background: var(--hivis); color: var(--ink); text-decoration: none;
  cursor: pointer; box-shadow: 0 4px 0 var(--ink); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.btn .roof { width: 20px; height: 20px; transition: transform .28s var(--spring); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:hover .roof { transform: translateY(-3px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.quiet { background: transparent; box-shadow: none; }
.btn.quiet:hover { background: var(--white); }
.btn.dark { background: var(--ink); color: var(--paper); box-shadow: 0 4px 0 #0b0c0d; }
.btn.block { width: 100%; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 60; }  /* above the sticky bar (50), so the open phone menu covers it */
.site-head > .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.site-head .logo { flex: none; }
.site-head .logo, .mn-head .logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-head .logo img { height: 44px; width: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.head-phone { display: none; }
.foot-phone { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; font-weight: 700; font-size: 1.1rem; text-decoration: none; }  /* doesn't fit beside six dropdowns: the phone menu, sticky call bar and footer carry it */
.site-head > .wrap > .btn { min-height: 46px; padding: .8em 1.1em; font-size: .98rem; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: 4px;
  width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); flex: none; }

/* dropdown menu (built by _build/menu.py, opened by hover or the chevron; site.js adds click, Escape, outside-click) */
.mainnav { margin-left: auto; align-self: stretch; }
.mainnav > ul { display: flex; gap: 22px; height: 100%; margin: 0; padding: 0; list-style: none; }
.dd { display: flex; align-items: center; gap: 2px; }
.dd-top { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 0; position: relative; white-space: nowrap; }
.dd-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.dd:hover:not(.shut) .dd-top::after, .dd.open .dd-top::after, .dd-top:focus-visible::after { transform: scaleX(1); }
.dd-btn { display: inline-grid; place-items: center; width: 26px; height: 40px; padding: 0; border: 0; background: none;
  color: var(--ink); cursor: pointer; border-radius: 4px; }
.dd-btn .chev { transition: transform .2s var(--ease); }
.dd.open .dd-btn .chev, .dd:hover:not(.shut) .dd-btn .chev { transform: rotate(180deg); }
.dd-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line);
  border-bottom: 2px solid var(--ink); box-shadow: 0 22px 30px -22px rgba(36, 40, 43, .45);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s; }
.dd:hover:not(.shut) .dd-panel, .dd.open .dd-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.dd-in { display: flex; gap: 40px; padding-top: 28px; padding-bottom: 18px; }
.dd-groups { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 32px; }
.dd-groups.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dd-groups.n2 { grid-template-columns: repeat(2, minmax(0, 300px)); }
.dd-groups.n1 { grid-template-columns: minmax(0, 300px); }
.dd-h { font-size: .82rem; margin: 0 0 8px; }
.dd-h-blank { visibility: hidden; }
.dd-g ul { list-style: none; margin: 0; padding: 0; }
.dd-g a { display: block; padding: 6px 0; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.dd-g a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.dd-note { display: block; font-weight: 400; font-size: .82rem; color: var(--slate); margin-top: 1px; }
.dd-side { width: 280px; flex: none; align-self: start; background: var(--surface); border-radius: 10px; padding: 20px; }
.dd-side p { margin: 0 0 14px; font-size: .95rem; }
.dd-foot { padding-top: 12px; padding-bottom: 16px; }
.dd-foot a { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--green); }
.dd-foot a .ic { width: 1.1em; height: 1.1em; }

/* phone and tablet menu: full screen, one accordion per section */
.mobile-nav { display: none; }
.mobile-nav.open { display: block; position: fixed; inset: 0; z-index: 100; background: var(--white); overflow-y: auto;
  overscroll-behavior: contain; padding-bottom: 40px; }
html.menu-open, html.menu-open body { overflow: hidden; }
.mn-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 66px; padding: 0 var(--gut); background: var(--white); border-bottom: 1px solid var(--line); }
.mn-head .logo img { height: 32px; width: auto; }
.mn-close { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border: 2px solid var(--ink); border-radius: 4px;
  background: none; color: var(--ink); cursor: pointer; }
.mn-top { display: grid; gap: 10px; padding: 16px var(--gut) 18px; }
.mn-call { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1.5px solid var(--ink);
  border-radius: 4px; font-weight: 700; text-decoration: none; }
.mn-sec { border-top: 1px solid var(--line); }
.mn-sec summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px;
  padding: 0 var(--gut); font-family: var(--display); font-weight: 800; font-size: 1.15rem; cursor: pointer; }
.mn-sec summary::-webkit-details-marker { display: none; }
.mn-sec .chev { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.mn-sec[open] summary .chev { transform: rotate(180deg); }
.mn-body { padding: 0 var(--gut) 18px; }
.mn-h { font-size: .8rem; font-weight: 700; color: var(--slate); margin: 14px 0 2px; }
.mn-body ul { list-style: none; margin: 0; padding: 0; }
.mn-body a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 4px 0; text-decoration: none;
  font-weight: 600; color: var(--ink); }
.mn-all { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; margin-top: 8px; font-weight: 700; color: var(--green);
  text-decoration: none; }
.mn-link { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 var(--gut);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 84px) 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero h1 .second { display: block; color: var(--green); }
.hero .lede { margin: 26px 0 26px; }
.promises { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.promises li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.promises li .ic { width: 22px; height: 22px; padding: 3px; background: var(--hivis); border-radius: 50%; stroke-width: 3; margin-top: 2px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-cta .small { font-size: .9rem; color: var(--slate); }

/* the quote card */
.qcard { background: var(--white); border: 2px solid var(--ink); border-radius: 8px; padding: 26px 24px 24px;
  box-shadow: 10px 10px 0 var(--ink); position: relative; }
.qcard h2 { font-size: 1.55rem; margin-bottom: 6px; }
.qcard .sub { font-size: .92rem; color: var(--slate); margin-bottom: 18px; }
.progress { display: flex; gap: 6px; align-items: flex-end; margin-bottom: 16px; }
.progress span { width: 30px; height: 15px; background: var(--line);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 84% 100%, 50% 36%, 16% 100%); transition: background .3s var(--ease); }
.progress span.done { background: var(--hivis); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.progress span.now { background: var(--ink); }
.progress em { font-style: normal; font-size: .82rem; color: var(--slate); margin-left: 8px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0 0 16px; }
.opts legend { font-family: var(--display); font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt label { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 12px; border: 1.5px solid var(--line);
  border-radius: 6px; font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; background: var(--paper);
  transition: border-color .15s, background .15s, transform .15s var(--ease); }
.opt label .ic { width: 26px; height: 26px; }
.opt input:hover + label { border-color: var(--ink); }
.opt input:checked + label { border-color: var(--ink); background: var(--hivis-tint); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select { font: inherit; font-size: 1.05rem; padding: 13px 14px; border: 1.5px solid var(--ink); border-radius: 6px;
  background: var(--white); min-height: 52px; width: 100%; color: var(--ink); }
.field input:focus { outline: none; box-shadow: 0 0 0 4px var(--hivis); }
.field .hint { font-size: .85rem; color: var(--slate); }
.fineprint { font-size: .82rem; color: var(--slate); margin: 12px 0 0; line-height: 1.45; }

/* roofline strips */
.roofline { display: block; width: 100%; height: 118px; }
.hero .roofline { margin-top: clamp(40px, 6vw, 70px); }
.divider .roofline { height: 70px; }
.rl-tag text { letter-spacing: .01em; }

/* ---------- how it works: split ---------- */
.how { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 100px); }
.how-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.how h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.how h2 .soft { color: var(--green); display: block; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 1.5px solid var(--ink); }
.steps li:last-child { border-bottom: 1.5px solid var(--ink); }
.steps .rm { width: 56px; height: 30px; margin-top: 4px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: #3a3f43; }

/* ---------- promise band (dark, full bleed) ---------- */
.band-dark { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 112px) 0; }
.band-dark h2 { max-width: 15em; }
.band-dark .lede { color: #d9dbdc; margin-top: 22px; }
.commit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 54px; border-top: 1px solid #4a5055; }
.commit div { padding: 26px 28px 6px 0; }
.commit div + div { padding-left: 28px; border-left: 1px solid #4a5055; }
.commit h3 { color: var(--paper); margin-bottom: 10px; display: flex; gap: 12px; align-items: baseline; }
.commit p { color: #cfd2d4; font-size: 1rem; }

/* ---------- services: sticky title + list ---------- */
.svc { padding: clamp(64px, 9vw, 120px) 0; }
.svc-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.svc-side { position: sticky; top: 24px; }
.svc-side h2 { margin-bottom: 18px; }
.svc-side figure { margin: 28px 0 0; position: relative; }
.svc-side figure img { border-radius: 6px; border: 2px solid var(--ink); }
.svc-side figcaption, .caption { font-size: .82rem; color: var(--slate); margin-top: 8px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { border-top: 1.5px solid var(--ink); }
.svc-list li:last-child { border-bottom: 1.5px solid var(--ink); }
.svc-list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 22px 4px; text-decoration: none; align-items: center; }
.svc-list h3 { font-size: clamp(1.3rem, 2.2vw, 1.85rem); transition: transform .25s var(--ease); }
.svc-list p { grid-column: 1; margin: 0; color: var(--slate); font-size: .98rem; }
.svc-list .go { grid-row: 1 / span 2; grid-column: 2; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink);
  display: grid; place-items: center; transition: background .2s, transform .25s var(--spring); }
.svc-list a:hover h3 { transform: translateX(6px); }
.svc-list a:hover .go { background: var(--hivis); transform: rotate(-45deg); }
.svc-list .tag { font-family: var(--body); font-size: .78rem; font-weight: 700; background: var(--hivis-tint); border: 1px solid #e6c766;
  padding: 2px 8px; border-radius: 99px; margin-left: 10px; vertical-align: middle; white-space: nowrap; }

/* ---------- price panel ---------- */
.price { padding: 0 0 clamp(64px, 9vw, 120px); }
.price-card { background: var(--paper-2); border-radius: 10px; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden;
  border: 1.5px solid var(--line); }
.price-card .left { padding: clamp(28px, 4vw, 56px); }
.price-card .right { background: var(--white); padding: clamp(28px, 4vw, 56px); border-left: 1.5px solid var(--line); }
.bignum { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: .95; letter-spacing: -.02em; margin: 18px 0 8px; }
.bignum small { display: block; font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--slate); margin-top: 10px; }
.rates { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 1rem; }
.rates th { text-align: left; font-weight: 600; color: var(--slate); font-size: .88rem; padding: 0 0 8px; border-bottom: 1.5px solid var(--ink); }
.rates td { padding: 13px 0; border-bottom: 1px solid var(--line); }
.rates td:last-child, .rates th:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.source { font-size: .82rem; color: var(--slate); }

/* ---------- licence check ---------- */
.lic { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.lic-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pcard { background: var(--white); border: 2px solid var(--ink); border-radius: 10px; padding: 26px; position: relative; transform: rotate(-1.2deg);
  box-shadow: 0 18px 40px -22px rgba(36, 40, 43, .45); max-width: 470px; }
.pcard .stamp { position: absolute; top: -14px; right: 18px; background: var(--ink); color: var(--paper); font-size: .78rem; font-weight: 700;
  padding: 5px 10px; border-radius: 4px; transform: rotate(2deg); }
.pcard .who { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.pcard .avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; border: 1.5px solid var(--line); }
.pcard .avatar svg { width: 30px; height: 30px; }
.pcard .name { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.15; }
.pcard .area { font-size: .9rem; color: var(--slate); }
.pcard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0; }
.pcard dt, .pcard dd { padding: 11px 0; border-top: 1px solid var(--line); margin: 0; font-size: .95rem; }
.pcard dt { color: var(--slate); padding-right: 16px; font-size: .9rem; }
.pcard dd { text-align: right; font-weight: 700; display: flex; justify-content: flex-end; gap: 6px; align-items: center; white-space: nowrap; font-size: .92rem; }
.pcard dd .ic { width: 18px; height: 18px; padding: 2px; background: var(--hivis); border-radius: 50%; stroke-width: 3; }
.regs { list-style: none; padding: 0; margin: 24px 0 0; }
.regs li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.regs li:last-child { border-bottom: 1px solid var(--line); }
.regs b { font-family: var(--display); }

/* ---------- guides: one big, two small ---------- */
.guides { padding: clamp(64px, 9vw, 120px) 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guides-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.guides-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.g-big { display: grid; grid-template-rows: auto 1fr; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--paper); }
.g-big img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-bottom: 2px solid var(--ink); }
.g-big .body, .g-small { padding: 24px 26px; }
.g-small { border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); display: flex; flex-direction: column; }
.g-side { display: grid; gap: 24px; }
.g-big h3, .g-small h3 { margin-bottom: 10px; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.g-big p, .g-small p { color: #3a3f43; font-size: .98rem; }
.soon { margin-top: auto; font-size: .9rem; font-weight: 700; color: var(--green); display: inline-flex; gap: 6px; align-items: center; }
.suburbs a { color: var(--ink); text-decoration: none; } .suburbs a:hover { color: var(--green); text-decoration: underline; }

/* ---------- city ---------- */
.city { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.city figure { margin: 0; position: relative; overflow: hidden; background: var(--ink); }
.city figure img { width: 100%; height: 100%; object-fit: cover; }
.city figure .rl { position: absolute; left: 0; right: 0; bottom: 0; }
.city figcaption { position: absolute; left: 16px; bottom: 12px; color: var(--paper); font-size: .78rem; background: rgba(36, 40, 43, .7); padding: 4px 8px; border-radius: 3px; }
.city .text { padding: clamp(40px, 6vw, 88px) var(--gut); max-width: 640px; }
.suburbs { columns: 2; column-gap: 24px; list-style: none; padding: 0; margin: 22px 0 26px; }
.suburbs li { padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; position: relative; font-weight: 600; }
.next { font-size: .95rem; color: var(--slate); }
.waitlist { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.waitlist input { font: inherit; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 6px; min-height: 50px; width: 150px; }

/* ---------- roofer band (Hi-Vis) ---------- */
.band-hivis { background: var(--hivis); padding: clamp(56px, 8vw, 96px) 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.band-hivis .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.band-hivis h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
.band-hivis p { max-width: 34em; margin-top: 18px; }
.band-hivis .btn { background: var(--ink); color: var(--paper); box-shadow: 0 4px 0 #000; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 9vw, 120px) 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--display);
  font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 22px; height: 13px; margin-top: -7px; background: var(--ink);
  clip-path: polygon(0 0, 50% 100%, 100% 0, 82% 0, 50% 66%, 18% 0); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); background: var(--ink); }
.faq details > div { padding: 0 0 22px; max-width: 40em; color: #3a3f43; }
.disclosure { background: var(--paper-2); border-radius: 8px; padding: 18px 20px; margin-top: 26px; font-size: .95rem; }
.disclosure b { font-family: var(--display); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding: 28px 0 40px; }
.site-foot .roofline { height: 90px; margin-bottom: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid img { height: 38px; width: auto; margin-bottom: 18px; }
.foot-grid h4 { font-size: 1rem; margin-bottom: 12px; color: var(--paper); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { text-decoration: none; color: #d9dbdc; font-size: .95rem; }
.foot-grid a:hover { color: var(--hivis); }
.foot-small { margin-top: 44px; padding-top: 22px; border-top: 1px solid #4a5055; font-size: .85rem; color: #bfc3c6; display: grid; gap: 8px; }

/* ---------- sticky mobile bar ---------- */
.sticky { display: none; }

/* ---------- quote flow page ---------- */
.flow { padding: clamp(28px, 5vw, 64px) 0 80px; }
.flow-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.flow .qcard { box-shadow: 10px 10px 0 var(--ink); }
.qh { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 14px; }
.step { display: none; }
.step.on { display: block; animation: stepin .32s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-nav { display: flex; gap: 12px; margin-top: 8px; align-items: center; }
.back { background: none; border: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 12px 4px; color: var(--ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; line-height: 1.45; margin: 6px 0 16px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.aside-card { border: 1.5px solid var(--line); border-radius: 10px; padding: 24px; background: var(--white); }
.aside-card h3 { margin-bottom: 12px; }
.aside-card ol { padding-left: 1.2em; margin: 0; }
.aside-card li { margin-bottom: 10px; }
.err { color: #9b1c1c; font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.ferr { display: block; color: #9b1c1c; font-size: .88rem; font-weight: 600; }
.field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 6px; resize: vertical; min-height: 84px; }
.field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--hivis); }
.field .optional { font-weight: 400; color: var(--slate); }
.consent-info { font-size: .82rem; color: var(--slate); line-height: 1.45; margin: 4px 0 10px; }
.field.captcha { margin-top: 14px; min-height: 78px; }
@media (max-width: 370px) { .captcha .g-recaptcha { transform: scale(.88); transform-origin: 0 0; height: 69px; } .field.captcha { min-height: 69px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }  /* honeypot: people never see it */

/* ---------- thank you ---------- */
.thanks { padding: clamp(48px, 8vw, 110px) 0 0; }
.thanks h1 { max-width: 12em; }
.thanks ol { padding-left: 1.2em; max-width: 36em; font-size: 1.1rem; }
.thanks li { margin-bottom: 12px; }

/* =====================================================================================
   CONTENT PAGES (generated by _build/pages.py)
   ===================================================================================== */
a { color: var(--green); }
.site-head a, .site-foot a, .btn, .card, .chips a, .crumbs a, .svc-list a, .sticky a, .mobile-nav a { color: inherit; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.tbc { background: repeating-linear-gradient(-45deg, #FFF0C2 0 6px, #FFE48A 6px 12px); outline: 1px dashed #9a7400;
  padding: 0 .3em; border-radius: 3px; font-weight: 700; color: var(--ink); }
.tbc::before { content: 'Placeholder: '; font-weight: 600; }

/* breadcrumbs */
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .88rem; color: var(--slate); }
.crumbs li + li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 10px 1px 8px; }
.crumbs a { text-decoration: none; color: var(--slate); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* page hero */
.phero { padding: clamp(24px, 4vw, 48px) 0 0; border-bottom: 1px solid var(--line); }
.phero-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.phero.reading .phero-grid { grid-template-columns: 1fr; }
.phero.reading .phero-grid > div { max-width: 920px; }
.phero.reading .phero-grid.has-art { grid-template-columns: 1.35fr .65fr; max-width: none; align-items: center; }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.phero h1 .second { display: block; color: var(--green); margin-top: .12em; }
.phero .lede { margin: 22px 0 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; }
.phero-street { margin-top: clamp(28px, 4vw, 48px); }
.phero-street .roofline { height: 96px; }
.phero.reading .phero-street .roofline { height: 70px; }
.phero-art img { width: 100%; max-width: 380px; margin-left: auto; }
.qmini { background: var(--white); border: 2px solid var(--ink); border-radius: 8px; padding: 22px 22px 18px; box-shadow: 8px 8px 0 var(--ink); }
.qmini h2 { font-size: 1.35rem; margin-bottom: 6px; }
.qmini .sub { font-size: .92rem; color: var(--slate); margin: 0 0 14px; }
/* conversion pieces on job pages (pages.py: quote_mini, trust_strip, postcode_cta; proof.snippet) */
.qcol { display: grid; gap: 18px; min-width: 0; }
.qsteps { margin: 6px 0 16px; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 6px; }
.qsteps li { counter-increment: q; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .92rem; line-height: 1.4; }
.qsteps li::before { content: counter(q); width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--white);
  font-family: var(--display); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.qticks { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.qticks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-size: .85rem; line-height: 1.4; }
.qticks .ic { width: 18px; height: 18px; color: var(--green); margin-top: 1px; }
.qcall { margin: 12px 0 0; font-size: .9rem; }
.qcall a { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--ink); }
.qcall a .ic { width: 1.1em; height: 1.1em; }
.rv-mini { padding: 16px 16px 12px; }
.rv-mini blockquote p { font-size: .93rem; }
.rv-mini figcaption { font-size: .88rem; }
.rv-mini figcaption a { color: var(--green); font-weight: 700; }
.trust-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; padding-top: 16px; padding-bottom: 16px; margin-top: 0; margin-bottom: 0; }
.trust-strip li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.trust-strip .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--hivis); color: var(--ink); }
.cta-inline, .cta-final-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 28px; align-items: center;
  border: 2px solid var(--ink); border-radius: 10px; padding: 22px 24px; background: var(--white); }
.cta-inline { margin: 6px 0 clamp(32px, 4vw, 44px); box-shadow: 6px 6px 0 var(--hivis); }
.cta-inline h2, .cta-final-in h2 { font-size: 1.35rem; margin: 0 0 6px; }
.pcta-text p { margin: 0; color: var(--slate); font-size: .95rem; }
.pcta-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.pcta-row { display: flex; gap: 10px; }
.pcta-row input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 6px; min-height: 50px; }
.pcta-row .btn { white-space: nowrap; }
.pcta-fine { margin: 8px 0 0; font-size: .82rem; color: var(--slate); }
.pcta-form .err:empty { display: none; }
.cta-final { padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); background: var(--surface); }
.cta-final-in { box-shadow: 8px 8px 0 var(--ink); }

/* reading column + side rail */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); padding-top: clamp(32px, 5vw, 60px);
  padding-bottom: clamp(40px, 6vw, 80px); align-items: start; }
.prose { max-width: 720px; min-width: 0; overflow-wrap: break-word; }
.prose a, .sources a, .card-b, .loc p { overflow-wrap: anywhere; }
.tbl { max-width: 100%; }
.prose > .meta { font-size: .88rem; color: var(--slate); margin-bottom: 28px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.1; margin: 0 0 14px; scroll-margin-top: 20px; }
.prose h3 { font-size: 1.12rem; line-height: 1.25; margin: 0 0 6px; }
.prose p { margin: 0 0 1em; }
.prose .b { margin: 0 0 clamp(36px, 5vw, 52px); }
.doc-side { position: sticky; top: 24px; display: grid; gap: 20px; }
.toc h2 { font-size: 1rem; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink); font-size: .93rem; line-height: 1.3; }
.toc a:hover { color: var(--green); }
.side-cta { border: 2px solid var(--ink); border-radius: 8px; padding: 18px; background: var(--white); }
.side-cta p { font-size: .95rem; margin-bottom: 14px; }
.hub-intro { padding-top: clamp(32px, 5vw, 56px); padding-bottom: 8px; }
.doc { padding-bottom: clamp(16px, 3vw, 32px); }
.prose > :last-child { margin-bottom: 0; }
[class*="t-"] .faq { padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.hub-intro .prose { max-width: 820px; }

/* blocks */
.b-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.b-steps li { counter-increment: st; display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; padding: 18px 0; border-top: 1.5px solid var(--ink); }
.b-steps li:last-child { border-bottom: 1.5px solid var(--ink); }
.b-steps li::before { content: counter(st); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1;
  width: 44px; height: 44px; display: grid; place-items: center; background: var(--hivis); border: 2px solid var(--ink); border-radius: 50%; font-size: 1.25rem; }
.b-steps li p { margin: 0; }
.b-check ul, .b-flags ul, .b-ask ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-check li, .b-flags li, .b-ask li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.b-check .ic { width: 24px; height: 24px; padding: 3px; background: var(--hivis); border-radius: 50%; margin-top: 1px; color: var(--ink); }
.b-flags .ic { width: 24px; height: 24px; padding: 4px; background: var(--ink); color: var(--white); border-radius: 50%; margin-top: 1px; }
.b-ask .ic { width: 24px; height: 24px; padding: 2px; border: 2px solid var(--green); color: var(--green); border-radius: 50%; margin-top: 1px; }
.b-warn { border: 2px solid var(--ink); border-radius: 8px; padding: 18px 20px 6px; background: #FFF6D6; }
.warn-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.warn-head .ic { width: 28px; height: 28px; flex: none; }
.b-warn h2 { font-size: 1.25rem; margin: 0; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.b-costs .rates { min-width: 420px; }
.b-compare table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .97rem; }
.b-compare th, .b-compare td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.b-compare thead th { font-family: var(--display); font-weight: 800; border-bottom: 1.5px solid var(--ink); font-size: 1.02rem; }
.b-compare tbody th { font-weight: 700; color: var(--slate); width: 26%; }
.diy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.diy-grid > div { border-radius: 8px; padding: 18px 20px 8px; }
.diy-you { background: var(--green-tint); }
.diy-pro { background: var(--surface); border: 1px solid var(--line); }
.diy-grid h3 { margin-bottom: 10px; }
.diy-grid ul { margin: 0 0 10px; padding-left: 1.1em; }
.diy-grid li { margin-bottom: 8px; }
.b-advice { display: grid; grid-template-columns: 64px 1fr; gap: 18px; border: 2px solid var(--ink); border-radius: 10px; padding: 22px 24px 10px;
  background: var(--white); box-shadow: 6px 6px 0 var(--hivis); }
.adv-mark svg { width: 60px; height: 34px; }
.b-advice h2 { font-size: 1.4rem; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.loc { padding: 16px 0 6px; border-top: 1.5px solid var(--ink); }
.loc h3 { display: flex; gap: 10px; align-items: baseline; }
.loc p { font-size: .98rem; }

/* get matched band */
.cta-band { margin: 0 0 clamp(36px, 5vw, 52px); background: var(--ink); color: var(--white); border-radius: 10px; overflow: hidden; }
.cta-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; padding: 26px 28px; }
.cta-band h2 { color: var(--white); font-size: 1.45rem; margin: 0 0 8px; }
.cta-band p { color: #d9dbdc; margin: 0; font-size: .98rem; }

/* cards and chips */
.cards-sec, .chips-sec { padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.cards-sec h2, .chips-sec h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 20px 20px 18px; border: 1.5px solid var(--line);
  border-radius: 10px; text-decoration: none; background: var(--white); transition: border-color .18s, transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.card-ic .ic { width: 30px; height: 30px; color: var(--green); }
.card-t { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.card-b { font-size: .93rem; color: var(--slate); line-height: 1.45; }
.card-subs { font-size: .82rem; color: var(--green); font-weight: 600; }
.card-go { justify-self: end; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center;
  transition: background .2s, transform .25s var(--spring); }
.card-go .ic { width: 18px; height: 18px; }
.card:hover .card-go { background: var(--hivis); transform: rotate(-45deg); }
.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.chips a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; text-decoration: none;
  font-weight: 600; transition: border-color .15s, background .15s; }
.chips a .ic { width: 20px; height: 20px; color: var(--green); }
.chips a:hover { border-color: var(--ink); background: var(--surface); }
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 32px; }
.state-col h3 { font-size: 1.25rem; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); }
.state-col h3 a { color: var(--ink); text-decoration: none; }
.state-col ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.state-col li { padding: 4px 0; break-inside: avoid; font-size: .95rem; }

/* sources */
.sources { padding: 36px 0 56px; border-top: 1px solid var(--line); background: var(--surface); }
.sources h2 { font-size: 1.15rem; margin-bottom: 12px; }
.sources ul { margin: 0 0 14px; padding-left: 1.1em; font-size: .9rem; color: var(--slate); }
.sources li { margin-bottom: 6px; }
.sources li span { font-weight: 700; color: var(--ink); }
.small { font-size: .88rem; color: var(--slate); }

/* colour pages */
.colour-panel { border: 1.5px solid var(--line); border-radius: 10px; padding: 16px; background: var(--white); }
.swatch { height: 170px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .12); margin-bottom: 10px; }
.swatch.none { display: grid; place-items: center; text-align: center; padding: 18px; font-size: .92rem; color: var(--slate);
  background: repeating-linear-gradient(135deg, var(--surface) 0 10px, #eceeeb 10px 20px); }
.sa { margin-top: 14px; }
.sa-bar { height: 12px; border-radius: 12px; background: linear-gradient(90deg, #f7f7f5, #24282B); position: relative; border: 1px solid var(--line); }
.sa-bar i { position: absolute; top: -6px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--hivis); border: 2px solid var(--ink); }
.sa-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--slate); margin-top: 6px; }

/* tools */
.tool { border: 2px solid var(--ink); border-radius: 10px; padding: clamp(18px, 3vw, 28px); background: var(--white); box-shadow: 8px 8px 0 var(--hivis); }
.tool h3 { font-size: 1.2rem; margin-bottom: 12px; }
.tool .row { display: grid; gap: 6px; margin-bottom: 16px; }
.tool label { font-weight: 700; }
.tool select, .tool input[type="number"], .tool input[type="search"], .tool input[type="text"] { font: inherit; padding: 12px 14px; border: 1.5px solid var(--ink);
  border-radius: 6px; min-height: 50px; width: 100%; background: var(--white); color: var(--ink); }
.tool .choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.tool .choices label { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 6px; padding: 12px; font-weight: 600; cursor: pointer; }
.tool .choices input:checked + span { text-decoration: underline; text-decoration-color: var(--hivis); text-decoration-thickness: 4px; }
.tool .result { margin-top: 18px; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.tool .result .big { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; }
.tool .result p { margin: 8px 0 0; }
.tool .q { margin-bottom: 18px; }
.tool .q p { font-weight: 700; margin-bottom: 8px; }
.tool .sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.tool .sw-grid button { font: inherit; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px; background: var(--white); cursor: pointer; text-align: left; }
.tool .sw-grid button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tool .sw-grid i { display: block; height: 44px; border-radius: 4px; margin-bottom: 6px; border: 1px solid rgba(0,0,0,.12); }
.tool .house-preview svg { width: 100%; max-width: 520px; height: auto; display: block; margin: 8px auto 0; }
.search-results { list-style: none; padding: 0; margin: 16px 0 0; }
.search-results li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.search-results a { font-weight: 700; font-size: 1.05rem; }
.search-results p { margin: 2px 0 0; font-size: .93rem; color: var(--slate); }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .mainnav > ul { gap: 16px; }
}
@media (max-width: 1180px) {
  .mainnav { display: none; }
  .menu-btn { display: inline-flex; margin-left: 0; }
  .site-head > .wrap > .btn { margin-left: auto; }
}
@media (max-width: 1020px) {
  .hero-grid, .how-grid, .svc-grid, .lic-grid, .faq-grid, .flow-grid { grid-template-columns: 1fr; }
  .svc-side { position: static; }
  .svc-side figure { display: none; }
  .commit { grid-template-columns: 1fr; }
  .commit div + div { padding-left: 0; border-left: 0; border-top: 1px solid #4a5055; }
  .price-card { grid-template-columns: 1fr; }
  .price-card .right { border-left: 0; border-top: 1.5px solid var(--line); }
  .guides-grid { grid-template-columns: 1fr; }
  .city { grid-template-columns: 1fr; }
  .city figure { height: 340px; }
  .band-hivis .wrap { grid-template-columns: 1fr; align-items: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .pcard { transform: none; }
  .phero-grid, .phero.reading .phero-grid.has-art { grid-template-columns: minmax(0, 1fr); }
  .phero.job .ph-text, .phero.job .qcol { display: contents; }
  .phero.job .phero-grid { gap: 0; }
  .phero.job .lede { order: 3; margin-top: 26px; }
  .phero.job .qmini { order: 1; margin-top: 22px; }
  .phero.job .rv-mini { order: 2; margin-top: 16px; }
  .trust-strip ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cta-inline, .cta-final-in { grid-template-columns: minmax(0, 1fr); }
  .phero-art { display: none; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc-side { position: static; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 72px; }
  input:not([type=radio]):not([type=checkbox]):not([type=range]), select, textarea { font-size: max(1em, 16px); }  /* iOS zooms under 16px */
  .site-head > .wrap { height: 66px; gap: 16px; }
  .site-head .logo img { height: 32px; }
  .site-head > .wrap > .btn { display: none; }
  .menu-btn { margin-left: auto; }
  .qcard { box-shadow: 6px 6px 0 var(--ink); padding: 22px 16px 18px; }
  .opts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .opt label { min-height: 56px; font-size: .9rem; padding: 8px 10px; gap: 8px; }
  .roofline { height: 84px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .steps .rm { width: 44px; }
  .suburbs { columns: 1; }
  .regs li { grid-template-columns: 1fr; gap: 2px; }
  .guides-head { flex-direction: column; align-items: start; }
  .foot-grid { grid-template-columns: 1fr; }
  .qmini { box-shadow: 6px 6px 0 var(--ink); padding: 20px 16px 16px; }
  .qmini { display: flex; flex-direction: column; }  /* postcode and button first, so they're on the first screen */
  .qmini h2 { order: 0; } .qmini .field { order: 1; } .qmini .btn { order: 2; } .qmini .err { order: 3; }
  .qmini .qsteps { order: 4; margin: 16px 0 0; } .qmini .qticks { order: 5; } .qmini .qcall { order: 6; }
  .pcta-row { flex-direction: column; }
  .cta-inline, .cta-final-in { padding: 18px 16px; }
  .diy-grid, .loc-grid { grid-template-columns: 1fr; }
  .cta-in { grid-template-columns: 1fr; padding: 22px 20px; }
  .b-advice { grid-template-columns: 1fr; gap: 6px; padding: 18px 18px 6px; }
  .phero-street .roofline { height: 70px; }
  .state-col ul { columns: 1; }
  .sticky { display: grid; grid-template-columns: 7fr 3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    border-top: 2px solid var(--ink); background: var(--ink); gap: 2px; }
  .sticky a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-family: var(--display);
    font-weight: 800; text-decoration: none; }
  .sticky .q { background: var(--hivis); color: var(--ink); }
  .sticky .c { background: var(--paper); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* social proof: reviews of network roofers and their job photos (built by _build/proof.py) */
.proof-sec { padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--line); background: var(--surface); }
.proof-head { max-width: 760px; margin-bottom: 26px; }
.proof-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 10px 0 12px; }
.proof-note { color: var(--slate); font-size: .95rem; margin: 0; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.rv-grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.rv { margin: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 20px 20px 16px; min-width: 0; }
.rv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars svg { width: 18px; height: 18px; }
.rv-job { font-size: .8rem; font-weight: 700; padding: 3px 9px; border: 1.5px solid var(--ink); border-radius: 999px; }
.rv blockquote { margin: 0 0 12px; }
.rv blockquote p { margin: 0; font-size: 1rem; line-height: 1.55; overflow-wrap: break-word; }
.rv .redact { color: var(--slate); font-weight: 600; }
.rv figcaption { font-size: .95rem; }
.rv-who { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--slate); line-height: 1.45; }
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 22px; }
.jobs.all { margin-top: 8px; }
.job { margin: 0; min-width: 0; }
.job img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); background: var(--paper-2); }
.job figcaption { font-size: .82rem; color: var(--slate); margin-top: 8px; line-height: 1.4; }
.proof-more { margin: 22px 0 0; font-size: .95rem; font-weight: 600; }
.rv-roofer { margin: 0 0 30px; }
.rv-roofer h3 { margin-bottom: 4px; }
.rv-roofer .small { margin: 0 0 14px; color: var(--slate); font-size: .9rem; }
.roofer-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 8px 0 18px; }
.roofer-card { border: 1.5px solid var(--line); border-radius: 10px; padding: 18px; background: var(--white); min-width: 0; }
.roofer-card h3 { font-size: 1.1rem; margin: 10px 0 8px; line-height: 1.25; }
.roofer-card p { margin: 0; font-size: .9rem; color: var(--slate); }
.prose .rv-grid, .prose .jobs, .prose .roofer-cards { max-width: none; }
.city figure.job img { border: 0; border-radius: 0; aspect-ratio: auto; }
.city figure.job figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 16px; background: var(--ink); color: #E6E7E8; }
.guides .soon { display: inline-flex; align-items: center; min-height: 44px; }
.prose .cta-inline { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.prose .cta-inline h2, .cta-final-in h2 { font-size: 1.35rem; margin: 0 0 6px; }

/* slide-in quiz on job pages (pages.py quiz_pop, site.js): never covers content until the visitor opens it */
.quiz-pop { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 340px; max-width: calc(100% - 32px); background: var(--white);
  border: 2px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 var(--ink); padding: 14px 16px 16px;
  transform: translateY(16px); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.quiz-pop.in { transform: none; opacity: 1; }
.quiz-pop[hidden] { display: none; }
.qp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qp-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.qp-close { flex: none; width: 44px; height: 44px; margin: -8px -10px -8px 0; display: grid; place-items: center; border: 0; background: none;
  color: var(--ink); cursor: pointer; border-radius: 6px; }
.qp-intro p { margin: 6px 0 12px; font-size: .92rem; color: var(--slate); }
.qp-intro .btn { width: 100%; }
.qp-step { border: 0; margin: 10px 0 0; padding: 0; min-width: 0; }
.qp-step legend, .qp-step > label { font-weight: 700; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.qp-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qp-opt { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: .88rem; font-weight: 600; cursor: pointer; line-height: 1.2; }
.qp-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qp-opt .ic { width: 22px; height: 22px; flex: none; color: var(--green); }
.qp-opt:has(input:checked) { border-color: var(--ink); background: var(--hivis-tint); }
.qp-opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.qp-next { margin-top: 10px; min-height: 44px; display: inline-flex; align-items: center; gap: .4em; border: 0; background: none;
  font: inherit; font-weight: 700; color: var(--green); cursor: pointer; padding: 0; }
.qp-next .ic { width: 1.1em; height: 1.1em; }
.qp-step input[name="postcode"] { width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 6px; min-height: 50px; margin-bottom: 10px; }
.qp-step .err:empty { display: none; }
.qp-fine { margin: 10px 0 0; font-size: .78rem; color: var(--slate); }
@media (max-width: 640px) {
  .quiz-pop { left: 16px; right: 16px; width: auto; max-width: none; bottom: 76px; box-shadow: 4px 4px 0 var(--ink); padding: 10px 12px 12px; }
  .quiz-pop:not(.open) .qp-intro { display: flex; align-items: center; gap: 10px; }
  .quiz-pop:not(.open) .qp-intro p { display: none; }
  .quiz-pop:not(.open)::before { content: 'Not sure what your roof needs?'; display: block; font-family: var(--display); font-weight: 800; font-size: .95rem; margin: 0 0 8px; padding-right: 40px; }
  .quiz-pop:not(.open) .qp-head { display: flex; position: absolute; top: 4px; right: 4px; }
  .quiz-pop:not(.open) .qp-head .qp-title { display: none; }
  .quiz-pop.open { max-height: calc(100dvh - 160px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { .quiz-pop { transform: none; transition: none; } }

/* call-back banner (_src/partials/banner.html). A promise: build.py --production refuses it until content/_claims.json confirms it */
.callback-banner { background: var(--green); color: var(--white); text-align: center; font-size: .9rem; font-weight: 600; padding: 8px var(--gut); line-height: 1.35; }
.callback-banner b { font-weight: 800; }
.callback-banner span { opacity: .9; font-weight: 500; }
@media (max-width: 640px) { .callback-banner { font-size: .82rem; padding: 7px 12px; } .callback-banner span { display: none; } }

/* enquiry only, no call options (Cameron, 28 Oct): the sticky bar is one full-width button */
.sticky.one { grid-template-columns: 1fr; }
