/* ========== Google Presentation — Styles ========== */

:root {
  /* Google brand palette */
  --g-blue:   #4285F4;
  --g-red:    #EA4335;
  --g-yellow: #FBBC04;
  --g-green:  #34A853;

  /* Neutrals */
  --ink:        #1f1f1f;
  --ink-soft:   #3c4043;
  --ink-muted:  #5f6368;
  --line:       #dadce0;
  --bg:         #ffffff;
  --bg-soft:    #f8f9fa;
  --bg-cream:   #fef7e6;

  /* Type */
  --sans: "Google Sans", "Product Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Tiempos Headline", "Charter", "Iowan Old Style", "Georgia", serif;
}

@import url("https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Roboto:wght@300;400;500;700&family=Roboto+Mono:wght@400;500&display=swap");

/* ---------- Slide base ---------- */
deck-stage section {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "tnum";
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* slide frame — every slide pads consistently */
.frame {
  position: absolute;
  inset: 0;
  padding: 100px 120px 80px;
  display: flex;
  flex-direction: column;
}

.frame--center {
  justify-content: center;
  align-items: flex-start;
}

/* ---------- Type scale (px, projection-appropriate) ---------- */
.t-eyebrow {
  font-size: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-muted);
}

.t-title {
  font-size: 76px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.t-subtitle {
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-soft);
  margin: 0;
}

.t-body {
  font-size: 34px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink-soft);
  margin: 0;
}

.t-small {
  font-size: 26px;
  line-height: 1.45;
  color: var(--ink-muted);
  font-weight: 400;
}

.t-mega {
  font-size: 220px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  font-feature-settings: "tnum";
}

.t-mega-2 {
  font-size: 140px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
}

.t-num-label {
  font-size: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-muted);
}

/* ---------- Brand color helpers ---------- */
.c-blue   { color: var(--g-blue); }
.c-red    { color: var(--g-red); }
.c-yellow { color: var(--g-yellow); }
.c-green  { color: var(--g-green); }
.c-ink    { color: var(--ink); }

/* ---------- Header rule (slide titles get a thin colored bar) ---------- */
.title-block { display: flex; flex-direction: column; gap: 32px; }
.title-block .eyebrow-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.title-block .eyebrow-row::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--g-blue);
  border-radius: 2px;
}

/* ---------- Footer chrome ---------- */
.slide-footer {
  position: absolute;
  left: 120px;
  right: 120px;
  bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.slide-footer .gdot {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.slide-footer .gdot span {
  width: 9px; height: 9px; border-radius: 50%;
}

/* ---------- Section divider slide ---------- */
.section-slide {
  background: var(--ink) !important;
  color: #fff;
}
.section-slide .t-title { color: #fff; }
.section-slide .t-eyebrow { color: rgba(255,255,255,0.6); }
.section-slide .title-block .eyebrow-row::before {
  background: var(--g-yellow);
}

/* ---------- Card ---------- */
.card {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card.dark {
  background: var(--ink);
  color: #fff;
}

/* ---------- Misc ---------- */
.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* keep deck-stage chrome clean */
deck-stage::part(counter) {
  font-family: var(--sans);
}
