/* AR Sparky Services Ltd: "Editorial Electric"
   Typography-led, calm and elegant. Brand colours from the logo, used sparingly:
   blue #1257A8, red #E30A0A, bulb gradient #FDC21E → #F7941D → #EE3B24 */
:root {
  --ink: #121A2B;
  --ink-2: #1B2538;
  --cream: #F4EEE5;
  --cream-2: #EAE1D3;
  --paper: #FBF8F3;
  --text: #1E2533;
  --muted: #5B6273;
  --muted-light: #B9BFCC;
  --line: rgba(18, 26, 43, .14);
  --line-light: rgba(255, 255, 255, .18);
  --blue: #1257A8;
  --orange: #F7941D;
  --orange-soft: #FBB040;
  --orange-text: #B45309; /* readable orange for small text on light backgrounds */
  --red: #E30A0A;
  --wa: #187A41;
  --bulb: linear-gradient(90deg, #FDC21E 0%, #F7941D 55%, #EE3B24 100%);
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", "Noto Serif", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--ink); margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.label { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.label::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--bulb); vertical-align: middle; margin-right: 12px; }

/* ---------- Header (dark, minimal) ---------- */
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand img { height: 50px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; align-items: center; }
.nav a { color: #E9EBF0; text-decoration: none; font-size: .95rem; font-weight: 600; letter-spacing: .02em; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--orange-soft); }
.nav-toggle { display: none; }
.header-call { white-space: nowrap; }
@media (max-width: 860px) {
  .brand img { height: 42px; }
  .nav-toggle { display: inline-flex; background: transparent; border: 1px solid var(--line-light); color: #fff; border-radius: 999px; padding: 7px 18px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
  .nav { position: absolute; left: 0; right: 0; top: 80px; background: var(--ink); border-top: 1px solid var(--line-light); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
  .nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-light); }
  .nav li a.header-call { margin-top: 14px; border-bottom: 1px solid rgba(251,176,64,.7); text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-solid { background: var(--orange); color: var(--ink); }
.btn-solid:hover { background: var(--orange-soft); }
.btn-line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #12632F; }
.btn-small { padding: 9px 20px; font-size: .9rem; }
.nav .btn-small { border: 1px solid rgba(251,176,64,.7); color: var(--orange-soft); }
.nav .btn-small:hover { background: var(--orange); color: var(--ink); }
.text-link { color: inherit; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; background: var(--ink); overflow: hidden; padding: 64px 0 88px; }
/* photo layer (always covers, slow cinematic drift) + dark shading layer */
.hero::before { content: ""; position: absolute; inset: -4%; z-index: -2; background: url("/img/hero-akl-2200.webp") center 6% / cover no-repeat; transform-origin: 50% 30%; }
/* lighter, vignette-style shading: the Auckland skyline stays visible, text stays readable */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 52%, rgba(18,26,43,.62) 0%, rgba(18,26,43,.38) 60%, rgba(18,26,43,.18) 100%),
    linear-gradient(180deg, rgba(18,26,43,.30) 0%, rgba(18,26,43,.20) 45%, rgba(18,26,43,.55) 100%); }
.hero h1 .script, .hero h1 .heavy, .hero-sub p, .meta-note { text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45); }
@media (max-width: 800px) {
  .hero { min-height: 0; padding: 56px 0 72px; }
  .hero::before { background-image: url("/img/hero-akl-1000.webp"); }
  .hero::after { background: linear-gradient(180deg, rgba(18,26,43,.45), rgba(18,26,43,.62)); }
}
.hero-inner { text-align: center; width: 100%; }
.hero h1 { color: #fff; margin: 0 auto; }
.hero h1 .script { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.8rem, 8.5vw, 6.6rem); line-height: .95; letter-spacing: -.01em; color: #F3EEE6; }
.hero h1 .heavy { display: block; font-family: var(--sans); font-weight: 900; font-size: clamp(3.4rem, 12vw, 9.4rem); line-height: .9; letter-spacing: -.045em; text-transform: lowercase; color: #F3EEE6; }
.hero h1 .heavy::after { content: "."; color: var(--orange); }
.hero-sub { margin: 34px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; }
.hero-sub p { margin: 0; max-width: 21em; text-align: left; font-size: 1rem; color: #D7DBE4; line-height: 1.55; }
@media (max-width: 600px) { .hero-sub p { text-align: center; } }
.hero-meta { margin-top: 38px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.meta-note { font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #E7EAF0; }
.meta-note::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2BD46A; margin-right: 10px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(43,212,106,.6); animation: live-dot 2s ease-out infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(43,212,106,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(43,212,106,0); } }
.meta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
.meta-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 1.45rem; font-weight: 700; letter-spacing: .01em; padding: 10px 22px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); transition: background .25s, border-color .25s, transform .25s var(--ease-out); }
.meta-link svg { width: 24px; height: 24px; color: var(--orange-soft); }
.meta-link.wa svg { color: #3DDC84; }
.meta-link:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); transform: translateY(-2px); }
/* Highlighted primary call-to-action */
.btn-hero { padding: 18px 34px; font-size: 1.1rem; font-weight: 700; box-shadow: 0 10px 30px rgba(247,148,29,.45); animation: cta-pulse 2.6s ease-out 2.2s infinite; }
.btn-hero:hover { box-shadow: 0 14px 36px rgba(247,148,29,.6); }
@keyframes cta-pulse { 0% { box-shadow: 0 10px 30px rgba(247,148,29,.45), 0 0 0 0 rgba(247,148,29,.55); } 70%, 100% { box-shadow: 0 10px 30px rgba(247,148,29,.45), 0 0 0 18px rgba(247,148,29,0); } }
@media (max-width: 600px) {
  .meta-link { font-size: 1.2rem; padding: 10px 18px; }
  .meta-note { font-size: .88rem; }
  .btn-hero { width: 100%; max-width: 290px; }
  .hero-inner { padding: 0 12px; }
}

/* ---------- Sections ---------- */
section { padding: 104px 0; }
@media (max-width: 800px) { section { padding: 68px 0; } }
section.tight { padding-top: 24px; padding-bottom: 24px; }
.cream { background: var(--cream); }
.paper { background: var(--paper); }
.dark { background: var(--ink); color: #DDE1EA; }
.dark h2, .dark h3 { color: #F3EEE6; }
.dark .label { color: var(--muted-light); }

.statement { font-family: var(--serif); font-size: clamp(1.8rem, 4.2vw, 3.1rem); line-height: 1.18; color: var(--ink); max-width: 22ch; margin: 0; }
.statement em { color: var(--blue); }
.statement-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: end; }
.statement-row p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .statement-row { grid-template-columns: 1fr; gap: 24px; } }

.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 14px; }
.section-intro { color: var(--muted); max-width: 40em; margin: 0 0 48px; }
.dark .section-intro { color: var(--muted-light); }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* Numbered editorial list */
.numbered { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.numbered li { display: grid; grid-template-columns: 90px 1fr 1.2fr 40px; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.numbered .num { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--orange-text); }
.numbered h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.numbered p { margin: 0; color: var(--muted); }
.numbered a.arrow { justify-self: end; color: var(--ink); text-decoration: none; font-size: 1.3rem; transition: transform .2s; }
.numbered li:hover a.arrow { transform: translateX(4px); color: var(--orange); }
@media (max-width: 800px) {
  .numbered li { grid-template-columns: 52px 1fr; gap: 6px 14px; padding: 24px 0; }
  .numbered p { grid-column: 2; }
  .numbered a.arrow { display: none; }
}

/* Photo strip over dark blur */
.gallery { background: linear-gradient(180deg, rgba(18,26,43,.82), rgba(18,26,43,.9)), url("/img/hero-blur-800.webp") center / cover, var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.gallery figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #EDE7DD; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .gallery figure:last-child { grid-column: span 2; } .gallery figure:last-child img { aspect-ratio: 16 / 10; } }

/* Thin-bordered promise cards (dark) */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .promises { grid-template-columns: 1fr; } }
.promise { border: 1px solid var(--line-light); border-radius: 6px; padding: 34px 30px; }
.promise .tag { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.promise .big { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); color: #F3EEE6; line-height: 1.1; margin: 14px 0 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-light); }
.promise p { margin: 0; color: #C9CEDA; font-size: .97rem; }

/* CTA */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.cta h2 em { font-style: italic; }
.cta p { color: var(--muted); margin: 18px auto 34px; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Inner page header ---------- */
.page-head { background: var(--ink); color: #fff; padding: 84px 0 76px; }
.page-head h1 { color: #F3EEE6; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.page-head h1 em { font-style: italic; }
.page-head p { margin: 16px 0 0; color: var(--muted-light); max-width: 40em; }
.page-head .label, .gallery .label { color: var(--muted-light); }

/* Service detail rows (services page) */
.svc { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc .num { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--orange-text); margin-bottom: 12px; }
.svc h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.svc .lead { color: var(--muted); margin: 14px 0 0; }
.svc ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc li { padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; } }

/* Service areas (home) - calm misty-harbour tone */
.areas { background: #E7EEF4; }
.areas-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 56px; align-items: end; margin-bottom: 44px; }
.areas-head .section-title em { font-style: italic; color: #2C5680; }
.areas-head .section-intro { margin: 0; }
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area { background: rgba(255,255,255,.62); border: 1px solid rgba(44, 86, 128, .16); border-radius: 8px; padding: 26px 24px 24px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s, border-color .3s; }
.area svg { width: 26px; height: 26px; color: #2C5680; margin-bottom: 14px; transition: transform .45s var(--ease-out), color .3s; }
.area h3 { font-size: 1.35rem; margin-bottom: 8px; }
.area p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.area:hover { transform: translateY(-4px); background: #fff; border-color: rgba(44, 86, 128, .32); box-shadow: 0 18px 40px rgba(44, 86, 128, .12); }
.area:hover svg { transform: translateY(-3px) scale(1.08); color: var(--orange-text); }
.areas-cta { margin: 34px 0 0; color: var(--text); font-size: 1.05rem; }
.areas-cta .text-link { color: #2C5680; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr 1fr; } .areas-head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }

/* Service bands: each section its own calm, natural tone */
.svc-band { --tone-bg: var(--paper); --tone-accent: var(--orange-text); --tone-line: var(--line); --tone-hover: rgba(0,0,0,.03);
  background: var(--tone-bg); position: relative; padding: 0; }
.svc-band.tone-1 { --tone-bg: #F4ECE0; --tone-accent: #8F521A; --tone-line: rgba(143, 82, 26, .2);  --tone-hover: rgba(143, 82, 26, .06); }  /* warm sand */
.svc-band.tone-2 { --tone-bg: #E8EEE4; --tone-accent: #46653D; --tone-line: rgba(70, 101, 61, .22); --tone-hover: rgba(70, 101, 61, .07); }  /* soft sage */
.svc-band.tone-3 { --tone-bg: #E5ECF3; --tone-accent: #2C5680; --tone-line: rgba(44, 86, 128, .2);  --tone-hover: rgba(44, 86, 128, .06); }  /* misty sky */
.svc-band.tone-4 { --tone-bg: #F4E4DC; --tone-accent: #963B27; --tone-line: rgba(150, 59, 39, .2);  --tone-hover: rgba(150, 59, 39, .06); }  /* terracotta blush */
.svc-band .svc { border-bottom: 0; padding: 88px 0; }
.svc-band .svc .num { color: var(--tone-accent); }
.svc-band .svc .num::after { content: ""; display: block; width: 36px; height: 2px; margin-top: 10px; background: var(--tone-accent); opacity: .7; }
.svc-band .svc h2 { color: var(--ink); }
.svc-band .svc ul { border-top-color: var(--tone-line); }
.svc-band .svc li { position: relative; border-bottom-color: var(--tone-line); padding: 14px 10px 14px 22px; border-radius: 4px; transition: background .3s, padding-left .35s var(--ease-out), color .25s; }
.svc-band .svc li::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--tone-accent); opacity: .65; transition: transform .3s var(--ease-out), opacity .3s; }
.svc-band .svc li:hover { background: var(--tone-hover); padding-left: 28px; }
.svc-band .svc li:hover::before { transform: scale(1.4); opacity: 1; }
.svc-band .btn-solid { box-shadow: 0 10px 26px rgba(150, 59, 39, .18); }
@media (max-width: 860px) { .svc-band .svc { padding: 56px 0; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 24px 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 46em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-grid h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 28px; }
form .field { margin-bottom: 26px; }
label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
input, textarea, select { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(18,26,43,.35); border-radius: 0; font: inherit; color: var(--text); background: transparent; }
input:focus, textarea:focus, select:focus { outline: none; border-bottom: 2px solid var(--orange); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: .9rem; margin-top: 18px; }
.contact-card { background: var(--cream); padding: 40px 36px; border-radius: 6px; }
.contact-card h2 { font-size: 1.7rem; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-list a, .contact-list span { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.alert { padding: 14px 16px; border-left: 3px solid var(--red); background: #FBEDEC; color: #7A1B1B; margin-bottom: 24px; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 10px; }
.prose p { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding: 80px 0 32px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo { height: 48px; width: auto; margin-bottom: 18px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #EDE7DD; margin: 0; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange-soft); }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
.footer-bottom .bar { display: block; height: 2px; width: 64px; background: var(--bulb); align-self: center; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #12632F; }

.placeholder { background: #FFF3C4; color: #5A4300; outline: 1px dashed #C99700; padding: 0 4px; }

/* =========================================================
   Motion design (all disabled for prefers-reduced-motion)
   ========================================================= */
:root { --ease-out: cubic-bezier(.16, .84, .3, 1); --ease-soft: cubic-bezier(.4, 0, .2, 1); }

/* 1. Smooth page-to-page transitions (View Transitions API; ignored by older browsers) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-soft) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* 2. Entrance: hero + inner page headers (staggered rise) */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rise-soft { from { opacity: .01; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero h1 .script { animation: rise-soft .9s var(--ease-out) .05s both; }
.hero h1 .heavy { animation: rise-soft 1s var(--ease-out) .18s both; }
.hero-sub { animation: rise .9s var(--ease-out) .38s both; }
.hero-meta { animation: rise .9s var(--ease-out) .52s both; }
.page-head .label { animation: rise .7s var(--ease-out) .02s both; }
.page-head h1 { animation: rise-soft .9s var(--ease-out) .1s both; }
.page-head p { animation: rise .9s var(--ease-out) .26s both; }
.label::before { transform-origin: left; animation: draw .9s var(--ease-out) .2s both; }

/* Slow cinematic drift on the blurred hero photo (transform only = smooth, never leaves gaps) */
.hero::before { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1) translate3d(-1.5%, -1%, 0); } to { transform: scale(1.06) translate3d(1.5%, 1%, 0); } }

/* =========================================================
   RGB LED strip around the hero (colour-cycling like a real strip)
   ========================================================= */
@property --led { syntax: "<color>"; inherits: true; initial-value: #FF1E1E; }
/* NEON tube: smooth continuous tube, white-hot core, deep layered bloom, occasional buzz flicker */
.led-strip { position: absolute; inset: 20px; z-index: 0; border-radius: 26px; pointer-events: none;
  --led: #FF1E1E;
  border: 5px solid var(--led);
  box-shadow:
    0 0 1px var(--led), 0 0 4px var(--led), 0 0 10px var(--led), 0 0 22px var(--led),   /* tube bloom */
    0 0 46px color-mix(in srgb, var(--led) 80%, transparent),
    0 0 90px color-mix(in srgb, var(--led) 50%, transparent),
    0 0 150px color-mix(in srgb, var(--led) 28%, transparent),                         /* halo on the wall */
    inset 0 0 4px var(--led), inset 0 0 14px var(--led),
    inset 0 0 40px color-mix(in srgb, var(--led) 45%, transparent),
    inset 0 0 120px color-mix(in srgb, var(--led) 18%, transparent);                   /* light spill inside */
  animation: led-on 1.8s steps(1, end) .2s both, led-cycle 18s linear 2s infinite, neon-buzz 7.3s linear 2s infinite;
  will-change: opacity;
}
/* white-hot core running down the centre of the glass tube */
.led-strip::before { content: ""; position: absolute; inset: -3.5px; border-radius: inherit;
  border: 2px solid color-mix(in srgb, #FFFFFF 78%, var(--led));
  filter: blur(.6px); }
/* soft outer bloom layer for a richer neon haze */
.led-strip::after { content: ""; position: absolute; inset: -14px; border-radius: 34px;
  border: 10px solid color-mix(in srgb, var(--led) 35%, transparent);
  filter: blur(14px); }
/* neon "buzz": brief, irregular dips like a real gas tube */
@keyframes neon-buzz {
  0%, 31%, 33.5%, 35%, 72%, 73.6%, 100% { opacity: 1; }
  32% { opacity: .62; } 34.2% { opacity: .82; } 72.8% { opacity: .7; }
}
/* RGB fade mode with true LED colours: red → orange → yellow → green → cyan → blue → violet → pink → red */
@keyframes led-cycle {
  0%, 100% { --led: #FF1E1E; }
  12.5% { --led: #FF7A00; }
  25%   { --led: #FFD400; }
  37.5% { --led: #22FF4E; }
  50%   { --led: #00E5FF; }
  62.5% { --led: #2A5BFF; }
  75%   { --led: #A23CFF; }
  87.5% { --led: #FF2BD6; }
}
/* power-on flicker, like a neon sign being switched on */
@keyframes led-on { 0% { opacity: 0; } 10% { opacity: .85; } 15% { opacity: .05; } 26% { opacity: 1; } 31% { opacity: .2; } 40% { opacity: .95; } 44% { opacity: .5; } 52%, 100% { opacity: 1; } }
@media (max-width: 800px) {
  /* lighter neon on phones: fewer glow layers and no blur filter = smooth on low-power devices */
  .led-strip { inset: 10px; border-radius: 18px; border-width: 4px;
    box-shadow: 0 0 4px var(--led), 0 0 14px var(--led), 0 0 36px color-mix(in srgb, var(--led) 60%, transparent),
                inset 0 0 10px var(--led), inset 0 0 50px color-mix(in srgb, var(--led) 22%, transparent); }
  .led-strip::before { filter: none; }
  .led-strip::after { display: none; }
}
/* Reduced motion: a steady warm (brand orange) neon, no flicker or colour cycling */
@media (prefers-reduced-motion: reduce) { .led-strip { --led: #F7941D; opacity: 1; } }

/* 3. Scroll reveal (class added by main.js only to elements below the fold) */
html .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); will-change: opacity, transform; }
html .reveal.in { opacity: 1; transform: none; }

/* 4. Header tightens on scroll */
.header-row { transition: min-height .35s var(--ease-soft); }
.brand img { transition: height .35s var(--ease-soft); }
.site-header { transition: box-shadow .35s var(--ease-soft), background-color .35s; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.28); background: rgba(18,26,43,.96); }
.site-header.scrolled .header-row { min-height: 64px; }
.site-header.scrolled .brand img { height: 40px; }
@media (max-width: 860px) { .site-header.scrolled .nav { top: 64px; } }

/* 5. Micro-interactions */
.nav a:not(.btn) { position: relative; transition: color .25s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--orange-soft); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 860px) { .nav a:not(.btn)::after { display: none; } .nav.open { animation: rise .35s var(--ease-out) both; } }
.btn { transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid:hover { box-shadow: 0 10px 24px rgba(247,148,29,.35); }
.btn .arrow-i { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .arrow-i { transform: translateX(4px); }
.numbered li { position: relative; transition: padding-left .4s var(--ease-out); }
.numbered li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--bulb); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.numbered li:hover { padding-left: 10px; }
.numbered li:hover::before { transform: scaleX(1); }
.gallery figure { overflow: hidden; border-radius: 4px; }
.gallery img { transition: transform 1.2s var(--ease-out), filter .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.promise { transition: border-color .35s, transform .45s var(--ease-out), background .35s; }
.promise:hover { border-color: rgba(251,176,64,.6); transform: translateY(-4px); background: rgba(255,255,255,.03); }
.svc li, .faq summary { transition: padding-left .35s var(--ease-out), color .25s; }
.svc li:hover { padding-left: 8px; }
.faq summary:hover { color: var(--blue); }
.faq details[open] p { animation: rise .45s var(--ease-out) both; }
.faq summary::after { transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(180deg); }
.contact-list a { transition: color .25s, padding-left .3s var(--ease-out); }
.contact-list a:hover { padding-left: 6px; }
input, textarea, select { transition: border-color .25s; }
.wa-float { transition: transform .3s var(--ease-out), background .25s; animation: pop .6s var(--ease-out) 1.2s backwards; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.text-link { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; border-bottom-color: transparent; transition: background-size .4s var(--ease-out); }
.text-link:hover { background-size: 100% 1px; }

/* =========================================================
   Photo gallery (cover buttons + lightbox)
   ========================================================= */
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.gallery-hint { margin: 0 0 18px; color: var(--muted-light); font-size: .9rem; letter-spacing: .04em; }
.gallery-note { margin: 22px 0 0; color: var(--muted-light); font-size: .82rem; }
.g-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; color: inherit; font: inherit; }
.g-open img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .5s; }
.g-open:active img { transform: scale(.97); transition-duration: .25s; }
/* Phones: square cards in a smooth, snapping swipe row */
@media (max-width: 800px) {
  .gallery-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 -24px; padding: 0 24px 6px; scroll-padding: 0 24px; }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery figure, .gallery figure:last-child { grid-column: auto; scroll-snap-align: start; }
  .gallery .g-open img, .gallery figure:last-child img { aspect-ratio: 1 / 1; }
}
@media (max-width: 600px) { .gallery-grid { margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .gallery-grid { scroll-behavior: auto; } .g-open:active img { transform: none; } }
.g-open:hover img, .g-open:focus-visible img { transform: scale(1.05); filter: brightness(.82); }
.g-count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(18,26,43,.72); backdrop-filter: blur(6px); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .02em; transition: background .3s, transform .3s var(--ease-out); }
.g-plus { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 800; line-height: 1; }
.g-open:hover .g-count { background: var(--orange); color: var(--ink); transform: translateY(-2px); }
.g-open:hover .g-plus { background: var(--ink); color: var(--orange); }
.gallery figure:hover img { transform: none; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 17, 28, .96); color: #EDE7DD; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in .35s var(--ease-out) both; }
.lightbox::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-bottom: 1px solid var(--line-light); }
.lb-title { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: #F3EEE6; }
.lb-counter { font-size: .85rem; letter-spacing: .12em; color: var(--muted-light); }
.lb-close { margin-left: auto; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); background: rgba(255,255,255,.06); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s var(--ease-out); }
.lb-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.lb-close { font-size: 1.1rem; }
.lb-stage { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; min-height: 0; }
.lb-figure { margin: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 290px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transition: opacity .35s var(--ease-soft), transform .5s var(--ease-out); }
.lb-figure img.swap { opacity: 0; transform: scale(.985); }
.lb-figure figcaption { text-align: center; font-family: var(--serif); font-size: 1.15rem; color: #F3EEE6; }
.lb-figure figcaption small { display: block; margin-top: 4px; font-family: var(--sans); font-size: .78rem; letter-spacing: .03em; color: var(--muted-light); }
.lb-thumbs { display: flex; gap: 10px; justify-content: center; padding: 14px 20px 22px; overflow-x: auto; border-top: 1px solid var(--line-light); }
.lb-thumbs button { flex: none; width: 76px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .25s, border-color .25s, transform .25s var(--ease-out); }
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.lb-thumbs button[aria-selected="true"] { opacity: 1; border-color: var(--orange); }
@media (max-width: 700px) {
  .lb-stage { grid-template-columns: 1fr; padding: 10px; }
  .lb-prev, .lb-next { position: absolute; top: 42%; z-index: 2; width: 42px; height: 42px; background: rgba(18,26,43,.7); }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-figure img { max-height: calc(100vh - 270px); }
  .lb-thumbs { justify-content: flex-start; }
  .lb-thumbs button { width: 60px; height: 46px; }
}
body.lb-open { overflow: hidden; }

/* =========================================================
   Header & spacing refinements
   ========================================================= */
/* Anchor links (#faq, #residential ...) land below the sticky header */
[id] { scroll-margin-top: 92px; }

/* Home page: larger logo, shrinks smoothly once you scroll */
.home .header-row { min-height: 96px; }
.home .brand img { height: 66px; }
.home .site-header.scrolled .header-row { min-height: 64px; }
.home .site-header.scrolled .brand img { height: 40px; }

@media (max-width: 860px) {
  .header-row { min-height: 68px; }
  .nav { top: 68px; }
  .home .header-row { min-height: 80px; }
  .home .brand img { height: 52px; }
  .home .nav { top: 80px; }
  .site-header.scrolled .header-row, .home .site-header.scrolled .header-row { min-height: 60px; }
  .site-header.scrolled .brand img, .home .site-header.scrolled .brand img { height: 36px; }
  .site-header.scrolled .nav, .home .site-header.scrolled .nav { top: 60px; }
  [id] { scroll-margin-top: 76px; }
  .page-head { padding: 56px 0 50px; }
  .statement-row { gap: 20px; }
  .touch-actions .btn { padding: 13px 22px; }
}

/* Page-to-page motion: a soft brand-coloured sweep + content rise.
   Cross-document View Transitions in modern browsers; JS fallback (.page-leave / .page-enter) elsewhere. */
::view-transition-old(root) { animation: vt-out .32s var(--ease-soft) both; }
::view-transition-new(root) { animation: vt-in .62s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(.995); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }
.page-sweep { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 100; background: var(--bulb); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.page-sweep.go { animation: sweep .7s var(--ease-out) forwards; }
@keyframes sweep { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
body.page-leave main, body.page-leave .site-footer { opacity: 0; transform: translateY(-12px); transition: opacity .28s var(--ease-soft), transform .28s var(--ease-soft); }
body.page-enter main { animation: rise .6s var(--ease-out) both; }

/* =========================================================
   "Get in touch" band (every page) + mobile contact bar
   ========================================================= */
.touch { background: var(--ink); color: #DDE1EA; padding: 88px 0; position: relative; overflow: hidden; }
.touch::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--bulb); }
.touch-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.touch h2 { color: #F3EEE6; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.touch h2 em { font-style: italic; color: var(--orange-soft); }
.touch p { color: var(--muted-light); margin: 14px 0 0; max-width: 32em; }
.touch .label { color: var(--muted-light); }
.touch-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.touch-actions .btn { justify-content: space-between; }
.touch-actions .btn-line { border-color: var(--line-light); }
@media (max-width: 860px) { .touch { padding: 64px 0; } .touch-row { grid-template-columns: 1fr; gap: 28px; } }

/* Social follow buttons (footer) */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.social-title { width: 100%; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 2px; }
.site-footer .social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 9px 12px; border: 1px solid var(--line-light); border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 600; transition: background .3s, border-color .3s, transform .3s var(--ease-out); }
.social-btn svg { width: 20px; height: 20px; }
.site-footer .social-btn:hover { background: #1877F2; border-color: #1877F2; color: #fff; transform: translateY(-2px); }
.site-footer .social-btn.ig:hover { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); border-color: transparent; }

.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(18,26,43,.94); box-shadow: 0 12px 30px rgba(0,0,0,.35); backdrop-filter: blur(8px); transform: translateY(0); transition: transform .45s var(--ease-out), opacity .35s; animation: rise .7s var(--ease-out) .6s backwards; }
  .mobile-cta.hide { transform: translateY(140%); opacity: 0; }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 8px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
  .mobile-cta a svg { width: 17px; height: 17px; }
  .mobile-cta .m-wa { background: var(--wa); }
  .mobile-cta .m-quote { background: var(--orange); color: var(--ink); }
  .wa-float { display: none; }
  body { padding-bottom: 76px; }
}

/* =========================================================
   "Get in touch" band (every page, above the footer)
   ========================================================= */
.cta-band { background: var(--cream); border-top: 1px solid var(--line); padding: 72px 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; }
.cta-band-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.cta-band-text p { margin: 0; color: var(--muted); }
.cta-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.btn-cta { padding: 16px 34px; font-size: 1.05rem; font-weight: 700; box-shadow: 0 10px 26px rgba(247,148,29,.32); }
.cta-phone-wrap { display: flex; flex-direction: column; line-height: 1.3; }
.cta-phone-label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 700; color: var(--ink); text-decoration: none; transition: color .25s; }
.cta-phone svg { width: 22px; height: 22px; color: var(--orange-text); transition: transform .3s var(--ease-out); }
.cta-phone:hover { color: var(--blue); }
.cta-phone:hover svg { transform: rotate(-12deg) scale(1.08); }
@media (max-width: 600px) {
  .cta-band { padding: 56px 0; }
  .cta-band-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .btn-cta { width: 100%; }
  .cta-phone-wrap { align-items: center; }
}
