/* ==========================================================================
   Live Love Awards — base
   Reset, document defaults, layout primitives, shared type scale and the
   reveal-animation vocabulary. Loaded on every page, fancy or plain.
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0 }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lock { overflow: hidden }

svg { display: block }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
img { max-width: 100%; height: auto }

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

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip {
  position: absolute;
  left: var(--gut);
  top: -60px;
  z-index: 300;
  background: var(--mint);
  color: var(--ink);
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: top .25s;
}
.skip:focus { top: 14px }

/* --- Layout primitives --------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: var(--gut);
}

.sec {
  position: relative;
  z-index: 2;
  padding-block: clamp(84px, 10vw, 164px);
}

/* --- Shared type --------------------------------------------------------- */

/* Numbered section eyebrow: "01 — Why" */
.lbl {
  font-family: var(--body);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 12px;
}
.lbl::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.h2 {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.03em;
  font-size: clamp(34px, 6vw, 92px);
  line-height: .9;
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--dim);
  max-width: 52ch;
}

/* --- Reveal vocabulary ---------------------------------------------------
   Elements start hidden and gain `.in` from an IntersectionObserver in ui.js.
   Three flavours: whole-block fade-up, word-by-word mask, staggered children. */

.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
.rv.in { opacity: 1; transform: none }

/* Headings rise word by word out of a mask */
.split .wd {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.split .wd i {
  display: inline-block;
  font-style: normal;
  transform: translateY(106%);
  transition: transform .95s var(--ease-out);
}
.split.in .wd i { transform: translateY(0) }

.stag > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease-soft), transform .75s var(--ease-soft);
}
.stag.in > * { opacity: 1; transform: none }

/* --- Reduced motion ------------------------------------------------------
   Everything resolves to its final state rather than being disabled, so the
   page still reads as designed — it just arrives there immediately. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .rv { opacity: 1; transform: none }
  .split .wd i { transform: none }
  .stag > * { opacity: 1; transform: none }
}
