/* Broad View — modern reset (in @layer base) */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    color-scheme: dark;
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    min-height: 100dvh;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.55;
    background: var(--bg-base);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }
  img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
  }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { background: none; border: 0; cursor: pointer; padding: 0; }
  a { color: inherit; text-decoration: none; }
  ul, ol { padding: 0; margin: 0; list-style: none; }
  h1, h2, h3, h4, h5, h6, p, dl, dd, figure { margin: 0; }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: var(--tracking-display);
    color: var(--ink);
  }
  h1 { font-size: var(--fs-h1); }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); line-height: 1.15; }
  h4 { font-size: var(--fs-h4); line-height: 1.2; }
  p { max-width: 64ch; }
  ::selection { background: var(--alpenglow); color: var(--bg-deep); }
  :focus-visible {
    outline: 2px solid var(--alpenglow);
    outline-offset: 3px;
    border-radius: 4px;
  }
}

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

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px; height: 1px;
  overflow: hidden;
  white-space: nowrap;
  word-wrap: normal;
}
.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  position: fixed;
  top: 1rem; left: 1rem;
  width: auto; height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--alpenglow);
  color: var(--bg-deep);
  z-index: 100000;
  border-radius: var(--r-pill);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
