/* ============ Robot Aesthetics — scroll version of the deck ============ */
:root{
  --ink:#111;
  --ink-soft:#666;
  --paper:#ffffff;
  --accent:#ff0050;
  --maxw:1200px;
  --ease:cubic-bezier(.22,.61,.36,1);
}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(22px,5vw,72px);width:100%}

/* thin progress bar (only non-decorative motion we keep) */
#progress{position:fixed;top:0;left:0;height:2px;width:0;background:var(--accent);z-index:100}

/* a "slide" */
section.beat{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:14vh 0;
}
section.beat.short{min-height:64vh}

/* very subtle fade-in only — no movement, no stagger */
[data-reveal]{opacity:0;transition:opacity .6s var(--ease)}
[data-reveal].in{opacity:1}
@media(prefers-reduced-motion:reduce){[data-reveal]{opacity:1;transition:none}}

/* ---- text: one consistent, readable size, left-aligned like the slides ---- */
.txt{font-size:clamp(20px,2vw,29px);line-height:1.42;max-width:22em;letter-spacing:-.005em}
.txt p{margin:0 0 .9em}
.txt p:last-child{margin-bottom:0}
.txt.center{margin-left:auto;margin-right:auto;text-align:left}
.caption{font-size:clamp(20px,2vw,29px);line-height:1.35;letter-spacing:-.005em}

/* HERO — matches the title slide */
#hero{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
#hero h1{font-size:clamp(48px,9vw,120px);line-height:.98;font-weight:800;letter-spacing:-.03em;margin:0}
#hero .sub{font-size:clamp(19px,2vw,28px);margin-top:1em;max-width:20em;font-weight:400}

/* layouts */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,72px);align-items:center;width:100%}
.split.rev .m{order:-1}
.split.narrow{grid-template-columns:0.8fr 1.2fr}
@media(max-width:820px){.split,.split.narrow{grid-template-columns:1fr;gap:26px}.split.rev .m{order:0}}

figure{margin:0}
figure img{width:100%;height:auto;border-radius:3px}
.feature img{max-height:76vh;object-fit:contain;object-position:left center}
.soft img{box-shadow:0 24px 50px -30px rgba(0,0,0,.32)}
figcaption{font-size:.78em;color:var(--ink-soft);margin-top:.6em}

/* stacked full-width media under text */
.stackmedia{margin-top:5vh;width:100%}
.stackmedia img{width:100%;height:auto;max-height:82vh;object-fit:contain;object-position:left}

/* image grids (kept simple, like the slide contact-sheets) */
.grid{display:grid;gap:14px;width:100%;margin-top:4vh}
.grid.c2{grid-template-columns:repeat(2,1fr)}
.grid.c3{grid-template-columns:repeat(3,1fr)}
.grid.c4{grid-template-columns:repeat(4,1fr)}
.grid.c5{grid-template-columns:repeat(5,1fr)}
.grid img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;border-radius:3px}
.grid.fit img{object-fit:contain;aspect-ratio:auto;height:auto}
@media(max-width:820px){.grid.c4,.grid.c5{grid-template-columns:repeat(3,1fr)}}

/* humanoid line-up (transparent cut-outs on white, like the slide) */
.lineup{display:flex;align-items:flex-end;justify-content:flex-start;flex-wrap:nowrap;width:100%;margin-top:5vh;overflow:hidden}
.lineup img{height:min(50vh,440px);width:auto;margin-right:-4%;flex:0 0 auto;border-radius:0}
.lineup img:last-child{margin-right:0}
@media(max-width:820px){.lineup{flex-wrap:wrap;gap:8px}.lineup img{height:24vh;margin:0}}

/* chobani comments = real screenshots, stacked plainly beside the ad */
.comments{display:flex;flex-direction:column;gap:12px;width:100%}
.comments img{width:100%;height:auto;border:1px solid #eee;border-radius:8px}

/* links keep the plain slide look */
.txt a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}

/* full-bleed media (chobani, immersive crab slides) */
.fullbleed{width:100vw;margin-left:calc(50% - 50vw)}
.fullbleed img{width:100%;height:auto;display:block}
/* big "This." beats — small label, large image */
.thisrow{display:flex;align-items:center;gap:clamp(20px,3vw,48px);padding:0 clamp(16px,3vw,44px);width:100vw}
.thisrow.rev{flex-direction:row-reverse}
.thisrow .thislabel{flex:0 0 auto}
.thisrow figure{margin:0;flex:1 1 auto;min-width:0;display:flex;justify-content:center}
.thisrow figure img{max-height:90vh;width:auto;max-width:100%}
@media(max-width:820px){.thisrow,.thisrow.rev{flex-direction:column;align-items:flex-start;gap:16px}.thisrow figure img{max-width:100%}}

/* full-bleed image with text overlaid in open space */
.overlaybeat{position:relative}
.overlaybeat img{width:100vw;height:auto;display:block}
.overlaytext{position:absolute;top:19%;left:clamp(22px,5vw,90px);max-width:min(36vw,20em)}
@media(max-width:820px){.overlaytext{top:5%;max-width:60vw}}

.vstack{display:flex;flex-direction:column;gap:16px}
.vstack figure{margin:0}
.vstack img{width:100%;height:auto;border-radius:3px}

.blockbeat{display:block;padding:12vh 0}
.slidebeat{display:block;min-height:auto;padding:7vh 0}
.slidefull img{width:100vw;height:auto;max-height:100vh;object-fit:contain}

/* Eve: image pinned while the three texts scroll past */
.evepin{position:relative}
.evewrap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,72px);align-items:start}
.evetext{min-height:100vh;display:flex;align-items:center}
.evesticky{position:sticky;top:0;height:100vh;display:flex;align-items:center;justify-content:center}
.evesticky figure{margin:0}
.evesticky img{max-height:78vh;width:auto;border-radius:3px}
@media(max-width:820px){
  .evewrap{grid-template-columns:1fr}
  .evesticky{position:static;height:auto;order:-1;margin-bottom:24px}
  .evetext{min-height:auto;margin-bottom:9vh}
}

/* James Cameron: frog --> ikran */
.camrow{display:flex;align-items:center;gap:clamp(16px,3vw,44px);margin-top:5vh;flex-wrap:wrap}
.camrow figure{margin:0}
.camrow .frog img{max-height:30vh;width:auto}
.camrow .ikran img{max-height:58vh;width:auto}
.camrow .arrow{font-size:clamp(30px,4vw,54px);color:var(--ink);flex:0 0 auto;line-height:1}
@media(max-width:820px){.camrow .ikran img{max-height:42vh}}

/* finale */
#finale{display:block;padding:16vh 0}
.colophon{max-width:var(--maxw);margin:14vh auto 0;padding:26px clamp(22px,5vw,72px) 0;border-top:1px solid #eee;color:var(--ink-soft);font-size:.82em;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
