/* Public business websites. --brand is set per business (darkened so white text on it is >= 4.5:1, and so it reads
   on white too); --accent is lightened so dark text on it is >= 4.5:1. Fonts are served from this site (no third
   party): Figtree for reading, and one display face per industry. */
@font-face { font-family: "Figtree"; src: url("/_site/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/_site/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/_site/fonts/archivo.woff2") format("woff2"); font-weight: 100 900;
  font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/_site/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #16181d;
  --muted: #586070;
  --line: #e2e5ea;
  --field: #767d89;
  --paper: #ffffff;
  --tint: #f4f5f7;
  --ok: #1d6b3a;
  --error: #b3261e;
  --focus: #ffbf47;
  --radius: 14px;
  --radius-lg: 26px;
  --body-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display-font: "Bricolage Grotesque", var(--body-font);
  --display-weight: 750;
  --display-stretch: 100%;
  --display-track: -0.035em;
  --header-bg: rgb(255 255 255 / 0.84);
  --header-fg: var(--ink);
  --header-hover: color-mix(in srgb, var(--brand) 9%, transparent);
  --shadow: 0 1px 2px rgb(16 24 32 / 0.05), 0 6px 20px rgb(16 24 32 / 0.06);
  --shadow-lift: 0 2px 4px rgb(16 24 32 / 0.05), 0 22px 44px color-mix(in srgb, var(--brand) 16%, rgb(16 24 32 / 0.10));
  --ease: cubic-bezier(.22, .8, .24, 1);
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1.09rem; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
h1, h2, h3, .h3 { font-family: var(--display-font); font-weight: var(--display-weight); font-stretch: var(--display-stretch);
  letter-spacing: var(--display-track); line-height: 1.08; margin: 1.6em 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.02; margin-top: 0.3em; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.55rem); }
h3, .h3 { font-size: 1.24rem; letter-spacing: -0.015em; line-height: 1.25; }
p { text-wrap: pretty; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 780px; }
.page { padding-block: 20px 72px; }
.page > h1 { margin-bottom: 0.35em; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.small { font-size: 0.92rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--focus); color: var(--ink); padding: 12px 16px; z-index: 60; }
.skip-link:focus { top: 8px; }

/* Header: light glass that stays at the top on wide screens. */
.site-header { background: var(--header-bg); color: var(--header-fg); border-bottom: 1px solid color-mix(in srgb, var(--header-fg) 10%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); z-index: 30; }
@media (min-width: 860px) { .site-header { position: sticky; top: 0; } }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-block: 10px 4px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--header-fg); font-family: var(--display-font); font-stretch: var(--display-stretch);
  font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; text-decoration: none; min-height: 44px; }
.brand img { border-radius: 10px; }
.nav { list-style: none; margin: 0; padding: 0 0 8px; display: flex; flex-wrap: wrap; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--header-fg); text-decoration: none;
  border-radius: 999px; font-weight: 550; transition: background-color 0.2s ease, color 0.2s ease; }
.nav a:hover { background: var(--header-hover); text-decoration: underline; }
.nav a[aria-current="page"] { background: var(--header-hover); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav a.in-section { background: var(--header-hover); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 6px; }

/* Reviews on Google: our text and links, and Google's map card only when the visitor asks for it. */
.google { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .google { grid-template-columns: 1fr 1.1fr; } }
.google-links { display: flex; flex-wrap: wrap; gap: 10px; }
.google-map { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 280px; padding: 24px;
  border-radius: var(--radius); background: color-mix(in srgb, var(--brand) 6%, #fff); border: 1px dashed var(--line); }
.google-map.loaded { padding: 0; border: 0; overflow: hidden; box-shadow: var(--shadow); }
.google-map iframe { width: 100%; height: 360px; border: 0; display: block; }
.google-map[hidden] { display: none; }

/* Submenus: shown only once menu.js is running; until then the links go to the full lists. */
.nav .has-menu { position: relative; display: flex; align-items: center; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: -6px;
  background: none; border: 0; border-radius: 999px; color: var(--header-fg); cursor: pointer; }
.menu-toggle:hover { background: var(--header-hover); }
.menu-toggle[hidden] { display: none; }
.menus-ready .has-menu.align-right .submenu { left: auto; right: 0; transform-origin: top right; }
.menu-toggle .chevron { width: 18px; height: 18px; transition: transform 0.2s ease; }
.has-menu.open .chevron { transform: rotate(180deg); }
.submenu { display: none; }
.menus-ready .submenu { display: block; position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 300px; max-width: min(380px, 92vw);
  background: #fff; color: var(--ink); border-radius: 18px; padding: 10px; border: 1px solid var(--line); box-shadow: 0 2px 6px rgb(16 24 32 / 0.06), 0 24px 56px rgb(16 24 32 / 0.16);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top left;
  transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0.2s; }
.menus-ready .has-menu.open .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s; }
.submenu ul { list-style: none; margin: 0; padding: 0; }
.submenu li { opacity: 0; transform: translateX(-6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.has-menu.open .submenu li { opacity: 1; transform: none; }
.has-menu.open .submenu li:nth-child(2) { transition-delay: 0.03s; } .has-menu.open .submenu li:nth-child(3) { transition-delay: 0.06s; }
.has-menu.open .submenu li:nth-child(4) { transition-delay: 0.09s; } .has-menu.open .submenu li:nth-child(5) { transition-delay: 0.12s; }
.has-menu.open .submenu li:nth-child(6) { transition-delay: 0.15s; } .has-menu.open .submenu li:nth-child(n+7) { transition-delay: 0.18s; }
.nav .submenu a { display: flex; gap: 10px; width: 100%; min-height: 44px; padding: 6px 10px; color: var(--ink); border-radius: 8px; text-decoration: none; }
.nav .submenu a:hover, .nav .submenu a:focus-visible { background: color-mix(in srgb, var(--brand) 9%, #fff); text-decoration: underline; }
.nav .submenu a[aria-current="page"] { background: color-mix(in srgb, var(--brand) 14%, #fff); font-weight: 700; }
.submenu-icon { display: inline-flex; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--ink); align-items: center; justify-content: center; }
.submenu-icon .icon { width: 18px; height: 18px; }
.nav .submenu-more { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; font-weight: 700; }
@media (max-width: 640px) {
  .nav .has-menu { flex-wrap: wrap; }
  .nav .has-menu.open { flex-basis: 100%; }
  .menus-ready .submenu { position: static; display: none; flex-basis: 100%; min-width: 0; max-width: none; margin: 4px 0 8px; transform: none; }
  .menus-ready .has-menu.open .submenu { display: block; animation: drop 0.2s ease both; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }


/* Buttons: pills, one solid action per place. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--brand); color: #fff; font: 650 1rem/1 var(--body-font); text-decoration: none; border: 2px solid var(--brand); cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background-color 0.2s ease; }
.button:hover { text-decoration: underline; transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 28%, transparent); }
.button:active { transform: translateY(0); }
.button-secondary { background: #fff; color: var(--brand); }
.button-light { background: #fff; color: var(--brand); border-color: #fff; }
.button-outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.8); }
.button-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.button-ghost { background: transparent; border-color: currentColor; color: inherit; }
.button-ghost:hover { box-shadow: none; background: color-mix(in srgb, currentColor 7%, transparent); }
.call { min-height: 44px; padding-inline: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mark { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--ink); align-items: center; justify-content: center; }
.mark-icon { width: 24px; height: 24px; }

/* Hero: the one big moment. Soft colour fields drift behind large type. */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--tint); padding-block: 48px 56px; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero::before { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8vw; top: -18vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 68%); }
.hero::after { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; left: -12vw; bottom: -22vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%); }
.hero-grid { display: grid; gap: 32px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); max-width: 14ch; margin-bottom: 0.3em; }
.hero-long h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); max-width: 20ch; }
.hero .lead { max-width: 54ch; }
.hero-image { border-radius: var(--radius-lg); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -20px rgb(16 24 32 / 0.35); }
.hero-art { display: none; }
.hero.has-image .hero-art { display: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 10px; border-radius: 999px; font-weight: 650; font-size: 0.92rem;
  background: rgb(255 255 255 / 0.7); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.drawing { width: 100%; }
.drawing .dim { opacity: 0.45; }
.drawing text { font: 600 11px/1 var(--body-font); fill: currentColor; stroke: none; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 6px; }
.ticks li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }

.trust { background: var(--paper); border-block: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; padding-block: 18px; display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.trust-icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; color: #fff; background: var(--brand); flex: none; }

/* Sections and cards. */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-alt { background: var(--tint); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section > .wrap > h2:first-child, .section > .wrap > h2:first-of-type { margin-top: 0; }
.more { font-weight: 650; display: inline-flex; align-items: center; min-height: 44px; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease; }
.card:hover, .card:focus-within { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); z-index: 1; }
.card h2, .card h3 { margin-top: 0; }
.card a { text-decoration: none; color: var(--ink); }
.card a:hover { text-decoration: underline; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card { padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.service-card h3 { margin-bottom: 4px; }
.service-card p { margin: 0; color: var(--muted); }
.card-icon { display: inline-flex; width: 52px; height: 52px; border-radius: 16px; background: var(--accent); color: var(--ink); align-items: center; justify-content: center;
  margin-bottom: 14px; transition: transform 0.35s var(--ease); }
.card-icon .icon { width: 27px; height: 27px; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.card-arrow { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--brand); transition: transform 0.3s var(--ease); }
.card:hover .card-arrow { transform: translateX(6px); }
.project-card { padding: 0; overflow: hidden; }
.project-card h3, .project-card p { padding-inline: 22px; }
.project-card h3 { margin-top: 18px; }
.project-card p { color: var(--muted); margin-bottom: 22px; }
.project-card:not(:has(.photo)) { padding-top: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, #fff), #fff 70%); }
.project-card .photo { overflow: hidden; }
.project-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.6s var(--ease); }
.project-card:hover img, .project-card:focus-within img { transform: scale(1.05); }
.sample-tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; z-index: 1; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--line));
  border-radius: 999px; text-decoration: none; background: #fff; font-weight: 550; transition: background-color 0.2s ease, color 0.2s ease; }
.chips a:hover { background: var(--brand); color: #fff; }
.badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; }

.quotes { list-style: none; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.quotes figure { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 22px; }
.quotes figure::before { content: "\201C"; position: absolute; top: 4px; right: 18px; font: 800 4.2rem/1 var(--display-font); color: var(--accent); }
.quotes blockquote { margin: 0; font-size: 1.08rem; }
.quotes figcaption { color: var(--muted); margin-top: 12px; font-weight: 650; }
.quotes figure .sample-tag { position: static; display: inline-block; margin-bottom: 10px; }
.stars { color: #8a5a00; letter-spacing: 2px; }

.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { cursor: pointer; font-weight: 650; font-size: 1.08rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 16px 0; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint) no-repeat center / 14px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%2316181d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.3s var(--ease); }
.section-alt .faqs summary::after { background-color: #fff; }
.faqs details[open] summary::after { transform: rotate(45deg); }
.faqs details > div { padding-bottom: 16px; color: var(--muted); }

.gallery { list-style: none; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); margin-block: 24px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 18px; width: 100%; }
.gallery figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-block: 6px; }
.prose li::marker { color: var(--brand); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 0.95rem; }
.crumbs li { display: flex; align-items: center; min-height: 44px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

/* Call to action: a rounded panel in the brand colour. */
.cta-band { padding-block: 0 clamp(48px, 7vw, 88px); }
.cta-band > .wrap { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: clamp(32px, 6vw, 64px); color: #fff;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 72%, #000)); }
.cta-band > .wrap::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); }
.cta-band h2 { margin-top: 0; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta-band p { max-width: 56ch; font-size: 1.12rem; }
.cta-band a:not(.button) { color: #fff; }

.site-footer { background: color-mix(in srgb, var(--brand) 14%, #0e1013); color: #e6e9ee; padding-block: 56px 20px; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.05rem; margin-top: 0; letter-spacing: -0.01em; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding-block: 2px; }
.plain a { display: inline-block; padding-block: 8px; text-decoration-color: rgb(255 255 255 / 0.4); }
.footer-base { border-top: 1px solid rgb(255 255 255 / 0.14); margin-top: 32px; padding-top: 14px; color: #c9ced6; }

/* Forms. */
.form { display: grid; gap: 22px; margin-top: 20px; }
.form > .button { justify-self: start; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 650; }
.hint { margin: 0; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--brand); }
.short { max-width: 12ch; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.choice input { width: 24px; height: 24px; margin: 0; accent-color: var(--brand); }
.choice label { font-weight: 400; }
.has-error { border-left: 5px solid var(--error); padding-left: 14px; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--error); }
.field-error { color: var(--error); font-weight: 700; margin: 0; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border: 2px solid; padding: 18px 22px; border-radius: 16px; margin-block: 16px; }
.notice h2 { margin-top: 0; font-size: 1.3rem; }
.notice-ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 6%, #fff); }
.notice-error { border-color: var(--error); background: color-mix(in srgb, var(--error) 5%, #fff); }
.notice-error a { color: var(--error); font-weight: 700; }
.notice-sample { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, #fff); }

/* ---- One look per industry. ---- */

/* Electricians: a dark, charged hero and header; condensed, heavy Archivo like signage. */
.theme-electrical { --display-font: "Archivo", var(--body-font); --display-weight: 800; --display-stretch: 84%; --display-track: -0.02em;
  --header-bg: rgb(14 16 20 / 0.86); --header-fg: #fff; --header-hover: rgb(255 255 255 / 0.12); }
.theme-electrical .hero { background: color-mix(in srgb, var(--brand) 30%, #0b0d10); color: #fff; }
.theme-electrical .hero::before { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent), transparent 66%); }
.theme-electrical .hero::after { background: radial-gradient(circle, color-mix(in srgb, var(--brand) 70%, transparent), transparent 70%); }
.theme-electrical .hero-grid::before { content: ""; position: absolute; inset: -80px -50vw; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.theme-electrical .hero .lead { color: #dfe5ec; }
.theme-electrical .hero .eyebrow { background: rgb(255 255 255 / 0.08); color: #fff; border-color: rgb(255 255 255 / 0.2); }
.theme-electrical .hero .eyebrow::before { background: var(--accent); }
.theme-electrical .glow { width: min(340px, 72%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent) 0%, transparent 70%); color: var(--accent); }
.theme-electrical .glow-icon { width: 55%; height: 55%; stroke-width: 1.2; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--accent) 75%, transparent)); }
.theme-electrical .submenu, .theme-electrical .nav .submenu a { color: var(--ink); }

/* Architects: wide, light Archivo and drawn lines; quiet stone background. */
.theme-architecture { --tint: #f2f3f1; --display-font: "Archivo", var(--body-font); --display-weight: 480; --display-stretch: 118%; --display-track: -0.03em; }
.theme-architecture .hero h1 { max-width: 16ch; }
.theme-architecture .drawing { color: var(--brand); }
.theme-architecture .service-cards { counter-reset: svc; }
.theme-architecture .service-card { counter-increment: svc; }
.theme-architecture .card-icon { background: transparent; border: 1.5px solid color-mix(in srgb, var(--accent) 60%, var(--ink)); }
.theme-architecture .service-card::before { content: counter(svc, decimal-leading-zero); position: absolute; top: 22px; right: 24px;
  font: 400 1.5rem/1 var(--display-font); font-stretch: 118%; color: var(--muted); }
.theme-architecture .card, .theme-architecture .quotes figure { border-radius: 6px; }
.theme-architecture .cta-band > .wrap { border-radius: 8px; }

/* Consultancy: Space Grotesk, white space and a precise drawn loop. */
.theme-consulting { --tint: #f3f6fa; --display-font: "Space Grotesk", var(--body-font); --display-weight: 650; --display-track: -0.04em; }
.theme-consulting .hero { background: #fff; }
.theme-consulting .hero-art { color: var(--brand); }
.theme-consulting .drawing text { font-family: "Space Grotesk", var(--body-font); }

/* Dog walking and pet care: round, bouncy Bricolage and sunny colour. */
.theme-pets { --tint: #fff7ea; --display-weight: 800; --display-stretch: 92%; }
.theme-pets .hero { background: #fff9ef; }
.theme-pets .hero::before { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 80%, transparent), transparent 66%); }
.theme-pets .hero-image { border-radius: 40px 40px 40px 12px; }
.theme-pets .card { border-radius: 26px; }
.theme-pets .card-icon { border-radius: 50%; }

/* Other trades: Bricolage, crisp and bright. */
.theme-general { --display-stretch: 94%; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .hero { padding-block: 88px 96px; }
  .hero-art { display: block; }
  .hero.has-image .hero-image { display: block; }
}

/* Motion: one orchestrated entrance, a slow drift behind the hero, and replies to the visitor's own actions. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-text > * { animation: rise 0.8s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.08s; }
  .hero-text > :nth-child(3) { animation-delay: 0.16s; }
  .hero-text > :nth-child(4) { animation-delay: 0.24s; }
  .hero-art, .hero-image { animation: settle 1.1s 0.2s var(--ease) both; }
  .hero::before { animation: drift 18s ease-in-out infinite alternate; }
  .hero::after { animation: drift 22s ease-in-out -6s infinite alternate-reverse; }
  .drawing .draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s 0.3s ease-in-out forwards; }
  @supports (animation-timeline: view()) {
    .cards > li, .quotes > li { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .card:focus-within, .button:hover, .card:hover .card-icon, .card:hover .card-arrow,
  .project-card:hover img, .project-card:focus-within img { transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { transform: translateY(28px); } to { transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6vw, 4vw) scale(1.12); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Cookie consent for Google Analytics (only on sites that use it). Not a modal: the page stays usable. */
.consent { position: fixed; inset: auto 0 0 0; z-index: 50; background: #fff; color: #1a1a1a; border-top: 4px solid var(--brand);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.15); padding: 16px 0; }
.consent[hidden] { display: none; }
.consent h2 { margin: 0 0 6px; font-size: 1.15rem; }
.consent p { margin: 0 0 12px; max-width: 70ch; }
.consent-status:empty { display: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link-button { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-button[hidden] { display: none; }
