/* ════════════════════════════════════════════════════════════════
   SRACO Executive — wireframe (strict canon, 3-column page)
   Layout: slide-nav (left) | slide-rows (slide + notes) | floating zoom
   Slide frame: 1920 × 1080. Notes column: native scale (not zoomed).
   ──────────────────────────────────────────────────────────── */

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

:root {
  --deck-zoom: 1;
  --nav-w: 280px;
  --notes-w: 460px;
  --gap-col: 32px;
  --gap-row: 56px;
  --page-pad: 32px;
}

html, body { background: #e8e8e8; }

body {
  font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1a1a1a;
  min-height: 100vh;
}

/* ─── Page shell ────────────────────────────────────────────── */
.page {
  display: grid;
  grid-template-columns: var(--nav-w) 1fr;
  align-items: start;
  gap: 0;
}

/* ─── Left nav: slide-list (sticky) ─────────────────────────── */
.slide-nav {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 28px 22px;
  background: #1a1a1a;
  color: #eaeaea;
  overflow-y: auto;
  border-right: 1px solid #2a2a2a;
}
.slide-nav__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
}
.slide-nav__subtitle {
  font-size: 14px;
  font-weight: 500;
  color: #cfcfcf;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  line-height: 1.3;
}
.slide-nav__list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.slide-nav__link {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 9px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #b4b4b4;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 140ms ease, color 140ms ease;
  line-height: 1.3;
}
.slide-nav__link__num {
  font-size: 11px;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.02em;
}
.slide-nav__link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.slide-nav__link.is-active {
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.slide-nav__link.is-active .slide-nav__link__num { color: #fff; }

/* ─── Main column (slide rows stream) ───────────────────────── */
.deck {
  display: flex;
  flex-direction: column;
  gap: var(--gap-row);
  padding: var(--page-pad);
  min-width: 0;
}

/* ─── Slide row: slide (zoomable, centered) + notes (native, right) ──
   Grid: 4 columns × 2 rows
   - row 1: artboard label (outside .slide, doesn't zoom) above slide
   - row 2: slide + notes side by side
   - slide auto-width centers via 1fr air gutters left & right */
.slide-row {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr) var(--notes-w);
  grid-template-rows: auto 1fr;
  align-items: stretch;
  column-gap: 0;
}
.slide-row__label {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #6a6a6a;
  user-select: none;
}
.slide-row__label__num { font-weight: 700; color: #1a1a1a; letter-spacing: 0.02em; }
.slide-row__label__sep { color: #c0c0c0; }
.slide-row__label__title { color: #555; }
.slide-row .slide { grid-column: 2; grid-row: 2; }
.slide-row .notes { grid-column: 4; grid-row: 2; }

/* ─── Slide (1920×1080) ─────────────────────────────────────── */
.slide {
  width: 1920px;
  height: 1080px;
  background: #fafafa;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  padding: 56px 96px 48px;
  display: flex;
  flex-direction: column;
  zoom: var(--deck-zoom);
  flex-shrink: 0;
}

/* ─── Section title (from docx, lives INSIDE the slide) ─────── */
.slide__section-title {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: #1a1a1a;
  margin-bottom: 48px;
}
.slide__section-title--caps {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 40px;
}
.slide__acronym-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid #d5d5d5;
  font-size: 24px;
  line-height: 1.4;
  color: #333;
}
.slide__acronym-line__mark {
  font-size: 88px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}
.slide__acronym-line__expansion {
  flex: 1;
  font-size: 24px;
  color: #555;
  line-height: 1.45;
}

/* ─── Slide body grid variants ──────────────────────────────── */
.slide__body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; min-height: 0; }
.slide__body--full { grid-template-columns: 1fr; }
.slide__body--3col { grid-template-columns: 1fr 1fr 1fr; }

/* ─── Text column ───────────────────────────────────────────── */
.slide__text { display: flex; flex-direction: column; min-height: 0; }

.slide__headline {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #1a1a1a;
  margin-bottom: 28px;
}
.slide__headline--xxl {
  font-size: 180px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.slide__headline--xl {
  font-size: 128px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.slide__sub {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.45;
  color: #555;
  margin-bottom: 18px;
  max-width: 900px;
}
.slide__support {
  font-size: 22px;
  font-weight: 600;
  color: #777;
  margin-bottom: 28px;
}

.slide__section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #999;
  margin-bottom: 10px;
  margin-top: 22px;
}
.slide__text > .slide__section-label:first-child { margin-top: 0; }

.slide__body-text {
  font-size: 24px;
  line-height: 1.45;
  color: #333;
  margin-bottom: 12px;
}
.slide__body-text strong { color: #1a1a1a; font-weight: 600; }

/* ─── Bullets ───────────────────────────────────────────────── */
.slide__bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.slide__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 22px;
  line-height: 1.4;
  color: #333;
}
.slide__bullets li::before { content: "—"; color: #aaa; flex-shrink: 0; }
.slide__bullets--inline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.slide__bullets--inline li::before { content: "·"; color: #888; }

/* ─── Numbers grid (slide 02) ───────────────────────────────── */
.slide__numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 44px;
  flex: 1;
  align-content: center;
  margin: 16px 0;
}
.slide__number {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.slide__number__value {
  font-size: 128px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #1a1a1a;
}
.slide__number__label {
  font-size: 18px;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.005em;
  line-height: 1.3;
}
.slide__numbers-closing {
  font-size: 30px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid #d5d5d5;
}

/* ─── Pillars grid (Who / What / Why / Credentials) ─────────── */
.slide__pillars {
  display: grid;
  gap: 40px;
  flex: 1;
  align-content: start;
}
.slide__pillars--4 { grid-template-columns: repeat(4, 1fr); }
.slide__pillars--3 { grid-template-columns: repeat(3, 1fr); }
.slide__pillars--2x2 { grid-template-columns: repeat(2, 1fr); }
.slide__pillars--2x3 { grid-template-columns: repeat(2, 1fr); }
.slide__pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #d5d5d5;
}
.slide__pillar__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
}
.slide__pillar__title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 4px;
}
.slide__pillar__body {
  font-size: 24px;
  line-height: 1.4;
  color: #555;
}

/* ─── Acronym block (slide 03) ──────────────────────────────── */
.slide__acronym {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 24px 0;
}
.slide__acronym__mark {
  font-size: 110px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #1a1a1a;
}
.slide__acronym__expansion {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}
.slide__acronym__row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  font-size: 18px;
  line-height: 1.3;
  color: #333;
}
.slide__acronym__row strong { font-weight: 700; color: #1a1a1a; }

/* ─── Clients table (slide 06) ──────────────────────────────── */
.slide__table {
  display: grid;
  grid-template-columns: 2.6fr 0.7fr 0.9fr 1.6fr;
  gap: 0;
  flex: 1;
  align-content: start;
}
.slide__table__head,
.slide__table__row {
  display: contents;
}
.slide__table__cell {
  font-size: 22px;
  line-height: 1.4;
  color: #333;
  padding: 18px 22px 18px 0;
  border-top: 1px solid #d5d5d5;
}
.slide__table__cell--head {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  padding: 10px 22px 16px 0;
  border-top: 0;
}
.slide__table__cell--name { font-weight: 600; color: #1a1a1a; }

/* ─── Tech stack list (slide 08) ────────────────────────────── */
.slide__stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 72px;
  flex: 1;
  align-content: start;
}
.slide__stack__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid #d5d5d5;
}
.slide__stack__name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  line-height: 1.1;
}
.slide__stack__desc {
  font-size: 22px;
  line-height: 1.4;
  color: #555;
}

/* ─── Contact blocks (slide 10) ─────────────────────────────── */
.slide__cta-headline {
  font-size: 240px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: #1a1a1a;
}
.slide__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}
.slide__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 24px;
  border-top: 1px solid #d5d5d5;
}
.slide__contact__city {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.slide__contact__line {
  font-size: 22px;
  line-height: 1.5;
  color: #444;
}

/* ─── Cover wordmark (slide 01) ─────────────────────────────── */
.slide--cover { justify-content: space-between; }
.slide__cover-block { display: flex; flex-direction: column; gap: 18px; }
.slide__cover-wordmark {
  font-size: 360px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: #1a1a1a;
}
.slide__cover-meta {
  font-size: 30px;
  font-weight: 500;
  color: #555;
  letter-spacing: -0.005em;
}
.slide__cover-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 20px;
  color: #888;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ─── Notes column (right strip per slide) ──────────────────── */
.notes {
  background: #2c2c2c;
  color: #d4d4d4;
  padding: 22px 22px;
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  max-height: calc(1080px * var(--deck-zoom));
  border-radius: 6px;
  flex-shrink: 0;
}
.notes__section { display: flex; flex-direction: column; gap: 8px; }
.notes__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
}
.notes__body { color: #d4d4d4; font-size: 13px; line-height: 1.5; }
.notes__body strong { color: #fff; font-weight: 600; }
.notes__body em { color: #b89ac8; font-style: italic; }
.notes__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.notes__tag {
  font-size: 11px;
  padding: 3px 8px;
  background: #1a1a1a;
  color: #c4c4c4;
  border-radius: 3px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

/* ─── Zoom controls (floating, bottom-left — version chip lives bottom-right) ── */
.zoom-controls {
  position: fixed;
  bottom: 24px;
  left: calc(var(--nav-w) + 24px);
  z-index: 100;
  display: flex;
  gap: 2px;
  padding: 4px;
  background: rgba(20, 20, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.zoom-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
  min-width: 50px;
}
.zoom-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.zoom-btn.is-active { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* ─── Smaller viewports adjustments ─────────────────────────── */
@media (max-width: 1400px) {
  :root { --notes-w: 380px; }
}
