@import url('../assets/major-tokens.css');

/* =========================================================
   MAJOR DECK — shared slide chrome (LIGHT THEME)
   ========================================================= */

/* Light-theme token overrides for the entire deck */
:root {
  --paper-base: #FAFAF7;     /* warm off-white slide bg */
  --paper-card: #FFFFFF;     /* clean white card surface */
  --paper-soft: #F2F2EE;     /* secondary surface */
  --ink-fg-1: #0B0B0C;
  --ink-fg-2: #2E2E34;
  --ink-fg-3: #6B6B75;
  --ink-fg-4: #9A9AA3;
  --ink-line-1: rgba(11,11,12,0.08);
  --ink-line-2: rgba(11,11,12,0.14);
  --ink-line-strong: rgba(11,11,12,0.22);
  /* Use the deeper brand green for body/accents on white */
  --brand-ink: #02906F;
  --brand-deep: #0E5A3C;
  --brand-glow: #4FFFB3;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper-base); color: var(--ink-fg-1); }
deck-stage { display: block; background: #E8E8E2; }

/* Each slide */
deck-stage > section {
  position: relative;
  width: 1920px;
  height: 1080px;
  background: var(--paper-base);
  color: var(--ink-fg-1);
  font-family: var(--font-sans);
  overflow: hidden;
}

.frame {
  position: absolute;
  inset: 56px 100px 56px 100px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

/* Slide head */
.slide-head {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-fg-2);
  font-weight: 500;
}
.slide-head img { height: 36px; display: block; }
.slide-head .pipe { color: var(--ink-line-strong); }

/* Slide foot */
.slide-foot {
  position: absolute;
  left: 100px;
  right: 100px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-fg-3);
  z-index: 5;
  pointer-events: none;
}
/* Reserve space at the bottom of every frame so content doesn't bleed into the foot */
.frame::after {
  content: "";
  display: block;
  flex: 0 0 60px;
}
.slide-foot .num { color: var(--ink-fg-3); }

/* Type helpers */
.s-display {
  font-family: var(--font-sans);
  font-size: 116px;
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0;
}
.s-title {
  font-family: var(--font-sans);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}
.s-subtitle {
  font-size: 30px;
  line-height: 1.35;
  color: var(--ink-fg-2);
  letter-spacing: -0.005em;
  margin: 0;
}
.s-body {
  font-size: 28px;
  line-height: 1.5;
  color: var(--ink-fg-2);
  margin: 0;
}
.s-small {
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink-fg-3);
}
.eyebrow-lg {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand-ink);
  font-weight: 500;
}

.fg1 { color: var(--ink-fg-1); }
.fg2 { color: var(--ink-fg-2); }
.fg3 { color: var(--ink-fg-3); }
.fg4 { color: var(--ink-fg-4); }
.mint { color: var(--brand-ink); }

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--brand-ink);
  background: rgba(2,144,111,0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Card primitives */
.card {
  background: var(--paper-card);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--ink-line-1);
}
.card-elev {
  background: var(--paper-card);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--ink-line-2), 0 24px 64px rgba(11,11,12,0.08);
}

hr.div {
  border: 0;
  border-top: 1px solid var(--ink-line-1);
  margin: 0;
}

/* Dots */
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-mint { background: var(--brand-ink); box-shadow: 0 0 0 3px rgba(2,144,111,0.18); }
.dot-mute { background: var(--ink-line-strong); }

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 0.02em;
  background: rgba(11,11,12,0.04);
  color: var(--ink-fg-2);
  box-shadow: inset 0 0 0 1px var(--ink-line-1);
  font-weight: 500;
}
.chip-mint {
  background: rgba(2,144,111,0.08);
  color: var(--brand-ink);
  box-shadow: inset 0 0 0 1px rgba(2,144,111,0.30);
}

/* Background motifs */
.grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11,11,12,0.05) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(11,11,12,0.05) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}
.glow-mint {
  position: absolute;
  width: 1200px; height: 1200px;
  left: -200px; top: -200px;
  background: radial-gradient(closest-side, rgba(2,144,111,0.16) 0%, rgba(2,144,111,0) 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}

/* Layer-stack rows (used in vertical L1–L6 view) */
.layer-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 24px;
  background: var(--paper-card);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--ink-line-1);
}
.layer-row.highlight {
  background: linear-gradient(90deg, rgba(2,144,111,0.08) 0%, rgba(2,144,111,0.02) 100%);
  box-shadow: inset 0 0 0 1px rgba(2,144,111,0.35);
}
.layer-tag {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--brand-ink);
  letter-spacing: 0.04em;
  text-align: center;
  font-weight: 500;
}
.layer-name {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.layer-desc {
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink-fg-2);
}
.layer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.layer-tag-chip {
  font-family: var(--font-mono);
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--paper-soft);
  color: var(--ink-fg-2);
  box-shadow: inset 0 0 0 1px var(--ink-line-1);
  letter-spacing: 0.02em;
}
