/* Native cross-document view transitions where supported (Chrome 126+);
   page-transitions.js supplies a fade fallback everywhere else. */
@view-transition {
  navigation: auto;
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

html {
  scroll-behavior: smooth;
}
[data-motion="off"] html,
[data-motion="off"] {
  scroll-behavior: auto;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: var(--lh-display);
  font-weight: 500;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

/* Compact section-header variant — eyebrow's heading partner, not a full h2 statement */
.section-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-4);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-gold);
  color: var(--color-bg);
  padding: var(--space-2) var(--space-3);
  z-index: 10000;
}
.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

@media (min-width: 640px) {
  .container { padding-inline: var(--space-4); }
}

.flash-banner {
  text-align: center;
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
}
.flash-banner--success {
  background: rgba(201, 161, 90, 0.12);
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold-dim);
}
.flash-banner--error {
  background: rgba(122, 31, 43, 0.18);
  color: #e8a5ad;
  border-bottom: 1px solid var(--color-burgundy);
}
