*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--color-navy);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* scrollbar hidden on desktop, per reference */
@media (min-width: 768px) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
}

::selection { background: var(--color-navy); color: var(--color-white); }

html.is-locked, html.is-locked body { overflow: hidden; }

.u-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.u-visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Type scale — mobile values, desktop overrides at bottom */
.fn-h1 { font-family: var(--font-serif); font-weight: 300; font-size: 200rem; line-height: 0.9; letter-spacing: -0.03em; margin: 0; }
.fn-h2 { font-family: var(--font-serif); font-weight: 300; font-size: 40rem; line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.fn-h3 { font-family: var(--font-serif); font-weight: 300; font-size: 36rem; line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.fn-h4 { font-family: var(--font-serif); font-weight: 400; font-size: 30rem; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.fn-h5 { font-family: var(--font-serif); font-weight: 400; font-size: 26rem; line-height: 1.15; margin: 0; }
.fn-b1 { font-family: var(--font-sans); font-weight: 400; font-size: 14rem; line-height: 1.5; margin: 0; }
.fn-b2 { font-family: var(--font-sans); font-weight: 400; font-size: 12rem; line-height: 1.5; margin: 0; }
.fn-eyebrow { font-family: var(--font-sans); font-weight: 500; font-size: 12rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-bronze); margin: 0; }

@media (min-width: 768px) {
  .fn-h1 { font-size: 400rem; }
  .fn-h2 { font-size: 175rem; }
  .fn-h3 { font-size: 118rem; }
  .fn-h4 { font-size: 80rem; }
  .fn-h5 { font-size: 40rem; }
  .fn-b1 { font-size: 16rem; }
  .fn-b2 { font-size: 14rem; }
  .fn-eyebrow { font-size: 14rem; }
}

/* link underline micro-interaction, reused by header nav + footer nav */
.u-underline { position: relative; display: inline-block; }
.u-underline::after {
  content: ''; position: absolute; left: 0; bottom: -2rem; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.u-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* focus visibility (T10 will audit this further, but base rule lives here) */
:focus-visible { outline: 2px solid var(--color-bronze); outline-offset: 2px; }
