/* ==========================================================================
   THRESHOLD STUDIO — ARCHITECT PRESENTATION
   Carries the threshold-studio-website theme: #050505 ground, Montserrat
   uppercase headings on wide tracking, Outfit for everything else, hairline
   white rules, one cyan accent used sparingly.

   SIZING MODEL
   The deck is a fixed 16:9 .stage, letterboxed into whatever screen it is
   thrown at, and declared as a size container. Every dimension inside is in
   cqw / cqh (1cqw = 1% of the stage width), so a laptop screen, a 4K monitor
   and a boardroom projector all get the identical composition rather than a
   responsive reflow. Nothing inside the stage may use px for type or spacing.
   ========================================================================== */

@import url('./fonts.css');

:root {
  --ink:        #050505;
  --white:      #ffffff;
  --t1:         rgba(255, 255, 255, 0.92);
  --t2:         rgba(255, 255, 255, 0.55);
  --t3:         rgba(255, 255, 255, 0.34);
  --line:       rgba(255, 255, 255, 0.12);
  --line-soft:  rgba(255, 255, 255, 0.06);
  --accent:     #00f0ff;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
  color: var(--t1);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body { cursor: default; }
body.is-idle { cursor: none; }

.heading-font {
  font-family: 'Montserrat', system-ui, sans-serif;
  text-transform: uppercase;
}

/* mono is a misnomer inherited from the website — it is Outfit on wide
   tracking, used there for eyebrows and labels. Kept by name so the two
   codebases read the same. */
.mono {
  font-family: 'Outfit', system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   STAGE
   -------------------------------------------------------------------------- */

#stage {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  background: var(--ink);
  overflow: hidden;
  container-type: size;
  container-name: stage;
}

/* Film grain, lifted from the website's .noise. Drawn as a data-URI so the
   deck has no network dependency in the room. */
#grain {
  position: absolute;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   SLIDES
   Every slide is stacked in the same box. Only .is-active is visible, and
   .is-active is also what unlocks the staggered content reveal, so a slide
   replays its build every time it is returned to.
   -------------------------------------------------------------------------- */

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  z-index: 1;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Content column. 6.5cqw matches the 17-21pt left margin the PowerPoint deck
   used against its 720pt canvas. */
.slide-body {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9cqh 6.5cqw;
}

/* --- staggered reveal ---------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(1.6cqh);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.slide.is-active .reveal { opacity: 1; transform: none; }

.slide.is-active .reveal:nth-child(1) { transition-delay: 0.10s; }
.slide.is-active .reveal:nth-child(2) { transition-delay: 0.18s; }
.slide.is-active .reveal:nth-child(3) { transition-delay: 0.26s; }
.slide.is-active .reveal:nth-child(4) { transition-delay: 0.34s; }
.slide.is-active .reveal:nth-child(5) { transition-delay: 0.42s; }
.slide.is-active .reveal:nth-child(6) { transition-delay: 0.50s; }

/* --------------------------------------------------------------------------
   TYPE SCALE
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 1.05cqw;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--t3);
  margin: 0;
}

.slide-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 2.5cqw;
  letter-spacing: 0.2em;
  line-height: 1.25;
  color: var(--white);
  margin: 0;
}

.slide-title .divider { color: var(--t3); font-weight: 300; }

.lede {
  font-size: 1.55cqw;
  font-weight: 300;
  line-height: 1.6;
  color: var(--t2);
  max-width: 42cqw;
  margin: 0;
}

/* --------------------------------------------------------------------------
   VIDEO LAYER
   object-fit: cover so a 1482x840 clip and a 4K clip both fill the stage. The
   scrim is what keeps white type legible over a bright flythrough; cinema mode
   drops it to nothing.
   -------------------------------------------------------------------------- */

.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transform: scale(1.04);
  background: var(--ink);
}

.slide.is-active .slide-video.is-ready { opacity: 1; transform: none; }

.scrim {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}

/* Left-weighted scrim for slides whose copy sits in a left column. */
/* The hold at 0.88 out to 46% is deliberate: the copy column runs to roughly
   48% of the stage, so the scrim has to stay opaque past the last character
   rather than starting to fall off underneath it. */
.scrim.from-left {
  background:
    linear-gradient(90deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.88) 46%, rgba(5,5,5,0.5) 60%, rgba(5,5,5,0.1) 76%, rgba(5,5,5,0.4) 100%),
    linear-gradient(0deg, rgba(5,5,5,0.6) 0%, rgba(5,5,5,0) 45%);
}

/* Bottom-weighted scrim for the case studies, where the flythrough is the
   point and the copy is a caption sitting under it. */
/* Holds near-opaque across the bottom third — the caption block runs from
   roughly 66% to 90% down the stage, and some of these clips are near-white
   point clouds, so the scrim has to clear the whole block before it fades. */
.scrim.from-bottom {
  background:
    linear-gradient(0deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.88) 20%, rgba(5,5,5,0.6) 30%, rgba(5,5,5,0) 62%),
    linear-gradient(180deg, rgba(5,5,5,0.72) 0%, rgba(5,5,5,0) 22%);
}

/* Title slide. The clip opens as a bare point cloud and resolves into the
   splat over five seconds, so it swings from near-black to high-key within one
   loop — a scrim heavy enough for the bright end crushes the opening. Since
   the only thing over it is a large white logo, which holds against almost
   anything, this is tuned light: enough to stop the bright end fighting the
   mark, and no more. */
.scrim.vignette {
  background:
    radial-gradient(70% 62% at 50% 46%, rgba(5,5,5,0.5) 0%, rgba(5,5,5,0.34) 60%, rgba(5,5,5,0.3) 100%),
    radial-gradient(130% 100% at 50% 50%, rgba(5,5,5,0) 30%, rgba(5,5,5,0.72) 100%);
}

#slide-1 .slide-video { filter: brightness(0.88) saturate(0.92); }

/* Cinema mode — the flythrough with nothing on top of it. */
body.cinema .scrim { opacity: 0; }
body.cinema .slide-body { opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease); }
body.cinema #chrome { opacity: 0; pointer-events: none; }
body.cinema #timeline-layer { opacity: 0; }

/* Buffering indicator for the heavier clips. */
.video-loading {
  position: absolute;
  z-index: 15;
  bottom: 6cqh;
  right: 6.5cqw;
  font-size: 0.85cqw;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--t3);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.slide.is-buffering .video-loading { opacity: 1; }

/* --------------------------------------------------------------------------
   SLIDE 1 — TITLE
   -------------------------------------------------------------------------- */

#slide-1 .slide-body { align-items: center; justify-content: center; text-align: center; }

.logo-lockup { width: 32cqw; }
.logo-lockup img { width: 100%; height: auto; display: block; }

/* --------------------------------------------------------------------------
   SLIDE 2 — WHO WE ARE / OUR SERVICES
   -------------------------------------------------------------------------- */

.text-block + .text-block { margin-top: 5.5cqh; }

.text-block h2 {
  font-family: 'Montserrat', system-ui, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.75cqw;
  letter-spacing: 0.22em;
  color: var(--white);
  margin: 0 0 1.6cqh;
}

/* --------------------------------------------------------------------------
   SLIDE 3 — OUTPUTS AND DELIVERABLES
   -------------------------------------------------------------------------- */

.deliverables {
  list-style: none;
  margin: 4cqh 0 0;
  padding: 0;
  max-width: 46cqw;
}

.deliverables li {
  border-top: 1px solid var(--line);
  padding: 2.1cqh 0;
}

.deliverables li:last-child { border-bottom: 1px solid var(--line); }

.deliverables dt {
  font-family: 'Montserrat', system-ui, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.15cqw;
  letter-spacing: 0.18em;
  color: var(--white);
  margin: 0 0 0.7cqh;
}

.deliverables dd {
  margin: 0;
  font-size: 1.05cqw;
  font-weight: 300;
  line-height: 1.55;
  color: var(--t2);
}

.deliverables dd + dd { margin-top: 0.35cqh; }

/* --------------------------------------------------------------------------
   PHASE SLIDES (4-7) + PERSISTENT TIMELINE
   The timeline is not inside any one slide. It lives in its own layer above
   the slide stack so that moving between phases animates the marker along a
   single continuous rail instead of cross-fading four near-identical pictures
   — the thing the PowerPoint version could not do.

   Node positions mirror the original deck's tick marks: on a 720pt canvas the
   rail ran x=56 to 657 with ticks at 56 / 282 / 548 / 656, i.e. the uneven
   spacing of real project stages, not four equal steps.
   -------------------------------------------------------------------------- */

#timeline-layer {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

#timeline-layer.is-on { opacity: 1; visibility: visible; }

.timeline {
  position: absolute;
  left: 7.8cqw;
  right: 8.7cqw;
  top: 38cqh;
}

.timeline-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
}

/* Fill runs from the start of the rail to the active node. */
.timeline-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), var(--white));
  transition: width 0.9s var(--ease);
}

.timeline-node {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.node-tick {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 2.1cqh;
  background: var(--t3);
  transition: background 0.6s var(--ease), height 0.6s var(--ease);
}

.node-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.62cqw;
  height: 0.62cqw;
  margin-left: -0.31cqw;
  margin-top: -0.31cqw;
  border-radius: 50%;
  background: var(--t3);
  transition: transform 0.7s var(--ease), background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.node-num {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.9cqh;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.15cqw;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--t3);
  transition: color 0.6s var(--ease);
}

.node-label {
  position: absolute;
  top: 3.6cqh;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.95cqw;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t3);
  opacity: 0;
  transition: opacity 0.6s var(--ease), color 0.6s var(--ease);
}

/* The first and last labels are pulled back inside the stage so a long phase
   name at either extreme does not hang off the edge. */
.timeline-node[data-align="start"] .node-label { left: 0; transform: none; }
.timeline-node[data-align="end"]   .node-label { left: auto; right: 0; transform: none; }

.timeline-node.is-active .node-dot {
  background: var(--white);
  transform: scale(1.9);
  box-shadow: 0 0 0 0.25cqw rgba(255,255,255,0.12), 0 0 2cqw rgba(0,240,255,0.55);
}
.timeline-node.is-active .node-num   { color: var(--white); }
.timeline-node.is-active .node-tick  { background: var(--white); height: 2.8cqh; }
.timeline-node.is-active .node-label { opacity: 1; color: var(--white); }

.timeline-node.is-past .node-dot  { background: rgba(255,255,255,0.7); }
.timeline-node.is-past .node-num  { color: var(--t2); }
.timeline-node.is-past .node-tick { background: var(--t2); }

/* --- phase copy ---------------------------------------------------------- */

/* Running header at the top, copy at the bottom, the shared rail between them
   — the arrangement the source deck used, and the reason the rail can stay
   put while the copy changes underneath it. */
.phase-body {
  justify-content: flex-start;
  padding-top: 8cqh;
  padding-bottom: 18cqh;
}

.phase-copy { margin-top: auto; }

/* On these four slides the title is a running header repeated on every one of
   them, so it steps back and lets the phase statement below be the loudest
   thing on the slide. */
.phase-body .slide-title {
  font-size: 1.5cqw;
  letter-spacing: 0.26em;
  color: var(--t2);
}
.phase-body .slide-title .divider { color: rgba(255, 255, 255, 0.22); }

.phase-headline {
  font-size: 1.75cqw;
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
  max-width: 62cqw;
  margin: 0;
}

.phase-headline .idx {
  color: var(--t3);
  font-weight: 300;
  margin-right: 0.6cqw;
}

.phase-points {
  list-style: none;
  margin: 2.8cqh 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9cqh 2.6cqw;
  max-width: 68cqw;
}

.phase-points li {
  position: relative;
  padding-left: 1.6cqw;
  font-size: 1.15cqw;
  font-weight: 300;
  color: var(--t2);
}

.phase-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.8cqw;
  height: 1px;
  background: var(--t3);
}

/* A single long sentence reads better as a paragraph than as a bullet. */
.phase-points.as-prose { display: block; max-width: 54cqw; }
.phase-points.as-prose li { padding-left: 0; font-size: 1.15cqw; line-height: 1.6; }
.phase-points.as-prose li::before { display: none; }

/* --------------------------------------------------------------------------
   CASE STUDIES (8-12)
   -------------------------------------------------------------------------- */

/* The flythrough is the slide; the copy is a caption sitting under it. */
.case-body { justify-content: flex-end; padding-bottom: 11cqh; }
.case-body .eyebrow { margin-bottom: 1.8cqh; color: var(--t2); }

.case-index {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 2.5cqw;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}

.case-index .num { color: var(--t3); font-weight: 300; }

.case-tags {
  list-style: none;
  margin: 1.8cqh 0 0;
  padding: 0;
  display: flex;
  gap: 0.7cqw;
  flex-wrap: wrap;
}

.case-tags li {
  border: 1px solid var(--line);
  padding: 0.7cqh 1.1cqw;
  font-size: 0.85cqw;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t2);
  backdrop-filter: blur(6px);
}

.case-key {
  margin: 1.5cqh 0 0;
  font-size: 0.8cqw;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--t3);
}

.cinema-hint {
  margin-top: 2cqh;
  font-size: 0.8cqw;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 0.6cqw;
}

.cinema-hint kbd {
  font-family: 'Outfit', system-ui, sans-serif;
  border: 1px solid var(--line);
  padding: 0.35cqh 0.6cqw;
  font-size: 0.75cqw;
  letter-spacing: 0.12em;
  color: var(--t2);
}

/* --------------------------------------------------------------------------
   CHROME — persistent presenter furniture
   -------------------------------------------------------------------------- */

#chrome {
  position: absolute;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

#chrome > * { pointer-events: auto; }

/* Top right, not top left: every slide in the deck is left-aligned, and the
   phase slides put a running header in that corner. */
.chrome-mark {
  position: absolute;
  top: 4.4cqh;
  right: 6.5cqw;
  width: 8.5cqw;
  opacity: 0.45;
  transition: opacity 0.5s ease;
}
.chrome-mark img { width: 100%; height: auto; display: block; }

/* The title slide has the full lockup in the middle of the stage; the corner
   mark would be a second logo on the same screen. */
body.on-title .chrome-mark,
body.no-mark .chrome-mark { opacity: 0; }

.chrome-section {
  position: absolute;
  bottom: 4.8cqh;
  left: 6.5cqw;
  font-size: 0.82cqw;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--t3);
  transition: opacity 0.4s ease;
}

.chrome-right {
  position: absolute;
  bottom: 4.3cqh;
  right: 6.5cqw;
  display: flex;
  align-items: center;
  gap: 1.4cqw;
}

.counter {
  font-size: 0.82cqw;
  letter-spacing: 0.24em;
  color: var(--t3);
  font-variant-numeric: tabular-nums;
}
.counter .now { color: var(--white); }

.nav-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--t2);
  width: 2.6cqw;
  height: 2.6cqw;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  padding: 0;
}
.nav-btn:hover:not(:disabled) { border-color: rgba(255,255,255,0.45); color: var(--white); }
.nav-btn:disabled { opacity: 0.22; cursor: default; }
.nav-btn svg { width: 0.9cqw; height: 0.9cqw; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* Progress rail along the very bottom edge of the stage. */
#progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,0.2), var(--accent));
  transition: width 0.7s var(--ease);
  z-index: 70;
}

/* --------------------------------------------------------------------------
   OVERVIEW GRID
   -------------------------------------------------------------------------- */

#overview {
  position: absolute;
  inset: 0;
  z-index: 80;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(18px);
  padding: 9cqh 6.5cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4cqh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

#overview.is-on { opacity: 1; visibility: visible; }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2cqh 1.2cqw;
}

.ov-card {
  appearance: none;
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--t2);
  padding: 1.8cqh 0 2.4cqh;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
  min-height: 12cqh;
  display: flex;
  flex-direction: column;
  gap: 1cqh;
}
.ov-card:hover { border-top-color: var(--white); color: var(--white); transform: translateY(-0.6cqh); }
.ov-card.is-current { border-top-color: var(--accent); color: var(--white); }

.ov-num {
  font-size: 0.75cqw;
  letter-spacing: 0.24em;
  color: var(--t3);
  font-variant-numeric: tabular-nums;
}
.ov-card.is-current .ov-num { color: var(--accent); }

.ov-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.9cqw;
  letter-spacing: 0.12em;
  line-height: 1.45;
}

.ov-has-video {
  margin-top: auto;
  font-size: 0.68cqw;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--t3);
}

/* --------------------------------------------------------------------------
   HELP OVERLAY
   -------------------------------------------------------------------------- */

#help {
  position: absolute;
  inset: 0;
  z-index: 85;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
#help.is-on { opacity: 1; visibility: visible; }

.help-panel { width: 48cqw; }

.help-panel h2 {
  font-family: 'Montserrat', system-ui, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.4cqw;
  letter-spacing: 0.24em;
  color: var(--white);
  margin: 0 0 3cqh;
}

.help-row {
  display: grid;
  grid-template-columns: 13cqw 1fr;
  align-items: center;
  gap: 1.5cqw;
  padding: 1.4cqh 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.98cqw;
  font-weight: 300;
  color: var(--t2);
}

.help-keys { display: flex; gap: 0.5cqw; }

.help-keys kbd {
  font-family: 'Outfit', system-ui, sans-serif;
  border: 1px solid var(--line);
  color: var(--t1);
  padding: 0.5cqh 0.7cqw;
  font-size: 0.82cqw;
  letter-spacing: 0.1em;
  min-width: 2.4cqw;
  text-align: center;
}

/* --------------------------------------------------------------------------
   TOAST — transient confirmation for cinema / fullscreen toggles
   -------------------------------------------------------------------------- */

#toast {
  position: absolute;
  z-index: 95;
  top: 4.5cqh;
  left: 50%;
  transform: translate(-50%, -1.5cqh);
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(10px);
  padding: 1cqh 1.6cqw;
  font-size: 0.8cqw;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--t2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}
#toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Respect the OS setting, but never at the cost of hiding content: the reveal
   end-state is opacity 1, so killing the transitions still leaves every slide
   fully readable.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
