/* ==========================================================================
   Isidone 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.
   Design: dark architectural frame, light paper sections, champagne accent,
   aqua "glass edge" lines; motion is transform-only and reduced-motion safe.
   ========================================================================== */

/* ---------- 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: 2px;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.2rem); margin: .2em 0 .35em; letter-spacing: -.02em; font-weight: 300; }
h2, .h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); margin: 0 0 .6em; letter-spacing: -.015em; font-weight: 300; }
h3, .h3 { font-size: 1.3rem; margin: 0 0 .4em; font-family: var(--font-display); font-weight: 400; 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 + 5rem); }
.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: .8em; margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 2.2em; height: 1px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow { color: var(--glass); }
.text-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.text-link:hover { text-decoration: underline; }
.section-dark .text-link { color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .75rem 1.6rem; border-radius: 0; border: 1px solid transparent;
  font: 600 .92rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn-primary { background: var(--accent); color: var(--brand-deep); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline-light { background: rgb(11 20 24 / 25%); color: var(--white); border-color: rgb(255 255 255 / 70%); }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .8rem; }
.btn-lg { min-height: 58px; padding: .9rem 2rem; font-size: 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.75rem; }
/* The glint: a band of light that sweeps across primary buttons (motion block below) */
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 55%) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }

/* ---------- Header + navigation ---------- */
.site-header { -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a[aria-current="page"] { color: var(--accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .5em; }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--white); text-decoration: none; letter-spacing: .03em; }
.header-phone svg.icon { color: var(--accent); }
.nav-toggle { align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: var(--white); cursor: pointer; }
.nav-toggle svg.icon { width: 28px; height: 28px; }
.brand .wordmark { position: relative; padding-left: .9rem; }
.brand .wordmark::before { content: ""; position: absolute; left: 0; top: -.2em; bottom: -.2em; width: 2px; background: linear-gradient(180deg, var(--glass), var(--accent)); }

/* ---------- Hero (home) ---------- */
.hero { display: flex; align-items: flex-end; }
.hero-content { padding-block: 7rem 2.5rem; }
.hero h1 { color: var(--white); margin: .3em 0 .3em; }
.hero h1 em { font-style: italic; color: var(--glass); }
.hero-lead, .page-hero-lead { max-width: 34em; font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); color: rgb(255 255 255 / 90%); }
.hero-slide { transition: opacity 1.8s 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% 50%; }
.hero-slide:nth-child(5) { --kb-origin: 60% 70%; }
.hero-media::after { z-index: 2; }
/* Vertical "panel" lines: the rhythm of a frameless fence, drawn over the photo */
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgb(169 221 214 / 14%) calc(25% - 1px) 25%); }
.hero-panel { max-width: 42rem; }
.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: 3rem; padding-top: 1rem; min-height: 40px; border-top: 1px solid rgb(255 255 255 / 22%); } /* the pause button arrives with JS: reserve its height (CLS) */
.hero-caption { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgb(255 255 255 / 88%); transition: opacity .6s ease; }
.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: 1px solid rgb(255 255 255 / 70%); 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: 5rem 3rem; }
.page-hero h1 { color: var(--white); }
.page-hero-plain { background: var(--brand-deep); }
.page-hero-plain .page-hero-content { padding-block: 3rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 1rem 0; padding: 0; font-size: .85rem; letter-spacing: .04em; }
.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(3.5rem, 2rem + 6vw, 7.5rem); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--brand-deep); color: rgb(255 255 255 / 88%); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { margin-bottom: 2.5rem; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section-head-row h2 { margin: .4em 0 0; }
.split { display: grid; gap: 2.5rem; align-items: start; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 40em; }
.signature { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; }

/* ---------- Statement band (home) ---------- */
.statement { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(380px, 60vw, 680px); color: var(--white); background: var(--brand-deep); }
.statement-media { position: absolute; inset: -12% 0; z-index: -1; }
.statement-media picture, .statement-media img { width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(11 20 24 / 82%), rgb(11 20 24 / 25%)); }
.statement h2 { max-width: 15em; margin: 0; color: var(--white); font-size: clamp(2rem, 1.2rem + 3.6vw, 4.4rem); font-weight: 300; font-style: italic; line-height: 1.1; }
.statement-rule { display: block; width: 6rem; height: 1px; margin-top: 2rem; background: linear-gradient(90deg, var(--glass), var(--accent)); }

/* ---------- Points, ticks, chips ---------- */
.points, .ticks, .chips, .contact-list, .error-links, .social, .numbers, .process { list-style: none; margin: 0; padding: 0; }
.points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.points li { display: flex; gap: 1.1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.points svg.icon, .ticks svg.icon { color: var(--brand); margin-top: .25em; }
.points h3 { font-size: 1.25rem; }
.points p { margin: 0; color: var(--muted); }
.ticks li { display: flex; gap: .7rem; margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .5rem 1.1rem; border: 1px solid rgb(169 221 214 / 35%); font-size: .95rem; letter-spacing: .03em; }
.chips a { color: inherit; text-decoration: none; }

/* ---------- Service cards (image-led, frosted caption) ---------- */
.service-grid { display: grid; gap: 1.25rem; }
.service-card a { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 420px; color: var(--white); text-decoration: none; overflow: hidden; background: var(--brand-deep); }
.card-media { position: absolute; inset: 0; z-index: -1; }
.card-media picture, .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 20 24 / 5%) 30%, rgb(11 20 24 / 85%) 100%); }
.card-body { position: relative; display: flex; flex-direction: column; padding: 1.5rem; margin: 1rem; background: rgb(11 20 24 / 45%); border: 1px solid rgb(255 255 255 / 18%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card-title { margin: 0 0 .35em; color: var(--white); font-size: 1.55rem; font-weight: 400; }
.card-body p { margin: 0 0 1rem; color: rgb(255 255 255 / 88%); font-size: .98rem; }
.card-more { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }

/* ---------- Numbers band ---------- */
.numbers { display: grid; gap: 0; border-top: 1px solid rgb(169 221 214 / 25%); }
.numbers li { padding: 2rem 0; border-bottom: 1px solid rgb(169 221 214 / 25%); }
.number-value { display: block; font-family: var(--font-display); font-weight: 200; font-size: clamp(3.4rem, 2rem + 5vw, 6rem); line-height: 1; letter-spacing: -.04em; color: var(--white); }
.number-unit { margin-left: .2em; font-size: .3em; letter-spacing: .1em; color: var(--glass); }
.number-label { display: block; margin-top: .8rem; max-width: 18em; font-size: .95rem; color: rgb(255 255 255 / 80%); }
.numbers-note { margin-top: 1.5rem; font-size: .9rem; color: rgb(255 255 255 / 70%); }
.numbers-note a { color: var(--accent-2); }

/* ---------- Feature split (home) ---------- */
.feature { display: grid; gap: 2.5rem; align-items: center; }
.feature-media { position: relative; overflow: hidden; }
.feature-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* A sheet of "glass" that slides across the photo as it scrolls into view (motion block) */
.feature-media::after { content: ""; position: absolute; inset: 8% -30% 8% 55%; border: 1px solid rgb(255 255 255 / 55%); background: linear-gradient(115deg, rgb(255 255 255 / 22%), rgb(169 221 214 / 8%) 40%, rgb(255 255 255 / 4%)); -webkit-backdrop-filter: blur(2px) saturate(130%); backdrop-filter: blur(2px) saturate(130%); }

/* ---------- Process ---------- */
.process { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.process li { position: relative; padding: 1.75rem 0 1.75rem 4.5rem; border-bottom: 1px solid var(--line); counter-increment: step; }
.process li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1.5rem; font-family: var(--font-display); font-size: 2.2rem; font-weight: 200; line-height: 1; color: var(--brand); }
.process h3 { margin-bottom: .3em; }
.process p { margin: 0; color: var(--muted); }

/* ---------- Side card, areas ---------- */
.side-card, .contact-card, .form-card { padding: 2rem; border: 1px solid var(--line); background: var(--white); }
.side-card { border-top: 3px solid var(--accent); }
.side-card .btn + .btn { margin-top: .75rem; }
.side-card .ticks { margin-bottom: 1.5rem; }
.area-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.area-card { padding: 1.5rem; border: 1px solid var(--line); border-top: 2px solid var(--brand); background: var(--white); }
.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.3rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.8rem; font-weight: 200; line-height: 1; color: var(--brand); }
.faq[open] summary::after { content: "\2212"; }
.faq-q { margin: 0; font-size: 1.2rem; }
.faq-a { padding-bottom: 1.2rem; color: var(--muted); max-width: 44em; }

/* ---------- 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); }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: clamp(1rem, .6rem + 2vw, 2.5rem); }
.rail-track { display: flex; gap: 1rem; list-style: none; margin: 0 auto; padding: 0 0 1rem; max-width: 1280px; }
.review-item { flex: 0 0 min(360px, 85%); scroll-snap-align: start; padding: 1.5rem; border: 1px solid var(--line); 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: 1px 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; }
.form-title { margin-bottom: 1.25rem; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.field { margin-bottom: 1.2rem; border: 0; padding: 0; }
.field-row { display: grid; gap: 0 1rem; }
label, legend { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .95rem; }
.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: 50px; padding: .7rem .85rem; border: 1px solid #7d868b; border-radius: 0;
  font: inherit; color: var(--ink); background: var(--white);
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
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; 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-card { background: var(--brand-deep); color: rgb(255 255 255 / 88%); border-color: var(--brand-deep); }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card a { color: var(--white); }
.contact-card .muted { color: rgb(255 255 255 / 82%); }
.contact-card .btn-primary { color: var(--brand-deep); }
.contact-card .btn-outline { color: var(--white); border-color: rgb(255 255 255 / 70%); }
.contact-list li { display: flex; gap: .75rem; margin-bottom: 1rem; }
.contact-list small { display: block; font-weight: 600; color: var(--glass); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.contact-list svg.icon { color: var(--accent); margin-top: .25em; }

/* ---------- CTA band + footer ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: var(--white); padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(16.666% - 1px), rgb(169 221 214 / 16%) calc(16.666% - 1px) 16.666%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }
.cta-band p { color: rgb(255 255 255 / 90%); }
.cta-band .actions { justify-content: center; }
.site-footer { background: var(--brand-deep); color: #e3eaec; padding-block: 4rem 6rem; }
.site-footer a { color: #e3eaec; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-title { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col address { font-style: normal; }
.footer-col address p { display: flex; gap: .6rem; }
.footer-col address a { display: inline-flex; gap: .6rem; align-items: flex-start; }
.footer-col address svg.icon { margin-top: .3em; color: var(--accent); }
.brand-footer img { width: 180px; height: auto; margin-bottom: 1rem; }
.brand-footer { color: var(--white); margin-bottom: 1.25rem; }
.brand-footer .wordmark { font-size: 1.6rem; }
.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: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(169 221 214 / 20%); font-size: .9rem; }
.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: rgb(11 20 24 / 94%); border-top: 1px solid rgb(169 221 214 / 25%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mobile-cta .btn { flex: 1; padding-inline: .8rem; }
.mobile-cta .btn-outline { color: var(--white); border-color: rgb(255 255 255 / 70%); }

/* ---------- 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 { grid-template-columns: repeat(3, 1fr); }
  .service-grid-home .service-card:nth-child(1), .service-grid-home .service-card:nth-child(4), .service-grid-home .service-card:nth-child(6) { grid-column: span 2; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .numbers { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .numbers li { padding: 0 2rem 0 0; border-bottom: 0; border-left: 1px solid rgb(169 221 214 / 25%); padding-left: 2rem; }
  .process { grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 0; }
  .process li { padding: 4rem 0 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .process li::before { top: 1.2rem; }
}
@media (min-width: 901px) {
  .split { grid-template-columns: 1.1fr .9fr; gap: 5rem; }
  .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; }
  .feature { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .service-card a { min-height: 480px; }
}
@media (min-width: 721px) and (max-width: 1099px) {
  .service-grid, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
}
@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(--brand-deep); 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: 1rem 0; border-bottom: 1px solid rgb(169 221 214 / 18%); font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { min-height: 50px; }
  .mobile-cta { display: flex; }
  input[type="text"], input[type="email"], input[type="tel"], select, textarea { font-size: 16px; }
  .hero-media::before { background: repeating-linear-gradient(90deg, transparent 0 calc(50% - 1px), rgb(169 221 214 / 14%) calc(50% - 1px) 50%); }
}
@media (max-width: 720px) {
  .service-card a { min-height: 340px; }
  .card-body { margin: .75rem; padding: 1.15rem; }
  .card-title { font-size: 1.35rem; }
  .card-body p { font-size: .95rem; }
  .hero-content { padding-block: 5rem 1.75rem; }
  .hero-controls { margin-top: 2rem; }
  .feature-media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .actions .btn { flex: 1 1 100%; }
  .side-card, .contact-card, .form-card { padding: 1.4rem; }
  .process li { padding-left: 3.6rem; }
  .process li::before { font-size: 1.8rem; }
}
@media (max-width: 420px) {
  .card-body .card-more { display: none; }
  .footer-bottom { flex-direction: column; }
  .wordmark { letter-spacing: .24em; }
}
@media (max-width: 389px) {
  .btn { white-space: normal; text-align: center; letter-spacing: .06em; }
  .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 10s ease-out both; }
  .hero-paused .hero-slide img { animation-play-state: paused !important; }
  html { scroll-behavior: smooth; }
  /* Glint: a slow sweep of light across the primary buttons, every few seconds */
  .btn-primary::after { animation: glint 6s ease-in-out 3s infinite; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Scroll-driven, transform only, whole blocks (DES-09): content is never hidden */
    .statement-media { animation: drift-y linear both; animation-timeline: view(); }
    .feature-media::after { animation: pane-slide linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    .card-media picture { animation: card-drift linear both; animation-timeline: view(); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .card-media img { transition: none; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes glint { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes drift-y { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
@keyframes pane-slide { from { transform: translateX(40%); } to { transform: translateX(-75%); } }
@keyframes card-drift { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.12) translateY(3%); } }
@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
  .btn-outline:hover { background: var(--brand); color: var(--white); }
  .btn-outline-light:hover { background: var(--white); color: var(--brand-deep); }
  .service-card a:hover .card-media img { transform: scale(1.06); }
  .service-card a:hover .card-body { border-color: rgb(210 180 122 / 70%); }
  .site-nav a:not(.btn):hover { color: var(--accent-2); }
  .contact-card .btn-outline:hover { background: var(--white); color: var(--brand-deep); }
  .mobile-cta .btn-outline:hover { background: var(--white); color: var(--brand-deep); }
}
@media print {
  .site-header, .mobile-cta, .cta-band, .hero-media, .page-hero-media, .nav-toggle, .statement-media { display: none !important; }
  .hero, .page-hero, .statement { color: #000; background: none; min-height: 0; }
  .hero h1, .page-hero h1, .statement h2 { color: #000; }
}
