/* ==========================================================================
   Keystone HVAC & Surface Dynamics — keystonehvac.xyz
   One stylesheet. No framework, no build step.

   LAYOUT: homes and businesses equal; warm, plain-spoken, question-led. A
   paper bar with links on the right; a small indigo keystone (trapezoid)
   sits above the current page. The home page opens with the first question
   of the repair-or-replace tool right in the hero. The signature component
   is that tool: six questions with honest weightings and a plain verdict,
   written so that without JavaScript it still reads as a guide.
   Type: Lora for headings, the system sans for reading.

   01  Design tokens          08  Hero & page heads       15  Footer & call bar
   02  Reset & base           09  Repair-or-replace tool  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: #0f0d0b;
  --ink-900: #1e1b18;
  --ink-800: #2d2925;
  --ink-700: #423c36;
  --ink-600: #544d46;
  --ink-500: #625a52;   /* AA on --paper */
  --ink-400: #a89f95;   /* dark surfaces only */
  --ink-300: #d9d2c9;

  --paper: #f8f4ec;
  --white: #fffdf9;
  --tint: #efe9dd;
  --rule: #e5ddd0;
  --field-border: #c8bfb1;

  --acc: #3730a3;           /* indigo: 8.6:1 on paper; white on it 10:1 */
  --acc-btn: #3730a3;
  --acc-btn-hover: #312e81;
  --on-acc: #ffffff;
  --acc-ink: #3730a3;
  --acc-300: #a5b4fc;       /* on dark surfaces */
  --acc-50: #eceafd;
  --focus: #3730a3;

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

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --head-weight: 600;
  --head-track: -0.01em;

  --step--2: clamp(0.77rem, 0.75rem + 0.1vw, 0.83rem);
  --step--1: clamp(0.9rem, 0.87rem + 0.14vw, 0.98rem);
  --step-0:  clamp(1.02rem, 0.99rem + 0.18vw, 1.1rem);
  --step-1:  clamp(1.22rem, 1.1rem + 0.55vw, 1.55rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.2rem);
  --step-3:  clamp(1.9rem, 1.52rem + 1.9vw, 3.05rem);
  --step-4:  clamp(2.3rem, 1.72rem + 2.9vw, 4.1rem);

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

  --r-sm: 4px;
  --r: 8px;
  --r-btn: 4px;
  --r-chip: 999px;

  --line: 1px solid var(--rule);
  --line-dark: 1px solid rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 44px -32px rgba(15, 13, 11, 0.5);
}

/* 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(--paper); border-bottom: var(--line); }
.header__inner { display: flex; align-items: stretch; justify-content: space-between; gap: 1rem; min-height: 78px; }

.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.05; }
.logo__name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--ink-900); white-space: nowrap; }
.logo__sub { margin-top: 3px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-500); white-space: nowrap; }

.nav { display: none; }
.nav__link { position: relative; display: flex; align-items: center; padding: 0 0.85rem; font-size: var(--step--1); font-weight: 500; color: var(--ink-600); text-decoration: none; white-space: nowrap; }
.nav__link:hover { color: var(--ink-900); }
.nav__link[aria-current="page"] { color: var(--ink-900); font-weight: 700; }
.nav__link[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 50%; width: 26px; height: 10px; margin-left: -13px; background: var(--acc); clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 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: var(--ink-900); text-decoration: none; white-space: nowrap; }
.header__phone svg { width: 16px; height: 16px; color: var(--acc); }
.header__phone:hover { color: var(--acc); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; padding: 0; background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-btn); color: var(--ink-900); 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: 1019px) {
  .header__inner { position: relative; }
  .nav {
    position: absolute; top: 100%; left: -1rem; right: -1rem;
    flex-direction: column; padding: 0.4rem 1rem 1.2rem;
    background: var(--paper); border-bottom: 3px solid var(--acc); box-shadow: var(--shadow);
    max-height: calc(100dvh - 80px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.9rem 0 0.9rem 1.5rem; border-bottom: var(--line); font-size: var(--step-0); }
  .nav__link[aria-current="page"]::before { top: 50%; left: 0; margin: -7px 0 0; width: 14px; height: 14px; clip-path: polygon(0 0, 100% 22%, 100% 78%, 0 100%); }
  .nav .btn { margin-top: 0.9rem; align-self: flex-start; }
}
@media (min-width: 1020px) {
  .nav { display: flex; align-items: stretch; margin-left: auto; }
  .nav .btn { display: none; }
  .nav-toggle { display: none; }
  .header__phone { display: inline-flex; margin-left: 0.6rem; }
}
@media (max-width: 520px) {
  .logo__sub { display: none; }
  .logo__name { font-size: 1.25rem; }
  .logo__mark { width: 32px; height: 32px; }
  .header__right .btn { padding: 0.55rem 0.75rem; font-size: 0.85rem; }
}

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

.hero { padding-block: clamp(2.4rem, 1.8rem + 3vw, 4.6rem); }
.hero__grid { display: grid; gap: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }
.hero__grid > * { min-width: 0; }
.hero h1 { max-width: 14ch; }
.hero__lede { font-size: clamp(1.05rem, 0.99rem + 0.45vw, 1.22rem); line-height: 1.6; max-width: 50ch; }
.askcard { padding: clamp(1.3rem, 1rem + 1.4vw, 2rem); background: var(--white); border: var(--line); border-top: 5px solid var(--acc); border-radius: var(--r); box-shadow: var(--shadow); }
.askcard__step { display: block; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc-ink); }
.askcard__q { display: block; margin: 0.4rem 0 1rem; font-family: var(--font-head); font-size: var(--step-2); font-weight: 600; line-height: 1.2; color: var(--ink-900); }
.askcard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.askcard li { margin: 0; }
.askcard a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1rem; border: 1.5px solid var(--rule); border-radius: var(--r-btn); color: var(--ink-900); font-weight: 600; text-decoration: none; }
.askcard a:hover { border-color: var(--acc); background: var(--acc-50); }
.askcard a svg { width: 1em; height: 1em; color: var(--acc); }
.askcard__foot { margin-top: 0.9rem; font-size: var(--step--2); color: var(--ink-500); }

.page-head { padding-block: clamp(2.2rem, 1.6rem + 2.6vw, 3.8rem); background: var(--white); border-bottom: var(--line); }
.page-head h1 { max-width: 20ch; }
.page-head p { font-family: var(--font-head); font-size: var(--step-1); line-height: 1.45; max-width: 58ch; }

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

/* 09  Repair-or-replace tool ==============================================
   Signature component. A real form of six fieldsets with radio buttons.
   Each answer carries a weight in data-w (and one a safety flag). Without
   JavaScript the "what this answer suggests" notes under each question make
   it a readable guide and the verdict button stays hidden; with it, the
   button appears and a polite live region gives the verdict.              */

.rr { display: grid; gap: 1rem; max-width: 860px; margin-inline: auto; }
.rr fieldset { margin: 0; padding: clamp(1.1rem, 0.9rem + 1vw, 1.6rem); background: var(--white); border: var(--line); border-radius: var(--r); }
.rr legend { float: left; width: 100%; margin-bottom: 0.9rem; padding: 0; font-family: var(--font-head); font-size: var(--step-1); font-weight: 600; line-height: 1.3; color: var(--ink-900); }
.rr legend span { display: block; margin-bottom: 0.25rem; font-family: var(--font); font-size: var(--step--2); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc-ink); }
.rr .opts { clear: both; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rr label { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1rem; border: 1.5px solid var(--rule); border-radius: 999px; font-size: var(--step--1); font-weight: 600; color: var(--ink-800); cursor: pointer; }
.rr label:hover { border-color: var(--acc); }
.rr input[type="radio"] { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--acc); }
.rr label:has(input:checked) { border-color: var(--acc); background: var(--acc-50); color: var(--acc-ink); }
.rr label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.rr .why { margin: 0.9rem 0 0; font-size: var(--step--1); color: var(--ink-600); }
.rr__go { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.rr__result { min-height: 1px; }
.verdict { padding: clamp(1.3rem, 1rem + 1.4vw, 2rem); border-radius: var(--r); background: var(--ink-900); color: var(--ink-300); }
.verdict__t { display: block; margin-bottom: 0.4rem; font-family: var(--font-head); font-size: var(--step-2); font-weight: 600; line-height: 1.2; color: #fff; }
.verdict p { margin: 0 0 0.6rem; }
.verdict--repair { border-left: 8px solid #4ade80; }
.verdict--both { border-left: 8px solid #facc15; }
.verdict--replace { border-left: 8px solid var(--acc-300); }
.verdict--safety { border-left: 8px solid #f87171; }
.verdict .golink { color: var(--acc-300); }
.rr-note { max-width: 860px; margin: 1rem auto 0; font-size: var(--step--2); color: var(--ink-500); }

/* 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: 1020px) { .callbar { display: none; } }
@media (max-width: 1019px) { 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 ========================================= */

.pair { display: grid; gap: clamp(1rem, 0.8rem + 1vw, 1.6rem); }
@media (min-width: 860px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair > article { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.3rem, 1.05rem + 1.2vw, 2rem); background: var(--white); border: var(--line); border-radius: var(--r); }
.pair figure { margin: calc(-1 * clamp(1.3rem, 1.05rem + 1.2vw, 2rem)) calc(-1 * clamp(1.3rem, 1.05rem + 1.2vw, 2rem)) 1.2rem; }
.pair figure img, .pair figure .img-placeholder { border-radius: var(--r) var(--r) 0 0; }
.pair h3 { font-size: var(--step-2); }
.pair .golink { margin-top: auto; padding-top: 1rem; }

.band { background: var(--acc); color: #e0e7ff; }
.band .eyebrow { color: #fff; }
.band :where(a, button):focus-visible { outline-color: #fff; }
.band .btn--acc { background: #fff; border-color: #fff; color: var(--acc); }
.band .btn--acc:hover { background: var(--acc-50); border-color: var(--acc-50); color: var(--acc-btn-hover); }

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