/* ==========================================================================
   BrightMatter HVAC Solutions — brightmatterhvac.xyz
   One stylesheet. No framework, no build step.

   LAYOUT: homes and businesses equal; practical, fast, repair-first. A
   charcoal bar with light links on the right; the current page is
   underlined in two tones (red, then grey). The home page opens dark:
   headline and a big phone button left, a technician photo right with a
   "five checks before you call" card beneath. The signature component
   is that stepper: five safe checks, one at a time, each with its fix.
   One typeface: Hind.

   01  Design tokens          08  Hero & page heads       15  Footer & call bar
   02  Reset & base           09  AC-stopped stepper      16  Images & placeholders
   03  Typography             10  Cards, panels, lists    17  Motion
   04  Containers & sections  11  Rows, notes, bands      18  Utilities
   05  Eyebrows & tags        12  Service area & map      19  Site details & responsive
   06  Buttons & links        13  FAQ
   07  Header                 14  Forms
   ========================================================================== */

/* 01  Design tokens ======================================================= */

:root {
  --ink-950: #0b0f17;
  --ink-900: #111827;
  --ink-800: #1f2937;
  --ink-700: #374151;
  --ink-600: #4b5563;
  --ink-500: #525b68;   /* AA on --paper */
  --ink-400: #9ca3af;   /* dark surfaces only */
  --ink-300: #d1d5db;

  --paper: #f4f6f8;
  --white: #ffffff;
  --tint: #e7ebef;
  --rule: #dde2e7;
  --field-border: #b6bec8;

  --acc: #dc2626;           /* breaker red: fills (white text 4.8:1) */
  --acc-btn: #dc2626;
  --acc-btn-hover: #b91c1c;
  --on-acc: #ffffff;
  --acc-ink: #b91c1c;       /* text: 6.1:1 on paper */
  --acc-300: #fca5a5;       /* on dark */
  --acc-50: #fef2f2;
  --focus: #b91c1c;

  --ok: #166534;
  --err: #b42318;

  --font: "Hind", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Hind", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head-weight: 700;
  --head-track: -0.02em;

  --step--2: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step--1: clamp(0.95rem, 0.92rem + 0.14vw, 1.03rem);
  --step-0:  clamp(1.07rem, 1.04rem + 0.18vw, 1.15rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.55rem);
  --step-2:  clamp(1.55rem, 1.35rem + 1vw, 2.25rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4:  clamp(2.4rem, 1.72rem + 3.2vw, 4.3rem);

  --sp-2: 0.8rem;
  --sp-3: 1.3rem;
  --sp-4: 2rem;
  --sp-5: 3.1rem;
  --section-y: clamp(3rem, 2rem + 4.4vw, 5.6rem);
  --wrap: 1180px;

  --r-sm: 4px;
  --r: 6px;
  --r-btn: 6px;
  --r-chip: 4px;

  --line: 1px solid var(--rule);
  --line-dark: 1px solid rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 44px -30px rgba(11, 15, 23, 0.55);
}

/* 02  Reset & base ======================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--paper); color: var(--ink-600);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

a { color: var(--acc-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink-900); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px;
}
.section--dark :where(a, button, summary):focus-visible,
.band :where(a, button):focus-visible,
.on-dark :where(a, button):focus-visible { outline-color: var(--acc-300); }

.skip-link { position: absolute; left: 0; top: 0; z-index: 300; transform: translateY(-140%); background: var(--ink-900); color: #fff; padding: 0.85rem 1.4rem; font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
::selection { background: var(--acc-50); color: var(--ink-900); }

/* 03  Typography ========================================================== */

h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--font-head); font-weight: var(--head-weight); color: var(--ink-900); line-height: 1.1; letter-spacing: var(--head-track); text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.04; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.24; }

p { margin: 0 0 1.05em; max-width: 66ch; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; color: var(--ink-900); }

ul, ol { margin: 0 0 1.05em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
li:last-child { margin-bottom: 0; }

/* 04  Containers & sections ============================================== */

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, 790px); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink-900); color: var(--ink-300); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark a { color: #fff; }

.split { display: grid; gap: clamp(1.5rem, 1rem + 2.4vw, 3.2rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (min-width: 900px) { .split--wide { grid-template-columns: 1.2fr 1fr; } }
@media (min-width: 900px) { .split--narrow { grid-template-columns: 0.85fr 1.15fr; } }
@media (min-width: 900px) { .split--center { align-items: center; } }
.split > * { min-width: 0; }

.grid { display: grid; gap: var(--sp-3); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.grid > * { min-width: 0; }

/* 05  Eyebrows & audience tags =========================================== */

.eyebrow { display: block; margin-bottom: 0.8rem; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc-ink); }
.section--dark .eyebrow, .band .eyebrow, .on-dark .eyebrow { color: var(--acc-300); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); }
.section-head p { font-size: var(--step-1); line-height: 1.5; }
.section--dark .section-head p { color: var(--ink-300); }

.aud { display: inline-block; align-self: flex-start; margin-bottom: 0.7rem; padding: 0.2rem 0.65rem; border-radius: var(--r-sm); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.aud--comm { background: var(--ink-900); color: #fff; }
.aud--home { background: var(--acc-50); color: var(--acc-ink); }
.section--dark .aud--comm, .panel--ink .aud--comm { background: #fff; color: var(--ink-900); }

/* 06  Buttons & links ==================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; flex: none;
  padding: 0.8rem 1.35rem; border: 2px solid transparent; border-radius: var(--r-btn);
  font: inherit; font-weight: 700; font-size: var(--step--1);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--acc { background: var(--acc-btn); border-color: var(--acc-btn); color: var(--on-acc); }
.btn--acc:hover { background: var(--acc-btn-hover); border-color: var(--acc-btn-hover); color: var(--on-acc); }
.btn--ink { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.btn--ink:hover { background: var(--ink-700); border-color: var(--ink-700); color: #fff; }
.btn--outline { background: transparent; border-color: var(--ink-900); color: var(--ink-900); }
.btn--outline:hover { background: var(--ink-900); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: 0.95rem 1.65rem; font-size: var(--step-0); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.golink { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; font-size: var(--step--1); color: var(--acc-ink); text-decoration: none; }
.golink svg { width: 1em; height: 1em; transition: transform 0.18s ease; }
.golink:hover svg { transform: translateX(3px); }
.section--dark .golink, .on-dark .golink { color: var(--acc-300); }

/* 07  Header ============================================================= */

.header { position: sticky; top: 0; z-index: 100; background: var(--ink-900); color: var(--ink-300); border-bottom: 1px solid #000; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.header :focus-visible { outline-color: var(--acc-300); }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.logo__sub { margin-top: 3px; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-400); white-space: nowrap; }

.nav { display: none; }
.nav__link { position: relative; display: flex; align-items: center; padding: 0.6rem 0.85rem; font-size: var(--step--1); font-weight: 500; color: var(--ink-300); text-decoration: none; white-space: nowrap; }
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"] { color: #fff; font-weight: 700; }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.2rem; height: 3px; background: linear-gradient(90deg, var(--acc) 0 38%, var(--ink-600) 38% 100%); }

.header__right { display: flex; align-items: center; gap: 0.6rem; }
.header__phone { display: none; align-items: center; gap: 0.45rem; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; }
.header__phone svg { flex: none; width: 16px; height: 16px; color: var(--acc-300); }
.header__phone:hover { color: var(--acc-300); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; background: var(--ink-800); border: 1px solid var(--ink-600); border-radius: var(--r-btn); color: #fff; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 1039px) {
  .header__inner { position: relative; }
  .nav { position: absolute; top: 100%; left: -1rem; right: -1rem; flex-direction: column; padding: 0.4rem 1rem 1.2rem; background: var(--ink-900); border-top: 1px solid var(--ink-700); box-shadow: var(--shadow); max-height: calc(100dvh - 80px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.9rem 0; border-bottom: 1px solid var(--ink-700); font-size: var(--step-0); }
  .nav__link[aria-current="page"]::after { left: 0; right: auto; width: 5rem; bottom: 0.4rem; }
  .nav .btn { margin-top: 0.9rem; align-self: flex-start; }
}
@media (min-width: 1040px) {
  .nav { display: flex; align-items: center; margin-left: auto; }
  .nav .btn { display: none; }
  .nav-toggle { display: none; }
  .header__phone { display: inline-flex; margin: 0 0.6rem 0 1rem; }
}
@media (max-width: 520px) {
  .logo__sub { display: none; }
  .logo__name { font-size: 1.2rem; }
  .logo__mark { width: 32px; height: 32px; }
  .header__right .btn { padding: 0.55rem 0.8rem; font-size: 0.86rem; }
}

/* 08  Hero & page heads ================================================= */

.hero { padding-block: clamp(2.4rem, 1.7rem + 3vw, 4.6rem); background: var(--ink-900); color: var(--ink-300); }
.hero__grid { display: grid; gap: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }
.hero__grid > * { min-width: 0; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .eyebrow { color: var(--acc-300); }
.hero__lede { font-size: clamp(1.05rem, 0.99rem + 0.45vw, 1.2rem); line-height: 1.65; max-width: 50ch; }
.hero__call { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.4rem; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); font-weight: 700; color: #fff; text-decoration: none; }
.hero__call svg { width: 28px; height: 28px; color: var(--acc-300); }
.hero__call:hover { color: var(--acc-300); }
.hero figure img, .hero figure .img-placeholder { border-radius: var(--r); }
.hero .img-placeholder { background: var(--ink-800); border-color: var(--ink-600); color: var(--ink-400); }
.hero .img-placeholder b { color: var(--ink-300); }
.check-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; padding: 1rem 1.2rem; background: var(--acc); color: var(--on-acc); border-radius: var(--r); text-decoration: none; font-weight: 700; }
.check-card span { font-size: var(--step-0); }
.check-card small { display: block; font-weight: 500; font-size: var(--step--1); }
.check-card svg { flex: none; width: 24px; height: 24px; }
.check-card:hover { background: var(--acc-btn-hover); color: #fff; }

.page-head { padding-block: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); background: var(--ink-900); color: var(--ink-300); }
.page-head h1 { color: #fff; max-width: 20ch; }
.page-head p { font-size: var(--step-1); line-height: 1.55; max-width: 60ch; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: var(--step--1); color: var(--ink-400); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--acc-300); font-weight: 700; }
.crumbs a { color: #fff; }

/* 09  AC-stopped stepper ==================================================
   Signature component. Five safe checks in an ordered list. Without JS
   every check and its fix is visible — a plain checklist. With JS
   (main.js §4b) one check shows at a time: "That's fine" moves on,
   "That's it" reveals the fix. A progress line is aria-live. A final
   card appears after the last check. Safety note always visible.       */

.stepper { max-width: 760px; }
.st-progress { margin-bottom: 0.8rem; font-size: var(--step--1); font-weight: 600; color: var(--acc-ink); }
[data-stepper]:not(.is-live) .st-progress, [data-stepper]:not(.is-live) .st-btns, [data-stepper]:not(.is-live) .st-done { display: none; }
.st-list { margin: 0; padding: 0; list-style: none; }
.st-list > li { margin: 0 0 1rem; padding: 1.3rem 1.4rem; background: var(--white); border: var(--line); border-left: 5px solid var(--ink-900); border-radius: var(--r); }
.st-n { display: block; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc-ink); }
.st-list h3 { margin-top: 0.2rem; font-size: var(--step-1); }
.st-list p { margin-top: 0.4rem; }
.st-fix { margin-top: 0.8rem; padding: 0.9rem 1rem; background: var(--tint); border-left: 3px solid var(--acc); border-radius: var(--r-sm); }
.st-fix b { color: var(--ink-900); }
.is-live .st-list > li { display: none; }
.is-live .st-list > li.is-current { display: block; }
.is-live .st-fix { display: none; }
.is-live .st-fix.is-open { display: block; }
.st-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.st-btns button { font: inherit; font-weight: 700; min-height: 44px; padding: 0.55rem 1.1rem; border-radius: var(--r-btn); cursor: pointer; }
.st-btns .ok { background: var(--ink-900); color: #fff; border: 0; }
.st-btns .found { background: var(--white); color: var(--ink-900); border: 2px solid var(--ink-900); }
.st-done { padding: 1.3rem 1.4rem; background: var(--ink-900); color: var(--ink-300); border-radius: var(--r); }
.st-done h3 { color: #fff; font-size: var(--step-1); }
.is-live .st-done { display: none; }
.is-live .st-done.is-open { display: block; }
.st-restart { margin-top: 0.8rem; font: inherit; font-weight: 600; background: none; border: 0; padding: 0; color: var(--acc-ink); text-decoration: underline; cursor: pointer; }
.st-done a, .st-done .st-restart { color: var(--acc-300); }
.st-done :focus-visible, .safety :focus-visible { outline-color: var(--acc-300); }
.safety { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 0.9rem; max-width: 760px; margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--ink-950); border-radius: var(--r); color: var(--ink-300); }
.safety svg { width: 26px; height: 26px; color: var(--acc-300); grid-row: span 2; }
.safety b { color: #fff; }
.safety a { color: var(--acc-300); }

/* 10  Cards, panels, lists ============================================== */

.card { padding: clamp(1.2rem, 1rem + 1vw, 1.7rem); background: var(--white); border: var(--line); border-radius: var(--r); }
.card h3 { margin-bottom: 0.35em; }
.card p { font-size: var(--step--1); }

.panel { padding: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); background: var(--white); border: var(--line); border-radius: var(--r); }
.panel--ink { background: var(--ink-900); border-color: var(--ink-900); color: var(--ink-300); }
.panel--ink h3, .panel--ink strong { color: #fff; }

.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.checks li { display: grid; grid-template-columns: 1.15rem 1fr; gap: 0.7rem; margin: 0; font-size: var(--step--1); line-height: 1.6; }
.checks svg { width: 1.15rem; height: 1.15rem; color: var(--acc-ink); margin-top: 0.22rem; }
.section--dark .checks svg, .panel--ink .checks svg { color: var(--acc-300); }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; padding: 0.3rem 0.8rem; background: var(--white); border: var(--line); border-radius: var(--r-chip); font-size: var(--step--1); color: var(--ink-700); }

/* 11  Rows, notes, bands ================================================= */

.rows { margin: 0; padding: 0; border-top: 2px solid var(--ink-900); }
.rows > div { display: grid; gap: 0.3rem 2rem; padding: 1.1rem 0; border-bottom: var(--line); }
@media (min-width: 720px) { .rows > div { grid-template-columns: 12rem 1fr; } }
.rows dt { font-family: var(--font-head); font-weight: 700; color: var(--ink-900); }
.rows dd { margin: 0; font-size: var(--step--1); }
.section--dark .rows { border-top-color: #fff; }
.section--dark .rows > div { border-bottom: var(--line-dark); }
.section--dark .rows dt { color: #fff; }

.note { padding: clamp(1.1rem, 1rem + 1vw, 1.5rem); background: var(--acc-50); border-left: 5px solid var(--acc); border-radius: 0 var(--r) var(--r) 0; }
.note h2, .note h3 { font-size: var(--step-1); margin-bottom: 0.35em; }
.note p { font-size: var(--step--1); color: var(--ink-700); }

.band { padding-block: clamp(2.8rem, 2rem + 3vw, 4.4rem); background: var(--ink-900); color: var(--ink-300); }
.band__inner { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .band__inner { grid-template-columns: 1.4fr auto; align-items: end; } }
.band h2 { color: #fff; font-size: var(--step-3); margin-bottom: 0.25em; }
.band p { margin: 0; max-width: 54ch; }

/* 12  Service area & map ================================================= */

.map-frame { width: 100%; aspect-ratio: 16 / 10; min-height: 300px; border: var(--line); border-radius: var(--r); background: var(--white); }

/* 13  FAQ ================================================================ */

.faq { border-top: 2px solid var(--ink-900); }
.faq details { border-bottom: var(--line); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; padding: 1.1rem 0; font-family: var(--font-head); font-size: var(--step-1); font-weight: var(--head-weight); line-height: 1.3; color: var(--ink-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font); font-size: 1.4rem; line-height: 1; color: var(--acc-ink); transition: transform 0.22s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.2rem; }
.faq details p { font-size: var(--step--1); }

/* 14  Forms ============================================================== */

.form-card { padding: clamp(1.35rem, 1.1rem + 1.3vw, 1.95rem); background: var(--white); border: var(--line); border-top: 5px solid var(--acc); border-radius: var(--r); }
.form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field label { font-size: var(--step--1); font-weight: 700; color: var(--ink-900); }
.field .req { color: var(--acc-ink); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 0.75rem 0.9rem; font: inherit; font-size: var(--step--1); color: var(--ink-900);
  background: var(--paper); border: 1px solid var(--field-border); border-radius: var(--r-sm);
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 15px; padding-right: 2.4rem; }
input:focus, select:focus, textarea:focus { background: var(--white); border-color: var(--ink-900); }
input::placeholder, textarea::placeholder { color: var(--ink-500); }

.field__error { min-height: 1rem; font-size: 0.8rem; font-weight: 700; color: var(--err); margin: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 0.82rem; color: var(--ink-500); }
.form-status { margin-top: 0.9rem; font-size: var(--step--1); font-weight: 700; min-height: 1.2rem; }
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--ok); }

.contact-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink-900); }
.contact-list > li { margin: 0; padding: 1.1rem 0; border-bottom: var(--line); }
.contact-list h3 { font-family: var(--font); font-size: var(--step--2); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc-ink); margin-bottom: 0.4em; }
.contact-list p { margin: 0; }
.contact-list .big { font-family: var(--font-head); font-size: var(--step-2); font-weight: 700; color: var(--ink-900); text-decoration: none; }
.contact-list small { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: var(--ink-500); }

.hours { margin: 0; padding: 0; list-style: none; font-size: var(--step--1); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; margin: 0; border-bottom: var(--line); }
.hours li:last-child { border-bottom: 0; }

/* 15  Footer & mobile call bar =========================================== */

.site-footer { background: var(--ink-950); color: var(--ink-400); padding-block: clamp(2.4rem, 2rem + 3vw, 3.8rem) 1.7rem; font-size: var(--step--1); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid > * { min-width: 0; }
.site-footer h3 { font-family: var(--font); font-size: var(--step--2); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 0.9rem; }
.site-footer .footer-name { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: #fff; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.footer-links li { margin: 0; }
.site-footer a { color: var(--ink-300); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :where(a):focus-visible { outline-color: var(--acc-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; padding-top: 1.3rem; border-top: var(--line-dark); font-size: 0.8rem; color: var(--ink-400); }
.footer-bottom p { margin: 0; }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 0.5rem; font-size: 0.95rem; font-weight: 700; text-decoration: none; }
.callbar svg { width: 17px; height: 17px; }
.callbar a:first-child { background: var(--ink-900); color: #fff; }
.callbar a:last-child { background: var(--acc-btn); color: var(--on-acc); }
.callbar :where(a):focus-visible { outline-color: #fff; outline-offset: -4px; }
@media (min-width: 1040px) { .callbar { display: none; } }
@media (max-width: 1039px) { body { padding-bottom: 54px; } }

/* 16  Images & placeholders ============================================== */

figure { margin: 0; }
figure img, figure .img-placeholder { border-radius: var(--r); }
figcaption { margin-top: 0.6rem; font-size: var(--step--2); color: var(--ink-500); }
.section--dark figcaption { color: var(--ink-400); }

.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
  padding: 1rem; width: 100%;
  background: var(--tint); border: 1px dashed var(--ink-400);
  text-align: center; color: var(--ink-500);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5;
}
.img-placeholder b { display: block; font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--ink-900); word-break: break-all; }
.section--dark .img-placeholder, .on-dark .img-placeholder { background: var(--ink-800); border-color: var(--ink-600); color: var(--ink-400); }
.section--dark .img-placeholder b, .on-dark .img-placeholder b { color: var(--ink-300); }

/* 17  Motion ============================================================= */

[data-reveal] { opacity: 0; transform: translateY(12px); }
.is-revealed[data-reveal] { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
:target { scroll-margin-top: 110px; }

/* 18  Utilities ========================================================== */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }

/* 19  Site details & responsive ========================================= */

.card { border-top: 4px solid var(--acc); }
.card h3 { font-size: var(--step-1); }
.band { background: var(--ink-950); }
.band .eyebrow { color: var(--acc-300); }
.work { display: grid; gap: 0; border: var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 860px) { .work { grid-template-columns: 1fr 1fr; } }
.work > article { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; padding: clamp(1.3rem, 1rem + 1.2vw, 2rem); background: var(--white); }
.work > article + article { border-top: var(--line); }
@media (min-width: 860px) { .work > article + article { border-top: 0; border-left: var(--line); } }
.work h3 { font-size: var(--step-2); }
.work .golink { margin-top: auto; }

@media (max-width: 380px) { .logo__name { font-size: 1.02rem; } .header__right { gap: 0.4rem; } .header__right .btn { padding: 0.5rem 0.6rem; } }
@media (max-width: 400px) { .logo__mark { display: none; } }
