/* ----------------------------------------------------------------------------
   TVLDays · Base styles
   Reset + typography foundations. Load after tokens.css.
   ---------------------------------------------------------------------------- */

/* ---------- Reset ---------- */

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

* {
  margin: 0;
  padding: 0;
}

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

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";   /* Inter stylistic niceties */
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ---------- Typography base ---------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;           /* Archivo Black is intrinsically heavy */
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--text);
}

h1 { font-size: var(--fs-display-xl); letter-spacing: var(--ls-display-xl); }
h2 { font-size: var(--fs-display-l);  letter-spacing: var(--ls-display-l); }
h3 { font-size: var(--fs-display-m);  letter-spacing: var(--ls-display-m); }
h4 { font-size: clamp(24px, 3vw, 32px); }
h5 { font-size: 20px; }
h6 { font-size: 16px; letter-spacing: var(--ls-label); text-transform: uppercase; font-family: var(--font-sans); font-weight: 500; }

p {
  line-height: var(--lh-body);
  color: var(--text-soft);
  max-width: 65ch;
}

/* ---------- Typography utilities ---------- */

/* The brand's signature: -6deg skew on display type.
   Apply to headings that act as hero/section display lines. */
.display-skew {
  transform: skewX(-6deg);
  transform-origin: left center;
  display: inline-block;
}

/* Fraunces italic — accent-only. Never body. */
.italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* The Fraunces kicker — small italic line above a section headline. */
.kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-kicker-m);
  line-height: 1.3;
  color: var(--marquee);
  letter-spacing: -0.01em;
  margin-bottom: var(--s-5);
}

.kicker--lg {
  font-size: var(--fs-kicker-l);
  margin-bottom: var(--s-6);
}

/* Mono label — the "LIVE · MANIFEST" voice */
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-wash);
}

/* Sub-headline body below a Display L — slightly larger body. */
.lede {
  font-size: var(--fs-body-l);
  line-height: var(--lh-body);
  color: var(--text-soft);
  max-width: 56ch;
}

/* Accent color helpers — apply to individual spans inside display type. */
.c-marquee { color: var(--marquee); }
.c-marquee-deep { color: var(--marquee-deep); }
.c-amber { color: var(--amber-deep); }
.c-cue { color: var(--cue-ui); }
.c-espresso { color: var(--espresso); }

/* ---------- Links ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--marquee);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ---------- Selection ---------- */

::selection {
  background: var(--marquee);
  color: var(--bg);
}
