/* ==========================================================================
   BlueStone HVAC Finishes — bluestonehvac.xyz
   One stylesheet. No framework, no build step.

   DARK BY DEFAULT. This is the only dark site in this workspace and it is a
   deliberate exception to the usual "light theme for business sites" rule —
   see BRIEF.md. Every text/background pair below was checked against WCAG AA.

   LAYOUT: a two-column reader. On desktop the left column sticks while the
   right column scrolls past it, so the argument of a section stays on screen
   while its detail moves. The nav is a thin rail across the top of that
   left column.

   01  Design tokens          08  Hero & page headers     15  Footer & call bar
   02  Reset & base           09  Cards & panels          16  Images & placeholders
   03  Typography             10  Data rows & steps       17  Motion
   04  The sticky reader      11  Notes & bands           18  Utilities
   05  Eyebrows & heads       12  Service area & map      19  Responsive
   06  Buttons & links        13  FAQ
   07  Navigation             14  Forms
   ========================================================================== */

/* 01  Design tokens =======================================================
   Built dark: --bg is the page, --ink is the text on it. The scale runs from
   deepest background up to brightest text, which is the opposite of the light
   sites in this workspace and is why the names are different too. */

:root {
  --bg-deep:  #0d151d;
  --bg:       #16202b;
  --bg-2:     #1c2836;
  --bg-3:     #243343;
  --bg-4:     #2e4052;

  --ink-100: #f2f6f8;   /* headings — 14.6:1 on --bg */
  --ink-200: #dbe4ea;   /* body text — 11.3:1 on --bg */
  --ink-300: #b4c2ce;   /* secondary — 7.4:1 on --bg */
  --ink-400: #8b9cac;   /* muted — 4.8:1 on --bg, large or bold only */
  --ink-500: #6b7d8e;   /* borders and rules, never body text */

  --mint-500: #3fae95;
  --mint-400: #4ec6aa;
  --mint-300: #6ee7d0;   /* the accent on dark — 9.9:1 on --bg */
  --mint-200: #a6f2e2;
  --mint-900: #12312b;

  --amber-300: #f0c06a;  /* warnings only */
  --amber-900: #33280f;

  --font: "Chivo", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --step--2: clamp(0.73rem, 0.71rem + 0.1vw, 0.79rem);
  --step--1: clamp(0.88rem, 0.85rem + 0.14vw, 0.95rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.07rem);
  --step-1:  clamp(1.16rem, 1.06rem + 0.48vw, 1.46rem);
  --step-2:  clamp(1.42rem, 1.22rem + 0.95vw, 2.1rem);
  --step-3:  clamp(1.8rem, 1.45rem + 1.7vw, 2.95rem);
  --step-4:  clamp(2.25rem, 1.7rem + 2.8vw, 4rem);

  --sp-2: 0.8rem;
  --sp-3: 1.35rem;
  --sp-4: 2.1rem;
  --sp-5: 3.2rem;
  --section-y: clamp(3rem, 2rem + 4.5vw, 5.5rem);

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;

  --line: 1px solid var(--bg-4);
  --line-soft: 1px solid var(--bg-3);

  --shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 34px 70px -38px rgba(0, 0, 0, 0.85);
}

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

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

body {
  margin: 0; background: var(--bg); color: var(--ink-200);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--mint-300); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mint-200); }

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

.skip-link { position: absolute; left: 0; top: 0; z-index: 300; transform: translateY(-140%); background: var(--mint-300); color: var(--bg-deep); padding: 0.85rem 1.4rem; font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
::selection { background: var(--mint-900); color: var(--ink-100); }

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

h1, h2, h3 {
  margin: 0 0 0.45em; font-weight: 700; color: var(--ink-100);
  line-height: 1.12; letter-spacing: -0.028em; 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.28; letter-spacing: -0.02em; }
h4 { margin: 0 0 0.5em; font-size: var(--step-0); font-weight: 700; color: var(--ink-100); }

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

strong, b { font-weight: 700; color: var(--ink-100); }
em.mark { font-style: normal; color: var(--mint-300); }

ul, ol { margin: 0 0 1.05em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
li:last-child { margin-bottom: 0; }

/* 04  The sticky reader ==================================================
   `.reader` is two columns. The left one sticks at the top of the viewport
   while the right one scrolls past, which keeps the claim of a section visible
   while its evidence moves. Below 940px it is simply two stacked blocks.      */

.wrap { width: min(100% - 2rem, 1220px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, 800px); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--bg { background: var(--bg); }
.section--bg2 { background: var(--bg-2); }
.section--deep { background: var(--bg-deep); }
.section--mint { background: var(--mint-900); }

.reader { display: grid; gap: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem); }
@media (min-width: 940px) {
  .reader { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .reader__aside { position: sticky; top: calc(var(--nav-h, 68px) + 1.5rem); }
}
.reader > * { min-width: 0; }
.reader__main > * + * { margin-top: var(--sp-4); }

.cols { display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; align-items: start; } }
.cols > * { min-width: 0; }

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

/* 05  Eyebrows & heads =================================================== */

.eyebrow {
  display: block; margin-bottom: 0.9rem;
  font-size: var(--step--2); font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--mint-300);
}

.section-head { max-width: 56ch; margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
.section-head p { font-size: var(--step-1); line-height: 1.55; color: var(--ink-300); }

hr.rule { height: 0; border: 0; border-top: 2px solid var(--mint-500); margin: 0 0 1.5rem; width: 3rem; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; flex: none;
  padding: 0.82rem 1.5rem; border: 2px solid transparent; border-radius: var(--r);
  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--mint { background: var(--mint-300); border-color: var(--mint-300); color: var(--bg-deep); }
.btn--mint:hover { background: var(--mint-200); border-color: var(--mint-200); color: var(--bg-deep); }
.btn--outline { background: transparent; border-color: var(--bg-4); color: var(--ink-100); }
.btn--outline:hover { border-color: var(--mint-300); color: var(--mint-300); }
.btn--solid { background: var(--bg-3); border-color: var(--bg-3); color: var(--ink-100); }
.btn--solid:hover { background: var(--bg-4); border-color: var(--bg-4); }
.btn--lg { padding: 0.98rem 1.8rem; font-size: var(--step-0); }
.btn--block { width: 100%; }
.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(--mint-300); text-decoration: none;
}
.golink svg { width: 1em; height: 1em; transition: transform 0.18s ease; }
.golink:hover { color: var(--mint-200); }
.golink:hover svg { transform: translateX(3px); }

/* 07  Navigation ========================================================= */

.header { position: sticky; top: 0; z-index: 100; background: rgba(13, 21, 29, 0.94); border-bottom: var(--line-soft); backdrop-filter: blur(10px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem clamp(1rem, 0.5rem + 2vw, 2rem); width: min(100% , 1220px); margin-inline: auto; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.02; }
.logo__name { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.035em; color: var(--ink-100); white-space: nowrap; }
.logo__name b { color: var(--mint-300); }
.logo__sub { margin-top: 3px; font-size: 0.54rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-400); white-space: nowrap; }

.header__right { display: flex; align-items: center; gap: 0.5rem; }
.header__phone { display: none; text-decoration: none; color: var(--ink-100); font-weight: 700; font-size: var(--step--1); white-space: nowrap; padding-inline: 0.5rem; }
.header__phone:hover { color: var(--mint-300); }

.nav { display: none; }
.nav__link {
  display: block; padding: 0.5rem 0.85rem; border-radius: var(--r-sm);
  font-size: var(--step--1); font-weight: 700; color: var(--ink-300); text-decoration: none; white-space: nowrap;
}
.nav__link:hover { background: var(--bg-3); color: var(--ink-100); }
.nav__link[aria-current="page"] { color: var(--mint-300); background: var(--mint-900); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 42px; height: 42px; padding: 0;
  background: var(--bg-3); border: 0; border-radius: var(--r-sm); color: var(--ink-100); 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: 999px) {
  .header__inner { position: relative; }
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; padding: 0.6rem clamp(1rem, 0.5rem + 2vw, 2rem) 1.25rem;
    background: var(--bg-deep); border-bottom: 2px solid var(--mint-500); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 80px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.8rem 0.85rem; font-size: var(--step-0); }
  .nav .btn { margin-top: 0.8rem; }
}

@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 0.2rem; }
  .nav .btn { display: none; }
  .nav-toggle { display: none; }
  .header__phone { display: block; }
}

@media (max-width: 560px) {
  .header__inner { padding-inline: 0.85rem; }
  .header__right { gap: 0.45rem; }
  .logo__sub { display: none; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__name { font-size: 0.98rem; }
  .header__right .btn { padding: 0.55rem 0.75rem; font-size: 0.73rem; }
  .nav-toggle { width: 38px; height: 38px; }
}

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

.hero { padding-block: clamp(2.5rem, 1.75rem + 3vw, 4.5rem); background: var(--bg-deep); border-bottom: var(--line-soft); }
.hero h1 { max-width: 16ch; }
.hero__lede { font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem); line-height: 1.6; max-width: 48ch; color: var(--ink-300); }

.hero__facts { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: var(--line-soft); list-style: none; }
@media (min-width: 620px) { .hero__facts { grid-template-columns: repeat(3, 1fr); } }
.hero__facts li { margin: 0; }
.hero__facts b { display: block; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint-300); margin-bottom: 0.3rem; }
.hero__facts span { font-size: var(--step--1); color: var(--ink-300); }

.page-head { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem); background: var(--bg-deep); border-bottom: var(--line-soft); }
.page-head h1 { max-width: 19ch; }
.page-head p { font-size: var(--step-1); line-height: 1.55; max-width: 56ch; color: var(--ink-300); }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.3rem; padding: 0; list-style: none; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.55rem; color: var(--mint-500); }
.crumbs a { color: var(--ink-300); text-decoration: none; }
.crumbs a:hover { color: var(--ink-100); }

/* 09  Cards & panels ===================================================== */

.card { display: flex; flex-direction: column; padding: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); background: var(--bg-2); border: var(--line-soft); border-radius: var(--r); }
.section--bg2 .card { background: var(--bg-3); border-color: var(--bg-4); }
.card__n { display: block; margin-bottom: 0.8rem; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.2em; color: var(--mint-300); }
.card h3 { margin-bottom: 0.4em; }
.card p { font-size: var(--step--1); line-height: 1.68; color: var(--ink-300); }
.card__foot { margin-top: auto; padding-top: 1.2rem; }

.panel { padding: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); background: var(--bg-2); border: var(--line-soft); border-radius: var(--r); }
.panel--mint { background: var(--mint-900); border-color: var(--mint-500); }
.panel--outline { background: transparent; border: var(--line); }

.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.checks li { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.7rem; margin: 0; font-size: var(--step--1); line-height: 1.62; }
.checks svg { width: 1.2rem; height: 1.2rem; color: var(--mint-300); margin-top: 0.2rem; }
@media (min-width: 760px) { .checks--2 { grid-template-columns: 1fr 1fr; gap: 0.75rem 2rem; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; padding: 0.32rem 0.8rem; background: var(--bg-2); border: var(--line-soft); border-radius: 999px; font-size: var(--step--1); color: var(--ink-300); }

/* 10  Data rows & steps ================================================== */

.rows { margin: 0; padding: 0; border-top: 2px solid var(--mint-500); }
.rows > div { display: grid; gap: 0.3rem 2rem; padding: 1.25rem 0; border-bottom: var(--line-soft); }
@media (min-width: 720px) { .rows > div { grid-template-columns: 11rem 1fr; } }
.rows dt { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint-300); padding-top: 0.3rem; }
.rows dd { margin: 0; font-size: var(--step--1); line-height: 1.68; color: var(--ink-300); }
.rows dd strong { display: block; font-size: var(--step-0); color: var(--ink-100); margin-bottom: 0.25rem; }

.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.25rem, 1rem + 1vw, 1.7rem); background: var(--bg-2); border: var(--line-soft); border-radius: var(--r); }
.steps li::before {
  content: counter(st, decimal-leading-zero); display: block; margin-bottom: 0.7rem;
  font-size: var(--step--2); font-weight: 700; letter-spacing: 0.2em; color: var(--mint-300);
}
.steps h3 { font-size: var(--step-0); margin-bottom: 0.35em; }
.steps p { font-size: var(--step--1); color: var(--ink-300); }

/* 11  Notes & bands ====================================================== */

.note { padding: clamp(1.1rem, 1rem + 1vw, 1.55rem); background: var(--amber-900); border-left: 4px solid var(--amber-300); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.note h3 { font-size: var(--step-0); margin-bottom: 0.35em; color: var(--ink-100); }
.note p { font-size: var(--step--1); color: var(--ink-200); }

.band { padding-block: var(--section-y); background: var(--mint-900); border-block: 1px solid var(--mint-500); }
.band h2 { font-size: var(--step-2); margin-bottom: 0.35em; }
.band p { margin: 0 0 1.35rem; max-width: 52ch; color: var(--ink-200); }

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

.map-frame { width: 100%; aspect-ratio: 16 / 10; min-height: 300px; border: var(--line); border-radius: var(--r); filter: saturate(0.8) brightness(0.92); }

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

.faq { display: grid; gap: 0.6rem; }
.faq details { background: var(--bg-2); border: var(--line-soft); border-radius: var(--r); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: 1.1rem clamp(1.05rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 700; font-size: var(--step-0); letter-spacing: -0.018em;
  color: var(--ink-100); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.3rem; line-height: 1.15; color: var(--mint-300); transition: transform 0.22s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 clamp(1.05rem, 1rem + 0.7vw, 1.5rem) 1.3rem; }
.faq details p { font-size: var(--step--1); color: var(--ink-300); }

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

.form-card { padding: clamp(1.4rem, 1.1rem + 1.6vw, 2.2rem); background: var(--bg-2); border: var(--line); border-radius: var(--r-lg); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-300); }
.field .req { color: var(--mint-300); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 0.78rem 0.95rem; font: inherit; font-size: var(--step--1); color: var(--ink-100);
  background: var(--bg-deep); border: 1px solid var(--bg-4); border-radius: var(--r-sm);
  transition: border-color 0.14s ease, background-color 0.14s ease;
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9cac' 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.9rem center; background-size: 15px; padding-right: 2.4rem; }
input:focus, select:focus, textarea:focus { background: #0a1118; border-color: var(--mint-300); }
input::placeholder, textarea::placeholder { color: var(--ink-400); }

.field__error { min-height: 1.05rem; font-size: 0.79rem; font-weight: 700; color: var(--amber-300); margin: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--amber-300); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 0.81rem; color: var(--ink-400); }
.form-status { margin-top: 1rem; font-size: var(--step--1); font-weight: 700; min-height: 1.2rem; }
.form-status.is-error { color: var(--amber-300); }
.form-status.is-ok { color: var(--mint-300); }

.contact-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--mint-500); }
.contact-list li { margin: 0; padding: 1.2rem 0; border-bottom: var(--line-soft); }
.contact-list h3 { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint-300); margin-bottom: 0.55em; }
.contact-list p { margin: 0; font-size: var(--step-2); font-weight: 700; color: var(--ink-100); line-height: 1.2; letter-spacing: -0.03em; }
.contact-list p.plain { font-size: var(--step-0); font-weight: 400; color: var(--ink-300); letter-spacing: 0; line-height: 1.7; }
.contact-list small { display: block; margin-top: 0.55rem; font-size: 0.84rem; font-weight: 400; color: var(--ink-400); letter-spacing: 0; }
.contact-list a { color: var(--ink-100); text-decoration: none; }
.contact-list a:hover { color: var(--mint-300); }

.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.5rem 0; margin: 0; border-bottom: var(--line-soft); }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--ink-400); }

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

.site-footer { background: var(--bg-deep); color: var(--ink-400); padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 1.75rem; font-size: var(--step--1); border-top: var(--line-soft); }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-grid > * { min-width: 0; }
.site-footer h3 { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 1rem; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.footer-links li { margin: 0; }
.site-footer a { color: var(--ink-300); text-decoration: none; }
.site-footer a:hover { color: var(--ink-100); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: var(--line-soft); font-size: 0.79rem; color: var(--ink-400); }
.footer-bottom p { margin: 0; }

.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--bg-4); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 0.5rem; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.callbar svg { width: 17px; height: 17px; }
.callbar a:first-child { background: var(--mint-300); color: var(--bg-deep); }
.callbar a:last-child { background: var(--bg-deep); color: var(--ink-100); }
@media (min-width: 1000px) { .callbar { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 54px; } }

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

figure { margin: 0; }
figure img, figure .img-placeholder { border-radius: var(--r); }
figcaption { margin-top: 0.65rem; font-size: var(--step--2); letter-spacing: 0.06em; 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(--bg-2); border: 1px dashed var(--bg-4); border-radius: var(--r);
  text-align: center; color: var(--ink-400);
  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-200); word-break: break-all; }

/* 17  Motion ============================================================= */

[data-reveal] { opacity: 0; transform: translateY(12px); }
.is-revealed[data-reveal] { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
:target { scroll-margin-top: 90px; }

/* 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); }
