@import "./fonts.css";
@import "./tokens.css";

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

html, body {
  background: #111;
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.slide {
  width:  var(--slide-w);
  height: var(--slide-h);
  /* Canonical bg matching the original Hero look:
     dark vignette at edges + 3-layer ambient + evergreen base.
     Top-most layer = vignette (darkens corners). */
  background:
    radial-gradient(ellipse 90% 75% at 50% 50%, transparent 0%, rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse 70% 60% at 30% 35%, rgba(0,120,95,0.28), transparent 65%),
    radial-gradient(ellipse 80% 70% at 75% 80%, rgba(0,171,120,0.10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(255,97,47,0.06), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  font-family: var(--font);
  letter-spacing: -0.005em;
}

/* Soft noise grain for modern texture (very subtle) */
.slide::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.012) 1px, transparent 0);
  background-size: 3px 3px;
  z-index: 0;
}
.slide + .slide { margin-top: 24px; }

/* ---- Top-right logo lockup ------------------------------------- */
.logo {
  position: absolute;
  top: 44px; right: 56px;
  height: 56px;
  z-index: 10;
  display: flex; align-items: center; gap: 18px;
}
.logo img { height: 100%; width: auto; display: block; }
.logo .pg {
  font-weight: 600; font-size: 22px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* ---- Geometric chevron pattern (brandbook p20) ----------------- */
.pattern {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.pattern svg { width: 100%; height: 100%; }

/* ---- Big orange section-divider triangle ----------------------- */
.tri-orange {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 40%;
  background: var(--c-fire);
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
  z-index: 1;
}

/* ---- Typography ------------------------------------------------ */
h1, h2, h3, h4 {
  font-weight: 700; line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
h1 { font-size: 168px; font-weight: 800; }
h2 { font-size: 108px; font-weight: 800; }
h3 { font-size: 64px;  font-weight: 700; }
h4 { font-size: 40px;  font-weight: 700; }

.eyebrow {
  font-size: 22px; font-weight: 700;
  color: var(--c-fire);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.kicker {
  font-size: 30px; font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.3;
}
.body {
  font-size: 24px; font-weight: 400; line-height: 1.45;
}

/* ---- Stats ----------------------------------------------------- */
.stat__label {
  font-size: 22px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.stat__value {
  font-size: 140px; font-weight: 800;
  background: linear-gradient(180deg, #FF7A4F 0%, #FF4A12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1; letter-spacing: -0.025em;
  font-family: var(--font);
  display: inline-block;
  filter: drop-shadow(0 12px 24px rgba(255, 97, 47, 0.22));
}
.stat__unit {
  font-size: 36px; font-weight: 700;
  color: var(--c-fire);
  margin-left: 14px;
}
.stat__hint {
  font-size: 20px; font-weight: 400;
  color: rgba(255,255,255,0.62);
  margin-top: 10px;
}
.stat__hint b { color: #fff; font-weight: 700; }

/* ---- Bullets (orange triangle marker) -------------------------- */
.bullet {
  display: flex; align-items: flex-start; gap: 22px;
  font-size: 28px; font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.25;
}
.bullet::before {
  content: "";
  width: 22px; height: 22px;
  background: var(--c-fire);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  flex-shrink: 0;
  margin-top: 10px;
}

/* ---- Tag pill -------------------------------------------------- */
.tag {
  display: inline-flex; padding: 10px 22px;
  background: var(--accent-soft);
  color: var(--c-fire);
  border: 1px solid rgba(255,97,47,0.4);
  border-radius: var(--radius-pill);
  font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

/* ---- Matrix table (used on slide 2) ---------------------------- */
.mx { display: grid; gap: 12px; }
.mx__h {
  color: var(--c-fire);
  font-size: 22px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 14px 20px 16px;
  border-bottom: 2px solid var(--c-fire);
}
.mx__row {
  color: #fff;
  font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 22px 0;
  display: flex; align-items: center;
}
.cell {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 22px 20px;
  font-size: 24px; font-weight: 600;
  color: #fff;
  display: flex; align-items: center;
  border-radius: 4px;
}
.cell.on {
  background: rgba(255,97,47,0.16);
  border-color: rgba(255,97,47,0.55);
  color: var(--c-fire);
}
.cell.ghost {
  color: rgba(255,255,255,0.45);
  background: transparent;
  border-style: dashed;
}

.divider {
  height: 2px; background: var(--c-fire);
  width: 88px; margin: 22px 0 18px;
}
