/* Stage theme: Etsem / Polocam type (deck/media/brand/README_Style_Polocam.md),
   background blues and gold from ppl.etsem.media (ppl-this-is-polo/src/styles/global.css) */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg-top: #070c18;
  --navy: #050a16;      /* bg-bottom; also the colour the photo band fades into */
  --card: #15213f;
  --card2: #1b2742;
  --gold: #d8b47a;      /* PPL gold (ppl-this-is-polo global.css) */
  --grey: #8F9DB2;
  --pale: #DCE3F0;
  --white: #FFFFFF;
  --font: "Helvetica Neue", "Inter", Helvetica, Arial, sans-serif;
}

html, body, .reveal-viewport {
  background: var(--navy);
  /* same glow as the ppl.etsem.media preview page */
  background-image: radial-gradient(ellipse at 70% 30%, #1a2a4c 0%, var(--bg-top) 60%, var(--navy) 100%);
}

.reveal {
  font-family: var(--font);
  font-weight: 400;
  color: var(--white);
}
.reveal .slides { text-align: left; }
.reveal .slides section { height: 100%; padding: 0; box-sizing: border-box; }
.reveal h1, .reveal h2, .reveal h3, .reveal p { margin: 0; font-weight: 400; }

/* Speaker notes never show on the main screen */
.reveal aside.notes { display: none; }

/* ---------- Slide 0 · title + speakers ---------- */

.s-title .kicker {
  position: absolute; left: 96px; top: 72px;
  font-size: 26px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey);
}
.s-title .kicker b { color: var(--white); font-weight: 700; }

.s-title h1 {
  position: absolute; left: 90px; top: 140px;
  font-size: 124px; line-height: 1; letter-spacing: -.01em;
  color: var(--white); white-space: nowrap;
}
.s-title h1 b { font-weight: 700; color: var(--gold); }
.s-title h1 .sep { color: var(--grey); font-weight: 200; margin: 0 .08em; }
.s-title .sub {
  position: absolute; left: 96px; top: 290px;
  font-size: 44px; color: var(--pale);
}

/* Full-bleed video behind everything, darkened like the hero on ppl.etsem.media */
.s-title .band {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: center / cover no-repeat;
}
/* zoom past the clip's burned-in bugs (Polocam tag top left, club logo bottom right) */
.s-title .band, .s-title band-loop > * { background-size: 132%; transform-origin: 50% 48%; }
.s-title band-loop > * { transform: scale(1.32); }
.s-title > :not(.band) { z-index: 1; }
.s-title .band::after {            /* scrim: left→right for the title, bottom for speakers and logos */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(5, 10, 22, .72) 32%, rgba(5, 10, 22, .1) 62%, transparent 82%),
    linear-gradient(0deg, var(--navy) 6%, rgba(5, 10, 22, .62) 28%, transparent 52%),
    linear-gradient(180deg, rgba(5, 10, 22, .55) 0%, transparent 24%);
}
.s-title h1, .s-title .sub, .s-title .kicker { text-shadow: 0 2px 40px rgba(0, 0, 0, .45); }

.s-title band-loop { position: absolute; inset: 0; display: block; }
.s-title band-loop > * {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.s-title band-loop.is-playing > * { opacity: 1; }

.s-title .band-sound {
  position: absolute; right: 64px; top: 64px; z-index: 2;
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); background: rgba(5,10,22,.45);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  opacity: .55; transition: opacity .2s;
}
.s-title .band-sound:hover, .s-title .band-sound:focus-visible { opacity: 1; }
.s-title .band-sound[hidden] { display: none; }
.s-title .band-sound svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.s-title .band-sound svg path:first-child { fill: currentColor; }
.s-title .band-sound[data-state="muted"] .i-sound,
.s-title .band-sound[data-state="sound"] .i-muted { display: none; }

.s-title .speakers {
  position: absolute; left: 96px; right: 360px; top: 735px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.s-title .speaker { display: flex; align-items: center; gap: 28px; }
.s-title .speaker .face {
  flex: none; width: 150px; height: 150px; border-radius: 50%;
  background: var(--card) center / cover no-repeat;
  box-shadow: 0 0 0 4px var(--card2);
  display: grid; place-items: center;
  font-size: 52px; color: var(--grey); letter-spacing: .04em;
}
.s-title .speaker .name { font-size: 38px; line-height: 1.15; color: var(--white); white-space: nowrap; }
.s-title .speaker .org  { font-size: 30px; line-height: 1.3; color: var(--gold); margin-top: 6px; }

.s-title .logos {
  position: absolute; right: 96px; bottom: 40px;
  display: flex; align-items: center; gap: 56px;
}
.s-title .logos img { display: block; }
.s-title .logos .etsem { width: 190px; }
.s-title .logos .liveu { height: 60px; }
.s-title .logos .fonn  { height: 72px; }
.s-title .foot {
  position: absolute; left: 96px; bottom: 36px;
  font-size: 20px; color: var(--grey);
}

/* ---------- Shared pieces for slides 1–7 ---------- */

/* full-bleed background photo + PPL-style scrim */
.reveal .bg {
  position: absolute; inset: 0; z-index: 0;
  background: center / cover no-repeat;
}
.reveal .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 22, .78) 0%, rgba(5, 10, 22, .35) 45%, transparent 75%),
    linear-gradient(0deg, var(--navy) 0%, rgba(5, 10, 22, .55) 30%, transparent 55%),
    linear-gradient(180deg, rgba(5, 10, 22, .6) 0%, transparent 22%);
}
.reveal .bg.dim { filter: blur(6px) saturate(.8); transform: scale(1.04); }
.reveal .bg.dim::after { background: rgba(5, 10, 22, .78); }
.reveal section > :not(.bg):not(.band):not(.photos):not(.photo) { z-index: 1; }

/* chapter marker, top left */
.reveal .chapter {
  position: absolute; left: 96px; top: 72px;
  font-size: 26px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey);
}
.reveal .chapter b { color: var(--gold); font-weight: 700; margin-right: .6em; }

/* who is speaking, top right */
.reveal .who {
  position: absolute; right: 96px; top: 56px;
  display: flex; align-items: center; gap: 0; font-size: 26px; color: var(--pale);
}
.reveal .who i, .reveal .faces i, .reveal .tiles i {
  display: inline-block; width: 64px; height: 64px; border-radius: 50%;
  background: var(--face) center / cover; box-shadow: 0 0 0 3px var(--navy);
  margin-right: -14px;
}
.reveal .who i:last-of-type { margin-right: 18px; }

/* big caption, bottom left */
.reveal .caption { position: absolute; left: 96px; right: 96px; bottom: 96px; }
.reveal .caption h2 { font-size: 110px; line-height: 1.02; letter-spacing: -.01em; text-shadow: 0 2px 40px rgba(0,0,0,.5); }
.reveal .caption p  { font-size: 48px; color: var(--pale); margin-top: 20px; text-shadow: 0 2px 30px rgba(0,0,0,.5); }

.reveal h2 em { font-style: normal; color: var(--gold); }

/* ---------- Programme ---------- */
.s-agenda .bg { filter: blur(10px) saturate(.7); transform: scale(1.05); }
.s-agenda .bg::after { background: rgba(5, 10, 22, .72); }
.s-agenda .agenda {
  position: absolute; left: 96px; right: 96px; top: 190px;
  list-style: none; margin: 0; padding: 0; display: grid; gap: 22px;
}
.s-agenda .agenda li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid rgba(143, 157, 178, .25);
}
.s-agenda .agenda a { color: var(--white); font-size: 72px; text-decoration: none; }
.s-agenda .agenda a b { color: var(--gold); font-weight: 700; margin-right: 40px; font-size: 56px; }
.s-agenda .agenda a:hover { color: var(--gold); }
.s-agenda .faces { display: flex; padding-right: 14px; }

/* ---------- Full-screen clip ---------- */
.s-video { background: #000; }
.s-video clip-player { position: absolute; inset: 0; display: grid; place-items: center; background: #000; }
.s-video clip-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.s-video .clip-placeholder {
  font-size: 54px; letter-spacing: .06em; color: var(--pale);
  padding: 40px 64px; border: 2px dashed rgba(216, 180, 122, .6); border-radius: 18px;
}
.s-video .chapter { z-index: 2; }

/* ---------- Statement ---------- */
.s-statement h2 {
  position: absolute; left: 96px; right: 160px; top: 50%; transform: translateY(-50%);
  font-size: 128px; line-height: 1.05; letter-spacing: -.015em;
}

/* ---------- Triptych / duo / split photos ---------- */
.s-triptych .photos, .s-duo .photos { position: absolute; inset: 0; display: grid; gap: 6px; z-index: 0; }
.s-triptych .photos { grid-template-columns: repeat(3, 1fr); }
.s-duo .photos { grid-template-columns: repeat(2, 1fr); }
.s-triptych .photos div, .s-duo .photos div { background: center / cover no-repeat; }
.s-triptych .photos::after, .s-duo .photos::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--navy) 0%, rgba(5, 10, 22, .6) 30%, transparent 55%),
              linear-gradient(180deg, rgba(5, 10, 22, .6) 0%, transparent 22%);
}

.s-split .photo { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; background: center 30% / cover no-repeat; z-index: 0; }
.s-split .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, transparent 30%); }
.s-split .text { position: absolute; left: 96px; width: 900px; top: 50%; transform: translateY(-50%); }
.s-split .text h2 { font-size: 110px; line-height: 1.05; }
.s-split .text p  { font-size: 48px; color: var(--pale); margin-top: 28px; }
.s-split .who { right: calc(46% + 48px); }

/* ---------- Tiles (overview, monétisation, backup) ---------- */
.s-tiles h2, .s-flow h2, .s-formats h2 {
  position: absolute; left: 96px; top: 140px; font-size: 96px; letter-spacing: -.01em;
}
.s-tiles .tiles {
  position: absolute; left: 96px; right: 96px; top: 330px; bottom: 110px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.s-tiles .tiles > * {
  position: relative; overflow: hidden; border-radius: 18px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px; font-size: 48px; color: var(--white); text-decoration: none;
  background: linear-gradient(0deg, rgba(5,10,22,.92) 0%, rgba(5,10,22,.35) 55%, rgba(5,10,22,.15) 100%), var(--img, none) center / cover no-repeat, var(--card);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.s-tiles .tiles > * b { color: var(--gold); font-size: 40px; font-weight: 700; margin-bottom: 10px; }
.s-tiles .tiles a:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.s-tiles .tiles i { position: absolute; top: 28px; width: 56px; height: 56px; }
.s-tiles .tiles i:nth-of-type(1) { right: 28px; }
.s-tiles .tiles i:nth-of-type(2) { right: 70px; }
.s-tiles .tiles i:nth-of-type(3) { right: 112px; }
.s-tiles .tiles.text { grid-template-columns: repeat(3, 1fr); }
.s-tiles .tiles.text > * { justify-content: flex-start; font-size: 40px; line-height: 1.3; color: var(--pale); }
.s-tiles .tiles.text b { display: block; font-size: 48px; margin-bottom: 24px; }

/* ---------- Flow diagrams (LiveU tech, workflow) ---------- */
.s-flow .flow {
  position: absolute; left: 96px; right: 96px; top: 400px;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 64px;
}
.s-flow .flow li {
  position: relative; min-height: 300px; padding: 40px 36px; border-radius: 18px;
  background: rgba(21, 33, 63, .82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 20px;
}
.s-flow .flow li + li::before {
  content: "›"; position: absolute; left: -48px; top: 50%; transform: translateY(-55%);
  font-size: 72px; color: var(--gold);
}
.s-flow .flow b { font-size: 52px; font-weight: 600; color: var(--white); }
.s-flow .flow span { font-size: 34px; line-height: 1.3; color: var(--pale); }
.s-flow .flow li.gold { box-shadow: inset 0 0 0 2px var(--gold); }
.s-flow .flow li.gold b { color: var(--gold); }
.s-workflow .flow li { min-height: 260px; }
.s-workflow .rail {
  position: absolute; left: 96px; right: 96px; top: 760px;
  padding: 32px 40px; border-radius: 18px; text-align: center;
  font-size: 36px; color: var(--pale);
  background: linear-gradient(90deg, rgba(216,180,122,.12), rgba(216,180,122,.28), rgba(216,180,122,.12));
  box-shadow: inset 0 0 0 1px rgba(216,180,122,.5);
}
.s-workflow .rail b { color: var(--gold); font-weight: 600; }

/* ---------- Formats ---------- */
.s-formats .formats {
  position: absolute; left: 96px; right: 96px; top: 300px; bottom: 80px;
  display: flex; align-items: flex-end; justify-content: center; gap: 72px;
}
.s-formats figure { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.s-formats img { display: block; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); object-fit: cover; }
.s-formats .f169 img { width: 880px; height: 495px; }
.s-formats .f11  img { width: 495px; height: 495px; }
.s-formats .f916 img { width: 360px; height: 640px; }
.s-formats figcaption { font-size: 30px; color: var(--pale); }

/* ---------- SaaS ---------- */
.s-saas h2 { position: absolute; left: 96px; top: 170px; font-size: 124px; white-space: nowrap; }
.s-saas h2 b { color: var(--gold); font-weight: 700; }
.s-saas h2 .sep { color: var(--grey); font-weight: 200; margin: 0 .08em; }
.s-saas .sub { position: absolute; left: 96px; right: 96px; top: 330px; font-size: 48px; color: var(--pale); }
.s-saas .chain {
  position: absolute; left: 96px; right: 96px; top: 560px;
  list-style: none; margin: 0; padding: 48px 40px 40px; border-radius: 22px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  box-shadow: inset 0 0 0 2px rgba(216, 180, 122, .55);
}
.s-saas .chain::before {
  content: "Un seul service"; position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  padding: 0 24px; background: var(--navy); color: var(--gold); font-size: 32px; letter-spacing: .12em; text-transform: uppercase;
}
.s-saas .chain li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 36px;
  font-size: 52px; color: var(--white);
}
.s-saas .chain li + li::before { content: "›"; position: absolute; left: -28px; top: -6px; color: var(--gold); font-size: 60px; }
.s-saas .chain img { height: 64px; width: auto; max-width: 220px; object-fit: contain; }

/* ---------- Conclusion ---------- */
.s-end h2 {
  position: absolute; left: 96px; right: 96px; top: 50%; transform: translateY(-60%);
  font-size: 104px; line-height: 1.08; letter-spacing: -.015em; text-shadow: 0 2px 40px rgba(0,0,0,.45);
}
