/* Antonello Electrical Services: matte black, brushed gold, verdigris */
@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --black: #0c0c0d;
  --matte: #131314;
  --panel: #19191a;
  --panel2: #202021;
  --line: rgb(214 186 120 / .16);
  --ink: #f3eee2;
  --muted: #a8a294;
  --gold: #c9a55e;
  --gold-hi: #ecd7a0;
  --gold-lo: #8f7034;
  --verd: #4fb8a0;
  --verd-deep: #2c7b6b;
  --danger: #ff7a66;
  --brushed: linear-gradient(115deg, #8f7034 0%, #d8bb7a 22%, #f2e1ae 34%, #b8924a 52%, #e2c27f 72%, #9c7a3c 100%);
  --header-h: 82px;
  --radius: 6px;
  --display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ink); font-family: var(--sans); font-size: 1.04rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: .01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.28rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--verd); outline-offset: 3px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 84px 0; position: relative; }
.kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--verd); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--brushed); }
.hero .kicker::before { display: none; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 58ch; margin-top: 14px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.tbc { font-family: var(--mono); font-size: .78em; color: #111; background: var(--verd); padding: 1px 6px; border-radius: 3px; white-space: nowrap; letter-spacing: .02em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 20px; border-radius: 14px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: transform .18s ease, box-shadow .18s ease, background-position .5s ease, border-color .18s ease; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-call { color: #17130a; background: var(--brushed); background-size: 220% 100%; background-position: 0 0; border-color: rgb(255 240 200 / .45); box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), inset 0 -2px 0 rgb(80 56 16 / .35), 0 8px 24px -8px rgb(201 165 94 / .6); position: relative; overflow: hidden; }
.btn-call::after { content: ""; position: absolute; inset: 0 0 50% 0; background: linear-gradient(rgb(255 255 255 / .35), rgb(255 255 255 / 0)); border-radius: inherit; pointer-events: none; }
.btn-call:hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 0 0 3px rgb(79 184 160 / .35), 0 12px 30px -8px rgb(201 165 94 / .7); }
.btn-ghost { color: var(--ink); border-color: rgb(236 215 160 / .4); background: rgb(255 255 255 / .03); }
.btn-ghost:hover { border-color: var(--verd); color: var(--gold-hi); }
.btn-lg { min-height: 54px; padding: 13px 26px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: rgb(12 12 13 / .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--verd) 70%, transparent); opacity: .55; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 400; font-size: 1.42rem; letter-spacing: .04em; background: var(--brushed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-family: var(--mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-size: .93rem; padding: 8px 11px; border-radius: 8px; color: #d9d3c4; }
.nav a:hover { color: var(--gold-hi); background: rgb(255 255 255 / .04); }
.head-call { display: flex; align-items: center; gap: 14px; }
.head-phone { display: grid; text-decoration: none; font-family: var(--mono); font-weight: 600; font-size: .95rem; color: var(--gold-hi); line-height: 1.15; text-align: right; }
.head-phone small { font-family: var(--sans); font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* Hero */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; isolation: isolate;
  background: radial-gradient(1000px 600px at 70% 55%, rgb(79 184 160 / .10), transparent 60%), radial-gradient(700px 500px at 80% 20%, rgb(201 165 94 / .10), transparent 65%), linear-gradient(180deg, #0c0c0d, #101011 60%, #0c0c0d); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgb(12 12 13 / .92) 0%, rgb(12 12 13 / .7) 34%, rgb(12 12 13 / 0) 62%), linear-gradient(0deg, var(--black) 0%, transparent 18%); }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; }
.hero h1 em { font-style: normal; display: block; background: var(--brushed); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verd); box-shadow: 0 0 0 4px rgb(79 184 160 / .2); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero .lede { color: #c9c3b5; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; gap: 0; margin-top: 38px; border-top: 1px solid var(--line); padding-top: 18px; max-width: 520px; }
.hero-meta li { flex: 1; display: grid; padding-right: 14px; }
.hero-meta li + li { border-left: 1px solid var(--line); padding-left: 16px; }
.hero-meta b { font-family: var(--display); font-weight: 400; font-size: 1.12rem; color: var(--gold-hi); }
.hero-meta span { font-size: .84rem; color: var(--muted); }
.hero-readout { position: absolute; right: 24px; bottom: 26px; display: flex; gap: 18px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: #8d8778; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: rgb(12 12 13 / .6); }
.hero-readout b { color: var(--verd); font-weight: 600; }

/* Trust bar */
.trustbar { border-block: 1px solid var(--line); background: var(--matte); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; padding: 16px 0; font-size: .93rem; }
.t-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-right: 6px; }

/* Services: 2-column grid with exactly 2 children (sticky head + card list) */
.services-grid { display: grid; gap: 36px; }
.service-list { display: grid; gap: 18px; counter-reset: none; }
.card { display: grid; grid-template-columns: 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s ease, transform .25s ease; }
.card:hover { border-color: rgb(79 184 160 / .5); transform: translateY(-3px); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(12 12 13 / .5)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 22px 24px; position: relative; }
.card-no { font-family: var(--mono); font-size: .7rem; color: var(--verd); letter-spacing: .12em; display: block; margin-bottom: 6px; }
.card-body p { color: var(--muted); margin-top: 8px; font-size: .97rem; }
.services-head .btn { margin-top: 24px; }

/* Steps */
.how { background: linear-gradient(180deg, var(--black), var(--matte)); }
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.step::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--verd)); opacity: .7; }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-family: var(--mono); font-weight: 600; color: #17130a; background: var(--brushed); margin-bottom: 14px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); border-radius: 0; }
.step p { color: var(--muted); margin-top: 8px; font-size: .96rem; }

/* Why */
.why-grid { display: grid; gap: 30px; }
.why-list { display: grid; gap: 14px; }
.why-list li { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--verd); }
.why-ico { color: var(--gold); font-size: 1.1rem; line-height: 1.6; }
.why-list p { color: var(--muted); margin-top: 6px; font-size: .96rem; }

/* Reviews */
.reviews { background: var(--matte); border-block: 1px solid var(--line); }
.placeholder-note { margin-top: 14px; font-size: .92rem; color: var(--muted); border: 1px dashed rgb(79 184 160 / .5); padding: 10px 14px; border-radius: 6px; display: inline-block; }
.review-grid { display: grid; gap: 16px; }
.review-card { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px dashed rgb(236 215 160 / .3); }
.stars { color: var(--gold); letter-spacing: 3px; opacity: .55; }
.review-card blockquote p { margin-top: 12px; color: #cfc9ba; font-style: italic; }
.review-card figcaption { margin-top: 14px; font-size: .88rem; color: var(--muted); }

/* About */
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about-photo::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(236 215 160 / .35); z-index: 1; pointer-events: none; border-radius: 3px; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85); }
.about-tag { position: absolute; left: 22px; bottom: 22px; z-index: 2; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; padding: 6px 10px; background: rgb(12 12 13 / .8); color: var(--gold-hi); border-radius: 4px; }
.about-copy p { color: #cfc9ba; margin-top: 14px; }
.about-copy h2 { margin-bottom: 4px; }
.about-copy .about-extra { color: var(--muted); font-size: .93rem; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 24px; }
.about-facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.about-facts dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.about-facts dd { font-size: .95rem; overflow-wrap: anywhere; }
.about-facts a { color: var(--ink); }

/* Area */
.area-grid { display: grid; gap: 30px; align-items: center; }
.area-grid .btn { margin-top: 22px; }
.area-board { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(circle at 30% 40%, rgb(79 184 160 / .14), transparent 55%), repeating-linear-gradient(0deg, rgb(201 165 94 / .07) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgb(201 165 94 / .07) 0 1px, transparent 1px 28px), var(--panel); }
.suburbs { display: flex; flex-wrap: wrap; gap: 10px; }
.suburbs li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(236 215 160 / .25); background: rgb(12 12 13 / .7); font-size: .93rem; display: inline-flex; align-items: center; gap: 8px; }
.suburbs li.home { background: var(--brushed); color: #17130a; font-weight: 700; border-color: transparent; }

/* Quote */
.quote { background: radial-gradient(800px 500px at 85% 30%, rgb(79 184 160 / .1), transparent 60%), var(--matte); border-top: 1px solid var(--line); padding: 56px 0 64px; }
.quote-grid { display: grid; gap: 28px; }
.quote-call { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 18px 12px 12px; border-radius: 14px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); font-family: var(--mono); font-weight: 600; font-size: 1.08rem; color: var(--gold-hi); transition: transform .18s ease, border-color .18s ease; }
.quote-call:hover { transform: translateY(-2px); border-color: var(--verd); }
.quote-call small { display: block; font-family: var(--sans); font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.quote-call-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--brushed); color: #17130a; }
.quote-call-icon svg { width: 22px; height: 22px; }
.quote-email { margin-top: 16px; color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.quote-email a { color: var(--ink); }
.quote-form { position: relative; display: grid; gap: 16px; padding: 22px; border-radius: 14px; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid rgb(236 215 160 / .22); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); }
.quote-form::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--verd)); border-radius: 2px; }
.field-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.req { color: var(--gold); }
.optional { font-weight: 400; color: var(--muted); font-size: .9em; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #0f0f10; border: 1px solid rgb(236 215 160 / .2); border-radius: 9px; padding: 11px 13px; min-height: 46px; transition: border-color .15s ease, box-shadow .15s ease; color-scheme: dark; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 13px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--panel); color: var(--ink); }
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #77725f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verd); box-shadow: 0 0 0 3px rgb(79 184 160 / .22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #1d1210; }
.hint { font-size: .82rem; color: var(--muted); }
.error { font-size: .86rem; font-weight: 600; color: var(--danger); }
.error:empty { display: none; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { padding: 12px 14px; border-radius: 9px; background: rgb(79 184 160 / .12); border: 1px solid rgb(79 184 160 / .45); color: #d8f2ea; font-size: .95rem; }
.field-row--contact > .field { align-content: start; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 100px; background: var(--black); color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h3 { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.site-footer p + p { margin-top: 4px; }
.site-footer a { text-decoration: none; color: var(--ink); }
.site-footer a:hover { color: var(--gold-hi); }
.footer-blurb { margin-top: 12px; max-width: 34ch; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Floating call button (same style as header button) */
.float-call { position: fixed; right: 18px; bottom: 18px; z-index: 90; opacity: 0; transform: translateY(20px); pointer-events: none; visibility: hidden; transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.float-call.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row--contact { grid-template-columns: 5fr 7fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .card { grid-template-columns: 220px 1fr; }
  .card-media { aspect-ratio: auto; min-height: 150px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  /* Compact form scale (desktop/tablet) so the whole form fits one screen */
  .quote-form { gap: 11px; padding: 20px 22px; }
  .quote-form .field-row { gap: 14px; }
  .quote-form .field { gap: 4px; }
  .quote-form .field label { font-size: .98rem; }
  .quote-form .field input, .quote-form .field select, .quote-form .field textarea { min-height: 40px; padding: 8px 12px; font-size: .95rem; }
  .quote-form .field textarea { min-height: 78px; }
  .quote-form .form-note { font-size: .8rem; }
  .quote-form .hint { font-size: .76rem; }
  .quote-form .btn-lg { min-height: 50px; }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .services-head { position: sticky; top: calc(var(--header-h) + 36px); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .area-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .quote-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .quote-intro { position: sticky; top: calc(var(--header-h) + 28px); }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .head-call { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { font-size: 1.2rem; }
  .head-phone { display: none; }
  .head-call .btn-call { min-height: 42px; padding: 8px 14px; }
  .hero { align-items: flex-start; padding-top: 372px; padding-bottom: 64px; min-height: 0; }
  .hero-scrim { background: linear-gradient(180deg, rgb(12 12 13 / 0) 0, rgb(12 12 13 / 0) 300px, rgb(12 12 13 / .9) 380px, var(--black) 100%); }
  .hero-readout { left: 20px; right: auto; top: calc(var(--header-h) + 10px); bottom: auto; gap: 12px; font-size: .6rem; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero .lede { font-size: 1.02rem; }
  .hero-meta { flex-wrap: wrap; }
  .section { padding: 64px 0; }
  .trust-inner { justify-content: flex-start; }
}
@media (max-width: 400px) {
  .head-call .btn-call span { display: none; }
  .head-call .btn-call { padding: 8px 12px; }
  .hero-readout span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .quote-call:hover { transform: none; }
}
