/* ==========================================================================
   Beacon HVAC & Surface Professionals — beaconhvac.xyz
   One stylesheet. No framework, no build step.

   LAYOUT: a warm cream top bar — serif wordmark left, links right with a gold
   underline under the current page, phone and a navy CTA. The home page's
   signature component is a "sound library": one card per noise an HVAC system
   makes, each with a small hand-drawn waveform, what it usually means, and how
   urgent it is. Headings are set in Young Serif; body copy uses the system
   sans stack, so only one web font loads.

   01  Design tokens          08  Hero & page heads       15  Footer & call bar
   02  Reset & base           09  Sound library           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: #0a111e;
  --ink-900: #10192b;
  --ink-800: #1b2740;
  --ink-700: #2e3b55;
  --ink-600: #4a556b;
  --ink-500: #5c667a;   /* AA on --cream at small sizes; --ink-400 is dark-surface only */
  --ink-400: #97a0b1;
  --ink-300: #c0c6d2;

  --line-c: #e4dccb;    /* warm hairline on cream */
  --cream: #fbf8f1;
  --cream-2: #f3ecdd;
  --white: #fffdf8;

  --gold: #d9a404;      /* the beam — decorative, and as a button fill with navy text */
  --gold-ink: #8a6400;  /* gold for TEXT on cream (AA) */
  --gold-100: #fbf0cf;

  --urgent: #9b1c1c;  --urgent-bg: #fbe4e1;
  --soon: #8a4b08;    --soon-bg: #fcecd4;
  --look: #2e5b3c;    --look-bg: #e2efe4;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--2: clamp(0.74rem, 0.72rem + 0.1vw, 0.8rem);
  --step--1: clamp(0.89rem, 0.86rem + 0.14vw, 0.96rem);
  --step-0:  clamp(1rem, 0.97rem + 0.18vw, 1.08rem);
  --step-1:  clamp(1.18rem, 1.08rem + 0.48vw, 1.46rem);
  --step-2:  clamp(1.45rem, 1.25rem + 0.95vw, 2.1rem);
  --step-3:  clamp(1.8rem, 1.46rem + 1.7vw, 2.9rem);
  --step-4:  clamp(2.2rem, 1.66rem + 2.7vw, 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.4rem);

  --r-sm: 4px;
  --r:    10px;

  --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 16px 36px -28px rgba(10, 17, 30, 0.45);
}

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

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

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

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

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

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

.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: 600; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
::selection { background: var(--gold-100); color: var(--ink-900); }

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

h1, h2, h3 {
  margin: 0 0 0.45em; font-family: var(--serif); font-weight: 400; color: var(--ink-900);
  line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.07; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.28; }

p { margin: 0 0 1.05em; max-width: 66ch; }
p:last-child { margin-bottom: 0; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-700); }

strong, b { font-weight: 650; 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, 1160px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, 760px); margin-inline: auto; }

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

.split { display: grid; gap: clamp(1.5rem, 1rem + 2.4vw, 3rem); }
@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; } }
.split > * { min-width: 0; }

.grid { display: grid; gap: var(--sp-3); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 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.14em;
  text-transform: uppercase; color: var(--gold-ink);
}
.section--dark .eyebrow, .band .eyebrow { color: var(--gold); }

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

.aud {
  display: inline-block; margin-bottom: 0.7rem; padding: 0.2rem 0.6rem;
  border-radius: var(--r-sm); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.aud--home { background: var(--gold-100); color: var(--gold-ink); }
.aud--comm { background: var(--ink-900); color: #fff; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; flex: none;
  padding: 0.8rem 1.4rem; border: 2px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-weight: 650; 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--navy { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.btn--navy:hover { background: var(--ink-700); border-color: var(--ink-700); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink-900); }
.btn--gold:hover { background: #c29203; border-color: #c29203; color: var(--ink-900); }
.btn--outline { background: transparent; border-color: var(--ink-300); color: var(--ink-900); }
.btn--outline:hover { border-color: var(--ink-900); color: var(--ink-900); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,0.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: 0.95rem 1.7rem; 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: 650; font-size: var(--step--1); color: var(--ink-900); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.golink svg { width: 1em; height: 1em; transition: transform 0.18s ease; }
.golink:hover svg { transform: translateX(3px); }

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

.header { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--serif); font-size: 1.28rem; color: var(--ink-900); white-space: nowrap; }
.logo__sub { margin-top: 3px; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-500); white-space: nowrap; }

.header__right { display: flex; align-items: center; gap: 0.55rem; }
.header__phone { display: none; align-items: center; gap: 0.4rem; padding-inline: 0.4rem; color: var(--ink-900); font-weight: 650; font-size: var(--step--1); text-decoration: none; white-space: nowrap; }
.header__phone svg { width: 15px; height: 15px; color: var(--gold-ink); flex: none; }
.header__phone:hover { color: var(--gold-ink); }

.nav { display: none; }
.nav__link { display: block; padding: 0.5rem 0.75rem; font-size: var(--step--1); font-weight: 500; color: var(--ink-700); 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; box-shadow: inset 0 -3px 0 var(--gold); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px 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: 1039px) {
  .header__inner { position: relative; }
  .nav {
    position: absolute; inset: 100% -1rem auto -1rem;
    flex-direction: column; padding: 0.4rem 1rem 1.2rem;
    background: var(--cream); border-bottom: var(--line-strong); 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__link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 0.8rem; }
  .nav .btn { margin-top: 0.9rem; align-self: flex-start; }
}
@media (min-width: 1040px) {
  .nav { display: flex; align-items: center; gap: 0.1rem; margin-left: auto; }
  .nav .btn { display: none; }
  .nav-toggle { display: none; }
  .header__phone { display: inline-flex; }
}
@media (max-width: 560px) {
  .logo__sub { display: none; }
  .logo__mark { width: 30px; height: 30px; }
  .logo__name { font-size: 1.12rem; }
  .header__right .btn { padding: 0.55rem 0.8rem; font-size: 0.75rem; }
  .nav-toggle { width: 38px; height: 38px; }
}

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

.hero { padding-block: clamp(2.3rem, 1.6rem + 3vw, 4.2rem); }
.hero__grid { display: grid; gap: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); }
@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: 14ch; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--gold-100) 62%); }
.hero__lede { font-size: clamp(1.04rem, 0.98rem + 0.45vw, 1.26rem); line-height: 1.6; max-width: 52ch; color: var(--ink-600); }

.page-head { padding-block: clamp(2rem, 1.5rem + 2.4vw, 3.4rem); border-bottom: var(--line); }
.page-head h1 { max-width: 20ch; }
.page-head p { font-size: var(--step-1); line-height: 1.55; max-width: 60ch; color: var(--ink-600); }

.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.12em; text-transform: uppercase; color: var(--ink-500); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "·"; margin-right: 0.5rem; color: var(--gold-ink); }
.crumbs a { color: var(--ink-600); text-decoration: none; }
.crumbs a:hover { color: var(--gold-ink); }

/* 09  Sound library ======================================================
   Signature component. One card per noise. The waveform is decorative
   (aria-hidden); the name, meaning and urgency word carry the content.      */

.sounds { display: grid; gap: var(--sp-3); }
@media (min-width: 640px) { .sounds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .sounds { grid-template-columns: repeat(4, 1fr); } }
.sound { display: flex; flex-direction: column; padding: 1.2rem 1.25rem 1.3rem; background: var(--white); border: var(--line); border-radius: var(--r); }
.sound__wave { height: 40px; margin-bottom: 0.9rem; padding: 4px 0; border-bottom: 2px solid var(--gold); color: var(--ink-900); }
.sound__wave svg { width: 100%; height: 100%; }
.sound h3 { font-size: var(--step-1); margin-bottom: 0.3em; }
.sound p { font-size: var(--step--1); line-height: 1.6; color: var(--ink-600); }
.sound__foot { margin-top: auto; padding-top: 0.9rem; }

.urgency { display: inline-block; padding: 0.18rem 0.55rem; border-radius: var(--r-sm); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.urgency--look { background: var(--look-bg); color: var(--look); }
.urgency--soon { background: var(--soon-bg); color: var(--soon); }
.urgency--off { background: var(--urgent-bg); color: var(--urgent); }

/* Detailed version used on the noise page. */
.sound-row { display: grid; gap: 1rem 2rem; padding: 1.5rem 0; border-bottom: var(--line); }
@media (min-width: 820px) { .sound-row { grid-template-columns: 180px 1fr; } }
.sound-row > * { min-width: 0; }
.sound-row__wave { color: var(--ink-900); }
.sound-row__wave svg { width: 100%; height: 48px; }
.sound-row h3 { margin-bottom: 0.35em; }
.sound-row dl { margin: 0.6rem 0 0; display: grid; gap: 0.35rem; }
.sound-row dl div { display: grid; gap: 0 1rem; }
@media (min-width: 620px) { .sound-row dl div { grid-template-columns: 9rem 1fr; } }
.sound-row dt { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); padding-top: 0.2rem; }
.sound-row dd { margin: 0; font-size: var(--step--1); color: var(--ink-600); }

/* 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-radius: var(--r); }
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: var(--step--1); color: var(--ink-600); }
.section--dark .card { background: var(--ink-800); border-color: var(--ink-700); }
.section--dark .card p { color: var(--ink-300); }

.panel { padding: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); background: var(--white); border: var(--line); border-top: 4px solid var(--gold); border-radius: 0 0 var(--r) var(--r); }
.panel--navy { border-top-color: var(--ink-900); }

.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(--gold-ink); margin-top: 0.22rem; }
.section--dark .checks svg { color: var(--gold); }

.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-sm); font-size: var(--step--1); color: var(--ink-700); }

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

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

.steps { counter-reset: st; margin: 0; padding: 0; list-style: none; display: grid; gap: var(--sp-3); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: st; margin: 0; padding: clamp(1.2rem, 1rem + 1vw, 1.5rem); background: var(--white); border: var(--line); border-radius: var(--r); }
.steps li::before { content: counter(st); display: block; margin-bottom: 0.4rem; font-family: var(--serif); font-size: var(--step-3); line-height: 1; color: var(--gold-ink); }
.steps h3 { font-size: var(--step-0); margin-bottom: 0.35em; }
.steps p { font-size: var(--step--1); color: var(--ink-600); }

.note { padding: clamp(1.1rem, 1rem + 1vw, 1.5rem); background: var(--gold-100); border-left: 4px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.note h2, .note h3 { font-size: var(--step-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); background-image: linear-gradient(115deg, transparent 0 62%, rgba(217,164,4,0.12) 62% 78%, transparent 78%); }
.band h2 { color: #fff; font-size: var(--step-2); margin-bottom: 0.35em; }
.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); }

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

.faq { border-top: var(--line-strong); }
.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(--serif); font-size: var(--step-1); 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(--sans); font-size: 1.35rem; line-height: 1.1; color: var(--gold-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); color: var(--ink-600); }

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

.form-card { padding: clamp(1.35rem, 1.1rem + 1.3vw, 1.95rem); background: var(--white); border: var(--line); border-top: 4px solid var(--gold); border-radius: 0 0 var(--r) 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: 650; color: var(--ink-900); }
.field .req { color: var(--gold-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(--cream); 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='%235c667a' 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: 650; color: var(--urgent); margin: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--urgent); }
.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: 650; min-height: 1.2rem; }
.form-status.is-error { color: var(--urgent); }
.form-status.is-ok { color: var(--look); }

.contact-list { margin: 0; padding: 0; list-style: none; border-top: var(--line-strong); }
.contact-list li { margin: 0; padding: 1.1rem 0; border-bottom: var(--line); }
.contact-list h3 { font-family: var(--sans); font-size: var(--step--2); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.45em; }
.contact-list p { margin: 0; }
.contact-list .big { font-family: var(--serif); font-size: var(--step-2); 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(--sans); 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 .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; }
.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.92rem; font-weight: 650; text-decoration: none; }
.callbar svg { width: 17px; height: 17px; }
.callbar a:first-child { background: var(--gold); color: var(--ink-900); }
.callbar a:last-child { background: var(--ink-900); color: #fff; }
@media (min-width: 1040px) { .callbar { display: none; } }
@media (max-width: 1039px) { body { padding-bottom: 54px; } }

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

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

.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
  padding: 1rem; width: 100%;
  background: var(--cream-2); border: 1px dashed var(--ink-300); border-radius: var(--r);
  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 { background: var(--ink-800); border-color: var(--ink-600); color: var(--ink-400); }
.section--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: 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.4rem; } }
