/* =============================================================
   BEBECHIC — Slide deck stylesheet
   Standards (per brand spec):
   - 1920×1080 design canvas, 72px equal margins all sides
   - Background priority: cream #FFFBF5 (content) ·
     tiffany #8FD8C3 (cover/divider) · mint nhạt #E7FEF7 (overview)
   - Ganh = primary slide face. BEBECHIC = ONLY the largest heading
     of the entire deck (cover title). Never sub-heads, never chrome.
   ============================================================= */

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

:root {
  --slide-w: 1920;
  --slide-h: 1080;
  --slide-pad: 96px;
  --slide-chrome-gap: 50px;
}

deck-stage { background: #1a3a40; }

/* ---- Slide chassis ----------------------------------------- */
.slide {
  width: 100%;
  height: 100%;
  position: relative;
  font-family: var(--font-slide);
  color: var(--bbc-ink);
  background: var(--slide-bg-content);
  padding: 50px 65px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.slide--cover    { background: var(--slide-bg-cover); color: var(--bbc-cream); }
.slide--divider  { background: var(--slide-bg-cover); color: var(--bbc-cream); }
.slide--overview { background: var(--slide-bg-overview); }
.slide--content  { background: var(--slide-bg-content); }
.slide--quote    { background: var(--slide-bg-content); }
.slide--image    { background: var(--slide-bg-content); }

/* ---- Header / Footer chrome -------------------------------- */
.chrome {
  display: flex;
  align-items: center;
  font-family: var(--font-slide);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--bbc-ink-soft);
  flex-shrink: 0;
}
.slide--cover .chrome, .slide--divider .chrome { color: var(--bbc-cream); opacity: 0.85; }

.chrome--top {
  justify-content: space-between;
  margin-bottom: var(--slide-chrome-gap);
}
.chrome--top .logo { height: 44px; width: auto; display: block; }
.chrome--top .topic {
  font-family: var(--font-slide);
  font-weight: 400;
  font-size: 22px;
}

.chrome--bottom {
  justify-content: space-between;
  margin-top: var(--slide-chrome-gap);
  font-size: 18px;
  font-weight: 200;
}
.chrome--bottom .ft-left,
.chrome--bottom .ft-mid,
.chrome--bottom .ft-right { flex: 0 0 auto; }
.chrome--bottom .ft-mid { position: absolute; left: 50%; transform: translateX(-50%); }
.chrome--bottom .ft-page {
  font-family: var(--font-slide);
  font-weight: 400;
  font-size: 20px;
  min-width: 2ch;
  text-align: right;
}

/* divider hairline above footer */
.chrome--bottom::before {
  content: "";
  position: absolute;
  left: 65px;
  right: 65px;
  bottom: 85px;
  height: 1px;
  background: currentColor;
  opacity: 0.2;
}

/* ---- Slide body containers --------------------------------- */
.slide main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
}

/* Cover slide — no chrome, full-bleed */
.slide--cover .chrome { display: none; }
.slide--cover { padding: 96px; }

/* ---- Type system inside slides ----------------------------- */
.slide h1, .slide h2, .slide h3, .slide h4, .slide p,
.slide ul, .slide ol, .slide li { font-family: var(--font-slide); margin: 0; color: inherit; }

.slide .eyebrow {
  font-family: var(--font-slide);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 24px;
}
.slide--cover .eyebrow, .slide--divider .eyebrow { color: var(--bbc-cream); opacity: 0.85; }

.slide h1.title-display {
  /* The single largest heading — ONLY this uses BEBECHIC */
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 900;
  font-size: 200px;
  line-height: 0.92;
  color: var(--bbc-cream);
}
.slide h1 {
  font-family: var(--font-slide);
  font-weight: 400;
  font-size: 96px;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.slide h2 {
  font-family: var(--font-slide);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.slide h3 {
  font-family: var(--font-slide);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
}
.slide h4 {
  font-family: var(--font-slide);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.slide p, .slide li {
  font-family: var(--font-slide);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.55;
  color: var(--bbc-ink-soft);
}
.slide .lede { font-size: 30px; line-height: 1.5; color: var(--bbc-ink); }
.slide .caption { font-size: 18px; color: var(--bbc-mute); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---- Specific layouts -------------------------------------- */

/* Cover */
.slide--cover main {
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
}
.slide--cover .cover-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--bbc-cream);
  opacity: 0.95;
}
.slide--cover .brandmark {
  height: 240px; width: auto;
}

/* Divider */
.slide--divider main {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 80px;
}
.slide--divider .numeral {
  font-family: var(--font-slide);
  font-weight: 200;
  font-style: italic;
  font-size: 360px;
  line-height: 0.85;
  color: var(--bbc-cream);
}
.slide--divider .numeral::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  background: var(--bbc-cream);
  opacity: 0.5;
  margin-top: 24px;
}
.slide--divider .label { color: var(--bbc-cream); }

/* Overview */
.slide--overview .agenda {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 96px;
  align-content: center;
}
.slide--overview .agenda-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px dashed rgba(23,102,118,0.25);
}
.slide--overview .agenda-item .num {
  font-family: var(--font-slide);
  font-weight: 200;
  font-style: italic;
  font-size: 48px;
  color: var(--brand-deep);
  min-width: 64px;
}
.slide--overview .agenda-item h3 { color: var(--bbc-ink); font-size: 30px; }
.slide--overview .agenda-item p { font-size: 18px; color: var(--bbc-mute); margin-top: 4px; }

/* Content — 2-column */
.slide--content main { gap: 48px; }
.slide--content .body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.slide--content .body p + p { margin-top: 18px; }

/* Big quote */
.slide--quote main { align-items: flex-start; gap: 48px; padding-right: 200px; }
.slide--quote .quote {
  font-family: var(--font-slide);
  font-style: italic;
  font-weight: 200;
  font-size: 84px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--brand-deep);
  text-wrap: balance;
}
.slide--quote .quote::before {
  content: "“";
  display: block;
  font-family: var(--font-slide);
  font-style: italic;
  font-weight: 200;
  font-size: 180px;
  line-height: 0.6;
  color: var(--brand);
  margin-bottom: 24px;
}
.slide--quote .attrib { font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bbc-mute); }

/* Image + text */
.slide--image main { gap: 48px; }
.slide--image .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.slide--image .frame {
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: var(--bbc-mint-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.slide--image .frame img { width: 78%; height: auto; display: block; }

/* ---- Doodle decorations ------------------------------------ */
/* 6-petal flower in circle, dot grid, thin lines — per spec */
.flower-mark {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
  color: currentColor;
}
.dot-grid {
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(currentColor 1.5px, transparent 1.6px);
  background-size: 24px 24px;
  opacity: 0.18;
  color: var(--brand-deep);
}
.hair-line {
  position: absolute;
  background: currentColor;
  opacity: 0.25;
}
