/* ==========================================================================
   Oakmont HVAC Building Services — oakmonthvac.xyz
   One stylesheet. No framework, no build step.

   LAYOUT: commercial first, built for legibility. A white top bar — wordmark
   left, links right, the current page in rose with a small caret beneath,
   phone and a rose CTA. The hero photo sits in a frame offset over a rose
   block. The signature component is a three-generation refrigerant lineage
   (R-22 → R-410A → A2L) with a status and a plain "what it means" for each.
   One typeface: Atkinson Hyperlegible, chosen for reading clarity.

   01  Design tokens          08  Hero & page heads       15  Footer & call bar
   02  Reset & base           09  Refrigerant lineage     16  Images & placeholders
   03  Typography             10  Cards, panels, lists    17  Motion
   04  Containers & sections  11  Rows, steps, callouts   18  Utilities
   05  Eyebrows & tags        12  Service area & map      19  Responsive helpers
   06  Buttons & links        13  FAQ
   07  Header                 14  Forms
   ========================================================================== */

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

:root {
  --ink-950: #121015;
  --ink-900: #1c1a1f;
  --ink-800: #2a2730;
  --ink-700: #3d3a43;
  --ink-600: #4f4b56;
  --ink-500: #5f5a66;   /* AA on --paper at small sizes; --ink-400 is dark-surface only */
  --ink-400: #a9a3b0;
  --ink-300: #d4d0d9;

  --line-c: #e4dfdf;
  --paper: #f7f5f4;
  --white: #ffffff;

  --rose: #be185d;      /* AA as text on white/paper (5.2:1); white on it 5.6:1 */
  --rose-800: #9d174d;
  --rose-300: #f9a8d4;  /* on dark surfaces only */
  --rose-100: #fce7f3;
  --rose-50: #fdf2f8;

  --st-off: #7f1d1d;  --st-off-bg: #fde2e2;
  --st-mid: #7c4a03;  --st-mid-bg: #fdecc8;
  --st-new: #14532d;  --st-new-bg: #dcfce7;

  --ok: #14532d;
  --err: #b42318;

  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--2: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --step--1: clamp(0.92rem, 0.89rem + 0.14vw, 1rem);
  --step-0:  clamp(1.03rem, 1rem + 0.18vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.45rem, 1.26rem + 0.95vw, 2.1rem);
  --step-3:  clamp(1.8rem, 1.45rem + 1.7vw, 2.9rem);
  --step-4:  clamp(2.2rem, 1.65rem + 2.8vw, 3.9rem);

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

  --r-sm: 6px;
  --r:    14px;

  --line: 1px solid var(--line-c);
  --line-strong: 2px solid var(--ink-900);
  --line-dark: 1px solid rgba(255, 255, 255, 0.14);

  --shadow: 0 18px 40px -30px rgba(18, 16, 21, 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; }

a { color: var(--rose); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--rose-800); }

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

.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(--rose-100); color: var(--ink-900); }

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

h1, h2, h3 {
  margin: 0 0 0.45em; font-weight: 700; color: var(--ink-900);
  line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.28; letter-spacing: 0; }

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, 1180px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, 780px); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--rose { background: var(--rose-50); }
.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--center { align-items: center; } }
@media (min-width: 900px) { .split--lead { grid-template-columns: 1.35fr 1fr; } }
.split > * { min-width: 0; }

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

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

.eyebrow {
  display: block; margin-bottom: 0.8rem;
  font-size: var(--step--2); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--rose);
}
.section--dark .eyebrow, .band .eyebrow { color: var(--rose-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; margin-bottom: 0.7rem; padding: 0.2rem 0.65rem;
  border-radius: 999px; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.aud--comm { background: var(--ink-900); color: #fff; }
.aud--home { background: var(--rose-100); color: var(--rose-800); }

/* 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-sm);
  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--rose { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn--rose:hover { background: var(--rose-800); border-color: var(--rose-800); color: #fff; }
.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: var(--white); border-color: var(--ink-300); color: var(--ink-900); }
.btn--outline:hover { border-color: var(--ink-900); color: var(--ink-900); }
.btn--white { background: #fff; border-color: #fff; color: var(--ink-900); }
.btn--white:hover { background: var(--rose-100); border-color: var(--rose-100); color: var(--ink-900); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.5); 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(--rose); text-decoration: none; }
.golink svg { width: 1em; height: 1em; transition: transform 0.18s ease; }
.golink:hover svg { transform: translateX(3px); }
.section--dark .golink { color: var(--rose-300); }

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

.header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 var(--line-c); }
.header__inner { display: flex; align-items: center; 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.35rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-900); white-space: nowrap; }
.logo__sub { margin-top: 2px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); white-space: nowrap; }

.header__right { display: flex; align-items: center; gap: 0.6rem; }
.header__phone { display: none; align-items: center; gap: 0.45rem; padding: 0.45rem 0.8rem; border-radius: 999px; background: var(--paper); color: var(--ink-900); font-weight: 700; font-size: var(--step--1); text-decoration: none; white-space: nowrap; }
.header__phone svg { width: 15px; height: 15px; color: var(--rose); flex: none; }
.header__phone:hover { background: var(--rose-50); }

.nav { display: none; }
.nav__link { position: relative; display: block; padding: 0.5rem 0.75rem; font-size: var(--step--1); font-weight: 700; color: var(--ink-600); text-decoration: none; white-space: nowrap; }
.nav__link:hover { color: var(--ink-900); }
.nav__link[aria-current="page"] { color: var(--rose); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 2px solid var(--ink-900); border-radius: var(--r-sm); 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: 1079px) {
  .header__inner { position: relative; }
  .nav {
    position: absolute; inset: 100% -1rem auto -1rem;
    flex-direction: column; padding: 0.4rem 1rem 1.2rem;
    background: var(--white); border-top: var(--line); border-bottom: 4px solid var(--rose); 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: 1080px) {
  .nav { display: flex; align-items: center; gap: 0.1rem; margin-left: auto; }
  .nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -17px; margin-left: -7px; border: 7px solid transparent; border-bottom-color: var(--rose); }
  .nav .btn { display: none; }
  .nav-toggle { display: none; }
  .header__phone { display: inline-flex; }
}
@media (max-width: 560px) {
  .logo__sub { display: none; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__name { font-size: 1.2rem; }
  .header__right { gap: 0.45rem; }
  .header__right .btn { padding: 0.55rem 0.75rem; font-size: 0.8rem; }
  .nav-toggle { width: 40px; height: 40px; }
}

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

.hero { padding-block: clamp(2.2rem, 1.5rem + 3vw, 4.6rem); background: var(--white); }
.hero__grid { display: grid; gap: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; 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.25rem); line-height: 1.55; max-width: 52ch; }
.hero__frame { position: relative; margin: 0 14px 14px 0; }
.hero__frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--rose); border-radius: var(--r); }
.hero__frame img, .hero__frame .img-placeholder { position: relative; border-radius: var(--r); }
.hero__frame .img-placeholder { background: var(--white); }

.page-head { padding-block: clamp(2rem, 1.5rem + 2.4vw, 3.4rem); 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 1.1rem; padding: 0; list-style: none; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "→"; margin-right: 0.5rem; color: var(--rose); }
.crumbs a { color: var(--ink-600); text-decoration: none; }
.crumbs a:hover { color: var(--rose); }

/* 09  Refrigerant lineage ================================================
   Signature component. Three generation cards in order, joined by arrows,
   each with a status tag spelled out in words and two plain questions: what
   it means for a repair, and what it means for a replacement.              */

.lineage { margin: 0; padding: 0; list-style: none; display: grid; gap: 2.4rem; }
@media (min-width: 960px) { .lineage { grid-template-columns: repeat(3, 1fr); gap: 2.6rem; } }
.gen { position: relative; display: flex; flex-direction: column; margin: 0; padding: clamp(1.3rem, 1.05rem + 1.1vw, 1.8rem); background: var(--white); border: var(--line); border-radius: var(--r); }
.gen + .gen::before {
  content: ""; position: absolute; width: 22px; height: 22px;
  background: var(--rose); clip-path: polygon(0 20%, 60% 20%, 60% 0, 100% 50%, 60% 100%, 60% 80%, 0 80%);
  left: 50%; top: -2rem; margin-left: -11px; transform: rotate(90deg);
}
@media (min-width: 960px) { .gen + .gen::before { left: -2.1rem; top: 50%; margin: -11px 0 0; transform: none; } }
.gen__era { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); }
.gen__name { margin: 0.2rem 0 0.6rem; font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--ink-900); }
.gen__name small { display: block; margin-top: 0.35rem; font-size: var(--step--1); font-weight: 400; letter-spacing: 0; color: var(--ink-500); }
.status { align-self: flex-start; display: inline-block; margin-bottom: 1rem; padding: 0.22rem 0.6rem; border-radius: var(--r-sm); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; }
.status--off { background: var(--st-off-bg); color: var(--st-off); }
.status--mid { background: var(--st-mid-bg); color: var(--st-mid); }
.status--new { background: var(--st-new-bg); color: var(--st-new); }
.gen dl { margin: 0; display: grid; gap: 0.8rem; }
.gen dt { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose); }
.gen dd { margin: 0.15rem 0 0; font-size: var(--step--1); line-height: 1.55; }
.lineage-note { margin-top: 1.2rem; font-size: var(--step--2); color: var(--ink-500); }

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

.card { display: flex; flex-direction: column; padding: clamp(1.3rem, 1.05rem + 1.1vw, 1.8rem); background: var(--white); border: var(--line); border-top: 4px solid var(--rose); border-radius: var(--r-sm); }
.card h3 { margin-bottom: 0.4em; }
.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; }
.panel--ink .aud--comm { background: #fff; color: var(--ink-900); }
.panel figure { margin: -0.3rem -0.3rem 1.2rem; }

.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(--rose); margin-top: 0.22rem; }
.section--dark .checks svg, .panel--ink .checks svg { color: var(--rose-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.85rem; background: var(--white); border: var(--line); border-radius: 999px; font-size: var(--step--1); color: var(--ink-700); }

/* In / out list for the dark "agreements" section. */
.inout { display: grid; gap: 1.4rem; }
@media (min-width: 820px) { .inout { grid-template-columns: 1fr 1fr; } }
.inout > div { padding: clamp(1.2rem, 1rem + 1vw, 1.6rem); border: var(--line-dark); border-radius: var(--r); }
.inout h3 { font-size: var(--step-1); }
.inout ul { margin: 0.6rem 0 0; padding-left: 1.1em; }
.inout li { font-size: var(--step--1); color: var(--ink-300); }

/* 11  Rows, steps, callouts ============================================= */

.rows { margin: 0; padding: 0; border-top: var(--line-strong); }
.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-weight: 700; color: var(--ink-900); }
.rows dd { margin: 0; font-size: var(--step--1); }

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

.band { background: var(--ink-900); color: #fff; padding-block: clamp(2.6rem, 1.8rem + 3vw, 4rem); border-bottom: 6px solid var(--rose); }
.band h2 { color: #fff; font-size: var(--step-3); margin-bottom: 0.3em; }
.band p { margin: 0 0 1.3rem; max-width: 54ch; color: var(--ink-300); }

/* 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 { display: grid; gap: 0.6rem; }
.faq details { background: var(--white); border: var(--line); border-radius: var(--r); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; padding: 1.05rem 1.2rem; font-size: var(--step-0); font-weight: 700; color: var(--ink-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--rose); transition: transform 0.22s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.2rem 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-radius: var(--r); box-shadow: var(--shadow); }
.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(--rose); }

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(--ink-300); 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='%235f5a66' 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(--rose); }
input::placeholder, textarea::placeholder { color: var(--ink-500); }

.field__error { min-height: 1rem; font-size: 0.82rem; 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.84rem; 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; display: grid; gap: 0.7rem; }
.contact-list > li { margin: 0; padding: 1.1rem 1.2rem; background: var(--white); border: var(--line); border-radius: var(--r); }
.contact-list h3 { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.4em; }
.contact-list p { margin: 0; }
.contact-list .big { 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.86rem; 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-size: var(--step--2); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 0.9rem; }
.site-footer .logo__name { color: #fff; white-space: normal; }
.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: #fff; }
.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.82rem; 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.94rem; 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(--rose); color: #fff; }
.callbar :where(a):focus-visible { outline-color: #fff; outline-offset: -3px; }
@media (min-width: 1080px) { .callbar { display: none; } }
@media (max-width: 1079px) { 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, .panel--ink 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(--rose-50); border: 1px dashed var(--ink-400); border-radius: var(--r);
  text-align: center; color: var(--ink-500);
  font-size: 0.74rem; letter-spacing: 0.06em; 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, .panel--ink .img-placeholder { background: var(--ink-800); border-color: var(--ink-600); color: var(--ink-400); }
.section--dark .img-placeholder b, .panel--ink .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: 100px; }

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

@media (max-width: 380px) { .header__right { gap: 0.3rem; } .logo__name { font-size: 1.08rem; } .header__right .btn { padding: 0.5rem 0.6rem; } }
