/* Reset, typography defaults, shared components. Consumes tokens.css. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: var(--size-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-weight: 500; line-height: 1.1; }

h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--size-h2);
  color: var(--gold);
}

a { color: var(--gold); text-underline-offset: 0.2em; }
a:hover { color: var(--champagne); }

/* Visible focus on everything interactive (WCAG) */
:focus-visible {
  outline: 2px solid var(--seaglass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Letterspaced caps label */
.label {
  font-family: var(--font-sans);
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne);
}

/* Gold pill button */
.btn-gold {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--size-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  padding: 1em 2.5em;
  border-radius: 99px;
  transition: background-color 200ms ease;
}
.btn-gold:hover, .btn-gold:focus-visible { background: var(--champagne); color: var(--ink); }

/* Photo scrims — guarantee text contrast over images (spec §8) */
.scrim-radial::after,
.scrim-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.scrim-radial::after {
  background: radial-gradient(at 50% 40%, rgba(0,0,0,0) 0%,
    rgba(31,26,20,0.45) 70%, rgba(31,26,20,0.8) 100%);
}
.scrim-bottom::after {
  background: linear-gradient(rgba(31,26,20,0.15) 0%, rgba(31,26,20,0.88) 100%);
}

/* A11y helpers */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100%;
  z-index: 100; background: var(--ivory); color: var(--ink);
  padding: 0.75em 1.5em; font-family: var(--font-sans);
}
.skip-link:focus { top: 1rem; }

/* Kill all motion for users who ask (spec §5) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
