/* ==========================================================================
   Titan Hue & HVAC Finishes — titanhuehvac.xyz
   One stylesheet. No framework, no build step.

   Visual language: technical documentation. Hairline borders, dense blocks,
   monospace labels, 2px radii, one electric blue. It should read like a
   well-set spec sheet rather than a brochure.

   01  Design tokens          08  Hero & page headers     15  Footer & call bar
   02  Reset & base           09  Blocks & cards          16  Images & placeholders
   03  Typography             10  Spec rows & tables      17  Motion
   04  Layout primitives      11  Callouts & bands        18  Utilities
   05  Labels & heads         12  Service area & map      19  Responsive
   06  Buttons & links        13  FAQ
   07  Header & navigation    14  Forms
   ========================================================================== */

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

:root {
  --ink-950: #131316;
  --ink-900: #1c1c20;
  --ink-800: #26262b;
  --ink-700: #3a3a41;
  --ink-600: #55555e;
  --ink-500: #70707a;
  --ink-400: #9797a1;
  --ink-300: #c4c4cc;
  --ink-200: #e0e0e6;
  --ink-100: #f0f0f3;
  --ink-50:  #f7f7f9;
  --white:   #ffffff;

  --blue-800: #1a3fa8;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-300: #93b4fb;
  --blue-100: #dbe6fe;
  --blue-50:  #eff4ff;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --step--1: clamp(0.84rem, 0.81rem + 0.14vw, 0.91rem);
  --step-0:  clamp(0.98rem, 0.95rem + 0.2vw, 1.06rem);
  --step-1:  clamp(1.15rem, 1.07rem + 0.42vw, 1.42rem);
  --step-2:  clamp(1.4rem, 1.25rem + 0.75vw, 1.95rem);
  --step-3:  clamp(1.7rem, 1.42rem + 1.35vw, 2.6rem);
  --step-4:  clamp(2.05rem, 1.6rem + 2.2vw, 3.4rem);
  --step-5:  clamp(2.35rem, 1.75rem + 2.8vw, 4rem);

  --sp-2: 0.75rem;
  --sp-3: 1.25rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  --r-sm: 2px;
  --r:    3px;
  --r-lg: 4px;

  --line: 1px solid var(--ink-200);
  --line-dark: 1px solid rgba(255, 255, 255, 0.13);

  --shadow-sm: 0 1px 2px rgba(19, 19, 22, 0.05);
  --shadow: 0 12px 26px -20px rgba(19, 19, 22, 0.4);
  --shadow-lg: 0 30px 60px -38px rgba(19, 19, 22, 0.5);

  --container: 1220px;
  --measure: 68ch;
}

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

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

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

img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-950); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 2px;
}

.skip-link { position: absolute; left: 0; top: 0; z-index: 200; transform: translateY(-130%); background: var(--ink-950); color: var(--white); padding: 0.8rem 1.4rem; font-weight: 600; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
::selection { background: var(--blue-100); color: var(--ink-950); }

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

h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--ink-950); font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.06; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }
h4 { font-size: var(--step-0); letter-spacing: 0; }

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-600); }

em.mark { font-style: normal; color: var(--blue-600); }
strong, b { font-weight: 600; color: var(--ink-950); }
code, .mono { font-family: var(--mono); font-size: 0.88em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
li:last-child { margin-bottom: 0; }
blockquote { margin: 0; }

/* 04  Layout primitives =================================================== */

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 680px) { .container { width: min(100% - 4rem, var(--container)); } }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2rem, 1.25rem + 3vw, 3.25rem); }
.section--white { background: var(--white); }
.section--pale { background: var(--ink-50); }
.section--blue { background: var(--blue-50); }
.section--dark { background: var(--ink-950); color: var(--ink-300); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section + .section { border-top: var(--line); }
.section--dark + .section, .section + .section--dark { border-top: 0; }

.grid { display: grid; gap: 1px; background: var(--ink-200); border: var(--line); }
.grid > * { background: var(--white); }
/* Column counts are pinned so the hairline grid always fills its rows — a
   half-empty row shows the grid background and reads as a rendering fault. */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.section--dark .grid { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.13); }
.section--dark .grid > * { background: var(--ink-950); }
.section--pale .grid > * { background: var(--white); }

/* A loose grid for when the hairline-table look is too heavy */
.cards { display: grid; gap: var(--sp-3); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--text { grid-template-columns: 1.15fr 0.85fr; }
  .split--media { grid-template-columns: 0.85fr 1.15fr; }
}
.grid > *, .cards > *, .split > *, .hero__inner > *, .area-grid > *, .footer-grid > * { min-width: 0; }

/* 05  Labels & section heads ============================================= */

.label {
  display: inline-flex; align-items: baseline; gap: 0.6rem;
  margin-bottom: 0.9rem;
  font-family: var(--mono); font-size: var(--step--2); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-700);
}
.label::before { content: attr(data-n); color: var(--ink-400); }
.section--dark .label { color: var(--blue-300); }
.section--dark .label::before { color: var(--ink-500); }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head p { font-size: var(--step-1); line-height: 1.55; color: var(--ink-600); }
.section--dark .section-head p { color: var(--ink-400); }

hr.rule { height: 0; border: 0; border-top: var(--line); margin: 0; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.82rem 1.4rem;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-weight: 600; font-size: var(--step--1);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--blue { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.btn--blue:hover { background: var(--blue-800); border-color: var(--blue-800); color: var(--white); }
.btn--dark { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
.btn--dark:hover { background: var(--ink-800); border-color: var(--ink-800); color: var(--white); }
.btn--outline { background: transparent; border-color: var(--ink-300); color: var(--ink-950); }
.btn--outline:hover { border-color: var(--ink-950); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--white); color: var(--white); }
.btn--lg { padding: 1rem 1.8rem; font-size: var(--step-0); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.golink {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: var(--step--2); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-700); text-decoration: none;
}
.golink svg { width: 1.05em; height: 1.05em; transition: transform 0.16s ease; }
.golink:hover { color: var(--ink-950); }
.golink:hover svg { transform: translateX(3px); }
.section--dark .golink { color: var(--blue-300); }

/* 07  Header & navigation ================================================ */

.topbar { background: var(--ink-950); color: var(--ink-400); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.3rem 1.5rem; min-height: 38px; padding-block: 0.35rem; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: 0.4rem; margin: 0; }
.topbar__list svg { color: var(--blue-300); flex: none; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar p { margin: 0; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink-950); }
.logo__name b { font-weight: 600; color: var(--blue-600); }
.logo__sub { margin-top: 3px; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-500); }

.nav { display: none; align-items: center; gap: 0; }
.nav__link { padding: 0.5rem 0.85rem; font-size: var(--step--1); font-weight: 500; color: var(--ink-600); text-decoration: none; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--ink-950); }
.nav__link[aria-current="page"] { color: var(--ink-950); font-weight: 600; border-bottom-color: var(--blue-600); }

.header-cta { display: flex; align-items: center; gap: 0.55rem; }
.header-phone { display: none; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--ink-950); }
.header-phone svg { width: 18px; height: 18px; color: var(--blue-600); }
.header-phone span span { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); }
.header-phone strong { font-size: 1rem; font-weight: 600; white-space: nowrap; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; background: var(--white); border: var(--line); border-radius: var(--r-sm); color: var(--ink-950); 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 (min-width: 1040px) {
  .nav { display: flex; }
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav .btn { display: none; }
}
@media (max-width: 1039px) {
  .nav {
    position: fixed; inset: 108px 0 auto 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem 1rem 1.25rem; background: var(--white);
    border-bottom: var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 108px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.9rem 0.4rem; border-bottom: var(--line); border-bottom-color: var(--ink-100); font-size: var(--step-0); }
  .nav__link[aria-current="page"] { border-bottom-color: var(--blue-600); }
  .nav .btn { margin-top: 1rem; }
}

/* 08  Hero & page headers ================================================ */

.hero { background: var(--white); border-bottom: var(--line); }
.hero__inner { display: grid; gap: clamp(2.25rem, 1rem + 4.5vw, 3.75rem); padding-block: clamp(2.75rem, 1.5rem + 5.5vw, 5.5rem); align-items: center; }
@media (min-width: 940px) { .hero__inner { grid-template-columns: 1.08fr 0.92fr; } }

.hero h1 { font-size: var(--step-5); }
.hero__lead { font-size: var(--step-1); line-height: 1.55; max-width: 46ch; }

.hero__specs { display: grid; gap: 1px; background: var(--ink-200); border: var(--line); margin: 2.25rem 0 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .hero__specs { grid-template-columns: repeat(3, 1fr); } }
.hero__specs li { margin: 0; padding: 1rem 1.1rem; background: var(--white); }
.hero__specs b { display: block; font-family: var(--mono); font-size: var(--step--2); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); font-weight: 500; margin-bottom: 0.3rem; }
.hero__specs span { font-size: var(--step--1); color: var(--ink-800); font-weight: 500; }

.hero__media { position: relative; border: var(--line); }
.hero__stamp {
  position: absolute; right: 0; top: 0;
  padding: 0.5rem 0.9rem; background: var(--blue-600); color: var(--white);
  font-family: var(--mono); font-size: var(--step--2); letter-spacing: 0.1em; text-transform: uppercase;
}

.page-head { background: var(--ink-950); color: var(--ink-400); padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.page-head h1 { color: var(--white); max-width: 20ch; }
.page-head p { font-size: var(--step-1); line-height: 1.55; max-width: 58ch; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.3rem; padding: 0; list-style: none; font-family: var(--mono); font-size: var(--step--2); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--ink-600); }
.crumbs a { color: var(--ink-300); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* 09  Blocks & cards ===================================================== */

.cell { display: flex; flex-direction: column; padding: clamp(1.35rem, 1rem + 1vw, 1.9rem); }
.cell h3 { margin-bottom: 0.4em; }
.cell p { font-size: var(--step--1); line-height: 1.6; color: var(--ink-600); }
.section--dark .cell p { color: var(--ink-400); }
.cell__n { display: block; font-family: var(--mono); font-size: var(--step--2); letter-spacing: 0.12em; color: var(--blue-600); margin-bottom: 0.9rem; }
.section--dark .cell__n { color: var(--blue-300); }
.cell__foot { margin-top: auto; padding-top: 1.2rem; }

.card { padding: clamp(1.35rem, 1rem + 1vw, 1.9rem); background: var(--white); border: var(--line); border-radius: var(--r); }
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: var(--step--1); line-height: 1.6; color: var(--ink-600); }
.card--blue { background: var(--blue-50); border-color: var(--blue-100); }
.card--dark { background: var(--ink-900); border-color: rgba(255,255,255,0.13); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--ink-400); }

.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; }
.checks li { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.65rem; margin: 0; font-size: var(--step--1); line-height: 1.55; }
.checks svg { width: 1.2rem; height: 1.2rem; color: var(--blue-600); margin-top: 0.15rem; }
.section--dark .checks svg { color: var(--blue-300); }
@media (min-width: 700px) { .checks--2 { grid-template-columns: 1fr 1fr; gap: 0.65rem 2rem; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chips span, .chips a { display: inline-block; padding: 0.32rem 0.75rem; border: var(--line); border-radius: var(--r-sm); font-family: var(--mono); font-size: 0.78rem; color: var(--ink-700); text-decoration: none; }
.chips a:hover { border-color: var(--blue-600); color: var(--blue-700); }
.section--dark .chips span { border-color: rgba(255,255,255,0.16); color: var(--ink-300); }

/* 10  Spec rows & tables ================================================= */

.specs { margin: 0; padding: 0; border-top: var(--line); }
.specs > div { display: grid; gap: 0.25rem 1.5rem; padding: 1.1rem 0; border-bottom: var(--line); }
@media (min-width: 720px) { .specs > div { grid-template-columns: 12rem 1fr; } }
.specs dt { font-family: var(--mono); font-size: var(--step--2); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); padding-top: 0.2rem; }
.specs dd { margin: 0; font-size: var(--step--1); line-height: 1.6; color: var(--ink-700); }
.specs dd strong { display: block; color: var(--ink-950); margin-bottom: 0.15rem; }
.section--dark .specs, .section--dark .specs > div { border-color: rgba(255,255,255,0.13); }
.section--dark .specs dd { color: var(--ink-300); }
.section--dark .specs dd strong { color: var(--white); }

.tablewrap { overflow-x: auto; border: var(--line); border-radius: var(--r); }
table.spec { width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--step--1); }
table.spec caption { padding: 0.9rem 1.2rem; text-align: left; font-family: var(--mono); font-size: var(--step--2); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); border-bottom: var(--line); }
table.spec th, table.spec td { padding: 0.85rem 1.2rem; text-align: left; border-bottom: var(--line); vertical-align: top; }
table.spec thead th { background: var(--ink-50); color: var(--ink-950); font-weight: 600; }
table.spec tbody th { font-weight: 600; color: var(--ink-950); white-space: nowrap; }
table.spec td { color: var(--ink-600); }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }

.steps { counter-reset: st; display: grid; gap: 1px; background: var(--ink-200); border: var(--line); margin: 0; padding: 0; list-style: none; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: st; margin: 0; padding: 1.5rem 1.3rem; background: var(--white); }
.steps li::before { content: "§ 0" counter(st); display: block; margin-bottom: 0.85rem; font-family: var(--mono); font-size: var(--step--2); letter-spacing: 0.1em; color: var(--blue-600); }
.steps h3 { font-size: var(--step-0); margin-bottom: 0.35em; }
.steps p { font-size: var(--step--1); color: var(--ink-600); }
.section--dark .steps { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.13); }
.section--dark .steps li { background: var(--ink-950); }
.section--dark .steps h3 { color: var(--white); }
.section--dark .steps p { color: var(--ink-400); }

/* 11  Callouts & bands ================================================== */

.callout { padding: clamp(1.25rem, 1rem + 1.2vw, 1.85rem); border: 1px solid var(--blue-100); border-left: 3px solid var(--blue-600); background: var(--blue-50); border-radius: var(--r-sm); }
.callout h3 { font-size: var(--step-0); margin-bottom: 0.4em; }
.callout p { font-size: var(--step--1); color: var(--ink-700); }
.section--dark .callout { background: rgba(37,99,235,0.1); border-color: rgba(147,180,251,0.3); border-left-color: var(--blue-600); }
.section--dark .callout p { color: var(--ink-300); }

.band { background: var(--ink-950); color: var(--ink-400); padding-block: clamp(2rem, 1.2rem + 2.6vw, 3rem); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.band h2 { color: var(--white); font-size: var(--step-2); margin: 0; }
.band p { margin: 0.3rem 0 0; color: var(--ink-400); }

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

.map-frame { width: 100%; aspect-ratio: 4 / 3; min-height: 300px; border: var(--line); border-radius: var(--r); }
.area-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

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

.faq { border-top: var(--line); }
.faq details { border-bottom: var(--line); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; font-weight: 600; font-size: var(--step-0); color: var(--ink-950); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "[+]"; flex: none; font-family: var(--mono); font-size: var(--step--1); color: var(--blue-600); }
.faq details[open] summary::after { content: "[\2212]"; }
.faq details > div { padding-bottom: 1.4rem; }
.faq details p { font-size: var(--step--1); color: var(--ink-600); }

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

.form-card { padding: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); background: var(--white); border: var(--line); border-radius: var(--r); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-family: var(--mono); font-size: var(--step--2); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-600); }
.field .req { color: var(--blue-600); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 0.78rem 0.9rem;
  font: inherit; font-size: var(--step--1); color: var(--ink-950);
  background: var(--white); border: 1px solid var(--ink-300); border-radius: var(--r-sm);
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}
textarea { min-height: 140px; 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='%2370707a' 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 { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-50); }
input::placeholder, textarea::placeholder { color: var(--ink-400); }

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

.contact-list { margin: 0; padding: 0; list-style: none; border-top: var(--line); }
.contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; align-items: start; margin: 0; padding: 1.2rem 0; border-bottom: var(--line); }
.contact-list__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: var(--line); border-radius: var(--r-sm); color: var(--blue-600); }
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list h3 { font-family: var(--mono); font-size: var(--step--2); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 0.3em; }
.contact-list p { margin: 0; font-size: var(--step-1); font-weight: 600; color: var(--ink-950); }
.contact-list small { display: block; margin-top: 0.3rem; font-size: 0.82rem; 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.6rem 0; margin: 0; border-bottom: var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { font-family: var(--mono); font-size: 0.85em; color: var(--ink-600); }

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

.site-footer { background: var(--ink-950); color: var(--ink-400); padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.5rem) 1.75rem; font-size: var(--step--1); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2rem; } }
.site-footer h3 { font-family: var(--mono); font-size: var(--step--2); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 1rem; }
.site-footer .logo__name { color: var(--white); }
.site-footer .logo__sub { color: var(--ink-500); }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.footer-links li { margin: 0; }
.site-footer a { color: var(--ink-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.75rem; padding-top: 1.4rem; border-top: var(--line-dark); font-family: var(--mono); font-size: 0.74rem; color: var(--ink-500); }
.footer-bottom p { margin: 0; }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink-700); border-top: 1px solid var(--ink-700); 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.9rem; font-weight: 600; text-decoration: none; }
.callbar svg { width: 17px; height: 17px; }
.callbar a:first-child { background: var(--ink-950); color: var(--white); }
.callbar a:last-child { background: var(--blue-600); color: var(--white); }
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 54px; } }

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

figure { margin: 0; }
figure img, figure .img-placeholder { border: var(--line); }
figcaption { margin-top: 0.6rem; font-family: var(--mono); font-size: var(--step--2); letter-spacing: 0.06em; color: var(--ink-500); }
.section--dark figcaption { color: var(--ink-500); }

.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
  padding: 1rem; width: 100%;
  background:
    linear-gradient(var(--ink-100) 1px, transparent 1px) 0 0 / 100% 16px,
    linear-gradient(90deg, var(--ink-100) 1px, transparent 1px) 0 0 / 16px 100%,
    var(--ink-50);
  border: 1px dashed var(--ink-300);
  text-align: center; color: var(--ink-500);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; line-height: 1.5;
}
.img-placeholder b { display: block; color: var(--ink-950); font-size: 0.8rem; font-weight: 600; word-break: break-all; }

/* 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: 105px; }

/* 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; }
.center { text-align: center; }
.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); }
.narrow { max-width: 56ch; }
.narrow-center { max-width: 60ch; margin-inline: auto; }

/* 19  Responsive ========================================================= */

@media (max-width: 599px) {
  .band__inner { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
  .header-cta .btn { width: auto; padding: 0.65rem 0.9rem; font-size: 0.8rem; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__name { font-size: 1.06rem; }
  .site-header__inner { min-height: 62px; gap: 0.5rem; }
  .nav { inset-block-start: 100px; max-height: calc(100dvh - 100px); }
}
@media (max-width: 430px) {
  .logo__sub { display: none; }
  .topbar__list li:nth-child(2) { display: none; }
}
