/* Edge Point Roof Plumbing — colours and type taken from the logo */
:root {
  --blue: #005d99;          /* logo background */
  --blue-deep: #06385a;
  --ink: #0d2234;
  --muted: #4a5b6b;
  --paper: #f2f5f8;
  --white: #ffffff;
  --line: #d6dee6;
  --gold: #d4b062;
  --gold-text: #8a5f22;     /* gold that passes contrast on white */
  --gold-grad: linear-gradient(100deg, #8f6226 0%, #f3e79f 45%, #d9be72 70%, #9a6e2c 100%);
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-lg: 28px;
  --radius: 16px;
  --wrap: 1200px;
  /* tile motif from the logo: slanted gold tiles */
  --tiles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='57' height='26' viewBox='0 0 57 26'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%238f6226'/%3E%3Cstop offset='.5' stop-color='%23f3e79f'/%3E%3Cstop offset='1' stop-color='%239a6e2c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M17 0h37L42 26H5z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Placeholders the owner still needs to fill in */
.todo { background: #fff4c7; color: #6b4c00; border-bottom: 2px dashed #c99a1a; padding: 0 4px; border-radius: 3px; font-style: normal; }
.todo-note { margin-top: 14px; font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 6px 20px rgba(212, 176, 98, .35); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 245, 248, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-deep); }
.brand-mark { width: 56px; height: 37px; flex: none; }
.brand-word { display: flex; flex-direction: column; font-family: var(--serif); font-weight: 700; line-height: 1; letter-spacing: .12em; text-transform: uppercase; }
.brand-word span { font-size: 1.15rem; }
.brand-word small { font-size: .62rem; letter-spacing: .2em; margin-top: 4px; color: var(--muted); }

.nav ul { display: flex; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
.nav a { display: block; padding: 8px 15px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { background: var(--paper); }
.nav-toggle { display: none; }

.header-call {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue-deep); color: #fff; text-decoration: none;
  padding: 0 20px 0 8px; min-height: 52px; border-radius: 999px; font-weight: 700; white-space: nowrap;
}
.header-call svg { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--gold-grad); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.header-call:hover { background: var(--ink); }

/* Photo slots: image sits over a branded fallback until a real photo is added */
.photo { position: relative; overflow: hidden; background: var(--blue-deep); }
.photo::before {
  content: ""; position: absolute; inset: 0;
  background: var(--tiles) 0 0 / 57px 26px repeat; opacity: .14;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: .8rem; color: rgba(255,255,255,.75); border: 1px dashed rgba(255,255,255,.45);
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
}

/* Hero */
.hero { padding: 8px 0 0; }
.hero-panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 72px 56px 88px; min-height: 640px; color: #fff; isolation: isolate;
}
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo .ph-label { top: auto; bottom: 48px; left: 56px; transform: none; }
.hero-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(6,56,90,.94) 0%, rgba(0,93,153,.72) 48%, rgba(6,56,90,.35) 100%);
}
.hero-panel::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; z-index: 1;
  background: var(--tiles) 0 0 / 57px 26px repeat-x;
}
.hero-kicker { font-weight: 600; color: #f3e79f; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 13ch; text-wrap: balance; }
.hero-sub { margin-top: 22px; font-size: 1.15rem; max-width: 44ch; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.quote-card {
  background: var(--white); color: var(--ink); border-radius: 22px; padding: 30px 28px 26px;
  box-shadow: 0 24px 60px rgba(6, 30, 50, .35); border-bottom: 5px solid var(--gold);
}
.quote-card h2 { font-size: 1.6rem; }
.form-note { color: var(--muted); font-size: .95rem; margin: 6px 0 18px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fbfcfd;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,93,153,.15); }
.field input[aria-invalid="true"] { border-color: #b42318; }
.quote-card .btn { margin-top: 6px; }
.form-status { font-size: .9rem; margin-top: 10px; min-height: 1.4em; color: var(--muted); }
.form-status.error { color: #b42318; }

/* Section heads */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2, .proof-intro h2, .area-copy h2, .reports-copy h2, .faq h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); text-wrap: balance; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }
.section-head.on-dark p { color: rgba(255,255,255,.78); }

/* Proof / about */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.proof-intro p { margin-top: 16px; color: var(--muted); max-width: 54ch; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column-reverse; }
.stat dt { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.stat dd { margin: 0; font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--blue-deep); }
.stat dd span:not(.todo) { font-size: 1.4rem; margin-left: 4px; }
.stat dd .todo { font-size: 2.4rem; }

/* Services */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--paper); }
.service svg { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--blue); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.service p { margin-top: 8px; color: var(--muted); font-size: .98rem; }
.service a { font-weight: 600; }
.service-any { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.service-any p { color: rgba(255,255,255,.8); }
.service-any svg { background: var(--gold-grad); stroke: var(--ink); }

/* Roof reports */
.reports-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.reports-copy > p { margin-top: 18px; color: var(--muted); max-width: 52ch; }
.ticks { margin: 24px 0 30px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.report-mock { margin: 0; }
.sheet {
  background: var(--white); border-radius: 14px; padding: 28px; transform: rotate(1.5deg);
  box-shadow: 0 2px 0 var(--line), 0 30px 60px rgba(6, 30, 50, .16); border-top: 8px solid var(--blue);
}
.sheet-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sheet-head svg { width: 52px; height: 34px; }
.sheet-head strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.sheet-head span { font-size: .85rem; color: var(--muted); }
.sheet-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; margin: 18px 0; }
.sheet-photos i { height: 84px; border-radius: 8px; background: linear-gradient(135deg, #c9d6e2, #e6edf3); }
.sheet-items { display: grid; gap: 10px; }
.sheet-items li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; font-size: .92rem; padding: 10px 12px; border-radius: 10px; background: var(--paper); }
.sheet-items b { font-size: .78rem; padding: 4px 10px; border-radius: 999px; text-align: center; }
.sheet-items .bad b { background: #fde4e1; color: #9b1c12; }
.sheet-items .warn b { background: #fff1cc; color: #7a5300; }
.sheet-items .good b { background: #dff3e6; color: #17603a; }
.report-mock figcaption { margin-top: 22px; font-size: .88rem; color: var(--muted); }

/* Process (dark band) */
.process { position: relative; background: var(--blue-deep); color: #fff; padding-top: 122px; }
.tile-band { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: var(--tiles) 0 0 / 57px 26px repeat-x; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid rgba(255,255,255,.2); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; margin-bottom: 14px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps p { margin-top: 8px; color: rgba(255,255,255,.78); font-size: .98rem; }

/* Service area */
.area-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.area-copy > p { margin-top: 14px; color: var(--muted); }
.suburbs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-top: 26px; }
.suburbs h3 { font-size: 1rem; color: var(--blue-deep); }
.suburbs p { font-size: .93rem; color: var(--muted); margin-top: 4px; }
.area-note { margin-top: 24px !important; font-weight: 600; color: var(--ink) !important; }
.radius { margin: 0; }
.radius svg { width: 100%; height: auto; }
.radius figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.r-fill { fill: var(--white); }
.r-ocean { fill: #dbe7f1; }
.r-ocean-label { font: italic 10px var(--serif); fill: #5d7c96; text-anchor: middle; }
.r-ring { fill: none; stroke: var(--blue); stroke-opacity: .25; stroke-dasharray: 4 5; }
.r-edge { stroke: var(--blue); stroke-opacity: 1; stroke-dasharray: none; stroke-width: 2; }
.r-km { font: 700 9px var(--sans); fill: var(--blue); text-anchor: middle; }
.r-places circle { fill: var(--blue-deep); }
.r-places text { font: 600 10px var(--sans); fill: var(--ink); }
.r-home { fill: var(--gold); stroke: var(--blue-deep); stroke-width: 2.5; }
.r-home-label { font: 700 12px var(--serif); fill: var(--blue-deep); }

/* Projects */
.projects { background: var(--white); }
.project-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.project { margin: 0; }
.project .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.project-wide .photo { aspect-ratio: auto; height: 100%; min-height: 260px; }
.project-wide { display: grid; grid-template-rows: 1fr auto; }
.project figcaption { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: .95rem; color: var(--muted); align-items: flex-start; }
.project figcaption strong { color: var(--ink); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 190px; }
.review::before { content: "★★★★★"; color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; }
.review .who { font-weight: 700; font-size: .95rem; }

/* FAQ */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); }

/* Contact */
.contact { padding: 96px 0; }
.contact-panel {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: var(--blue); color: #fff; border-radius: var(--radius-lg); padding: 56px;
}
.contact-panel h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); text-wrap: balance; }
.contact-panel > div > p { margin-top: 12px; color: rgba(255,255,255,.85); }
.contact-list { display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-weight: 600; overflow-wrap: anywhere; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { font-weight: 500; color: rgba(255,255,255,.7); }
.contact-list a { color: #fff; }

/* Footer */
.site-footer { position: relative; background: var(--blue); color: #fff; padding-top: 26px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 40px 0; }
.footer-logo { width: 220px; }
.footer-cols { display: flex; gap: 72px; }
.footer-cols h2 { font: 700 1rem var(--sans); color: #f3e79f; margin-bottom: 12px; }
.footer-cols li { margin: 6px 0; color: rgba(255,255,255,.85); }
.footer-cols a { color: rgba(255,255,255,.9); text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.2); padding: 20px 0 28px; font-size: .9rem; color: rgba(255,255,255,.75); }

/* Mobile call bar */
.call-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav ul { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ""; }
  .bars::before { position: absolute; top: -6px; }
  .bars::after { position: absolute; top: 6px; }
  .nav { order: 3; }
  .nav.open ul {
    display: flex; flex-direction: column; position: absolute; left: 16px; right: 16px; top: 80px;
    border-radius: 20px; padding: 10px; box-shadow: 0 20px 40px rgba(6,30,50,.18);
  }
  .nav.open a { padding: 14px 16px; }
  .header-inner { position: relative; }
  .header-call { margin-left: auto; }
  .hero-panel { grid-template-columns: 1fr; padding: 56px 36px 72px; }
  .quote-card { max-width: 560px; }
  .hero-photo .ph-label { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
}

@media (max-width: 860px) {
  section, .contact { padding: 72px 0; }
  .proof-grid, .reports-grid, .area-grid, .faq-grid, .contact-panel { grid-template-columns: 1fr; gap: 40px; }
  .service-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-wide { grid-column: 1 / -1; }
  .radius { max-width: 420px; margin-inline: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .sheet { transform: none; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; padding-bottom: 68px; }
  .header-inner { min-height: 72px; }
  .header-call { display: none; }
  .brand-mark { width: 46px; height: 30px; }
  .brand-word span { font-size: 1rem; }
  .nav.open ul { top: 70px; }
  .hero { padding-top: 0; }
  .hero .wrap { width: 100%; }
  .hero-panel { border-radius: 0; padding: 44px 16px 64px; min-height: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .quote-card { padding: 24px 18px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 18px; }
  .stat dd { font-size: 2.5rem; }
  .service-grid, .review-grid, .project-grid, .suburbs, .steps { grid-template-columns: 1fr; }
  .sheet { padding: 18px; }
  .sheet-items li { grid-template-columns: 1fr; gap: 6px; }
  .sheet-items b { justify-self: start; }
  .contact-panel { padding: 36px 20px; border-radius: 20px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-logo { width: 180px; }
  .call-bar {
    display: flex; align-items: center; justify-content: center; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    min-height: 54px; border-radius: 999px; background: var(--gold-grad); color: var(--ink); font-weight: 800; text-decoration: none;
    box-shadow: 0 10px 30px rgba(6,30,50,.3);
  }
}

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

/* ---------- Before & after ---------- */
.nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.ba-teaser { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.ba-teaser .section-head { margin-bottom: 0; }
.ba-teaser .btn { margin-top: 26px; }
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--blue-deep); }
.page-hero p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.ba-gallery { padding-top: 24px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.ba-job { margin: 0; }
.ba-job figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 14px; color: var(--muted); font-size: .95rem; }
.ba-job figcaption strong { color: var(--ink); font-size: 1.05rem; }

.compare { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; user-select: none; touch-action: pan-y; }
.compare .photo { position: absolute; inset: 0; }
.cmp-before { background: #4f5f6c; }
.cmp-after { clip-path: inset(0 0 0 var(--pos)); }
.cmp-before .ph-label { left: 25%; }
.cmp-after .ph-label { left: 75%; }
.cmp-tag {
  position: absolute; top: 14px; z-index: 3; padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; pointer-events: none;
}
.cmp-tag-before { left: 14px; background: rgba(13, 34, 52, .78); color: #fff; }
.cmp-tag-after { right: 14px; background: var(--gold-grad); color: var(--ink); }
.cmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; z-index: 3;
  background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.3);
}
.cmp-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306385a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.cmp-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.cmp-range:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 860px) {
  .ba-teaser { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .ba-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 24px; }
}
.compare-tall { aspect-ratio: 3 / 4; }
.ba-grid:has(.compare-tall) { grid-template-columns: repeat(3, 1fr); }
.ba-feature { max-width: 460px; justify-self: end; width: 100%; }
@media (max-width: 960px) { .ba-grid:has(.compare-tall) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .ba-feature { justify-self: start; } }
@media (max-width: 600px) { .ba-grid:has(.compare-tall) { grid-template-columns: 1fr; } }
/* clip-path makes the after layer its own stacking context, so stack the layers explicitly */
.compare .cmp-before { z-index: 0; }
.compare .cmp-after { z-index: 1; }
.compare-tall { aspect-ratio: 4 / 5; }
.ba-suburb { color: var(--blue); font-weight: 600; font-size: .9rem; }

/* After-only gallery */
.work-gallery { background: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-grid figure { margin: 0; }
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--paper); }
.work-grid figcaption { margin-top: 10px; font-size: .93rem; color: var(--muted); }
@media (max-width: 860px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

/* About: team photos */
.proof-grid { align-items: start; }
.team-photos { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 520px; }
.team-photos figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.team-photos img { width: 100%; height: 100%; object-fit: cover; }
.team-photos .tp-main { grid-row: 1 / 3; }
.team-photos .tp-main img { object-position: center 70%; }
.team-photos figure:last-child img { object-position: center 60%; }
.stats-row { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.hero-photo img { object-position: center 72%; }
@media (max-width: 860px) {
  .team-photos { height: 440px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team-photos { height: 380px; gap: 8px; }
}
.team-photos .tp-main img { object-position: center 40%; }
.team-photos figure:last-child img { object-position: center 55%; }
.process-head { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: end; margin-bottom: 44px; }
.process-head .section-head { margin-bottom: 0; }
.process-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 3px solid var(--gold); }
.process-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
@media (max-width: 860px) { .process-head { grid-template-columns: 1fr; gap: 28px; } .process-photo { max-width: 420px; } }

/* Videos */
.videos { padding-top: 24px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); gap: 24px; }
.video-card { margin: 0; }
.video-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--blue-deep); }
.video-card figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; color: var(--muted); font-size: .95rem; }
.video-card figcaption strong { color: var(--ink); font-size: 1.05rem; }
.ba-teaser { grid-template-columns: .7fr 1.3fr; }
.ba-feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.ba-feature-row .ba-feature { max-width: none; justify-self: stretch; }
.ba-feature-row .video-card video { aspect-ratio: 4 / 5; }
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-card video { max-height: 80vh; }
  .ba-feature-row { grid-template-columns: 1fr; }
  .ba-feature-row .video-card video { aspect-ratio: 9 / 16; }
}
/* show the whole 9:16 clip (no cropping the edited text); column widths keep both the same height */
.ba-feature-row { grid-template-columns: 1fr .7fr; }
.ba-feature-row .video-card video { aspect-ratio: 9 / 16; }

/* Google rating */
.stars { color: #f3c94b; letter-spacing: 2px; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 18px 10px 14px;
  border-radius: 999px; background: rgba(6, 30, 50, .45); color: #fff; text-decoration: none; font-size: .95rem;
  border: 1px solid rgba(255,255,255,.18);
}
.hero-rating strong { font-size: 1.2rem; }
.hero-rating:hover { background: rgba(6, 30, 50, .65); }
.stat-star { color: #e0b43c; font-size: 2rem !important; }

.reviews-grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.rating-card { background: var(--blue-deep); color: #fff; border-radius: var(--radius-lg); padding: 36px 32px; position: sticky; top: 110px; }
.rating-card h2 { font-size: 2rem; }
.rating-big { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; }
.rating-big strong { font-family: var(--serif); font-size: 4rem; line-height: 1; }
.rating-big .stars { font-size: 1.5rem; }
.rating-note { color: rgba(255,255,255,.82); margin-bottom: 26px; }
.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review { min-height: 0; }
.review-text { font-size: 1rem; line-height: 1.65; }
@media (max-width: 960px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-card { position: static; }
}
@media (max-width: 600px) {
  .review-list { grid-template-columns: 1fr; }
  .hero-rating { font-size: .88rem; }
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-mark { width: 120px; height: 79px; }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-word span { font-size: 1.5rem; }
.footer-brand .brand-word small { color: rgba(255,255,255,.75); font-size: .72rem; }
.reviews-grid { grid-template-columns: 380px 1fr; }
.rating-card h2 { font-size: 1.85rem; }
@media (max-width: 960px) { .reviews-grid { grid-template-columns: 1fr; } }

/* Responsive overrides for rules added above (must stay last) */
@media (max-width: 860px) {
  .ba-teaser { grid-template-columns: 1fr; }
  .process-head { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ba-feature-row { grid-template-columns: 1fr; }
  .ba-feature-row .video-card { max-width: 340px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .team-photos { grid-template-columns: 1.2fr 1fr; }
}

/* Real reviews */
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.review blockquote { margin: 0; }
.review-text { color: var(--ink); }
.review .who { display: flex; flex-direction: column; gap: 2px; font-size: .92rem; }
.review .who strong { font-weight: 700; }
.review .who span { color: var(--muted); font-weight: 400; }
.review-feature { grid-column: 1 / -1; background: var(--white); border-left: 5px solid var(--gold); }
.review-feature .review-text { font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; }
@media (max-width: 600px) { .review-feature .review-text { font-size: 1.12rem; } }
.review { justify-content: flex-start; gap: 14px; }
.review .who { margin-top: auto; padding-top: 6px; }
.review .who .review-place { color: var(--blue); font-weight: 600; }
.qual { margin-top: 18px !important; padding: 14px 16px; border-left: 4px solid var(--gold); background: var(--white); border-radius: 0 10px 10px 0; color: var(--ink) !important; }
.owner-quote { margin: 22px 0 0; padding: 0; }
.owner-quote p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.55; color: var(--blue-deep) !important; margin: 0 !important; }
.owner-quote footer { margin-top: 10px; font-weight: 700; font-size: .92rem; color: var(--gold-text); }

/* Real report pages */
.easy-read { margin-top: 16px !important; padding: 16px 18px; background: var(--white); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; color: var(--ink) !important; }
.report-pages { margin: 0; }
.report-stack { position: relative; aspect-ratio: 1 / 1.08; }
.report-stack img { position: absolute; width: 72%; border-radius: 6px; box-shadow: 0 2px 0 var(--line), 0 24px 50px rgba(6, 30, 50, .18); background: #fff; }
.rp-back { right: 0; top: 0; transform: rotate(3deg); }
.rp-front { left: 0; top: 6%; transform: rotate(-1.5deg); }
.report-pages figcaption { margin-top: 18px; font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .report-stack { max-width: 520px; } }

/* Emergency call-outs */
.emergency { padding: 20px 0 0; }
.emergency-bar {
  display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: var(--radius);
  background: #fff4e5; border: 1.5px solid #f0b75e; color: var(--ink); text-decoration: none; font-size: 1.02rem;
}
.emergency-bar:hover { background: #ffecd1; }
.emergency-bar svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: #c2410c; fill: #fff; }
.emergency-bar strong { color: #9a3412; }
.service-urgent svg { background: #c2410c; }
@media (max-width: 600px) { .emergency-bar { align-items: flex-start; font-size: .95rem; padding: 14px 16px; } .emergency { padding-top: 16px; } }

/* Quote form: photo / video upload */
.field-label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.optional { font-weight: 400; }
.upload {
  display: flex; align-items: center; gap: 12px; position: relative; cursor: pointer;
  border: 1.5px dashed #9fb4c6; border-radius: 10px; padding: 12px; background: #f6f9fc;
  transition: border-color .15s ease, background-color .15s ease;
}
.upload:hover { border-color: var(--blue); background: #eef4fa; }
.upload:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.upload svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--blue); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.upload-text { display: flex; flex-direction: column; gap: 2px; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.upload-text strong { color: var(--ink); font-size: .95rem; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.upload-list:empty { display: none; }
.upload-list li { font-size: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-hint { font-size: .8rem; color: var(--muted); margin-top: 4px !important; }

/* ---------- Multi-page additions ---------- */
/* Contact page: form beside contact details */
.contact-page { padding-top: 16px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.contact-page .quote-card { box-shadow: 0 2px 0 var(--line), 0 24px 50px rgba(6, 30, 50, .12); }
.contact-card { background: var(--blue-deep); color: #fff; border-radius: 22px; padding: 32px 28px; }
.contact-card h2 { font-size: 1.6rem; }
.contact-card > p { margin: 10px 0 18px; color: rgba(255,255,255,.85); }
.contact-card a { color: #fff; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Clearer menu button on tablets and phones: icon plus the word "Menu" */
@media (max-width: 1080px) {
  .nav-toggle { width: auto; gap: 10px; padding: 0 18px 0 16px; border-radius: 999px; font: 700 .95rem var(--sans); color: var(--ink); }
  .nav-toggle[aria-expanded="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
  .nav-toggle[aria-expanded="true"] .bars,
  .nav-toggle[aria-expanded="true"] .bars::before,
  .nav-toggle[aria-expanded="true"] .bars::after { background: #fff; }
  .nav.open a[aria-current="page"] { background: var(--blue); color: #fff; }
}

/* Services page: roof ventilation feature */
.ventilation { background: var(--paper); }
.vent-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.vent-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; }
.vent-photo img { width: 100%; height: 100%; object-fit: cover; }
.vent-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); text-wrap: balance; }
.vent-copy > p { margin-top: 16px; color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .vent-grid { grid-template-columns: 1fr; gap: 32px; } .vent-photo { max-width: 420px; } }
.summer { background: #fff7ea; }
.summer-tag { display: inline-block; margin: 0 0 12px !important; padding: 5px 14px; border-radius: 999px; background: #c2410c; color: #fff !important; font-weight: 700; font-size: .9rem; }
.summer .vent-photo { border: 4px solid var(--gold); }
.video-text { display: flex; align-items: center; gap: 10px; margin-top: 4px !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.video-text svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; }
.video-text a { font-weight: 700; color: var(--blue); }
.field input[aria-invalid="true"] { border-color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.sent { color: #17603a; font-weight: 600; }
