/* ================================================================
   Dotika slide system — shared styles
   Used by index.html and individual slide HTML files.
   Targets 1920x1080 stage; scaled by deck-stage.js
   ================================================================ */

@import url('./colors_and_type.css');

html, body { margin: 0; padding: 0; background: #111; }

deck-stage section {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  padding: 100px 120px 96px;
  box-sizing: border-box;
  overflow: hidden;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ---- shared atoms ---- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.title .it { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.title .red { color: var(--dot-red); }
.title.h1 { font-size: 88px; }
.title.h2 { font-size: 68px; }
.title.display { font-size: 132px; line-height: 0.95; letter-spacing: -0.04em; font-weight: 700; }
.lead {
  font-size: 44px;
  line-height: 1.2;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 1400px;
  letter-spacing: -0.01em;
  margin: 0;
}
.body { font-size: 32px; line-height: 1.35; color: var(--ink-2); }

.rdot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  background: var(--dot-red);
  border-radius: 50%;
  vertical-align: baseline;
  margin-left: 0.06em;
  transform: translateY(-0.02em);
}

.stack-lg > * + * { margin-top: 48px; }
.stack > * + * { margin-top: 28px; }
.center-v { display: flex; flex-direction: column; justify-content: center; height: 100%; }

.footer-meta {
  position: absolute;
  left: 120px;
  right: 120px;
  bottom: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.footer-meta .pg { color: var(--ink); font-feature-settings: "tnum"; font-weight: 600; }
.footer-meta .brand { color: var(--ink); display: inline-flex; align-items: center; gap: 14px; }
.footer-meta .brand .cross { color: var(--dot-red); font-weight: 700; font-size: 26px; }

/* ---- section cover (dark) ---- */
section.section-cover { padding: 0; }
section.section-cover .inner {
  height: 100%;
  padding: 100px 120px 96px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: var(--on-ink);
  position: relative;
}
section.section-cover .eyebrow { color: var(--on-ink-muted); }
section.section-cover .title { color: var(--on-ink); }
section.section-cover .footer-meta { color: var(--on-ink-muted); }
section.section-cover .footer-meta .pg,
section.section-cover .footer-meta .brand { color: var(--on-ink); }

/* ---- cover top marks ---- */
.cover-mark {
  position: absolute;
  top: 56px;
  left: 120px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cover-mark img { height: 32px; width: auto; }
.cover-date {
  position: absolute;
  top: 56px;
  right: 120px;
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- 3-up cycle grid ---- */
.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 64px;
}
.step-num {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 700;
  color: var(--dot-red);
  letter-spacing: 0.08em;
}
.step-title { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-top: 12px; }
.step-body { font-size: 24px; color: var(--muted); line-height: 1.45; margin-top: 16px; max-width: 460px; }

/* ---- stats row ---- */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; margin-top: 64px; }
.stat .num { font-size: 132px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; color: var(--ink); font-feature-settings: "tnum"; }
.stat .num .red { color: var(--dot-red); }
.stat .desc { margin-top: 16px; font-size: 26px; color: var(--ink-2); line-height: 1.4; max-width: 380px; }

/* ---- big-idea slide ---- */
.big-idea {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 1500px;
}
.big-idea .title { font-size: 96px; line-height: 0.98; letter-spacing: -0.035em; }
.big-idea .lead { margin-top: 40px; }

/* ---- thank you ---- */
.ty { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.ty .title { font-size: 200px; line-height: 0.92; letter-spacing: -0.045em; }
.ty .lead { margin-top: 48px; }

/* ---- methodology macro (Pattern E — step watermark) ---- */
.method-macro {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 56px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
}
.method-block {
  position: relative;
  padding: 36px 30px 40px;
  border-right: 1px solid var(--line-soft);
  min-height: 360px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.method-block:last-child { border-right: none; }
.method-block::after {
  content: attr(data-step);
  position: absolute;
  right: -20px; bottom: -70px;
  font-family: var(--sans); font-weight: 800;
  font-size: 280px;
  line-height: 1;
  color: var(--ink); opacity: 0.06;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  font-feature-settings: "tnum";
}
.method-block:first-child::after { color: var(--dot-red); opacity: 0.22; }
.method-block > * { position: relative; z-index: 1; }
.method-block .step {
  font-family: var(--mono); color: var(--dot-red);
  font-weight: 700; font-size: 22px; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.method-block h4 {
  margin: 14px 0 0;
  font-family: var(--sans); font-weight: 800;
  font-size: 36px; letter-spacing: -0.02em; line-height: 1.05;
  color: var(--ink);
}
.method-block .desc {
  font-size: 22px; color: var(--muted); line-height: 1.4;
  margin-top: 14px; max-width: 260px;
}
.method-block .tools {
  margin-top: auto;
  font-family: var(--mono); font-size: 16px;
  color: var(--ink-2); line-height: 1.6;
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.method-block .tools span { display: inline; }
.method-block .tools span + span::before { content: " · "; color: var(--muted); }

/* ---- quote slide ---- */
.quote-pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 500;
  max-width: 1500px;
  margin-top: 48px;
}
.quote-attr {
  font-family: var(--mono);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 36px;
}
