
/* Cybereum · slides.css — the cinematic presentation mode. Tokens from site-core.css; the global header, footer and CTA buttons from site-shell.css. Deck controls keep their own presentation-specific grammar (.deck-btn). */
:root {
  color-scheme: dark;
  --bg:#020812;
  --bg2:#071320;
  --ink:#edf8ff;
  --ink2:#cfe0ec;
  --muted:#8aa9c5;
  --faint:#4f6c87;
  --line:rgba(125,220,255,.14);
  --line2:rgba(125,220,255,.28);
  --accent:#79dcff;
  --blue:#3e9bd6;
  --red:#e8391d;
  --green:#36c888;
  --amber:#d6a25f;
  --sans:var(--cyb-body);
  --mono:var(--cyb-mono);
  --display:var(--cyb-display);
  --roman:var(--cyb-inscription);
  --ease:cubic-bezier(.16,1,.3,1);
}
* { box-sizing:border-box; }
html,body { margin:0; width:100%; background:var(--bg); color:var(--ink); font-family:var(--sans); }
html { overflow-x:hidden; }
body::before { content:""; position:fixed; inset:0; z-index:-3; background:
  radial-gradient(900px 520px at 50% -8%, rgba(65,154,214,.16), transparent 72%),
  radial-gradient(760px 520px at 10% 88%, rgba(125,220,255,.06), transparent 70%),
  radial-gradient(760px 520px at 90% 80%, rgba(62,155,214,.055), transparent 68%),
  linear-gradient(180deg,#020812 0%,#06111d 55%,#020812 100%); }
body::after { content:""; position:fixed; inset:0; z-index:-2; pointer-events:none; background-image:
  linear-gradient(rgba(125,220,255,.022) 1px,transparent 1px),
  linear-gradient(90deg,rgba(125,220,255,.022) 1px,transparent 1px);
  background-size:92px 92px; -webkit-mask-image:radial-gradient(ellipse at 50% 50%, black 0%, transparent 76%);mask-image:radial-gradient(ellipse at 50% 50%, black 0%, transparent 76%); }
/* Browser mode: global header above, deck-context strip, presentation viewport, deck controls.
   Presentation mode (body.cyb-presenting): the site chrome and context strip disappear. */
.app { height:100dvh; padding:calc(var(--cyb-nav-h) + 6px) 20px 12px; display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:8px; }
body.cyb-presenting .app { padding-top:12px; }
body.cyb-presenting .deck-context, body.cyb-presenting .deck-download-stage, body.cyb-presenting .cyb-footer { display:none; }
body.cyb-presenting { overflow:hidden; }
.deck-context,.bottombar { display:flex; align-items:center; justify-content:space-between; gap:14px; min-width:0; }
.deck-context { min-height:34px; padding:0 6px; }
.deck-context__meta { margin:0; display:flex; align-items:center; gap:10px; min-width:0; font:600 10px/1 var(--mono); letter-spacing:.23em; color:var(--faint); text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.deck-context__sep { opacity:.6; }
.deck-context__hint { letter-spacing:.16em; text-transform:none; font-weight:500; }
.deck-context__actions { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.deck-btn { display:inline-flex; align-items:center; justify-content:center; min-height:34px; font:700 10.5px/1 var(--mono); letter-spacing:.17em; text-transform:uppercase; color:var(--ink); text-decoration:none; cursor:pointer; background:rgba(8,18,31,.62); border:1px solid var(--line2); border-radius:999px; padding:9px 15px; transition:border-color .18s,background .18s,color .18s,box-shadow .18s; }
.deck-btn:hover { box-shadow:0 0 18px rgba(125,220,255,.10); }
.deck-btn:hover { border-color:rgba(125,220,255,.58); }
.deck-btn--quiet { background:transparent; border-color:var(--line); color:var(--muted); }
.deck-btn--quiet:hover { color:var(--ink); }
.deck-btn--present[aria-pressed="true"] { background:var(--accent); border-color:var(--accent); color:#031019; }
.frame { min-height:0; position:relative; border:1px solid var(--line2); border-radius:32px; overflow:hidden; background:#020912; box-shadow:0 28px 86px rgba(0,0,0,.42); }
.deck { height:100%; display:flex; transition:transform .74s var(--ease); }
.slide { min-width:100%; height:100%; position:relative; overflow:hidden; padding:clamp(38px,4.2vw,66px) clamp(58px,6vw,96px); display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:20px; isolation:isolate; background:
  radial-gradient(820px 460px at var(--gx,70%) var(--gy,40%), rgba(125,220,255,.072), transparent 68%),
  linear-gradient(180deg,rgba(6,15,27,.84),rgba(3,9,18,.94)); }
.slide::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:
  linear-gradient(90deg,rgba(2,8,17,.96) 0%,rgba(2,8,17,.62) 48%,rgba(2,8,17,.86) 100%),
  linear-gradient(180deg,rgba(255,255,255,.028),transparent 25%,rgba(0,0,0,.20)); }
.slide .num { position:absolute; right:42px; top:32px; font:600 11px/1 var(--mono); letter-spacing:.23em; color:rgba(125,220,255,.38); }
.kicker { font:800 10px/1 var(--mono); letter-spacing:.31em; color:var(--accent); text-transform:uppercase; margin-bottom:14px; }
h1,h2 { margin:0; font-family:var(--display); font-weight:400; letter-spacing:-.04em; line-height:1.13; text-wrap:balance; }
h1 { font-size:clamp(38px,4.1vw,64px); }
h2 { font-size:clamp(32px,3.45vw,54px); max-width:990px; }
.lede { margin:16px 0 0; max-width:870px; color:rgba(207,224,236,.94); font-size:clamp(16px,1.27vw,21px); line-height:1.58; text-wrap:pretty; }
.note { font:700 9.5px/1.65 var(--mono); letter-spacing:.12em; color:rgba(138,169,197,.80); text-transform:uppercase; }
.inscription { font-family:var(--roman); font-weight:500; font-size:10px; letter-spacing:.42em; text-transform:uppercase; color:rgba(125,220,255,.60); }
.poster-title { align-self:start; max-width:1040px; }
.scene { align-self:center; display:grid; grid-template-columns:.92fr 1.08fr; gap:clamp(30px,4.2vw,64px); align-items:center; min-height:0; }
.scene.reverse { grid-template-columns:1.05fr .95fr; }
.shot { position:relative; border:1px solid rgba(125,220,255,.22); border-radius:24px; padding:8px; background:linear-gradient(180deg,rgba(9,22,37,.82),rgba(2,8,17,.94)); box-shadow:0 34px 78px rgba(0,0,0,.34); overflow:hidden; max-height:min(44vh,410px); }
.shot::after { content:""; position:absolute; inset:8px; pointer-events:none; border-radius:16px; background:linear-gradient(180deg,transparent 58%,rgba(2,8,17,.48)); }
.shot img { display:block; width:100%; height:100%; max-height:calc(min(44vh,410px) - 16px); object-fit:cover; border-radius:16px; filter:saturate(.86) contrast(1.05) brightness(.88); }
.shot.tall img { aspect-ratio:4/3; }
.shot.wide img { aspect-ratio:16/9; }
.stack2,.stack4 { display:grid; gap:9px; }
.stack2 { grid-template-columns:1fr 1fr; }
.stack4 { grid-template-columns:1fr 1fr; }
.stack2 img,.stack4 img { aspect-ratio:16/10; height:auto; max-height:none; }
.vert-list { display:grid; gap:16px; max-width:610px; }
.vert-item { border-left:2px solid rgba(125,220,255,.9); padding:13px 0 13px 18px; background:linear-gradient(90deg,rgba(125,220,255,.046),transparent 80%); }
.vert-item b { display:block; font:800 9.5px/1 var(--mono); letter-spacing:.20em; color:var(--accent); text-transform:uppercase; margin-bottom:8px; }
.vert-item span { display:block; color:rgba(207,224,236,.84); font-size:15px; line-height:1.47; }
.metric-grid { align-self:end; display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.metric { border-top:1px solid var(--line2); padding-top:16px; min-height:112px; background:linear-gradient(180deg,rgba(125,220,255,.035),transparent); }
.metric b { display:block; font-family:var(--display); font-weight:400; color:var(--ink); font-size:clamp(34px,3.55vw,56px); line-height:1; letter-spacing:-.045em; margin-bottom:11px; }
.metric small { font:800 10px/1 var(--mono); letter-spacing:.18em; color:var(--accent); text-transform:uppercase; }
.metric span { display:block; margin-top:12px; color:var(--muted); font-size:14px; line-height:1.42; }
.stage-line { align-self:end; display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:rgba(3,9,18,.36); }
.stage { padding:18px 20px; border-right:1px solid var(--line); }
.stage:last-child { border-right:0; }
.stage b { display:block; font:800 10px/1 var(--mono); letter-spacing:.18em; color:var(--accent); text-transform:uppercase; margin-bottom:9px; }
.stage span { display:block; font-size:14px; line-height:1.42; color:var(--muted); }
.layer-stack { display:grid; gap:12px; }
.layer { border:1px solid rgba(125,220,255,.14); border-left:3px solid rgba(125,220,255,.92); border-radius:0 16px 16px 0; background:linear-gradient(90deg,rgba(125,220,255,.055),rgba(7,17,29,.52)); padding:14px 17px; }
.layer b { display:block; font:800 10px/1 var(--mono); letter-spacing:.17em; color:var(--accent); text-transform:uppercase; margin-bottom:7px; }
.layer span { display:block; font-size:14px; line-height:1.42; color:var(--muted); }
.cover { place-items:center; text-align:center; grid-template-rows:1fr auto 1fr; background:radial-gradient(480px 300px at 50% 28%,rgba(125,220,255,.13),transparent 70%),linear-gradient(180deg,#030a13,#050d18); }
.cover::before { background:radial-gradient(ellipse at 50% 46%,rgba(125,220,255,.08),transparent 42%); }
.cover .seal { width:88px; height:88px; margin:0 auto 16px; }
.cover .seal svg,.close .seal svg { width:100%; height:100%; overflow:visible; filter:drop-shadow(0 0 26px rgba(125,220,255,.25)); }
.cover .wordmark-lower { width:min(460px,50vw); height:auto; fill:var(--accent); display:block; margin:0 auto 26px; }
.cover h1 { font-size:clamp(38px,3.9vw,62px); max-width:890px; }
.cover .support { margin:20px auto 0; max-width:880px; color:var(--muted); font:800 9.5px/1.85 var(--mono); letter-spacing:.15em; text-transform:uppercase; }
.cover .inscription { margin-top:20px; }
.folio { align-self:end; color:var(--faint); font:700 10px/1 var(--mono); letter-spacing:.17em; text-transform:uppercase; }
.team-composition { height:100%; min-height:0; display:grid; grid-template-rows:auto auto auto; gap:14px; align-content:stretch; }
.team-slide h2 { font-size:clamp(30px,3vw,45px); max-width:980px; }
.team-slide .lede { font-size:clamp(14px,1vw,17px); line-height:1.48; max-width:930px; margin-top:11px; }
.people { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; align-self:center; }
.person { display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; column-gap:12px; min-height:92px; padding:12px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(180deg,rgba(8,19,32,.60),rgba(4,11,20,.62)); }
.avatar { width:64px; height:64px; border-radius:14px; border:1px solid var(--line); background:rgba(125,220,255,.07); display:grid; place-items:center; overflow:hidden; color:var(--accent); font:800 14px var(--mono); }
.avatar img { width:100%; height:100%; object-fit:cover; filter:saturate(.82) contrast(1.05); }
.person b { display:block; font-size:13.5px; line-height:1.2; }
.person span { display:block; margin-top:5px; color:var(--muted); font:700 8.5px/1.35 var(--mono); letter-spacing:.105em; text-transform:uppercase; }
.advisory-band { align-self:end; padding-top:12px; border-top:1px solid var(--line); }
.advisory-band .label { font:800 9px/1 var(--mono); letter-spacing:.22em; color:var(--accent); text-transform:uppercase; margin-bottom:10px; }
.advisor-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.advisor { min-height:44px; padding-left:12px; border-left:1px solid rgba(125,220,255,.18); overflow:hidden; }
.advisor b { display:block; color:var(--ink2); font-size:11.5px; margin-bottom:3px; }
.advisor span { display:block; color:var(--muted); font-size:9.6px; line-height:1.26; }
.close { place-items:center; text-align:center; grid-template-rows:1fr auto 1fr; background:radial-gradient(520px 320px at 50% 35%,rgba(125,220,255,.10),transparent 70%),linear-gradient(180deg,#030a13,#050d18); }
.close .seal { width:88px; height:88px; margin:0 auto 28px; }
.close h2 { font-size:clamp(42px,5vw,74px); max-width:950px; }
.actions { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:26px; }
.bottombar .left { display:flex; align-items:center; gap:14px; min-width:280px; flex:1; }
.count { font:700 10px/1 var(--mono); letter-spacing:.18em; color:var(--faint); }
.progress { height:1px; max-width:260px; flex:1; background:rgba(125,220,255,.12); overflow:hidden; }
.progress i { display:block; height:100%; width:0; background:var(--accent); transition:width .74s var(--ease); }
.deck-nav { display:flex; align-items:center; gap:10px; }
.dots { display:flex; align-items:center; gap:7px; }
.dot { width:7px; height:7px; border-radius:99px; padding:0; background:rgba(125,220,255,.16); border:1px solid rgba(125,220,255,.16); cursor:pointer; transition:width .3s var(--ease),background .3s; }
.dot.active { width:24px; background:var(--accent); }
@media(max-width:1050px) {
  .app { padding:calc(var(--cyb-nav-h) + 8px) 12px 10px; }
  .deck-context__hint { display:none; }
  .slide { padding:30px 34px; gap:18px; }
  h2 { font-size:clamp(30px,4.6vw,46px); }
  .scene,.scene.reverse { grid-template-columns:1fr; gap:18px; }
  .shot { max-height:32vh; }
  .shot img { max-height:calc(32vh - 16px); }
  .metric-grid,.stage-line { grid-template-columns:repeat(2,1fr); }
  .people { grid-template-columns:repeat(2,1fr); }
  .advisor-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:720px) {
  .app { height:auto; min-height:100dvh; }
  .deck-context { flex-wrap:wrap; }
  .bottombar { flex-wrap:wrap; gap:10px; }
  .bottombar .left { min-width:0; width:100%; }
  .bottombar .left .progress { max-width:none; }
  .deck-nav { width:100%; justify-content:space-between; }
  .deck-context__meta { display:none; }
  .deck-context__actions { width:100%; justify-content:space-between; }
  .frame { min-height:76dvh; }
  .slide { min-height:76dvh; padding:26px 22px; }
  .scene,.scene.reverse,.metric-grid,.stage-line,.people,.advisor-grid { grid-template-columns:1fr; }
  .stack2,.stack4 { grid-template-columns:1fr; }
  .shot { max-height:none; }
  .shot img { max-height:none; }
  .stage { border-right:0; border-bottom:1px solid var(--line); }
  .stage:last-child { border-bottom:0; }
  .dots { display:none; }
  .inscription { letter-spacing:.23em; line-height:1.8; }
  .cover .wordmark-lower { width:min(420px,78vw); }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }



/* Aspect correction: the frame always fills the viewport row; the deck fills the frame. */
.frame { min-height:0; height:100%; }
@media(max-width:720px){ .frame { height:auto; min-height:76dvh; } }
.deck, .slide {
  height: 100% !important;
}
.poster-shot img,
.shot img,
.stack2 img,
.stack4 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.poster-shot,
.shot {
  overflow: hidden;
}

/* Deck download stage — below the presentation viewport in browser mode. */

.deck-download-stage {
  display: grid;
  place-items: center;
  padding: clamp(32px, 4.5vh, 48px) 24px;
  background:
    radial-gradient(760px 200px at 50% 50%, rgba(125,220,255,.075), transparent 72%),
    linear-gradient(180deg, #020811 0%, #040b14 100%);
  border-top: 1px solid rgba(125,220,255,.10);
}
.deck-download-inner {
  width: min(1120px, 92vw);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 44px;
}
.deck-download-wordmark {
  width: clamp(260px, 24vw, 340px);
  height: auto;
  fill: rgba(221,250,255,.96);
  filter:
    drop-shadow(0 0 12px rgba(125,220,255,.26))
    drop-shadow(0 0 36px rgba(125,220,255,.10));
}
.deck-download-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 15px 26px;
  border: 1px solid rgba(125,220,255,.62);
  border-radius: 13px;
  background: rgba(4,12,22,.62);
  color: var(--accent);
  text-decoration: none;
  font: 700 11px/1 var(--mono);
  letter-spacing: .20em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 1px rgba(125,220,255,.07),
    0 0 30px rgba(125,220,255,.06);
}
.deck-download-button svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}
.deck-download-button:hover {
  border-color: rgba(125,220,255,.90);
  color: #e9fbff;
}
@media(max-width:720px){
  .deck-download-stage { padding: 28px 18px 36px; }
  .deck-download-inner { flex-direction: column; gap: 16px; }
  .deck-download-wordmark { width: min(260px, 70vw); }
}


/* LIGHT THEME — aligned to main Cybereum page */
:root[data-theme="light"]{
  color-scheme: light;
  --bg:#FFFFFF;
  --bg2:#F4F7FA;
  --panel:#FFFFFF;
  --ink:var(--cyb-navy-2);
  --ink2:var(--cyb-ink);
  --muted:#526B87;
  --faint:#6B829A;
  --line:#E4EBF2;
  --line2:rgba(62,155,214,.28);
  --accent:#3E9BD6;
  --blue:#2F84BE;
  --green:#167C4D;
  --red:#B83A26;
  --amber:#B8500F;
}
:root[data-theme="light"] body{
  background:#FFFFFF;
  color:var(--ink);
}
:root[data-theme="light"] body::before{
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(62,155,214,.18), transparent 72%),
    radial-gradient(760px 520px at 16% 88%, rgba(62,155,214,.08), transparent 70%),
    linear-gradient(180deg,#FFFFFF 0%,#F4F7FA 58%,#FFFFFF 100%);
}
:root[data-theme="light"] body::after{
  background-image:
    linear-gradient(rgba(62,155,214,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(62,155,214,.075) 1px,transparent 1px);
  opacity:.65;
}
:root[data-theme="light"] .deck-context__meta,
:root[data-theme="light"] .count,
:root[data-theme="light"] .folio{
  color:#526B87;
}
:root[data-theme="light"] .cover .wordmark-lower,
:root[data-theme="light"] .deck-download-wordmark{
  fill:#1C78AE;
  filter:none;
}
:root[data-theme="light"] .frame{
  background:linear-gradient(180deg,#FFFFFF,#F7FAFD);
  border-color:rgba(62,155,214,.30);
  box-shadow:0 1px 2px rgba(10,21,36,.06),0 24px 54px -28px rgba(10,21,36,.26);
}
:root[data-theme="light"] .slide{
  background:
    radial-gradient(820px 460px at var(--gx,70%) var(--gy,40%), rgba(62,155,214,.10), transparent 68%),
    linear-gradient(180deg,rgba(255,255,255,.94),rgba(244,247,250,.96));
}
:root[data-theme="light"] .slide::before{
  background:
    linear-gradient(90deg,rgba(255,255,255,.82) 0%,rgba(255,255,255,.55) 48%,rgba(255,255,255,.78) 100%),
    linear-gradient(180deg,rgba(255,255,255,.20),transparent 25%,rgba(10,21,36,.04));
}
:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] .person b,
:root[data-theme="light"] .advisor b{
  color:#0A1524;
}
:root[data-theme="light"] .lede{
  color:#10233B;
}
:root[data-theme="light"] .kicker,
:root[data-theme="light"] .vert-item b,
:root[data-theme="light"] .layer b,
:root[data-theme="light"] .poster-card b,
:root[data-theme="light"] .stage b,
:root[data-theme="light"] .inscription{
  color:#1C78AE;
}
:root[data-theme="light"] .vert-item,
:root[data-theme="light"] .layer,
:root[data-theme="light"] .person,
:root[data-theme="light"] .advisor,
:root[data-theme="light"] .poster-card,
:root[data-theme="light"] .stage{
  background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(247,250,253,.72));
  border-color:#E4EBF2;
}
:root[data-theme="light"] .vert-item{
  border-left-color:#1C78AE;
}
:root[data-theme="light"] .vert-item span,
:root[data-theme="light"] .layer span,
:root[data-theme="light"] .stage span,
:root[data-theme="light"] .poster-card span,
:root[data-theme="light"] .advisor span{
  color:#526B87;
}
:root[data-theme="light"] .poster-shot,
:root[data-theme="light"] .shot{
  background:#FFFFFF;
  border-color:rgba(62,155,214,.30);
  box-shadow:0 18px 40px -24px rgba(10,21,36,.32);
}
:root[data-theme="light"] .poster-shot img,
:root[data-theme="light"] .shot img{
  filter:saturate(.88) contrast(1.02) brightness(.98);
}
:root[data-theme="light"] .deck-btn,
:root[data-theme="light"] .deck-download-button{
  color:#0A1524;
  background:rgba(255,255,255,.78);
  border-color:rgba(62,155,214,.34);
}
:root[data-theme="light"] .deck-btn:hover,
:root[data-theme="light"] .deck-download-button:hover{
  border-color:rgba(62,155,214,.62);
}
:root[data-theme="light"] .dot{
  background:rgba(62,155,214,.16);
  border-color:rgba(62,155,214,.16);
}
:root[data-theme="light"] .dot.active,
:root[data-theme="light"] .progress i{
  background:#3E9BD6;
}
:root[data-theme="light"] .progress{
  background:rgba(62,155,214,.16);
}
:root[data-theme="light"] .deck-download-stage{
  background:
    radial-gradient(760px 200px at 50% 50%, rgba(62,155,214,.10), transparent 72%),
    linear-gradient(180deg,#FFFFFF 0%,#F4F7FA 100%);
  border-top-color:#E4EBF2;
}
:root[data-theme="light"] .deck-btn--present[aria-pressed="true"] { background:#1B4F8A; border-color:#1B4F8A; color:#fff; }
:root[data-theme="light"] .deck-btn--quiet { background:transparent; color:#526B87; }
.cover .wordmark-lower { fill:var(--accent); }
.deck-nav .deck-btn[aria-pressed="true"] { color:var(--accent); }
