/* ==========================================================================
   Reset + page shell
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-font-smoothing: inherit;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: sans-serif;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, p, figure {
  margin: 0;
  font-weight: inherit;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

/* <picture> exists only to hold the AVIF/WebP <source> alternatives; it must
   not introduce a box of its own. Every sizing rule on this site targets the
   <img> and assumes it is a direct child of its container — as a flex item the
   wrapper shrank to content width instead of filling (the hero rendered
   1385px inside a 1440px bg). display:contents removes the wrapper from
   layout so those rules keep applying to the <img> exactly as before. */
picture {
  display: contents;
}

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

/* Eyebrow label — Montserrat 14/500/1.6, uppercase, accent colour */
.eyebrow {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6em;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* Image stand-in — every picture is rendered as a flat white box.
   The source uses no border-radius anywhere, so neither do these. */
.ph {
  background: var(--c-placeholder);
  border-radius: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Accessibility ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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