/* Hallmark · pre-emit critique: P5 H5 E5 S4 R5 V4
 * macrostructure: Editorial narrative · genre: civic (dark atmospheric register)
 * theme: custom "Ironbound" · paper oklch(16% .03 256) ink-navy · accent oklch(80% .10 84) heritage-gold
 * axes: dark paper / roman-serif display / neutral-warm accent
 * tone: institutional, grave, premium · display-font: Fraunces · body-font: Instrument Sans
 */

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Surfaces (dark atmospheric civic) */
  --color-ink:        oklch(16% 0.028 256);   /* base page */
  --color-ink-2:      oklch(13% 0.028 256);   /* deepest bands: footer, dark CTA */
  --color-surface:    oklch(20.5% 0.028 256); /* cards */
  --color-surface-2:  oklch(24.5% 0.030 256); /* raised cards, inputs */
  --color-band:       oklch(18.5% 0.030 258); /* alt section band */

  /* Ink / type */
  --color-ivory:      oklch(94% 0.014 85);    /* headlines, emphasis */
  --color-ivory-dim:  oklch(87% 0.013 85);    /* strong body */
  --color-muted:      oklch(73% 0.018 250);   /* body copy */
  --color-faint:      oklch(60% 0.018 250);   /* captions, meta */

  /* Accent — one heritage gold (oxblood reserved for urgency) */
  --color-gold:       oklch(80% 0.105 84);
  --color-gold-soft:  oklch(87% 0.085 84);
  --color-gold-deep:  oklch(70% 0.105 80);
  --color-oxblood:    oklch(56% 0.135 25);    /* crisis / urgent only */
  --color-on-gold:    oklch(20% 0.03 80);     /* text on gold fills */

  /* Lines / glow */
  --color-line:        oklch(94% 0.014 85 / 0.12);
  --color-line-strong: oklch(94% 0.014 85 / 0.22);
  --color-gold-line:   oklch(80% 0.105 84 / 0.45);
  --glow-gold:         0 0 0 1px oklch(80% 0.105 84 / 0.18), 0 18px 60px oklch(80% 0.105 84 / 0.10);
  --shadow-deep:       0 24px 70px oklch(0% 0 0 / 0.45);
  --shadow-soft:       0 10px 36px oklch(0% 0 0 / 0.30);

  --color-focus:       oklch(86% 0.085 84);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-display: clamp(2.85rem, 6vw, 5rem);
  --text-h1:      clamp(2.2rem, 4.4vw, 3.5rem);
  --text-h2:      clamp(1.75rem, 3.1vw, 2.55rem);
  --text-h3:      clamp(1.3rem, 1.9vw, 1.6rem);
  --text-lede:    clamp(1.15rem, 1.5vw, 1.4rem);
  --text-body:    1.0625rem;
  --text-sm:      0.9375rem;
  --text-xs:      0.8125rem;
  --text-eyebrow: 0.78rem;

  /* Spacing — 4pt scale */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem;  --space-8: 2rem;    --space-10: 2.5rem;
  --space-12: 3rem;   --space-16: 4rem;   --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;

  --wrap: 74rem;       /* full content max */
  --wrap-prose: 44rem; /* reading measure */

  --radius:    4px;
  --radius-lg: 8px;

  --ease-out:    cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 120ms; --dur: 240ms; --dur-slow: 480ms;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-ink);
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
/* Atmospheric grain — very subtle, fixed */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-gold-soft); text-decoration-color: var(--color-gold-line); text-underline-offset: 3px; }
a:hover { color: var(--color-gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ivory);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  overflow-wrap: anywhere;
  min-width: 0;
}
h1 { font-size: var(--text-h1); font-weight: 540; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-4); }
strong { color: var(--color-ivory-dim); font-weight: 600; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); position: relative; }
.section--band { background: var(--color-band); border-block: 1px solid var(--color-line); }
.section--ink2 { background: var(--color-ink-2); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.prose-wrap { max-width: var(--wrap-prose); }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--color-gold); color: var(--color-on-gold);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

/* ============================================================
   EYEBROW / SECTION HEADS / RULES
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-eyebrow); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-gold); margin: 0 0 var(--space-4);
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 1px; background: var(--color-gold-line);
}
.rule { height: 1px; background: var(--color-line); border: 0; margin: 0; }
.sect-head { max-width: 46rem; margin-bottom: var(--space-12); }
.sect-head--center { margin-inline: auto; text-align: center; }
.sect-head--center .eyebrow { justify-content: center; }
.sect-head .lede { font-size: var(--text-lede); color: var(--color-muted); margin: 0; }

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(14% 0.028 256 / 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
}
.nav { display: flex; align-items: center; gap: var(--space-6); min-height: 4.5rem; }
.brand {
  font-family: var(--font-display); font-weight: 600; font-size: 1.18rem;
  color: var(--color-ivory); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap;
}
.brand .dot { color: var(--color-gold); }
.nav__links { display: flex; align-items: center; align-self: stretch; gap: var(--space-1); margin-left: var(--space-4); }
.nav__link {
  color: var(--color-ivory-dim); text-decoration: none; font-size: var(--text-sm); font-weight: 500;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius);
  white-space: nowrap; transition: color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--color-ivory); background: oklch(94% 0.014 85 / 0.06); }
.nav__spacer { flex: 1; }
.nav__phone {
  color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); font-weight: 600;
  white-space: nowrap; transition: color var(--dur) var(--ease-out);
}
.nav__phone:hover { color: var(--color-gold); }
.nav__toggle { display: none; }
.mobile-menu { display: none; }

/* Mega menu */
.nav__item { position: relative; }
/* Mega trigger fills the full header height so there is no hover dead-zone
   between the link and the panel (panel still anchors to the header width). */
.nav__item--mega { position: static; align-self: stretch; display: flex; align-items: center; }
.mega {
  position: absolute; top: 100%; left: var(--space-6); right: var(--space-6);
  max-width: 64rem; margin-inline: auto;
  background: var(--color-surface); border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-deep);
  display: grid; grid-template-columns: 15rem 1fr; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
/* Transparent bridge across any hairline gap between trigger and panel */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item--mega:hover .mega,
.nav__item--mega:focus-within .mega { transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s; }
.mega--single { grid-template-columns: 1fr; max-width: 40rem; right: auto; }
.nav__item--mega:hover .mega,
.nav__item--mega:focus-within .mega,
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__rail {
  display: flex; flex-direction: column; gap: 2px; padding: var(--space-3);
  background: var(--color-ink-2); border-right: 1px solid var(--color-line);
}
.mega__cat {
  text-align: left; background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--color-ivory-dim);
  padding: var(--space-3); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.mega__cat::after { content: "\203A"; color: var(--color-faint); }
.mega__cat:hover, .mega__cat.is-active { background: oklch(94% 0.014 85 / 0.07); color: var(--color-gold-soft); }
.mega__cat--all { color: var(--color-gold); font-weight: 600; text-decoration: none; margin-top: var(--space-2); border-top: 1px solid var(--color-line); padding-top: var(--space-4); }
.mega__cat--all::after { content: "\2192"; }
.mega__content { padding: var(--space-5) var(--space-6); }
.mega__group-title { display: inline-block; font-weight: 600; color: var(--color-gold-soft); text-decoration: none; font-size: var(--text-sm); margin-bottom: var(--space-4); }
.mega__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px var(--space-5); }
.mega__items--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__items a { color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); padding: var(--space-2) 0; border-radius: var(--radius); }
.mega__items a:hover { color: var(--color-gold-soft); }
/* JS-enhanced: only show the active group; no-JS shows all stacked */
.js-mega .mega__group { display: none; }
.js-mega .mega__group.is-active { display: block; }

/* ============================================================
   BUTTONS — 8 states
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  padding: 0.95rem 1.5rem; border-radius: var(--radius); border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn--primary { background: var(--color-gold); color: var(--color-on-gold); box-shadow: var(--glow-gold); }
.btn--primary:hover, .btn--primary.is-hover { background: var(--color-gold-soft); transform: translateY(-1px); }
.btn--primary:active, .btn--primary.is-active { transform: translateY(0); background: var(--color-gold-deep); }
.btn--ghost { background: transparent; color: var(--color-ivory); border-color: var(--color-line-strong); }
.btn--ghost:hover, .btn--ghost.is-hover { border-color: var(--color-gold-line); color: var(--color-gold-soft); background: oklch(94% 0.014 85 / 0.04); }
.btn--ghost:active, .btn--ghost.is-active { transform: translateY(1px); }
.btn--urgent { background: var(--color-oxblood); color: var(--color-ivory); }
.btn--urgent:hover, .btn--urgent.is-hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn:focus-visible, .btn.is-focus { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[data-state="loading"] { color: transparent; position: relative; pointer-events: none; }
.btn[data-state="loading"]::after {
  content: ""; position: absolute; width: 1rem; height: 1rem; border-radius: 50%;
  border: 2px solid var(--color-on-gold); border-top-color: transparent; animation: spin 0.7s linear infinite;
}
.btn[data-state="error"] { background: var(--color-oxblood); color: var(--color-ivory); }
.btn[data-state="success"] { background: oklch(62% 0.10 150); color: var(--color-on-gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.textlink {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: var(--text-sm);
  color: var(--color-gold); text-decoration: none;
}
.textlink::after { content: "\2192"; transition: transform var(--dur) var(--ease-out); }
.textlink:hover::after { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-block: clamp(var(--space-20), 12vw, 9rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 80% -10%, oklch(80% 0.105 84 / 0.16), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, oklch(56% 0.135 25 / 0.10), transparent 50%);
}
.hero--img::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--hero-img); background-size: cover; background-position: center;
  opacity: 0.20; mix-blend-mode: luminosity;
  mask-image: linear-gradient(to right, transparent, black 40%, black 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero--service { padding-block: clamp(var(--space-10), 7vw, var(--space-16)); }
.hero--service .hero__title { font-size: var(--text-h1); max-width: 24ch; }
.hero__title { font-size: var(--text-display); font-weight: 540; max-width: 18ch; }
.hero__title em { font-style: italic; color: var(--color-gold-soft); }
.hero__sub { font-size: var(--text-lede); color: var(--color-muted); max-width: 52ch; margin-top: var(--space-6); }
.hero__actions { margin-top: var(--space-8); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); align-items: center;
  font-size: var(--text-sm); color: var(--color-faint); letter-spacing: 0.01em;
}
.trustbar span { display: inline-flex; align-items: center; gap: var(--space-2); }
.trustbar span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--color-gold); }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.cards { display: grid; gap: var(--space-5); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.card:hover { border-color: var(--color-gold-line); transform: translateY(-2px); }
.card__icon {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center; margin-bottom: var(--space-4);
  border: 1px solid var(--color-gold-line); border-radius: var(--radius); color: var(--color-gold);
}
.card__icon svg { width: 1.25rem; height: 1.25rem; }
.card h3 { margin-bottom: var(--space-2); }
.card p { font-size: var(--text-sm); margin-bottom: var(--space-3); }
.card a.textlink { font-size: var(--text-xs); }
/* Linked card */
a.card { text-decoration: none; color: inherit; display: block; }
a.card h3 { color: var(--color-ivory); }
a.card:hover h3 { color: var(--color-gold-soft); }

/* ============================================================
   TWO-BEAT (Remove -> Influence)
   ============================================================ */
.beats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.beat {
  border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  padding: var(--space-8); background: var(--color-surface);
}
.beat__num {
  font-family: var(--font-display); font-size: 0.95rem; color: var(--color-gold);
  letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: var(--space-3);
}

/* ============================================================
   STEPS (ordinal — process only)
   ============================================================ */
.steps { display: grid; gap: var(--space-5); counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; }
.step__num {
  counter-increment: step; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
  color: var(--color-gold); width: 3rem; height: 3rem; display: grid; place-items: center;
  border: 1px solid var(--color-gold-line); border-radius: 50%;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: var(--space-1); }
.step p { font-size: var(--text-sm); margin: 0; }

/* ============================================================
   FAQ (details/summary)
   ============================================================ */
.faq { border-top: 1px solid var(--color-line); }
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: var(--space-5) var(--space-8) var(--space-5) 0;
  position: relative; font-family: var(--font-display); font-size: var(--text-h3);
  color: var(--color-ivory); font-weight: 500; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-gold); transition: transform var(--dur) var(--ease-out);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__answer { padding: 0 0 var(--space-6); max-width: var(--wrap-prose); }
.faq__answer p { font-size: var(--text-body); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden; background: var(--color-ink-2);
  border: 1px solid var(--color-gold-line); border-radius: var(--radius-lg);
  padding: clamp(var(--space-12), 7vw, var(--space-24)); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 50% 0%, oklch(80% 0.105 84 / 0.14), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band .lede { max-width: 50ch; margin: 0 auto var(--space-8); color: var(--color-muted); font-size: var(--text-lede); }
.cta-band .btn-row { justify-content: center; }

/* ============================================================
   PROSE (long body content)
   ============================================================ */
.prose { max-width: var(--wrap-prose); }
.prose > h2 { margin-top: var(--space-12); }
.prose > h3 { margin-top: var(--space-8); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--color-muted); }
.prose ul, .prose ol { padding-left: var(--space-5); margin: 0 0 var(--space-4); }
.prose li { margin-bottom: var(--space-2); }
.prose ul li::marker { color: var(--color-gold); }
.prose a { font-weight: 500; }

/* ============================================================
   BREADCRUMB / RELATED / FINEPRINT
   ============================================================ */
.crumbs { font-size: var(--text-xs); color: var(--color-faint); margin-bottom: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.crumbs a { color: var(--color-faint); text-decoration: none; }
.crumbs a:hover { color: var(--color-gold); }
.crumbs span[aria-current] { color: var(--color-muted); }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.related a { color: var(--color-gold-soft); text-decoration: none; font-weight: 500; }
.fineprint { font-size: var(--text-xs); color: var(--color-faint); font-style: italic; max-width: var(--wrap-prose); margin-top: var(--space-4); }

/* Inline CTA between sections */
.inline-cta { margin-top: var(--space-10); padding-top: var(--space-8); border-top: 1px solid var(--color-line); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); justify-content: space-between; }
.inline-cta__lead { margin: 0; font-family: var(--font-display); font-size: var(--text-h3); color: var(--color-ivory); max-width: 34ch; }
.inline-cta .btn-row { flex-shrink: 0; }
@media (max-width: 640px) { .inline-cta .btn, .inline-cta .btn-row { width: 100%; } }

/* ============================================================
   MEDIA SLOTS
   ============================================================ */
.media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-line); position: relative; }
.media img { width: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.media--portrait img { aspect-ratio: 4 / 5; }
.media--wide img { aspect-ratio: 21 / 9; }
.media__cap { font-size: var(--text-xs); color: var(--color-faint); padding: var(--space-2) var(--space-3); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.split--reverse > :first-child { order: 2; }

/* Atmospheric section background image (hero-style, behind content) */
.section--imgbg { position: relative; overflow: hidden; }
.section--imgbg::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--bg-img); background-size: cover; background-position: center;
  opacity: 0.10; mix-blend-mode: luminosity;
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 72%, transparent);
}
.section--imgbg > .wrap { position: relative; z-index: 1; }

/* Media card (image-topped) */
.card--media { overflow: hidden; }
.card__media { margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-5); border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 3 / 2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) brightness(0.82); transition: transform var(--dur-slow) var(--ease-out), filter var(--dur) var(--ease-out); }
.card--media:hover .card__media img { transform: scale(1.04); filter: grayscale(0) brightness(0.95); }

/* Evidence mockups — SHOW the specific pain (review card, SERP, thread, etc.) */
.evidence { background: var(--color-surface); border: 1px solid var(--color-line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-deep); overflow: hidden; }
.evidence__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-line); background: var(--color-ink-2); }
.evidence__brand { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-faint); letter-spacing: 0.04em; }
.evidence__brand img { width: 16px; height: 16px; object-fit: contain; background: #fff; border-radius: 3px; padding: 1px; }
.evidence__flag { font-size: var(--text-xs); font-weight: 600; color: var(--color-oxblood); border: 1px solid color-mix(in oklch, var(--color-oxblood), transparent 55%); border-radius: 999px; padding: 2px 10px; }
.evidence__body { padding: var(--space-5) var(--space-6); }
.review__head { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center; margin-bottom: var(--space-3); }
.review__avatar { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--color-surface-2); border: 1px solid var(--color-line-strong); display: grid; place-items: center; font-weight: 600; color: var(--color-muted); font-size: var(--text-sm); }
.review__name { display: block; color: var(--color-ivory-dim); font-weight: 600; font-size: var(--text-sm); }
.review__stars { letter-spacing: 2px; font-size: 0.95rem; color: var(--color-faint); }
.review__stars b { color: var(--color-gold); font-weight: 400; }
.review__date { font-size: var(--text-xs); color: var(--color-faint); }
.review__text { margin: 0; color: var(--color-ivory-dim); font-size: var(--text-body); }
.evidence__meter { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-4) var(--space-6); border-top: 1px solid var(--color-line); font-size: var(--text-xs); color: var(--color-faint); }
.evidence__meter .meter { height: 6px; border-radius: 999px; background: var(--color-surface-2); overflow: hidden; }
.evidence__meter .meter b { display: block; height: 100%; background: linear-gradient(90deg, var(--color-oxblood), var(--color-gold)); }
.evidence__meter .nums { color: var(--color-ivory-dim); font-weight: 600; }
.evidence__cap { font-size: var(--text-xs); color: var(--color-faint); font-style: italic; padding: 0 var(--space-6) var(--space-5); margin: 0; }

/* SERP results mockup */
.serp__query { font-size: var(--text-xs); color: var(--color-muted); background: var(--color-surface-2); border: 1px solid var(--color-line); border-radius: 999px; padding: 3px 12px; }
.serp { padding: var(--space-4) var(--space-5); display: grid; gap: var(--space-4); }
.serp__item { display: grid; gap: 3px; padding: var(--space-3) var(--space-4); border-radius: var(--radius); border: 1px solid transparent; position: relative; }
.serp__item--target { background: color-mix(in oklch, var(--color-oxblood), transparent 88%); border-color: color-mix(in oklch, var(--color-oxblood), transparent 60%); }
.serp__tag { position: absolute; top: var(--space-3); right: var(--space-4); font-size: var(--text-xs); font-weight: 600; color: var(--color-oxblood); }
.serp__url { font-size: var(--text-xs); color: var(--color-faint); }
.serp__title { font-family: var(--font-body); font-size: var(--text-body); color: var(--color-gold-soft); font-weight: 500; }
.serp__item--target .serp__title { color: var(--color-ivory); }
.serp__snippet { font-size: var(--text-sm); color: var(--color-muted); }
.serp__redact { display: block; height: 2.6rem; width: 4rem; border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--color-surface-2), var(--color-surface-2) 6px, var(--color-ink-2) 6px, var(--color-ink-2) 12px); border: 1px solid var(--color-line-strong); margin: 4px 0; }

/* AI answer-window mockup (the LLMs that remember) */
.ai-mock { background: var(--color-surface); border: 1px solid var(--color-line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-deep); overflow: hidden; }
.ai-mock__head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-line); background: var(--color-ink-2); }
.ai-mock__dots { display: inline-flex; gap: 6px; }
.ai-mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-line-strong); display: block; }
.ai-mock__title { font-size: var(--text-xs); color: var(--color-faint); letter-spacing: 0.06em; }
.ai-mock__body { padding: var(--space-6); display: grid; gap: var(--space-4); }
.ai-mock__q { font-family: var(--font-display); color: var(--color-ivory); font-size: var(--text-h3); line-height: 1.3; }
.ai-mock__a { background: var(--color-surface-2); border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-4) var(--space-5); }
.ai-mock__a p { margin: 0 0 var(--space-2); font-size: var(--text-sm); color: var(--color-muted); }
.ai-mock__flag { color: var(--color-gold-soft) !important; font-weight: 500; margin: var(--space-2) 0 0 !important; border-left: 2px solid var(--color-oxblood); padding-left: var(--space-3); }
.ai-mock__models { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.ai-mock__label { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-faint); }
.ai-mock__logos { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.ai-mock__chip { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-soft); }
.ai-mock__chip img { width: 1.3rem; height: 1.3rem; object-fit: contain; }

/* ============================================================
   FORMS (contact)
   ============================================================ */
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-ivory-dim); margin-bottom: var(--space-2); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--color-surface-2); border: 1px solid var(--color-line-strong);
  border-radius: var(--radius); color: var(--color-ivory); font-family: var(--font-body);
  font-size: var(--text-body); padding: 0.85rem 1rem;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-faint); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--color-gold-line); box-shadow: 0 0 0 3px oklch(80% 0.105 84 / 0.18);
}
.consent { font-size: var(--text-xs); color: var(--color-faint); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-ink-2); border-top: 1px solid var(--color-line); padding-block: var(--space-20) var(--space-10); margin-top: var(--space-12); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-8); margin-bottom: var(--space-16); }
.footer__brand .brand { font-size: 1.3rem; }
.footer__brand p { font-size: var(--text-sm); color: var(--color-faint); max-width: 30ch; margin-top: var(--space-3); }
.footer__col .footer__h { font-family: var(--font-body); font-weight: 600; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-faint); margin-bottom: var(--space-4); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer__col a { color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); }
.footer__col a:hover { color: var(--color-gold-soft); }
.footer__contact a { color: var(--color-ivory-dim); text-decoration: none; font-weight: 600; }
.footer__bottom { border-top: 1px solid var(--color-line); padding-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; font-size: var(--text-xs); color: var(--color-faint); }
.footer__bottom a { color: var(--color-faint); text-decoration: none; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ============================================================
   REVEAL MOTION
   ============================================================ */
/* Progressive enhancement: visible by default; only hidden once JS marks <html class="js-reveal"> */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer__brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    background: transparent; border: 1px solid var(--color-line-strong); border-radius: var(--radius);
    color: var(--color-ivory); width: 2.75rem; height: 2.75rem; cursor: pointer;
  }
  .nav__toggle svg { width: 1.3rem; height: 1.3rem; }
  .mobile-menu { display: none; }
  .mobile-menu.is-open { display: block; }
  .mobile-menu { border-top: 1px solid var(--color-line); padding: var(--space-4) 0 var(--space-6); }
  .mobile-menu a { display: block; padding: var(--space-3) 0; color: var(--color-ivory-dim); text-decoration: none; border-bottom: 1px solid var(--color-line); font-size: var(--text-body); }
  .mobile-menu .btn { margin-top: var(--space-4); width: 100%; }
}
@media (max-width: 720px) {
  .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .beats { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: var(--space-3); }
}
