:root {
  --blue: #00A0E5;
  --blue-deep: #0086c3;     /* text on white cards, still blue */
  --navy: #1a4a5e;          /* dock only, never inside the blue panel */
  --white: #ffffff;
  --desk: #e6ebee;
  --dock-pill: #eef3f6;
  --line: rgba(255, 255, 255, .38);
  --soft: rgba(255, 255, 255, .9); /* secondary text on blue: kept near-white so it stays readable */
  --shadow-blue: rgba(0, 70, 120, .38);

  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-accent: 'Instrument Serif', Georgia, serif;
  --text-head: clamp(28px, 8.2vw, 34px);
  --pad-x: 28px;
  --dock-h: 92px;
  --curve: 96px;
  --parallax: 120px;
  --meter-top: calc(clamp(22px, 4svh, 40px) + env(safe-area-inset-top));
  --meter-h: 44px;
  --wip-h: 24px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --slide-ms: 650ms;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--desk);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  display: grid;
  place-items: center;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
ol, ul { list-style: none; }
.i { width: 1em; height: 1em; flex: none; }
.i--ne { transform: rotate(-45deg); }

/* ── DEVICE ─────────────────────────────── */
.device {
  position: relative;
  width: 100vw;
  height: 100svh;
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 560px) {
  .device {
    width: 400px;
    height: min(860px, calc(100svh - 48px));
    border-radius: 48px;
    box-shadow:
      0 40px 80px -30px rgba(26, 74, 94, .35),
      0 12px 24px -12px rgba(26, 74, 94, .18),
      0 0 0 1px rgba(26, 74, 94, .05);
  }
}

/* ── PANEL: the blue part, the only thing that slides ── */
.panel {
  position: relative;
  flex: 1;
  min-height: 0;
  background:
    radial-gradient(90% 55% at 100% 0%, rgba(255, 255, 255, .26), transparent 62%),
    radial-gradient(80% 50% at 0% 100%, rgba(0, 110, 175, .45), transparent 70%),
    var(--blue);
  border-radius: 0 0 0 var(--curve);
  overflow: hidden;
  overflow: clip; /* blocks anchor jumps and focus from scrolling the panel */
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
}
/* film grain over everything blue */
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .14; mix-blend-mode: overlay;
}

/* orbit rings, turn a step on every menu change */
.orbit {
  position: absolute; z-index: 0; pointer-events: none;
  top: -130px; right: -150px; width: 380px; height: 380px;
  transform: rotate(calc(var(--i, 0) * 62deg));
  transition: transform 1.1s var(--ease);
}
.orbit i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); }
.orbit i:first-child { inset: 0; }
.orbit i:nth-child(2) { inset: 70px; border-style: dashed; border-color: rgba(255, 255, 255, .18); }
.orbit b {
  position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .18);
}

.track {
  position: relative; z-index: 1;
  display: flex;
  height: 100%;
  transform: translate3d(calc(var(--i, 0) * -100%), 0, 0);
  transition: transform var(--slide-ms) var(--ease);
  will-change: transform;
}
.track.is-dragging, .track.is-dragging .ghost { transition: none; }

.slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  overflow: hidden;
  overflow: clip;
  height: 100%;
  color: var(--white);
}

/* giant outlined word per menu, moves faster than the slide (parallax) */
.ghost {
  position: absolute; z-index: 0; pointer-events: none;
  top: 50%; right: -.22em;
  writing-mode: vertical-rl;
  font-size: 148px; font-weight: 800; line-height: .8; letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .26);
  transform: translate(calc(var(--o, 0) * var(--parallax)), -50%);
  transition: transform var(--slide-ms) var(--ease);
}

.slide-body {
  position: relative; z-index: 1;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  padding: calc(var(--meter-top) + var(--meter-h) + 30px) var(--pad-x) 124px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* content scrolls away under a fade so the bottom stays clean */
  /* content scrolls away under the fixed meter (top) and under a fade (bottom) */
  --fade-top: linear-gradient(transparent calc(var(--meter-top) + var(--meter-h) + 4px), #000 calc(var(--meter-top) + var(--meter-h) + 26px));
  -webkit-mask-image: linear-gradient(transparent calc(var(--meter-top) + var(--meter-h) + 4px), #000 calc(var(--meter-top) + var(--meter-h) + 26px), #000 calc(100% - 112px), transparent calc(100% - 64px));
          mask-image: linear-gradient(transparent calc(var(--meter-top) + var(--meter-h) + 4px), #000 calc(var(--meter-top) + var(--meter-h) + 26px), #000 calc(100% - 112px), transparent calc(100% - 64px));
}
.slide-body::-webkit-scrollbar { display: none; }
/* children keep their natural height; the body scrolls instead of squashing (and clipping) them */
.slide-body > * { flex-shrink: 0; }

/* menus with lists start higher and tighter */
.slide--dense .quote { width: 34px; height: 26px; margin-bottom: 18px; }
.slide--dense .dots { margin: 12px 0 20px; }

/* ── TYPE ─────────────────────────────── */
.quote { width: 46px; height: 35px; fill: var(--white); stroke: none; margin-bottom: 26px; }

.headline em {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  font-size: 1.14em; letter-spacing: -.01em; line-height: .9;
}
.headline {
  font-size: var(--text-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 11ch;
}

.dots { display: flex; gap: 5px; margin: 16px 0 28px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--white); }

/* counter on top: (01) ─────── 06, the line fills with progress */
.meter { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 40px; }
.meter-num {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--white);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.meter-line { position: relative; flex: 1; height: 1.5px; background: var(--line); }
.meter-line::before {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: var(--p); background: var(--white);
  transform-origin: left; transform: scaleX(0);
  transition: transform .9s var(--ease) .15s;
}
.meter-total { font-size: 12px; font-weight: 700; color: var(--soft); }

/* top right of the panel: GESER + an arrow to the next menu, stays put while the slides move */
.meter--fixed {
  position: absolute; z-index: 4;
  top: var(--meter-top); left: var(--pad-x); right: calc(var(--pad-x) - 10px);
  width: auto; margin: 0; justify-content: flex-end; pointer-events: none;
}
.meter-next {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 2px;
  min-height: 44px; margin-right: -10px; padding: 0 8px 0 10px; border-radius: 999px;
  color: var(--white); transition: opacity .3s, background .3s;
}
.meter-next-label { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; }
.meter-next .i { font-size: 17px; animation: nudge 1.4s var(--ease) infinite; } /* keeps pointing sideways */
.meter-next:hover { background: rgba(255, 255, 255, .18); }
.meter--fixed.is-last .meter-next { opacity: 0; pointer-events: none; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }

.label { font-size: 12px; font-weight: 800; letter-spacing: .16em; margin-bottom: 16px; }
.label span, .label b { color: var(--soft); font-weight: 800; }

.body { font-size: 15px; font-weight: 500; line-height: 1.55; color: rgba(255, 255, 255, .92); max-width: 32ch; margin-bottom: 24px; }
.note { margin-top: 22px; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--soft); max-width: 30ch; }
.note b { color: var(--white); font-weight: 800; }

/* ── HOME: headline bigger, details anchored low ── */
.slide--home .slide-body { padding-bottom: 36px; -webkit-mask-image: var(--fade-top); mask-image: var(--fade-top); }
.slide--home .quote { width: 40px; height: 30px; margin-bottom: 18px; }
.slide--home .headline { font-size: clamp(34px, min(10vw, 5.4svh), 46px); max-width: 10ch; line-height: 1.04; }
/* Home uses one font: no serif accent in the headline */
.slide--home .headline em { font: inherit; letter-spacing: inherit; }
/* the wink after the headline: small and quiet */
.slide--home .headline-aside {
  display: block; margin-top: 10px;
  font-size: .4em; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--soft);
}
.slide--home .ghost { top: 34%; -webkit-text-stroke-color: rgba(255, 255, 255, .18); }
.slide--home .dots { margin: 12px 0 0; }
.slide--home .foot { margin-top: auto; width: 100%; padding-top: 20px; }
.slide--home .label { margin-bottom: 12px; }
.slide--home .body { margin-bottom: 18px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding-top: 14px; margin-bottom: 18px;
  border-top: 1.5px solid var(--line);
}
.stats dt { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.stats dd { margin-top: 5px; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--soft); } /* two-word labels may wrap */

/* Home: the same outlined pill the social links used to be, now one: Tentang Zen */
.pills { display: flex; justify-content: flex-end; width: 100%; }
.pills button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .6);
  font-size: 13px; font-weight: 700; color: var(--white); white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.pills .i { font-size: 15px; }
.pills button:hover { background: var(--white); color: var(--blue); }

/* ── LISTS, CHIPS, CARDS ──────────────── */
.list { width: 100%; margin-bottom: 26px; }
.list li { border-top: 1.5px solid rgba(255, 255, 255, .26); }
.list li:last-child { border-bottom: 1.5px solid rgba(255, 255, 255, .26); }
.list li, .list a, .list button { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; }
.list--links li, .list li:has(> button) { padding: 0; }
.list button { position: relative; width: 100%; padding-right: 30px; text-align: left; }
.list b { font-size: 15px; font-weight: 700; line-height: 1.3; }
.list span { font-size: 13px; font-weight: 500; color: var(--soft); }
.list :is(a, button) { transition: transform .3s var(--ease); }
.list :is(a, button):hover { transform: translateX(6px); }
.list-go {
  position: absolute; right: 0; top: 50%; margin-top: -14px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px;
  background: rgba(255, 255, 255, .16);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.list button:hover .list-go { background: var(--white); color: var(--blue); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips li {
  padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  font-size: 13px; font-weight: 700;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.chips li:hover { background: var(--white); color: var(--blue); }

}

.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--white); }
.link .i { font-size: 16px; }

/* CTA: caps pill with a round icon, the same shape as COLLAB WITH ZEN */
.cta-stack { display: grid; gap: 10px; width: 100%; }
.cta-pill {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; height: 56px; padding: 0 6px 0 22px; border-radius: 999px;
  background: var(--white); color: var(--blue);
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-align: left;
  box-shadow: 0 16px 28px -16px var(--shadow-blue);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.cta-pill::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(0, 160, 229, .14) 50%, transparent 70%);
  transform: translateX(-100%); animation: cta-shine 4s ease-in-out infinite;
}
.cta-pill-go {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 19px;
  background: var(--blue); color: var(--white);
  transition: transform .35s var(--ease);
}
.cta-pill:hover { transform: translateY(-2px); }
.cta-pill:hover .cta-pill-go { transform: translateX(3px); }
.cta-pill:active { transform: scale(.98); }
.cta-pill--line { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .6); box-shadow: none; }
.cta-pill--line::before { display: none; }
.cta-pill--line .cta-pill-go { background: var(--white); color: var(--blue); }
.cta-pill--line:hover { background: rgba(255, 255, 255, .12); }
.cta-note { margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--soft); }
.cta-note b { color: var(--white); font-weight: 800; }
@keyframes cta-shine { 0%, 60% { transform: translateX(-100%); } 90%, 100% { transform: translateX(100%); } }

/* reels rail */
.hscroll {
  display: flex; gap: 10px;
  width: calc(100% + var(--pad-x) * 2);
  margin: 0 calc(var(--pad-x) * -1) 22px;
  padding: 0 var(--pad-x);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad-x);
  scrollbar-width: none; touch-action: pan-x;
}
.hscroll::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 116px; scroll-snap-align: start; text-align: left; }
.reel-media {
  position: relative; display: block;
  aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden;
  background: var(--blue-deep);
  outline: 1.5px solid rgba(255, 255, 255, .22); outline-offset: -1.5px;
  box-shadow: 0 14px 24px -14px var(--shadow-blue);
  transition: transform .35s var(--ease);
}
.reel:hover .reel-media { transform: translateY(-4px) rotate(-1deg); }
.reel:active .reel-media { transform: scale(.97); }
.reel-media img, .reel-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; } /* posters are 9:16 like the card */
.reel-media video { opacity: 0; transition: opacity .4s; }
.reel-media video.is-on { opacity: 1; }
.reel-play {
  position: absolute; right: 8px; bottom: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white); color: var(--blue);
  display: grid; place-items: center;
}
.reel-play .i { font-size: 15px; }
.reel-name { display: block; margin-top: 10px; font-size: 13px; font-weight: 800; line-height: 1.25; }
.reel-cat { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--soft); }
.reels { padding-bottom: 6px; margin-bottom: 20px; }

/* numbered list (tech works) */
.list--num { counter-reset: n; }
.list--num li { position: relative; padding-left: 38px; counter-increment: n; }
.list--num li:has(> button) { padding-left: 0; }
.list--num button { padding-left: 38px; }
.list--num li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 13px;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--soft);
}

/* tech works: filter chips over the groups */
.filters { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 22px; }
.filters button {
  min-height: 44px; padding: 7px 13px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .5);
  font-size: 12.5px; font-weight: 700; color: var(--white);
  transition: background .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.filters button:hover { background: rgba(255, 255, 255, .14); }
.filters button:active { transform: scale(.95); }
.filters button[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: var(--blue); }
.work-group { width: 100%; }
.work-group.is-in { animation: group-in .5s var(--ease); }
@keyframes group-in { from { opacity: 0; transform: translateY(12px); } }
.label--sub { margin-bottom: 4px; font-size: 12px; color: var(--soft); }
.label--sub span { color: var(--soft); font-weight: 600; }
.list button.has-thumb { padding-right: 96px; }
.list-thumb {
  position: absolute; right: 38px; top: 50%; width: 52px; height: 36px; margin-top: -18px;
  border-radius: 9px; object-fit: cover; background: rgba(255, 255, 255, .16);
  box-shadow: 0 8px 14px -8px rgba(0, 50, 90, .6);
  transition: transform .35s var(--ease);
}
.list button:hover .list-thumb { transform: rotate(-4deg) scale(1.06); }

/* speakers gallery: bento tiles, ready to take photos later */
.gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  width: 100%; margin-bottom: 24px;
}
.tile {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  width: 100%; height: 100%; min-height: 112px; text-align: left;
  padding: 14px; border-radius: 22px;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .26);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.gallery li:nth-child(3n + 2) .tile { border-radius: 22px 22px 22px 6px; }
.tile:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .2); }
.tile--wide { grid-column: span 2; }
.tile--wide .tile { min-height: 96px; }
.tile-go {
  position: absolute; bottom: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; font-style: normal;
  background: rgba(255, 255, 255, .2);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.tile:hover .tile-go, .tile:active .tile-go { transform: translateX(2px); background: rgba(255, 255, 255, .35); }
.tile--lead .tile-go { background: var(--blue); color: var(--white); }
.tile-mark { margin-bottom: auto; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.tile-name { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.tile small { padding-right: 34px; font-size: 12px; font-weight: 600; color: var(--soft); } /* clear of the arrow */
.tile--lead { background: var(--white); border-color: var(--white); color: var(--blue-deep); box-shadow: 0 18px 30px -18px var(--shadow-blue); }
.tile--lead .tile-mark { font-size: 30px; color: var(--blue); }
.tile--lead small { color: var(--blue-deep); opacity: .75; }
.tile--lead:hover { background: var(--white); }

/* Book: the cover floats on a ring of light, no card around it */
.book-stage {
  position: relative; display: grid; place-items: center;
  width: calc(100% + var(--pad-x) * 2); margin: 0 calc(var(--pad-x) * -1); height: 286px;
}
.book-stage::before {
  content: ""; position: absolute; width: 236px; height: 236px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); box-shadow: 0 0 0 24px rgba(255, 255, 255, .07);
}
.book-stage img {
  position: relative; width: min(400px, 94%); height: auto; /* nearly full width; 94% leaves room for the tilt */
  filter: drop-shadow(0 24px 22px rgba(0, 50, 90, .45));
  transform: rotate(-4deg); transition: transform .5s var(--ease);
}
.book-stage:hover img { transform: rotate(-1deg) scale(1.03); }
.slide.is-active .book-stage img { animation: book-float 6s ease-in-out 1s infinite; }
@keyframes book-float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
.book-title { margin-top: 6px; font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.book-sub { margin-top: 6px; max-width: 32ch; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--soft); }
.book-spec {
  display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; margin: 16px 0 14px;
  border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .14);
}
.book-spec div { padding: 12px 6px; text-align: center; }
.book-spec div + div { border-left: 1px solid rgba(255, 255, 255, .22); }
.book-spec dt { font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.book-spec dt small { font-size: 12px; font-weight: 800; }
.book-spec dd { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--soft); }
.book-quote {
  margin-bottom: 18px; padding-left: 14px; border-left: 2px solid rgba(255, 255, 255, .6);
  font-family: var(--font-accent); font-style: italic; font-size: 19px; line-height: 1.25;
}
.book-quote cite { display: block; margin-top: 6px; font-family: var(--font); font-style: normal; font-size: 12px; font-weight: 700; color: var(--soft); }

/* Logo: the showreel as a wide moving tile */
.reel-hero {
  position: relative; display: block; width: 100%; height: 178px; margin: 6px 0 26px;
  border-radius: 24px 24px 24px 8px; overflow: hidden; text-align: left;
  background: var(--blue-deep); box-shadow: 0 20px 34px -20px var(--shadow-blue);
  transition: transform .35s var(--ease);
}
.reel-hero:hover { transform: translateY(-3px); }
.reel-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.reel-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 90, 150, .9), transparent 62%); }
.reel-hero-cap { position: absolute; z-index: 1; left: 14px; right: 10px; bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; color: var(--white); }
.reel-hero-cap b { display: block; font-size: 15px; font-weight: 800; }
.reel-hero-cap small { font-size: 12px; font-weight: 600; color: var(--soft); }
.reel-hero-play { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--blue); font-size: 19px; }
.reel-hero-play .i { margin-left: 2px; }

/* Logo: a bento of brands, category above the name, four type treatments */
.logo-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; margin-bottom: 18px; }
.logo-bento button {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  width: 100%; height: 100%; min-height: 78px; padding: 11px 12px; border-radius: 18px; text-align: left;
  background: rgba(255, 255, 255, .16); color: var(--white);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.logo-bento button:hover { transform: translateY(-2px); }
.logo-bento small { padding-right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; opacity: .9; }
.logo-bento b { font-size: 16px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.logo-bento-go { position: absolute; top: 10px; right: 10px; font-size: 13px; font-style: normal; opacity: .8; }
.logo-bento li:nth-child(4n + 1) button { background: var(--white); color: var(--blue); }
.logo-bento li:nth-child(4n + 2) b { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 21px; }
.logo-bento li:nth-child(4n + 3) b { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.logo-bento li:nth-child(4n) button { background: rgba(0, 100, 160, .35); }
.logo-bento li:nth-child(3n + 2) button { border-radius: 18px 18px 18px 6px; }

/* ── ENTRANCE of the active slide ───────── */
.slide :is(.quote, .headline, .dots, .label, .body, .list, .chips, .hscroll, .cta-pill, .cta-stack, .stats, .pills, .link, .book-stage, .book-title, .book-sub, .book-spec, .book-quote, .filters, .note, .gallery, .logo-bento, .reel-hero) {
  opacity: 0; transform: translateX(28px);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.slide.is-active :is(.quote, .headline, .dots, .label, .body, .list, .chips, .hscroll, .cta-pill, .cta-stack, .stats, .pills, .link, .book-stage, .book-title, .book-sub, .book-spec, .book-quote, .filters, .note, .gallery, .logo-bento, .reel-hero) {
  opacity: 1; transform: none;
}
.slide.is-active .quote    { transition-delay: .08s; }
.slide.is-active .headline { transition-delay: .12s; }
.slide.is-active .dots     { transition-delay: .18s; }
.slide.is-active .label    { transition-delay: .22s; }
.slide.is-active :is(.body, .list, .chips, .hscroll, .book-stage, .book-title, .book-sub, .book-spec, .book-quote, .filters, .gallery, .reel-hero) { transition-delay: .26s; }
.slide.is-active .logo-bento { transition-delay: .31s; }
.slide.is-active :is(.stats, .cta-pill, .cta-stack) { transition-delay: .31s; }
.slide.is-active :is(.pills, .link, .note) { transition-delay: .36s; }
.slide.is-active .dots i { animation: blip 1.4s var(--ease) .5s 1 both; }
.slide.is-active .dots i:nth-child(2) { animation-delay: .62s; }
.slide.is-active .dots i:nth-child(3) { animation-delay: .74s; }
@keyframes blip { 0%, 100% { transform: none; } 40% { transform: translateY(-6px); } }

/* list rows, gallery tiles and wordmarks land one after another (--k set in app.js) */
.slide :is(.list li, .gallery li, .logo-bento li) {
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.slide.is-active :is(.list li, .gallery li, .logo-bento li) {
  opacity: 1; transform: none;
  transition-delay: calc(.3s + var(--k, 0) * 45ms);
}
.gallery .tile:active, .logo-bento button:active, .list button:active { transform: scale(.97); }
.slide:not(.is-active) .cta-pill::before { animation-play-state: paused; } /* nothing loops off screen */

/* ── DOCK (stays still) ─────────────────── */
.dock {
  flex: none;
  height: calc(var(--dock-h) + env(safe-area-inset-bottom));
  padding: 0 18px env(safe-area-inset-bottom) 18px;
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
}
.rail { flex: 1; min-width: 0; display: flex; justify-content: space-between; }
.rail button {
  flex: none; min-width: 44px; height: 46px; padding: 0 10px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  color: var(--navy); opacity: .5;
  transition: background .3s var(--ease), opacity .3s, transform .3s var(--ease), color .3s;
}
.rail button:hover { opacity: .85; }
.rail button:active { transform: scale(.92); }
.rail button[aria-current="true"] { background: var(--dock-pill); color: var(--blue); opacity: 1; }
/* only the active menu shows its name */
.dock-label {
  max-width: 0; overflow: hidden; opacity: 0;
  font-size: 13px; font-weight: 800; white-space: nowrap;
  transition: max-width .45s var(--ease), opacity .3s, margin .45s var(--ease);
}
.rail button[aria-current="true"] .dock-label { max-width: 60px; margin-left: 6px; opacity: 1; }
@media (max-width: 359px) { /* five icons + the round button must fit 320px */
  .dock-label { display: none; }
  .rail button { min-width: 40px; padding: 0; }
}

.fab {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-size: 26px;
  box-shadow: 0 10px 20px -8px rgba(0, 160, 229, .7);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.fab:hover { transform: translateY(-2px) rotate(-6deg); }
.fab[aria-current="true"] { box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--blue); }

:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 12px; }
.panel :focus-visible { outline-color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .dock-label { transition: none; }
  :root { --slide-ms: 0ms; --parallax: 0px; }
  .orbit { transition: none; }
  .slide :is(.quote, .headline, .dots, .label, .body, .list, .chips, .hscroll, .cta-pill, .cta-stack, .stats, .pills, .link, .book-stage, .book-title, .book-sub, .book-spec, .book-quote, .filters, .note, .gallery, .logo-bento, .reel-hero) { transition: none; transform: none; opacity: 1; }
  .meter-next, .meter-next .i { transition: none; animation: none; }
  .slide.is-active .dots i { animation: none; }
  .slide :is(.list li, .gallery li, .logo-bento li) { transition: none; transform: none; opacity: 1; }
}

/* ── WIP BANNER: tells visitors the site is not final ── */
.wip {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0; width: 100%;
  height: calc(var(--wip-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--navy); color: rgba(255, 255, 255, .78);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap;
}
.wip span { color: var(--white); font-weight: 800; }
@media (max-width: 559px) {
  .device { margin-top: calc(var(--wip-h) + env(safe-area-inset-top)); height: calc(100svh - var(--wip-h) - env(safe-area-inset-top)); }
}
