/* ==========================================================================
   Site stylesheet. Tokens (colours, radius, fonts) are defined in
   app/views/partials/critical.css (:root, inlined in <head>); use them, never new
   hex values. Breakpoints (ngn.au set; later blocks win), in this order at the
   bottom: >= 1100 · <= 900 (mobile nav) / >= 901 · 720 · 480 · 420 · 389 ·
   prefers-reduced-motion · hover · print. Do not invent new breakpoints.
   No scroll-reveal starting at opacity: 0; no content-visibility by default.
   ========================================================================== */

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--nav-h) + 1rem); }
body { font-size: 1.0625rem; }
a { color: var(--brand); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); margin: .25em 0 .35em; }
h2, .h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); margin: 0 0 .6em; text-transform: uppercase; }
h3, .h3 { font-size: 1.15rem; margin: 0 0 .4em; font-family: var(--font-display); font-stretch: 125%; font-weight: 650; line-height: 1.2; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.narrow { max-width: 46rem; }
.container.narrow { max-width: calc(46rem + 4rem); }
.skip-link:focus { top: 1rem; z-index: 100; background: var(--white); padding: .5rem 1rem; border-radius: var(--radius); }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; margin: 0; font-family: var(--font-display); font-stretch: 125%; font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 2.2em; height: 2px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .stats .eyebrow { color: var(--sand); }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .75rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  font: 650 .92rem/1.2 var(--font-display); font-stretch: 125%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 55%); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.1rem; }
.btn-block { display: flex; width: 100%; white-space: normal; text-align: center; } /* long labels wrap at 390 to 430 px */
.btn[aria-busy="true"] { opacity: .8; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Header + navigation ---------- */
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { font-family: var(--font-display); font-stretch: 125%; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sand); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-toggle { align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle svg.icon { width: 28px; height: 28px; }

/* ---------- Hero (home) ---------- */
.hero-content { padding-block: 7rem 2.25rem; }
.hero-lead, .hero .eyebrow, .hero h1 { text-shadow: 0 1px 14px rgb(0 0 0 / 40%); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--white); }
.page-hero h1, .page-hero-lead, .page-hero .eyebrow, .page-hero .breadcrumbs { text-shadow: 0 1px 14px rgb(0 0 0 / 45%); }
.page-hero .eyebrow::before { background: var(--sand); }
.hero .eyebrow::before { background: var(--sand); }
.hero-lead, .page-hero-lead { max-width: 34em; font-size: 1.15rem; color: rgb(255 255 255 / 86%); }
.hero-slide { transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.is-leaving { opacity: 0; z-index: 0; }
.hero-slide img { transform-origin: var(--kb-origin, 50% 50%); }
.hero-slide:nth-child(1) { --kb-origin: 30% 60%; }
.hero-slide:nth-child(2) { --kb-origin: 70% 40%; }
.hero-slide:nth-child(3) { --kb-origin: 50% 30%; }
.hero-slide:nth-child(4) { --kb-origin: 40% 70%; }
.hero-slide:nth-child(5) { --kb-origin: 60% 50%; }
.hero-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; }
.hero-controls { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 25%); min-height: 40px; } /* the pause button arrives with JS: reserve its height (CLS) */
.hero-caption { margin: 0; padding-left: .9rem; border-left: 2px solid var(--sand); font-size: .9rem; line-height: 1.45; min-height: 2.9em; display: flex; align-items: center; font-weight: 600; color: rgb(255 255 255 / 88%); transition: opacity .6s ease; } /* two lines reserved: captions change while the page is open (CLS) */
.hero-caption.is-changing { opacity: 0; }
.js .hero-pause:not([hidden]) { display: inline-flex; }
.hero-pause { align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 80%); background: rgb(0 0 0 / 30%); color: var(--white); cursor: pointer; }
.hero-pause .icon-play, .hero-paused .hero-pause .icon-pause { display: none; }
.hero-paused .hero-pause .icon-play { display: block; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Page hero ---------- */
.page-hero { display: flex; align-items: flex-end; }
.page-hero-content { padding-block: 4.5rem 2.5rem; }
.page-hero h1 { color: var(--white); }
.page-hero-plain { background: var(--ink); }
.page-hero-plain .page-hero-content { padding-block: 2.5rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 1rem 0; padding: 0; font-size: .9rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .7; }
.breadcrumbs-light ol { margin-top: 0; color: rgb(255 255 255 / 90%); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section-paper { background: var(--white); border-top: 1px solid var(--line); }
.section-head { margin-bottom: 2rem; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section-head-row h2 { margin: 0; }
.split { display: grid; gap: 2.5rem; align-items: start; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.signature { font-family: var(--font-display); font-size: 1.2rem; }

/* ---------- Points, ticks, chips ---------- */
.points, .ticks, .chips, .contact-list, .error-links, .social { list-style: none; margin: 0; padding: 0; }
.points { display: grid; gap: 1.25rem; }
.points li { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.points svg.icon, .ticks svg.icon { color: var(--brand); margin-top: .2em; }
.points p { margin: 0; color: var(--muted); }
.ticks li { display: flex; gap: .6rem; margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .45rem 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 1.5rem; }
.service-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-media { overflow: hidden; background: var(--paper); }
.card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card-title { font-size: 1.05rem; text-transform: uppercase; margin-top: .25rem; }
.card-body { padding: 1rem 0 .5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--brand); }

/* ---------- Stats band ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-list { list-style: none; margin: 0 auto; display: grid; gap: 0; padding-block: 1rem; }
.stats-list li { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.stats-list li:last-child { border-bottom: 0; }
.stats-list strong { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1; color: var(--ink); white-space: nowrap; }
.stats-list span { color: var(--muted); font-size: .98rem; }

/* ---------- Photo-led sections ---------- */
.section-tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.split-photo { display: grid; gap: 2.5rem; align-items: center; }
.stone-frame { clip-path: url(#stones); aspect-ratio: 331 / 319; overflow: hidden; }
.stone-frame picture, .stone-frame img { width: 100%; height: 100%; object-fit: cover; }
.areas-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(460px, 62vw, 760px); color: var(--white); background: var(--ink); }
.photo-band-media { position: absolute; inset: -8% 0; z-index: -1; }
.photo-band-media picture, .photo-band-media img { width: 100%; height: 100%; object-fit: cover; }
.photo-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0%) 35%, rgb(0 0 0 / 72%) 100%); }
.photo-band-left .photo-band-media::after { background: linear-gradient(90deg, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 35%) 55%, rgb(0 0 0 / 0%) 100%); }
.photo-band-left { align-items: center; }
.photo-band-content { padding-block: 4rem; }
.photo-band-content h2 { color: var(--white); max-width: 16em; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.2rem); }
.photo-band-content p:not(.eyebrow) { max-width: 36em; font-size: 1.12rem; color: rgb(255 255 255 / 90%); }
.photo-band .eyebrow { color: var(--sand); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: step; }
.steps li { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.step-n { display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--sand-deep); margin-bottom: .75rem; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- About photo strip ---------- */
.photo-strip { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.photo-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- Projects + gallery ---------- */
.projects-intro { margin-bottom: 1.5rem; }
.project-index a { text-decoration: none; color: inherit; }
.project { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.project-head { display: grid; gap: 1rem 3rem; margin-bottom: 2rem; }
.project-head h2 { margin: .4rem 0 0; }
.project-summary { font-size: 1.15rem; }
.project-quote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--sand); font-family: var(--font-display); font-stretch: 125%; font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
.project-quote p { margin: 0 0 .4rem; }
.project-quote cite { display: block; font-style: normal; font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--muted); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.gallery li:first-child { grid-column: 1 / -1; }
.gallery a { position: relative; display: block; height: 100%; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.gallery picture, .gallery img { width: 100%; height: 100%; }
.gallery img { object-fit: cover; aspect-ratio: 4 / 5; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery li:first-child img { aspect-ratio: 16 / 10; }
.gallery-1 li:first-child img { aspect-ratio: auto; max-height: 80vh; object-fit: contain; background: var(--paper); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgb(10 10 10 / 94%); }
.lightbox.is-open { display: flex; }
.lb-open { overflow: hidden; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.lb-frame { position: relative; max-width: 92vw; max-height: 80vh; overflow: hidden; background: #000; }
.lb-thumb, .lb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lb-thumb { filter: blur(14px); transform: scale(1.06); opacity: .7; }
.lb-img { opacity: 0; transition: opacity .35s ease; }
.lb-img.is-loaded { opacity: 1; }
.lb-spin { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 3px solid rgb(255 255 255 / 30%); border-top-color: var(--white); border-radius: 50%; display: none; animation: spin .8s linear infinite; }
.is-loading .lb-spin { display: block; }
.lb-cap { max-width: 36em; color: rgb(255 255 255 / 88%); font-size: .95rem; text-align: center; }
.lb-btn { position: absolute; display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 50%; background: rgb(0 0 0 / 40%); color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; }
.lb-next { right: 1rem; top: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Work mosaic (stone-shaped tiles) ---------- */
.work .lead, .section-head .lead { max-width: 36em; margin-top: .5rem; }
.mosaic { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.tile { position: relative; }
.tile a { position: relative; display: block; height: 100%; min-height: 220px; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); clip-path: var(--stone); }
.tile picture, .tile img { height: 100%; }
.tile img { width: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile-cap { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: .15rem; padding: 3rem 1rem 1rem; background: linear-gradient(180deg, transparent, rgb(18 18 18 / 85%)); }
.tile-title { font-family: var(--font-display); font-stretch: 125%; font-weight: 650; font-size: 1rem; line-height: 1.2; }
.tile-place { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.tile-1 { --stone: polygon(0 2%, 97% 0, 100% 97%, 2% 100%); grid-column: 1 / -1; }
.tile-2 { --stone: polygon(3% 0, 100% 3%, 98% 100%, 0 96%); }
.tile-3 { --stone: polygon(0 0, 96% 3%, 100% 100%, 4% 97%); }
.tile-4 { --stone: polygon(2% 3%, 100% 0, 97% 96%, 0 100%); grid-column: 1 / -1; }
.tile-5 { --stone: polygon(0 4%, 97% 0, 100% 100%, 3% 97%); }
.tile-6 { --stone: polygon(4% 0, 100% 2%, 96% 98%, 0 100%); }

/* ---------- Side card, areas ---------- */
.side-card, .contact-card, .form-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.side-card .btn + .btn { margin-top: .75rem; }
.side-card .ticks { margin-bottom: 1.25rem; }
.area-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.area-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.area-card p { margin: 0 0 .5rem; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand); }
.faq[open] summary::after { content: "\2212"; }
.faq-q { margin: 0; font-size: 1.1rem; }
.faq-a { padding-bottom: 1rem; color: var(--muted); }

/* ---------- Google reviews ---------- */
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.review-stars { display: inline-flex; gap: 2px; color: var(--accent); }
.review-star { fill: none; stroke: currentColor; }
.review-star.is-on { fill: currentColor; }
.review-star-half { position: relative; display: inline-flex; }
.review-star-half .is-on { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.google-reviews { overflow-x: clip; }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: clamp(1rem, .6rem + 2vw, 2rem); }
.rail-track { display: flex; gap: 1rem; list-style: none; margin: 0 auto; padding: 0 0 1rem; max-width: 1200px; }
.review-item { flex: 0 0 min(340px, 85%); scroll-snap-align: start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.review-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.review-avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; }
.review-who { display: flex; flex-direction: column; flex: 1; }
.review-when { font-size: .85rem; color: var(--muted); }
.review-text { margin: .75rem 0; }
.rail-controls { display: flex; gap: .5rem; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--brand); background: var(--white); color: var(--brand); cursor: pointer; display: inline-grid; place-items: center; }
[data-rail-prev] svg { transform: rotate(180deg); }
.reviews-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.review-card .btn { margin-top: 1rem; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-card a, .contact-list a { overflow-wrap: anywhere; }
.form-title { margin-bottom: 1rem; }
.field { margin-bottom: 1.1rem; border: 0; padding: 0; }
.field-row { display: grid; gap: 0 1rem; }
label, legend { display: block; margin-bottom: .35rem; font-weight: 700; }
.req { color: #a33a1c; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1px solid #8a8f98; border-radius: 8px;
  font: inherit; color: var(--ink); background: var(--white);
}
textarea { min-height: 9rem; resize: vertical; }
[aria-invalid="true"] { border-color: #a33a1c; box-shadow: 0 0 0 1px #a33a1c; }
.field-error { margin: .35rem 0 0; color: #a33a1c; font-weight: 600; font-size: .95rem; }
.field-radios .radio { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.25rem; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.25rem; }
.alert-error { background: #fbecea; border: 1px solid #a33a1c; color: #5c1c0b; }
.form-note, .recaptcha-note { font-size: .92rem; color: var(--muted); }
.contact-list li { display: flex; gap: .75rem; margin-bottom: 1rem; }
.contact-list small { display: block; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.contact-list svg.icon { color: var(--brand); margin-top: .25em; }

/* ---------- CTA band + footer ---------- */
.cta-band { position: relative; isolation: isolate; color: var(--white); padding-block: clamp(5rem, 3rem + 8vw, 9rem); text-align: center; background: var(--ink) center / cover no-repeat;
  background-image: linear-gradient(rgb(0 0 0 / 50%), rgb(0 0 0 / 62%)), url("/assets/img/pittwater-sunset-1600.webp");
  background-image: linear-gradient(rgb(0 0 0 / 50%), rgb(0 0 0 / 62%)), image-set(url("/assets/img/pittwater-sunset-1600.avif") type("image/avif"), url("/assets/img/pittwater-sunset-1600.webp") type("image/webp")); }
.cta-band h2 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); }
.cta-band p { font-size: 1.1rem; color: rgb(255 255 255 / 90%); }
.cta-band h2 { color: var(--white); }
.cta-band .actions { justify-content: center; }
.site-footer { background: var(--ink); color: var(--bone); padding-block: 3rem 6rem; }
.site-footer a { color: var(--bone); }
.footer-grid { display: grid; gap: 2rem; }
.footer-title { font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col address { font-style: normal; }
.footer-col address p { display: flex; gap: .6rem; }
.footer-col address svg.icon { margin-top: .3em; }
.brand-footer img { width: 180px; height: auto; margin-bottom: 1rem; }
.brand-footer { color: var(--white); margin-bottom: 1rem; }
.social { display: flex; gap: .75rem; margin-top: 1rem; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 40%); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 20%); font-size: .92rem; }
.footer-bottom p { margin: 0; }

/* ---------- Footer credit (seo.ngn.au assets/ngn-credit.css, unchanged) ---------- */
/* "Website by NGN" footer credit (assets/ngn-credit.html). Full footer text
   colour, no opacity: dimming it failed contrast on dim footers. */
a.ngn-credit { display: inline-flex; align-items: center; gap: 0.45em; color: inherit; text-decoration: none; }
.ngn-credit svg { display: block; width: auto; height: 1.05em; transform: translateY(0.12em); }

/* ---------- Mobile CTA bar (sticky Call / Free quote; not rendered on /contact/) ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: .6rem; padding: .6rem clamp(1rem, .6rem + 2vw, 2rem) calc(.6rem + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid #2b2a27; box-shadow: 0 -4px 16px rgb(0 0 0 / 25%); }
.mobile-cta .btn-outline { color: var(--white); border-color: rgb(255 255 255 / 55%); }
.mobile-cta .btn { flex: 1; }
/* Tucked away while the hero, page-hero or CTA band buttons are on screen (site.js), so
   there is only ever one set of Call / Quote buttons in view. No JS = the bar stays. */
.mobile-cta { transition: transform .3s ease, visibility 0s linear 0s; }
.mobile-cta.is-tucked { transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }

/* ---------- Error pages ---------- */
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 2rem; }

/* ==========================================================================
   Breakpoints (ngn.au set, in this order)
   ========================================================================== */
@media (min-width: 1100px) {
  .service-grid.service-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery li:first-child img { aspect-ratio: auto; height: 100%; }
  .gallery-1 { grid-template-columns: 1fr; }
  .gallery-1 li:first-child { grid-column: auto; grid-row: auto; }
  .gallery-2 { grid-template-columns: 1.4fr 1fr; }
  .gallery-2 li:first-child { grid-column: auto; grid-row: auto; }
  .gallery-2 { grid-auto-rows: clamp(420px, 42vw, 640px); }
  .gallery-2 img, .gallery-2 li:first-child img { aspect-ratio: auto; height: 100%; }
  .gallery-3 { grid-template-columns: 2fr 1fr 1fr; }
  .gallery-3 li:first-child { grid-column: auto; grid-row: auto; }
  .gallery-3 li:first-child img { aspect-ratio: 4 / 5; }
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; }
  .tile-1 { grid-column: 1 / 6; grid-row: 1 / 5; }
  .tile-2 { grid-column: 6 / 10; grid-row: 1 / 3; }
  .tile-3 { grid-column: 10 / 13; grid-row: 1 / 4; }
  .tile-4 { grid-column: 6 / 10; grid-row: 3 / 7; }
  .tile-5 { grid-column: 1 / 6; grid-row: 5 / 7; }
  .tile-6 { grid-column: 10 / 13; grid-row: 4 / 7; }
  .tile a { min-height: 0; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
@media (min-width: 901px) {
  .split-photo { grid-template-columns: .95fr 1.05fr; gap: 4.5rem; }
  .split-photo-rev > :first-child { order: 2; }
  .project-head { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .project-alt .project-head { grid-template-columns: 1.2fr .8fr; }
  .project-alt .project-head > :first-child { order: 2; }
  .stats-list { grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 2rem; }
  .stats-list li { flex-direction: column; gap: .6rem; padding: 0 0 0 1.5rem; border: 0; border-left: 1px solid #3a372f; }
  .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .split-wide { grid-template-columns: 1.6fr 1fr; }
  .side-card { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
  .contact-grid { grid-template-columns: 1.5fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-bottom: 3rem; }
}
@media (min-width: 721px) and (max-width: 1099px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery li:first-child { grid-column: 1 / -1; }
  .tile a { min-height: 300px; }
  .service-grid, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* Full-screen menu under the header */
  .site-nav { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 60; flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 1.5rem clamp(1rem, .6rem + 2vw, 2rem); background: var(--white); overflow-y: auto; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); }
  .no-js .site-nav { position: static; height: auto; padding: 0 0 1rem; }
  .no-js .header-inner { flex-wrap: wrap; }
  .nav-open .site-nav { display: flex; }
  .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: inline; }
  .nav-open { overflow: hidden; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { min-height: 48px; }
  .mobile-cta { display: flex; }
  input[type="text"], input[type="email"], input[type="tel"], select, textarea { font-size: 16px; }
}
@media (max-width: 720px) {
  /* Compact horizontal service cards */
  .service-card a { flex-direction: row; }
  .card-media { flex: 0 0 34%; }
  .card-media picture, .card-media img { height: 100%; }
  .card-media img { aspect-ratio: auto; }
  .card-body { padding: 1rem; }
  .card-body p { font-size: .95rem; margin-bottom: .5rem; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .eyebrow { letter-spacing: .1em; font-size: .72rem; }
  .hero-lead { font-size: 1.05rem; }
  .actions .btn { flex: 1 1 100%; }
  .hero-controls { justify-content: space-between; }
}
@media (max-width: 420px) {
  .card-body .card-more { display: none; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 389px) {
  .btn { white-space: normal; text-align: center; }
  .header-inner { min-height: 64px; }
}
@media (prefers-reduced-motion: no-preference) {
  /* The drift starts only once the page has loaded (.hero-ready, set by site.js), so the first
     paint of the LCP photo is a plain image; the zoom starts from scale(1) so there is no jump. */
  .hero-ready .hero-slide.is-active img, .hero-ready .hero-slide.is-leaving img { animation: kenburns 9s ease-out both; }
  .hero-paused .hero-slide img { animation-play-state: paused !important; }
  html { scroll-behavior: smooth; }
  @supports (animation-timeline: view()) {
    /* Tiles settle into place like laid stones: transform only, in place (no overlap), DES-09 */
    .tile { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .tile:nth-child(even) { --tilt: -1.6deg; }
    /* Photo bands drift slower than the page (whole block, transform only) */
    .photo-band-media { animation: drift linear both; animation-timeline: view(); }
  }
}
@keyframes drift { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
@keyframes settle { from { transform: scale(.9) rotate(var(--tilt, 1.4deg)); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .mobile-cta { transition: none !important; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (hover: hover) {
  .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
  .btn-outline:hover { background: var(--brand); color: var(--white); }
  .btn-outline-light:hover { background: var(--white); color: var(--ink); }
  .tile a:hover img, .gallery a:hover img, .service-card a:hover .card-media img { transform: scale(1.04); }
  .site-nav a:not(.btn):hover { color: var(--sand); }
  .service-card a:hover .card-title { text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: .3em; }
}
@media print {
  .site-header, .mobile-cta, .cta-band, .hero-media, .page-hero-media, .nav-toggle { display: none !important; }
  .hero, .page-hero { color: #000; background: none; min-height: 0; }
  .hero h1, .page-hero h1 { color: #000; }
}
