/* ==========================================================================
   Clearview HVAC Coatings — clearviewhvac.xyz
   One stylesheet. No framework, no build step.

   LAYOUT: homes and businesses equal; light, airy, bay-fog calm. A white
   bar with links on the right; a teal chevron sits before the current page.
   The home page opens with the headline and a photo, then a strip of the
   three routes to cooling a building that never had it. The signature
   component is that comparison in full: three routes, five questions,
   dot ratings with the words beside them. One typeface: Fira Sans.

   01  Design tokens          08  Hero & page heads       15  Footer & call bar
   02  Reset & base           09  Route comparison        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: #111b22;
  --ink-900: #1d2b36;
  --ink-800: #2a3a46;
  --ink-700: #3c4d59;
  --ink-600: #4b5c68;
  --ink-500: #566874;   /* AA on --paper */
  --ink-400: #9aabb6;   /* dark surfaces only */
  --ink-300: #cfd9df;

  --paper: #f4f7f8;
  --white: #ffffff;
  --tint: #e8eef0;
  --rule: #dce4e7;
  --field-border: #b7c5cc;

  --acc: #0d9488;           /* sea-glass teal: fills, dots, rules */
  --acc-btn: #0f766e;       /* white on it 5.4:1 */
  --acc-btn-hover: #115e59;
  --on-acc: #ffffff;
  --acc-ink: #0f5f59;       /* text: 7.3:1 on paper */
  --acc-300: #5eead4;       /* on dark surfaces */
  --acc-50: #e0f5f2;
  --focus: #0f766e;

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

  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --head-weight: 600;
  --head-track: -0.015em;

  --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.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.45rem, 1.27rem + 0.9vw, 2.1rem);
  --step-3:  clamp(1.85rem, 1.5rem + 1.8vw, 2.95rem);
  --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: 1180px;

  --r-sm: 6px;
  --r: 14px;
  --r-btn: 999px;
  --r-chip: 999px;

  --line: 1px solid var(--rule);
  --line-dark: 1px solid rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 44px -32px rgba(17, 27, 34, 0.45);
}

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

.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-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-900); white-space: nowrap; }
.logo__sub { margin-top: 2px; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-500); white-space: nowrap; }

.nav { display: none; }
.nav__link { display: flex; align-items: center; gap: 0.35rem; 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: 600; }
.nav__link[aria-current="page"]::before { content: "▸"; color: var(--acc); font-size: 0.9em; }

.header__right { display: flex; align-items: center; gap: 0.6rem; }
.header__phone { display: none; align-items: center; gap: 0.45rem; font-weight: 600; 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-ink); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; background: var(--acc-50); border: 0; border-radius: 50%; color: var(--acc-ink); 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(--white); 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; border-bottom: var(--line); font-size: var(--step-0); }
  .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.2rem; }
  .logo__mark { width: 32px; height: 32px; }
  .header__right .btn { padding: 0.55rem 0.8rem; font-size: 0.85rem; }
}

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

.hero { padding-block: clamp(2.2rem, 1.6rem + 3vw, 4.2rem) 0; background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); }
.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: 15ch; }
.hero__lede { font-size: clamp(1.05rem, 0.99rem + 0.45vw, 1.22rem); line-height: 1.6; max-width: 52ch; }
.hero figure img, .hero figure .img-placeholder { border-radius: var(--r) var(--r) 60px var(--r); }

.routes { display: grid; gap: 1px; margin: clamp(2rem, 1.4rem + 2.6vw, 3.4rem) 0 0; padding: 0; list-style: none; background: var(--rule); border: var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 760px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.routes li { margin: 0; padding: 1.2rem 1.3rem; background: var(--white); }
.routes b { display: flex; align-items: center; gap: 0.6rem; font-size: var(--step-1); font-weight: 600; color: var(--ink-900); }
.routes b span { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--acc-50); color: var(--acc-ink); font-size: 0.95rem; }
.routes p { margin: 0.4rem 0 0; font-size: var(--step--1); }

.page-head { padding-block: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); background: var(--white); border-bottom: var(--line); }
.page-head h1 { max-width: 20ch; }
.page-head p { font-size: var(--step-1); line-height: 1.5; 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-500); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "▸"; margin-right: 0.5rem; color: var(--acc); }
.crumbs a { color: var(--ink-600); }

/* 09  Route comparison ====================================================
   Signature component. A real table: routes as columns, questions as rows.
   Each cell holds three dots (filled = more) and a short phrase that says
   the same thing in words; the dots are aria-hidden. On phones the table
   becomes one card per route using data-label on each cell.              */

.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: var(--line); border-radius: var(--r); overflow: hidden; }
.cmp caption { caption-side: top; padding: 0 0 0.9rem; text-align: left; font-size: var(--step--1); color: var(--ink-500); }
.cmp th, .cmp td { padding: 1rem 1.1rem; border-bottom: var(--line); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--ink-900); color: #fff; font-size: var(--step-0); font-weight: 600; }
.cmp thead th small { display: block; font-weight: 400; font-size: var(--step--2); color: var(--ink-300); }
.cmp tbody th { width: 22%; font-weight: 600; color: var(--ink-900); background: var(--paper); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.dots { display: inline-flex; gap: 4px; margin-bottom: 0.35rem; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--acc); }
.dots i.on { background: var(--acc); }
.cmp td span:not(.dots) { display: block; font-size: var(--step--1); }
.cmp-note { margin-top: 0.9rem; font-size: var(--step--2); color: var(--ink-500); }
@media (max-width: 759px) {
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp { background: none; border: 0; border-radius: 0; overflow: visible; }
  .cmp tbody { background: var(--white); border: var(--line); border-radius: var(--r); overflow: hidden; }
  .cmp thead { display: none; }
  .cmp caption { display: block; }
  .cmp tbody tr { border-bottom: 6px solid var(--paper); }
  .cmp tbody th { width: 100%; }
  .cmp td::before { content: attr(data-label); display: block; margin-bottom: 0.2rem; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc-ink); }
}

/* 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 ========================================= */

.card { box-shadow: 0 14px 30px -26px rgba(17,27,34,0.5); }
.band { background: linear-gradient(135deg, var(--ink-900) 0%, #134e4a 100%); }
.duo { display: grid; gap: clamp(1rem, 0.8rem + 1vw, 1.6rem); }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo > 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); }
.duo h3 { font-size: var(--step-2); }
.duo figure { margin-bottom: 1rem; }
.duo .golink { margin-top: auto; padding-top: 1rem; }

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