/*
  Reset and shared scaffold — the holding site's copy.

  Trimmed from site/css/base.css. What was dropped and why: the
  .is-measuring sticky escape hatch (no header quick-jump here), the skip
  link (nothing to skip to on a one-screen page), and the .photo-placeholder
  / .placeholder-tag / .hairline / .eyebrow helpers (no sheets to place them
  in). Everything the hero itself touches is kept verbatim, including the
  comments, because the reasoning still applies here.
*/

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-anchor: none;
}

/*
  Suppresses every transition during the page's initial settle, so the
  page's own layout settling never animates. js/holding.js clears this
  deliberately, in the same frame it starts the opening sequence — see the
  note there; if it were cleared on a timer instead it would race the
  sequence and silently kill it.
*/
html.is-loading,
html.is-loading * {
  transition: none !important;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--ground);
  color: var(--text);
}

body {
  font-family: var(--font-display);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ol, ul { margin: 0; }

/* Visually hidden but still announced by assistive tech */
.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;
}

/* Visible keyboard focus everywhere (CLAUDE.md accessibility rules) */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--interactive);
  outline-offset: 3px;
}

/* Respect prefers-reduced-motion globally */
@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;
  }
}
