/* GAMIS deck — slide-specific styles built on colors_and_type.css */

/* ---- TYPE_SCALE (1920x1080) ---- */
:root {
  --t-title: 64px;
  --t-subtitle: 44px;
  --t-body: 34px;
  --t-small: 28px;
  --t-mega: 140px;
  --t-jumbo: 96px;

  --pad-top: 100px;
  --pad-bottom: 80px;
  --pad-x: 120px;
  --title-gap: 52px;
  --item-gap: 28px;
}

deck-stage {
  background: #000;
  font-family: var(--font-sans);
}

/* Each slide — deck-stage absolutely positions sections */
section {
  background: var(--surface);
  color: var(--ink);
  padding: var(--pad-top) var(--pad-x) var(--pad-bottom);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

section.tint {
  background: var(--accent-wash);
}
section.dark {
  background: var(--ink);
  color: var(--surface);
}
section.dark .body, section.dark p { color: rgba(255,255,255,0.78); }
section.dark .eyebrow { color: var(--accent); }
section.dark .meta { color: rgba(255,255,255,0.55); }

/* ---- Top header on every content slide ---- */
.slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--title-gap);
}
.slide-header .eyebrow {
  font-size: 26px !important;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.slide-header .pagemark {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--slate);
  letter-spacing: 0.04em;
}
section.dark .slide-header .pagemark { color: rgba(255,255,255,0.45); }

.slide-title {
  font-size: var(--t-title);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.022em;
  margin: 0 0 var(--title-gap) 0;
  text-wrap: balance;
  max-width: 1500px;
}
.slide-title.with-rule::after {
  content: "";
  display: block;
  width: 96px;
  height: 6px;
  background: var(--accent);
  margin-top: 32px;
  border-radius: 3px;
}

.slide-subtitle {
  font-size: var(--t-subtitle);
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.slide-body {
  font-size: var(--t-body);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
}
.slide-body strong { color: var(--ink); font-weight: 700; }
section.dark .slide-body strong { color: #fff; }

/* ---- Footer on each slide ---- */
.slide-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  font-size: 22px;
  color: var(--slate);
}
section.dark .slide-footer {
  border-top-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
}
.slide-footer .logo {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 26px;
  color: var(--accent);
}
.slide-footer .meta-right { font-family: var(--font-mono); font-size: 20px; }

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 36px 40px;
}
section.dark .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
section.tint .card {
  background: var(--surface);
}

.card .card-eyebrow {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 16px;
  color: var(--ink);
}
section.dark .card h3 { color: #fff; }
.card p {
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink-soft);
}
section.dark .card p { color: rgba(255,255,255,0.75); }

/* ---- Tables ---- */
.t-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 26px;
}
.t-grid thead th {
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 18px 24px;
  border-bottom: 2px solid var(--ink);
}
.t-grid tbody td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  color: var(--ink);
  line-height: 1.4;
}
.t-grid tbody td.label {
  font-weight: 700;
  white-space: nowrap;
  width: 280px;
}
.t-grid tbody td.label .pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-size: 22px;
  font-weight: 700;
}
.t-grid tbody td.example {
  color: var(--ink-soft);
  font-style: normal;
}

/* ---- Mono code-like blocks ---- */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent-deep);
  background: var(--accent-wash);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ---- Big numerical anchors ---- */
.stat {
  font-weight: 800;
  font-size: var(--t-jumbo);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat-label {
  font-size: 22px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
}
