/* ============================================================================
   BESTYALL — base.css
   Reset + the atoms cloned from the reference: pill buttons, gold kickers,
   uppercase headings.
   ========================================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-gated, body.is-locked { overflow: hidden; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

.wrap { width: min(1400px, 100% - var(--s-5)); margin-inline: auto; }
.wrap--narrow { width: min(1100px, 100% - var(--s-5)); margin-inline: auto; }

/* ── Kicker — 12px / 3px tracking / uppercase / gold ─────────────────────── */
.kicker {
  font-size: var(--t-kicker);
  font-weight: 400;
  letter-spacing: var(--track-kicker);
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.5;
}

/* ── Headings — uppercase, per the theme's --heading-text-transform ─────── */
.h1, .h2, .h3 {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--ink-strong);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0;
}
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); }

/* The serif is the reference's grace note — used sparingly, never uppercase. */
.serif {
  font-family: var(--font-serif);
  text-transform: none;
  font-weight: 500;
}

.lede { color: var(--ink-dim); font-size: var(--t-lg); line-height: 1.7; }

/* ── Buttons — pill, uppercase, 1.2px tracking ──────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--t-sm);
  font-weight: 400;
  letter-spacing: var(--track-button);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.button--gold { background: var(--gold); color: #FFF; border-color: var(--gold); }
.button--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.button--outline { background: transparent; color: var(--ink-strong); border-color: var(--ink-strong); }
.button--outline:hover { background: var(--ink-strong); color: #FFF; }

.button--light { background: #FFF; color: var(--ink-strong); border-color: #FFF; }
.button--light:hover { background: var(--gold); border-color: var(--gold); color: #FFF; }

.button--sm { padding: 9px 20px; font-size: var(--t-xs); }

/* ── Section shell ──────────────────────────────────────────────────────── */
.section { padding-block: var(--s-7); }
.section--tight { padding-block: var(--s-6); }
.section--white { background: var(--surface); }
.section--tint { background: var(--surface-alt); }
.section--dark { background: var(--dark); color: #FFF; }
.section--dark .h2, .section--dark .h3 { color: #FFF; }
.section--dark .lede { color: rgba(255,255,255,.72); }

.section__head { text-align: center; margin-bottom: var(--s-5); }
.section__head .kicker { margin-bottom: var(--s-2); }
.section__head .lede { max-width: 62ch; margin-inline: auto; margin-top: var(--s-3); }
.section__head--left { text-align: left; }
.section__head--left .lede { margin-inline: 0; }
