/* ============================================================
   BREEZE — BASE / RESET / LAYOUT PRIMITIVES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

/* Off-canvas drawer clip lives on the ROOT (ledger F3), never body. */
html {
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  margin: 0 0 var(--s-4);
  color: var(--ink);
  text-transform: uppercase;
}
h1 { font-size: var(--fs-xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.section { padding-block: var(--s-9); }

.bg-wash { background: var(--wash); }
.bg-ink {
  background: var(--grad-ink);
  color: #dfe8ee;
}
.bg-ink h2, .bg-ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: var(--s-3);
}
.eyebrow-light { color: var(--gold); }

.sec-head {
  max-width: 720px;
  margin: 0 auto var(--s-7);
  text-align: center;
}
.sec-lead {
  font-size: var(--fs-md);
  color: var(--muted);
  margin-top: var(--s-2);
}
.sec-head-light .sec-lead-light, .sec-lead-light { color: #b9c6d1; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Reveal: JS-gated, transform-led (ledger L2/L3).
   No-JS + reduced-motion + failsafe = fully visible. ---------- */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}
.js-reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
