/* ============================================================
   BiOW · Longevidad — Deck Styles
   Hybrid: BiOW (deep blue / scientific) + Anantum (marble / gold)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

:root {
  /* BiOW core */
  --biow-deep: #04101f;
  --biow-blue: #0a2640;
  --biow-blue-mid: #0f3a63;
  --biow-blue-bright: #1f73b6;
  --biow-cyan: #6fb8e8;
  --biow-ink: #0d1b2a;
  --biow-paper: #f6f7f9;
  --biow-pure: #ffffff;
  --biow-mute: #6a7886;
  --biow-line: rgba(13, 27, 42, 0.10);

  /* Anantum accent */
  --gold-dark: #8c6a2b;
  --gold: #b58a3e;
  --gold-light: #d4af6a;
  --gold-pale: #ead3a4;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

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

html, body {
  width: 100%; height: 100%;
  background: #000;
  font-family: var(--sans);
  color: var(--biow-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

deck-stage {
  background: #000;
  display: block;
  width: 100vw; height: 100vh;
}

/* ----- Base slide ----- */
.slide {
  width: 1920px;
  height: 1080px;
  background: var(--biow-pure);
  color: var(--biow-ink);
  overflow: hidden;
  position: relative;
}

/* ============================================================
   THEMES
   ============================================================ */

/* BiOW dark blue header bar (signature look) */
.theme-biow .header-bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 96px;
  background: linear-gradient(90deg,
    #04101f 0%,
    #0a2640 30%,
    #1f73b6 55%,
    #0a2640 78%,
    #04101f 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 72px;
  z-index: 5;
}
.theme-biow .header-bar .logo {
  height: 44px;
}
.theme-biow .header-bar .tagline {
  color: rgba(255,255,255,0.86);
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  letter-spacing: 0.02em;
}
.theme-biow .footer-tag {
  position: absolute;
  bottom: 36px;
  right: 72px;
  color: var(--biow-mute);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.04em;
}

/* Marble / gold (editorial) */
.theme-marble {
  background:
    radial-gradient(ellipse at 22% 18%, rgba(214, 196, 155, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(180, 160, 120, 0.14), transparent 60%),
    linear-gradient(135deg, #fafaf7 0%, #f1ece1 35%, #f7f3ea 70%, #ece5d4 100%);
  color: #2a2418;
}
.theme-marble::before {
  /* faux marble veins */
  content: '';
  position: absolute; inset: 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1080'><g fill='none' stroke='%23b9a982' stroke-width='1.2' opacity='0.18'><path d='M-50 320 Q 400 180 820 380 T 1600 280 L 1980 230'/><path d='M-50 720 Q 380 560 720 760 T 1500 640 L 1980 600'/><path d='M120 -50 Q 280 280 200 540 T 380 1000 L 360 1130'/><path d='M1500 -30 Q 1620 220 1480 540 T 1700 1100'/></g><g fill='none' stroke='%23a7895a' stroke-width='0.6' opacity='0.25'><path d='M-50 220 Q 600 320 1100 200 T 1980 360'/><path d='M-50 880 Q 500 800 1100 920 T 1980 820'/></g></svg>") center/cover no-repeat;
  pointer-events: none;
}
.theme-marble.has-grain::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(120, 100, 60, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}

/* Dark slide (full image / quote) */
.theme-dark {
  background: var(--biow-deep);
  color: var(--biow-pure);
}

/* Section divider (dark blue editorial) */
.theme-section {
  background:
    radial-gradient(ellipse at 30% 50%, #1a4a7a 0%, #0a2640 45%, #04101f 100%);
  color: var(--biow-pure);
}

/* ============================================================
   COMMON TYPOGRAPHY
   ============================================================ */
.kicker {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
}
.kicker.on-dark { color: var(--gold-light); }
.kicker.on-blue { color: var(--biow-cyan); letter-spacing: 0.36em; }

.title-serif {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.title-sans {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.body-serif {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.4;
}
.body-sans {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.45;
}

/* gold rule with diamond */
.gold-rule {
  display: flex; align-items: center; gap: 18px;
  color: var(--gold);
}
.gold-rule .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor 20%, currentColor 80%, transparent);
}
.gold-rule .diamond {
  width: 10px; height: 10px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

/* small caps label */
.smallcaps {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--biow-mute);
}

/* image frames */
.fit-img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.fill-img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.chart-card {
  background: white;
  border: 1px solid var(--biow-line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 6px 30px rgba(10, 38, 64, 0.06);
}

/* gold corner ornaments */
.gold-frame {
  position: relative;
  padding: 56px 48px;
}
.gold-frame::before, .gold-frame::after {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border: 1px solid var(--gold-light);
}
.gold-frame::before {
  top: 0; left: 0;
  border-right: none; border-bottom: none;
}
.gold-frame::after {
  bottom: 0; right: 0;
  border-left: none; border-top: none;
}

/* slide page number style for section headers */
.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

/* utility */
.flex { display: flex; }
.col { display: flex; flex-direction: column; }
.center { display: flex; align-items: center; justify-content: center; }
.between { justify-content: space-between; }
.gap-sm { gap: 16px; }
.gap-md { gap: 32px; }
.gap-lg { gap: 56px; }

.pad-frame {
  padding: 96px 100px 80px;
}
.pad-with-header {
  padding: 156px 100px 80px;  /* 60 header + 96 top */
}
