/* Reset, typography, layout, section themes. Phone first. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
    margin: 0; background: var(--cool-white); color: var(--graphite);
    font: 400 var(--fs-body)/1.5 var(--font-body);   /* Brand Guide 1.2: body line height 150% */
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
/* Brand Guide 1.2: only Montserrat and Inter, also where the browser would pick a default face */
code, kbd, samp, pre, input, select, textarea { font-family: var(--font-body); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-hero); font-weight: 700; line-height: 1.04; }
h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.1; }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); color: var(--graphite); max-width: 62ch; }
.mono { font-family: var(--font-mono); letter-spacing: 0; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section > .container > * + * { margin-top: 1.25rem; }

/* Section label: "01 -- Capture" */
.kicker {
    display: flex; align-items: center; gap: .75rem;
    font: 400 var(--fs-label)/1 var(--font-mono); letter-spacing: .02em; text-transform: uppercase;
    color: var(--ocean);
}
.kicker::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .5; order: 1; }
.kicker b { font-weight: 400; color: var(--navy); }
.kicker span { order: 2; }

/* Themes */
.theme-navy { background: var(--navy); color: var(--on-navy); }
.theme-navy h1, .theme-navy h2, .theme-navy h3 { color: var(--on-navy); }
.theme-navy .lead { color: var(--on-navy); }
.theme-navy .kicker, .fmp .kicker { color: var(--on-navy); }
.theme-navy .kicker b { color: var(--on-navy); }
.theme-deep { background: var(--navy-deep); }
.theme-sand { background: var(--sand-tint); }
.theme-white { background: var(--white); }

/* Grids */
.grid-2 { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); }
.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }

/* Scroll reveal (site.js adds .visible; without JS everything shows) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
