/* ==========================================================================
   Impactful Speaking — V8 · BASE (reset + typography) · load after variables.css
   ========================================================================== */

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
  font-size: 112.5%; /* 18px base */
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ==========================================================================
   3. SKIP LINK (Accessibility)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--cyan);
  color: var(--dark);
  font-family: var(--ff-ui);
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   4. CLICKABLE CARDS — generic click-whole-card behavior
   Add .clickable-card to the card element and
   .clickable-card__link to the <a> inside.
   ========================================================================== */

.clickable-card {
  cursor: pointer;
}

.clickable-card p,
.clickable-card h2,
.clickable-card h3,
.clickable-card h4,
.clickable-card span {
  cursor: text;
}

.clickable-card img {
  cursor: default;
}

/* ==========================================================================
   5. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { line-height: 1.7; }

.grad-text {
  background: var(--grad-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-text--cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-dim       { color: var(--text-dim); }
.text-dim-dark  { color: var(--text-dim-dark); }
.text--on-dark  { color: var(--text); }
.text--on-light  { color: var(--text-dark); }
.text-centered  { text-align: center; }
.text-center    { text-align: center; }

