/* ==========================================================================
   Refined Electrical & Design, Shoalhaven
   Hand-authored stylesheet. No build step, no framework.

   Palette (client brand tokens, unchanged):
     ink #171717 · stone #E6DFD5 · off-white #F4F1EC · taupe #8D867D · charcoal #343332
   Contrast (WCAG AA): ink on off-white 13.9:1 · ink on stone 12.6:1 · stone on ink 12.6:1
     stone on charcoal 9.6:1 · muted #5F5953 on off-white 6.2:1 · muted on stone 5.3:1
   ========================================================================== */

:root {
  --ink: #171717;
  --stone: #E6DFD5;
  --bg: #F4F1EC;
  --taupe: #8D867D;
  --charcoal: #343332;

  --text: var(--ink);
  --muted: #5F5953;
  --card: #FFFFFF;
  --line: #DDD6CB;
  --line-dark: rgba(230, 223, 213, 0.16);
  --on-dark: var(--stone);
  --on-dark-muted: rgba(230, 223, 213, 0.72);

  --font: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --pad: clamp(20px, 4.5vw, 40px);
  --section: clamp(64px, 8vw, 104px);
  --header-h: 78px;
  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 2px 6px rgba(23, 23, 23, 0.05), 0 12px 32px rgba(23, 23, 23, 0.08);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.icon { flex: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-header :focus-visible, .hero-copy :focus-visible, .services :focus-visible, .cta-banner :focus-visible, .faq :focus-visible, .site-footer :focus-visible, .call-bar:focus-visible { outline-color: var(--stone); }
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.skip-link { position: absolute; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: var(--r); background: var(--stone); color: var(--ink); font-weight: 600; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- type ---------- */
h2 { font-weight: 700; font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; text-transform: uppercase; text-wrap: balance; }
h3 { font-weight: 600; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.005em; }
.eyebrow { margin-bottom: 12px; font-weight: 600; font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.eyebrow-light { color: var(--on-dark-muted); }
.title-bar::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 18px; border-radius: 4px; background: currentColor; }
.title-bar-center::after { margin-inline: auto; }
.head-center { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.head-lede { margin: 20px auto 0; max-width: 62ch; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 999px; font-weight: 600; font-size: 0.9375rem; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.875rem; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--stone); }
.btn-ink:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn-stone { background: var(--stone); border-color: var(--stone); color: var(--ink); }
.btn-stone:hover { background: #fff; border-color: #fff; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--stone); }
.btn-ghost-light { background: transparent; border-color: rgba(230, 223, 213, 0.55); color: var(--stone); }
.btn-ghost-light:hover { border-color: var(--stone); background: rgba(230, 223, 213, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- tick lists ---------- */
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; font-size: 0.9375rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E6DFD5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks-light li { color: var(--on-dark); }
.ticks-light li::before { background-color: var(--stone); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- logo: the supplied black-on-transparent artwork used as a mask,
   so it paints in the current text colour (stone on the dark header and footer) ---------- */
.wordmark { display: inline-flex; flex: none; color: var(--stone); text-decoration: none; line-height: 0; }
.logo {
  display: block;
  width: 172px;
  aspect-ratio: 1000 / 225;
  background-color: currentColor;
  -webkit-mask: url("/assets/refined-electrical-design-logo.webp") center / contain no-repeat;
  mask: url("/assets/refined-electrical-design-logo.webp") center / contain no-repeat;
}
/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--stone); transition: box-shadow 0.2s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: clamp(16px, 2vw, 28px); }
.nav-list a { position: relative; display: block; padding: 8px 0; font-weight: 500; font-size: 0.9375rem; text-decoration: none; color: var(--on-dark-muted); transition: color 0.2s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="true"] { color: #fff; }
.nav-list a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--stone); }
.header-call { min-height: 46px; padding: 0 20px; margin-left: 8px; }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; background: none; border: 0; color: var(--stone); font-weight: 500; }
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 6px; width: 24px; }
.nav-toggle-bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s var(--ease); }
.nav-open .nav-toggle-bars span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle-bars span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1023px) {
  .header-inner { gap: 12px; }
  .wordmark { flex: 0 1 auto; min-width: 0; }
  .header-call { order: 2; margin-left: auto; width: 46px; padding: 0; flex: none; }
  .header-call span { display: none; }
  .nav-list a { white-space: nowrap; }

  /* Without JavaScript the links sit in a scrolling strip under the bar, so the bar may wrap. */
  html:not(.js) .header-inner { flex-wrap: wrap; row-gap: 0; }
  html:not(.js) .site-nav { order: 4; flex-basis: 100%; min-width: 0; margin: 0; }
  html:not(.js) .nav-list { gap: 20px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
  html:not(.js) .nav-list::-webkit-scrollbar { display: none; }

  /* With JavaScript the bar is one fixed row and the menu opens as a panel below it. */
  html.js .header-inner { position: relative; flex-wrap: nowrap; }
  html.js .nav-toggle { display: inline-flex; flex: none; order: 3; }
  html.js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 0 var(--pad); background: var(--ink); border-top: 1px solid var(--line-dark); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3); }
  html.js .nav-open .site-nav { display: block; }
  html.js .nav-open .nav-list { flex-direction: column; gap: 0; padding: 6px 0 18px; }
  html.js .nav-open .nav-list a { padding: 13px 0; font-size: 1.125rem; color: var(--stone); }
  html.js .nav-open .nav-list a::after { display: none; }
}
@media (max-width: 419px) {
  .header-inner { gap: 10px; }
  .logo { width: 146px; }
  .header-call { width: 44px; min-height: 44px; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--charcoal); color: var(--on-dark); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(23, 23, 23, 0.9) 0%, rgba(23, 23, 23, 0.74) 48%, rgba(23, 23, 23, 0.4) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(110px, 12vw, 150px); }
.hero-title { font-weight: 700; font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.02; letter-spacing: -0.025em; text-transform: uppercase; color: #fff; max-width: 14ch; }
.hero-title .hl { display: block; color: var(--stone); }
.hero-sub { margin-top: 24px; max-width: 48ch; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--on-dark); }
.hero-card { background: var(--card); color: var(--text); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 34px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); }
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 120px; }
  .hero-title { max-width: 16ch; }
}

/* ---------- forms ---------- */
.form-title { font-weight: 700; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; text-transform: uppercase; margin-bottom: 6px; }
.form-lead { font-size: 0.9375rem; color: var(--muted); margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.875rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); font-size: 1rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease); }
.field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.12); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap select:invalid { color: var(--muted); }
.select-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 6px; }
.form-foot .btn { width: 100%; min-height: 54px; font-size: 1rem; }
.form-note { text-align: center; font-size: 0.875rem; color: var(--muted); }
.form-privacy { margin-top: -2px; text-align: center; font-size: 0.8125rem; color: var(--muted); }
.form-privacy a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); }
.form-privacy a:hover { text-decoration-color: var(--ink); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--stone); font-size: 0.9375rem; }
.form-status:empty { display: none; }
.form-status a { font-weight: 600; }
.form-success { padding: 24px 0; text-align: center; }
.form-success h3 { margin-bottom: 8px; font-size: 1.375rem; }
@media (max-width: 519px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- credentials, overlapping the hero ---------- */
.creds { position: relative; z-index: 2; margin-top: -64px; }
.creds-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.creds-list li { display: flex; align-items: center; gap: 14px; padding: 24px 22px; }
.creds-list li + li { border-left: 1px solid var(--line); }
.creds-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--stone); color: var(--ink); }
.creds-text { display: flex; flex-direction: column; line-height: 1.3; }
.creds-text strong { font-weight: 700; font-size: 1.0625rem; }
.creds-text span { font-size: 0.875rem; color: var(--muted); }
@media (max-width: 899px) {
  .creds { margin-top: -56px; }
  .creds-list { grid-template-columns: 1fr 1fr; }
  .creds-list li { padding: 18px 16px; }
  .creds-list li:nth-child(3) { border-left: 0; }
  .creds-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 519px) {
  .creds-list li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .creds-icon { width: 42px; height: 42px; }
}

/* ---------- about ---------- */
.about-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-copy h2 { margin-bottom: 24px; }
.about-body { color: var(--muted); }
.ticks-boxed { margin-top: 28px; padding: 22px 24px; grid-template-columns: 1fr 1fr; gap: 12px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.about-photo { position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: var(--r-lg); background: var(--stone); }
.about-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (max-width: 899px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { order: -1; max-width: 420px; margin-right: 18px; }
  .ticks-boxed { grid-template-columns: 1fr; }
}

/* ---------- services: dark band, card grid ---------- */
.services { background: var(--ink); color: var(--on-dark); }
.services .head-lede { color: var(--on-dark-muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; padding: 28px; background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: var(--r-lg); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.svc-card:hover { border-color: rgba(230, 223, 213, 0.45); transform: translateY(-3px); }
.svc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.svc-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--stone); color: var(--ink); }
.svc-top h3 { color: #fff; }
.svc-desc { font-size: 0.9375rem; color: var(--on-dark-muted); }
.svc-card .ticks { margin: 20px 0 26px; padding-top: 20px; border-top: 1px solid var(--line-dark); gap: 9px; }
.svc-card .btn { margin-top: auto; align-self: flex-start; }
/* two ways to engage: full service first, design-and-supply second */
.ways { margin-top: clamp(40px, 5vw, 64px); }
.ways-title { margin-bottom: 20px; font-weight: 700; font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; text-transform: uppercase; color: #fff; text-align: center; }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.way { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: var(--r-lg); }
.way-primary { background: var(--stone); border-color: var(--stone); color: var(--ink); }
.way-label { margin-bottom: 8px; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.way-primary .way-label { color: var(--muted); }
.way h4 { margin: 0 0 12px; font-weight: 700; font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.15; letter-spacing: -0.015em; color: #fff; }
.way-primary h4 { color: var(--ink); }
.way p:not(.way-label) { margin-bottom: 24px; font-size: 0.9875rem; color: var(--on-dark-muted); }
.way-primary p:not(.way-label) { color: var(--ink); }
.way .btn { margin-top: auto; align-self: flex-start; }
.way-primary :focus-visible { outline-color: var(--ink); }
@media (max-width: 767px) { .ways-grid { grid-template-columns: 1fr; } }
@media (max-width: 1023px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 679px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { padding: 24px; } }

/* ---------- the refined difference: photo half, stone half ---------- */
.difference { display: grid; grid-template-columns: 1fr 1fr; background: var(--stone); }
.difference-photo { position: relative; min-height: 420px; }
.difference-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.difference-copy { padding: var(--section) clamp(24px, 6vw, 80px); max-width: 680px; }
.difference-copy h2 { margin-bottom: 22px; }
.difference-copy > p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.stat { padding: 18px 16px; background: var(--card); border-radius: var(--r); }
.stat dt { font-weight: 700; font-size: clamp(1.625rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -0.02em; }
.stat dd { margin-top: 8px; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 899px) {
  .difference { grid-template-columns: 1fr; }
  .difference-photo { min-height: 0; aspect-ratio: 3 / 2; }
  .difference-copy { padding-inline: var(--pad); max-width: none; }
}
@media (max-width: 519px) { .stats { grid-template-columns: 1fr; } }

/* ---------- process: connected steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps::before { content: ""; position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--taupe) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; }
.step-num { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--ink); color: var(--stone); font-weight: 700; font-size: 1.125rem; box-shadow: 0 0 0 8px var(--bg); }
.step h3 { margin-bottom: 10px; font-size: 1.1875rem; text-transform: uppercase; letter-spacing: 0.01em; }
.step p { font-size: 0.9375rem; color: var(--muted); max-width: 30ch; margin-inline: auto; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-inline: auto; }
  .steps::before { display: none; }
  .step:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, var(--taupe) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; padding-bottom: 32px; }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: 1 / span 2; margin: 0; }
  .step h3 { align-self: end; margin-bottom: 6px; }
  .step p { margin: 0; max-width: none; }
}

/* ---------- cta banner ---------- */
.cta-banner-wrap { padding-bottom: var(--section); }
.cta-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding: clamp(28px, 4vw, 48px); background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); }
.cta-banner-text { font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em; text-transform: uppercase; max-width: 26ch; }

/* ---------- gallery: side-scroll ---------- */
.gallery { background: var(--card); }
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.gallery-rail { padding-left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); }
.gallery-track { --tile-h: clamp(260px, 40vh, 440px); display: flex; gap: 14px; padding-right: var(--pad); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.g { flex: none; height: var(--tile-h); aspect-ratio: var(--ar, 4 / 5); overflow: hidden; border-radius: var(--r); scroll-snap-align: start; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.g:hover img { transform: scale(1.03); }
.gallery-foot { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.gallery-progress { flex: 1; position: relative; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.gallery-progress span { position: absolute; inset: 0 auto 0 0; width: 8%; border-radius: 4px; background: var(--ink); transition: width 0.12s linear, transform 0.12s linear; }
.gallery-controls { display: flex; gap: 10px; }
.gallery-btn { display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--ink); color: var(--stone); transition: background-color 0.2s var(--ease), opacity 0.2s var(--ease); }
.gallery-btn:hover { background: var(--charcoal); }
.gallery-btn:disabled { opacity: 0.3; pointer-events: none; }
@media (max-width: 679px) { .gallery-track { --tile-h: clamp(240px, 44vh, 340px); gap: 10px; } .gallery-btn { width: 46px; height: 46px; } }

/* ---------- service area ---------- */
.areas-map-wrap { position: relative; margin-bottom: 32px; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--card); }
.areas-map { width: 100%; height: clamp(340px, 46vw, 520px); }
.areas-legend { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 12px 16px; background: rgba(255, 255, 255, 0.97); border-radius: var(--r); box-shadow: var(--shadow); font-size: 0.875rem; line-height: 1.5; }
.areas-legend p { display: flex; align-items: center; gap: 10px; }
.areas-legend-title { margin-bottom: 4px; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.legend-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid var(--ink); }
.legend-dot-core { background: rgba(23, 23, 23, 0.55); }
.legend-dot-wide { background: rgba(23, 23, 23, 0.1); }
.areas-groups { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.areas-group { padding: 26px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.areas-group-title { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--stone); font-weight: 500; font-size: 0.9rem; line-height: 1.3; }
.chips-soft li { background: var(--stone); color: var(--ink); }
@media (max-width: 899px) { .areas-groups { grid-template-columns: 1fr; } .areas-group { padding: 22px; } }

/* ---------- faq: cards over a photograph ---------- */
.faq { position: relative; overflow: hidden; color: var(--on-dark); }
.faq-bg { position: absolute; inset: 0; }
.faq-bg img { width: 100%; height: 100%; object-fit: cover; }
.faq-bg::after { content: ""; position: absolute; inset: 0; background: rgba(23, 23, 23, 0.82); }
.faq-inner { position: relative; }
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { background: var(--card); color: var(--text); border-radius: var(--r); overflow: hidden; }
.faq-item summary { display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.0625rem; font-weight: 600; }
.faq-marker { position: relative; display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--stone); transition: background-color 0.2s var(--ease); }
.faq-marker::before, .faq-marker::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform 0.2s var(--ease), background-color 0.2s var(--ease); }
.faq-marker::after { transform: rotate(90deg); }
.faq-item[open] .faq-marker { background: var(--ink); }
.faq-item[open] .faq-marker::before, .faq-item[open] .faq-marker::after { background: var(--stone); }
.faq-item[open] .faq-marker::after { transform: rotate(0deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { font-size: 0.9875rem; color: var(--muted); }
.faq-answer a { color: var(--ink); font-weight: 600; }
@media (max-width: 679px) { .faq-item summary { padding: 18px; } .faq-answer { padding: 0 18px 18px; } }

/* ---------- contact ---------- */
.contact-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info h2 { margin-bottom: 22px; }
.contact-intro { color: var(--muted); }
.contact-intro a { color: var(--ink); font-weight: 600; }
.contact-aside { margin-top: 28px; padding: 26px; background: var(--stone); border-radius: var(--r-lg); }
.direct-line { margin-bottom: 18px; font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.contact-lines { display: grid; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(23, 23, 23, 0.12); }
.contact-lines a { display: flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; word-break: break-all; }
.contact-lines a:hover span:last-child { text-decoration: underline; }
.contact-line-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--ink); color: var(--stone); }
.contact-card { padding: clamp(24px, 3vw, 38px); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (max-width: 899px) { .contact-inner { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(52px, 6vw, 80px); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand .logo { width: 236px; }
.footer-place { margin-top: 14px; color: var(--on-dark-muted); }
.footer-facts { display: grid; gap: 16px; align-content: start; }
.footer-facts dt { margin-bottom: 2px; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-contact { display: grid; gap: 12px; align-content: start; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; word-break: break-all; transition: color 0.2s var(--ease); }
.footer-contact a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: 0.875rem; color: var(--on-dark-muted); }
.footer-base a:hover { color: #fff; }
@media (max-width: 899px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- mobile call bar ---------- */
.call-bar-wrap { display: none; }
@media (max-width: 767px) {
  /* The sticky call bar handles calling on phones, so the header drops its call button.
     The thank-you and 404 pages have no call bar and keep theirs. */
  body:not(.page-simple) .header-call { display: none; }
  body:not(.page-simple) .nav-toggle { margin-left: auto; }
  /* Room for the fixed bar, reserved inside the footer so any gap stays footer-coloured. */
  body:not(.page-simple) .site-footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  /* Ink frame so the bar reads against the light sections; stone button so it reads against the dark ones. */
  .call-bar-wrap { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28); }
  .call-bar { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--stone); color: var(--ink); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.01em; text-decoration: none; transition: background-color 0.2s var(--ease); }
  .call-bar:active { background: #fff; }
  .call-bar-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--ink); color: var(--stone); }
  .call-bar:focus-visible { outline: 2px solid var(--stone); outline-offset: 3px; }
}

/* ---------- utility pages (thanks, 404) ---------- */
.page-simple { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page-simple main { flex: 1; display: grid; align-items: center; }
.page-simple .hero { background: var(--bg); color: var(--text); }
.page-simple .simple-copy { padding-block: clamp(64px, 12vw, 140px); }
.page-simple .kicker { margin-bottom: 14px; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.page-simple h1 { max-width: 18ch; margin-bottom: 22px; font-weight: 700; font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.02em; text-transform: uppercase; }
.page-simple .lede { max-width: 56ch; margin-bottom: 30px; color: var(--muted); }
.page-simple .lede a { color: var(--ink); font-weight: 600; }
.page-simple .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.page-simple .site-header .header-call { margin-left: auto !important; }
.page-simple .footer-base { border-top: 0; }

/* ---------- privacy policy page ---------- */
.policy { padding-block: clamp(48px, 8vw, 96px); }
.policy .container { max-width: 820px; }
.policy .kicker { margin-bottom: 14px; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.policy h1 { margin-bottom: 10px; font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase; }
.policy-updated { margin-bottom: 36px; font-size: 0.9375rem; color: var(--muted); }
.policy h2 { margin: 36px 0 10px; font-weight: 700; font-size: 1.25rem; text-transform: none; letter-spacing: -0.01em; }
.policy p { color: var(--text); }
.policy p + p { margin-top: 12px; }
.policy ul { margin: 10px 0 14px; padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.policy a { color: var(--ink); font-weight: 600; }
.policy-back { margin-top: 44px; }
.page-simple main { align-items: start; }
