/* CASE · RED BULL, "Series release" (case page styles for
   work/red-bull-marathon/)
   ------------------------------------------------------------------
   The documentary series presented like a series launch, in print and
   on screen, on ink. Set in the print language of the new homepage,
   About and the other case pages (Bricolage 800 at 76-80% width, mono
   labels with a 12px cobalt square and a hairline to the edge, 0-4px
   corners, printed objects, fields meeting on straight edges).

     key art  ink     the "Project Live" title card pulled as a huge
                      print; the series film cross-fades in over it and
                      hands back to the card after each run. The title is
                      set to the measure across the print's bottom edge:
                      ink where it sits on the stock, paper on the night
     02 series ink    the episode strip: five numbered prints, one still
                      from each episode, one finish line (three across,
                      then 4 and 5 larger). The grade warms from a cold
                      cobalt print (1) to full colour (5) along the true
                      arc, January to race day
     03 role  paper   three big typeset statements in a zigzag, then the
                      location note with a loop from the series in a print
     04 nums  ink|paper  a press-kit spread: two facing pages meeting on
                      the fold, 350K+ and 2.3M+ each set to its page
     05 frames ink    the contact sheet: one frame large on the sheet;
                      choose another and it enlarges in place
     06 book  cobalt  the ask + the related offer as a printed rate card
                      (the homepage's own Cinematic Productions fares)
     outro    ink     back / related offer, the next case, the foot

   Progressive enhancement: the default CSS is the finished page (the
   film plays in the key art). Entrance states live only under
   html.rb3--armed, added pre-paint when motion is allowed and dropped
   if the JS never runs. Reduced motion never animates and shows the
   title card. No #bgBlob, no .reveal, no timecode, no slates, no HUD,
   no glows. Every class is prefixed rb3; the page wears body.rb3.
   ------------------------------------------------------------------ */

body.rb3 {
  --p: var(--paper, #f0ece3);
  --i: var(--ink, #14110c);
  --c: var(--cobalt, #2b34ff);
  --cl: var(--cobalt-light, #7a83ff);
  --soft: var(--ink-soft, #3a342b);
  --mut: var(--muted, #6a6358);             /* 5.3:1 on paper */
  --mut-d: #a39d91;                          /* 7.4:1 on ink */
  --on-ink: rgba(240, 236, 227, 0.78);
  --stock: #fbf8f2;                          /* print / card stock */
  --night: #0b0a08;                          /* under a print before it loads */
  --rule: rgba(20, 17, 12, 0.18);
  --rule-d: rgba(240, 236, 227, 0.18);
  --rule-c: rgba(240, 236, 227, 0.45);
  --e: var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
  --snap: cubic-bezier(0.3, 1.45, 0.45, 1);
  --draw: cubic-bezier(0.65, 0, 0.2, 1);
  --lift:
    drop-shadow(0 1px 1px rgba(20, 17, 12, 0.2))
    drop-shadow(0 18px 24px rgba(20, 17, 12, 0.18));
  --lift-c:
    drop-shadow(0 2px 2px rgba(6, 8, 60, 0.28))
    drop-shadow(0 20px 28px rgba(6, 8, 60, 0.34));
  --notch:
    radial-gradient(circle at 0 50%, #0000 6px, #000 6.5px) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, #0000 6px, #000 6.5px) 100% 0 / 51% 100% no-repeat;
  --navh: 60px;
  --edge: max(var(--gutter, 24px), calc((100vw - var(--maxw, 1320px)) / 2 + var(--gutter, 24px)));
  background: var(--i);
  color: var(--p);
}

/* ---------- page-level overrides (this page only) ---------- */
body.rb3 .timecode,
body.rb3 .scene-slate,
body.rb3 .wipe-stamp,                       /* no "CUT AT" timecode over the wipe */
body.rb3 .vf__rec,
body.rb3 .vf__tc,                           /* the cursor stays a plain dot: no REC, no timecode */
body.rb3 .bg-blob { display: none !important; }
/* the homepage card morphs into the key-art print (and back): the case
   hero carries the view-transition name statically, as .project-media does */
body.rb3 #caseHero { view-transition-name: case-hero; }
/* arriving here, the morph keeps print corners (styles.css rounds it 18px) */
::view-transition-old(case-hero),
::view-transition-new(case-hero) { border-radius: 2px; }
body.rb3 ::selection { background: var(--c); color: var(--p); }
body.rb3 :focus-visible { outline: 2px solid var(--cl); outline-offset: 3px; border-radius: 0; }
body.rb3 .rb3-sec--paper :focus-visible,
body.rb3 .rb3-sheet :focus-visible,
body.rb3 .rb3-page--r :focus-visible { outline-color: var(--c); }
body.rb3 .rb3-cta :focus-visible { outline-color: var(--p); }

.rb3-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- NAV: one solid ink bar, no blur, no pill tray ---------- */
body.rb3 #nav,
body.rb3 #nav.is-scrolled {
  background: var(--i);
  color: var(--p);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(240, 236, 227, 0.14);
  padding-top: 12px;
  padding-bottom: 12px;
}
body.rb3 #nav .nav__name { color: inherit; }
body.rb3 #nav .nav__name sup { color: var(--cl); }
body.rb3 #nav .nav__lang {
  padding: 3px 6px 2px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: inherit;
  opacity: 0.72;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}
body.rb3 #nav .nav__lang:hover,
body.rb3 #nav .nav__lang:focus-visible { opacity: 1; color: inherit; border-color: currentColor; }
body.rb3 #nav .nav__menu {
  gap: clamp(16px, 2.2vw, 30px);
  padding: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
body.rb3 #nav .nav__menu .pill--ghost {
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}
body.rb3 #nav .nav__menu .pill--ghost::before {
  inset: auto 0 4px 0;
  height: 1px;
  border-radius: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--e);
}
body.rb3 #nav .nav__menu .pill--ghost:hover::before,
body.rb3 #nav .nav__menu .pill--ghost:focus-visible::before { transform: scaleX(1); }
/* GET IN TOUCH: a die-cut cobalt ticket (fill on ::before so focus rings are never masked) */
body.rb3 #nav .nav__contact {
  position: relative;
  isolation: isolate;
  padding: 0.9em 1.25em;
  border: 0;
  border-radius: 3px;
  background: none;
  box-shadow: none;
  color: var(--p);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
body.rb3 #nav .nav__contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 3px;
  background: var(--c);
  -webkit-mask: var(--notch);
          mask: var(--notch);
  transition: background-color 0.25s var(--e), transform 0.4s var(--snap);
}
body.rb3 #nav .nav__contact:hover { background: none; box-shadow: none; transform: none; color: var(--i); }
body.rb3 #nav .nav__contact:hover::before { background: var(--p); transform: scale(1.03); }
@media (max-width: 768px) {
  body.rb3 { --navh: 68px; }
}
@media (max-width: 620px) {
  body.rb3 #nav .nav__menu { gap: 12px; }
  body.rb3 #nav .nav__menu .pill--ghost { font-size: 0.6rem; letter-spacing: 0.12em; padding: 8px 0; }
  body.rb3 #nav .nav__contact { padding: 0.85em 0.95em; font-size: 0.58rem; letter-spacing: 0.1em; }
}

/* ---------- shared pieces ---------- */
.rb3-main { display: block; }
.rb3-wrap {
  position: relative;
  z-index: 1;
  max-width: var(--maxw, 1320px);
  margin: 0 auto;
  padding: 0 var(--gutter, 24px);
}
.rb3-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--c);
}
.rb3-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-ink);
}
.rb3-label::after {
  content: "";
  order: 1;
  flex: 1 1 auto;
  min-width: 24px;
  height: 1px;
  background: var(--rule-d);
}
.rb3-label__end { order: 2; }
.rb3-h2 {
  margin: clamp(18px, 2.2vw, 30px) 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(2.75rem, 7vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.rb3-hi { color: var(--cl); }

.rb3-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: clamp(80px, 9vw, 136px) 0;
}
.rb3-sec--paper { background: var(--p); color: var(--i); }
.rb3-sec--paper .rb3-label { color: var(--i); }
.rb3-sec--paper .rb3-label::after { background: var(--rule); }
.rb3-sec--paper .rb3-hi { color: var(--c); }

/* film grain on the cobalt field (the About / Gap tile) */
.rb3-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-0.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.11;
  mix-blend-mode: hard-light;
}

/* ================================================================
   KEY ART: the title card as a print, the film inside it, the title
   laid across the print's bottom edge
   ================================================================ */
.rb3-hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  background: var(--i);
  padding: calc(var(--navh) + clamp(18px, 2.2vw, 32px)) 0 clamp(36px, 4.4vw, 64px);
}
/* the measure is a size container: the title, the print's title margin
   and the print height are all set in cqw of it */
.rb3-hero__in {
  container-type: inline-size;
  --k: 3.81;                                 /* "PROJECT LIVE" width in em (measured) */
  --ovr: 0.42;                               /* how far the title climbs onto the print, in em */
  --kb: clamp(7px, 0.8vw, 12px);             /* the print's stock border */
}
.rb3-hero__label { margin-bottom: clamp(16px, 1.8vw, 24px); }
.rb3-hero__label .rb3-label__end { color: var(--p); }

.rb3-key {
  position: relative;
  z-index: 1;
  padding: var(--kb) var(--kb) calc(var(--ovr) * 100cqw / var(--k));
  border-radius: 2px;
  background: var(--stock);
}
.rb3-key__pic {
  position: relative;
  display: block;
  overflow: hidden;
  /* fill what the viewport leaves, never thinner than 3.3:1 or taller than 16:9 */
  height: clamp(
    calc((100cqw - 2 * var(--kb)) / 3.3),
    calc(100svh - var(--navh) - 300px - 0.84 * 100cqw / var(--k)),
    calc((100cqw - 2 * var(--kb)) / 1.78)
  );
  background: var(--night);
}
.rb3-key__card,
.rb3-key__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.rb3-key__card { object-position: 50% 44%; transform-origin: 48% 46%; }
.rb3-key__video { object-position: 50% 50%; }

.rb3-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-feature-settings: "kern" 1;
}
.rb3-title__main {
  display: block;
  margin-top: calc(var(--ovr) * -1em);
  font-weight: 800;
  font-stretch: 76%;
  font-size: calc(100cqw / var(--k));
  line-height: 0.84;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--p);
}
/* two inks, one straight edge: ink on the print's stock, paper below it */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .rb3-title__main {
    background: linear-gradient(to bottom, var(--i) 0 calc(var(--ovr) * 1em), var(--p) calc(var(--ovr) * 1em) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .rb3-title__main::selection { -webkit-text-fill-color: var(--p); }
}
.rb3-title__sub {
  display: block;
  margin-top: clamp(14px, 1.5vw, 22px);
  font-weight: 700;
  font-stretch: 80%;
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: var(--p);
}
.rb3-title__dash { color: var(--cl); }

.rb3-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 40px;
  margin-top: clamp(16px, 1.8vw, 26px);
  padding-top: 16px;
  border-top: 1px solid var(--rule-d);
}
.rb3-premise {
  margin: 0;
  max-width: 52ch;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.45;
  color: var(--on-ink);
}
.rb3-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-ink);
}
.rb3-facts li { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.rb3-facts b {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: 1.5rem;
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--p);
}

/* ================================================================
   02 THE SERIES: the episode strip
   ================================================================ */
.rb3-eps {
  background: var(--i);
  --sg: clamp(10px, 1.6vw, 22px);
  padding-top: clamp(72px, 8vw, 120px);
}
.rb3-eps__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(28px, 4vw, 72px);
  row-gap: 22px;
  align-items: end;
}
.rb3-eps__lead {
  margin: 0;
  max-width: 44ch;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.5;
  color: var(--on-ink);
}
/* three across, then episode 4 and the finale half the width each: the
   prints grow as the series runs toward the finish line, and read 1 to 5 */
.rb3-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(30px, 3.4vw, 52px) var(--sg);
  align-items: end;
  margin: clamp(44px, 5.4vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}
.rb3-ep { position: relative; min-width: 0; grid-column: span 2; }
.rb3-ep:nth-child(n+4) { grid-column: span 3; }
.rb3-ep__no {
  position: relative;
  z-index: 2;
  margin: 0 0 -0.16em -0.04em;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(3.6rem, 9.2vw, 9.4rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--p);
  pointer-events: none;
}
.rb3-ep--final .rb3-ep__no { color: var(--cl); }
.rb3-ep__fig { margin: 0; }
.rb3-ep__print {
  position: relative;
  display: block;
  padding: clamp(6px, 0.6vw, 9px);
  border-radius: 2px;
  background: var(--stock);
  transition: transform 0.5s var(--snap);
}
.rb3-ep__print img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--night);
  filter: grayscale(var(--cold, 0)) contrast(calc(1 + var(--cold, 0) * 0.12));
  transition: filter 0.7s var(--e);
}
/* the cold print: the shadows go cobalt, the highlights stay paper */
.rb3-ep__print::after {
  content: "";
  position: absolute;
  inset: clamp(6px, 0.6vw, 9px);
  background: var(--c);
  mix-blend-mode: screen;
  opacity: calc(var(--cold, 0) * 0.92);
  pointer-events: none;
  transition: opacity 0.7s var(--e);
}
/* the label under each print: "Episode 1"; January and race day are
   spoken here and drawn on the arc below (shown here on a phone) */
.rb3-ep__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p);
}
.rb3-ep--final .rb3-ep__k { color: var(--cl); }
.rb3-ep__when { color: var(--mut-d); }
@media (min-width: 561px) {
  .rb3-ep__when {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}
@media (hover: hover) {
  .rb3-ep:hover .rb3-ep__print { transform: translateY(-8px); }
  .rb3-ep:hover .rb3-ep__print img { filter: none; }
  .rb3-ep:hover .rb3-ep__print::after { opacity: 0; }
}

/* the arc: one hairline from January to race day */
.rb3-arc {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(18px, 2vw, 26px) 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p);
}
.rb3-arc__line {
  position: relative;
  flex: 1 1 auto;
  min-width: 32px;
  height: 1px;
  background: linear-gradient(to right, var(--cl), var(--p));
}
.rb3-arc__line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border: 4.5px solid transparent;
  border-right: 0;
  border-left: 8px solid var(--p);
}
.rb3-arc__a { color: var(--cl); white-space: nowrap; }
.rb3-arc__b { white-space: nowrap; }
.rb3-strip__note {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mut-d);
}

/* ================================================================
   03 MY ROLE: three statements in a zigzag, the location note
   ================================================================ */
.rb3-says {
  margin: clamp(26px, 3vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}
.rb3-say {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: clamp(14px, 1.6vw, 22px);
  align-items: end;
  padding: clamp(28px, 3.4vw, 52px) 0;
  border-bottom: 1px solid var(--rule);
}
.rb3-say:last-child { border-bottom: 0; }
.rb3-say__k {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--i);
}
.rb3-say__no {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  padding: 1px 6px 0;
  background: var(--i);
  color: var(--p);
  letter-spacing: 0.1em;
}
.rb3-say__t {
  grid-row: 2;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(2.6rem, 6.6vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.rb3-say__d {
  grid-row: 2;
  margin: 0 0 0.4em;
  max-width: 34ch;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.5;
  color: var(--soft);
}
/* the zigzag */
.rb3-say--1 .rb3-say__k,
.rb3-say--1 .rb3-say__t { grid-column: 1 / span 8; }
.rb3-say--1 .rb3-say__d { grid-column: 9 / -1; }
.rb3-say--2 .rb3-say__k,
.rb3-say--2 .rb3-say__t { grid-column: 5 / -1; }
.rb3-say--2 .rb3-say__d { grid-column: 1 / span 4; }
.rb3-say--3 .rb3-say__k,
.rb3-say--3 .rb3-say__t { grid-column: 3 / span 7; }
.rb3-say--3 .rb3-say__d { grid-column: 10 / -1; }

.rb3-loc {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  column-gap: clamp(28px, 4vw, 72px);
  row-gap: 32px;
  align-items: center;
  margin-top: clamp(40px, 5vw, 80px);
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 2px solid var(--i);
}
.rb3-loc__print {
  margin: 0;
  padding: clamp(8px, 0.8vw, 12px) clamp(8px, 0.8vw, 12px) 0;
  border-radius: 2px;
  background: var(--stock);
  transform: rotate(-1.4deg);
  filter: var(--lift);
}
.rb3-loc__pic { display: block; overflow: hidden; background: var(--night); }
.rb3-loc__pic video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rb3-loc__print figcaption {
  padding: 10px 2px 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mut);
}
.rb3-loc__k {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.rb3-loc__t {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ================================================================
   04 THE NUMBERS: a press-kit spread, two facing pages
   ================================================================ */
.rb3-nums {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rb3-page {
  position: relative;
  container-type: inline-size;
  min-width: 0;
  padding: clamp(64px, 7.4vw, 116px) clamp(24px, 3.6vw, 60px) clamp(28px, 3vw, 44px) var(--edge);
}
.rb3-page--l { background: var(--i); color: var(--p); }
.rb3-page--r {
  padding-left: clamp(24px, 3.6vw, 60px);
  padding-right: var(--edge);
  background: var(--p);
  color: var(--i);
  /* the fold: the page curves into the gutter */
  box-shadow: inset 28px 0 32px -28px rgba(20, 17, 12, 0.34);
}
.rb3-page--r .rb3-label { color: var(--i); }
.rb3-page--r .rb3-label::after { background: var(--rule); }
.rb3-label--bare { justify-content: flex-end; }
.rb3-label--bare::after { order: -1; }
.rb3-page__in {
  display: flex;
  flex-direction: column;
  height: 100%;
  --kn: 1.78;                                 /* the wider figure ("350K+", 1.754em) + a hair */
}
.rb3-fig {
  display: flex;
  flex-direction: column;
  margin: clamp(36px, 4.4vw, 72px) 0 0;
}
.rb3-fig__n {
  display: block;
  overflow: hidden;
  overflow: clip;
  padding-top: 0.04em;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: calc(100cqw / var(--kn));
  line-height: 0.8;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.rb3-fig__n > span { display: inline-block; }
.rb3-fig__n em {                            /* the plus, set small and high like a poster's */
  font-style: normal;
  font-size: 0.5em;
  vertical-align: 0.74em;
  margin-left: 0.04em;
  color: var(--cl);
}
.rb3-page--r .rb3-fig__n em { color: var(--c); }
.rb3-fig__k {
  display: block;
  margin-top: clamp(14px, 1.6vw, 24px);
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 80%;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.rb3-page__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;                     /* both notes on one baseline under the rule */
  justify-content: space-between;
  gap: 8px 20px;
  margin: auto 0 0;
  padding-top: clamp(44px, 5vw, 80px);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mut-d);
}
.rb3-page__foot span:first-child { padding-top: 12px; border-top: 1px solid currentColor; }
.rb3-page--r .rb3-page__foot { color: var(--mut); }

/* ================================================================
   05 FRAMES: the contact sheet
   ================================================================ */
.rb3-frames { background: var(--i); }
.rb3-frames__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
}
.rb3-frames__hint {
  margin: 0 0 0.5em;
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.45;
  color: var(--on-ink);
}
.rb3-sheet {
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(12px, 1.5vw, 22px);
  border-radius: 2px;
  background: var(--stock);
  color: var(--i);
}
.rb3-sheet__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 clamp(10px, 1.2vw, 16px);
  padding-bottom: clamp(10px, 1.1vw, 14px);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}
.rb3-sheet__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 0.9vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.rb3-cell { position: relative; min-width: 0; }
.rb3-cell.is-big { grid-column: 1 / -1; order: -1; }
.rb3-sheet.is-vt .rb3-cell { view-transition-name: var(--vt); }
.rb3-cell__open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}
.rb3-cell.is-big .rb3-cell__open { cursor: default; }
.rb3-cell__pic {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--night);
}
.rb3-cell__pic img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--e), opacity 0.3s var(--e);
}
.rb3-cell__pic::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 var(--c);
  transition: box-shadow 0.25s var(--e);
  pointer-events: none;
}
.rb3-cell__no {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 5px 8px 0 0;
  background: var(--stock);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--i);
}
.rb3-cell.is-big .rb3-cell__no {
  padding: 8px 12px 0 0;
  font-size: 0.72rem;
}
.rb3-cell.is-big .rb3-cell__no::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: var(--c);
  vertical-align: -1px;
}
@media (hover: hover) {
  .rb3-cell:not(.is-big) .rb3-cell__open:hover .rb3-cell__pic img { transform: scale(1.05); }
  .rb3-cell:not(.is-big) .rb3-cell__open:hover .rb3-cell__pic::after { box-shadow: inset 0 0 0 3px var(--c); }
}
.rb3-cell:not(.is-big) .rb3-cell__open:focus-visible .rb3-cell__pic::after { box-shadow: inset 0 0 0 3px var(--c); }
.rb3-sheet__cap {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: clamp(12px, 1.3vw, 18px) 0 0;
  padding-top: clamp(10px, 1.1vw, 14px);
  border-top: 1px solid var(--rule);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.35;
}
.rb3-sheet__cap b {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--c);
}
/* the in-place enlarge (same-document view transition) */
::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }

/* ================================================================
   06 BOOKING (cobalt) + the rate card
   ================================================================ */
.rb3-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background: var(--c);
  color: var(--p);
  padding: clamp(80px, 9vw, 136px) 0 clamp(88px, 9vw, 140px);
}
.rb3-cta .rb3-label { color: var(--p); }
.rb3-cta .rb3-mark { background: var(--i); }
.rb3-cta .rb3-label::after { background: var(--rule-c); }
.rb3-cta ::selection { background: var(--p); color: var(--i); }
.rb3-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(28px, 5vw, 96px);
  row-gap: 48px;
  align-items: end;
  margin-top: clamp(18px, 2.2vw, 30px);
}
.rb3-cta__title {
  margin: 0;
  max-width: 9em;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(3rem, 8vw, 7.8rem);
  line-height: 0.85;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.rb3-cta__copy {
  margin: clamp(24px, 3vw, 40px) 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--p);
  max-width: 44ch;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.5;
}
.rb3-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin: clamp(24px, 2.6vw, 36px) 0 0;
}
.rb3-cta__alt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  color: var(--p);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.4s var(--e);
}
.rb3-cta__alt:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--p); }

/* the die-cut ticket: ink stock on the cobalt field, a perforated stub */
.rb3-ticket {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: stretch;
  min-height: 60px;
  border-radius: 3px;
  color: var(--p);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s var(--e);
}
.rb3-ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 3px;
  background: var(--i);
  -webkit-mask: var(--notch);
          mask: var(--notch);
  transition: background-color 0.25s var(--e), transform 0.4s var(--snap);
}
.rb3-ticket__t { display: flex; align-items: center; padding: 0 22px 0 26px; }
.rb3-ticket__stub {
  display: flex;
  align-items: center;
  padding: 0 20px 0 18px;
  border-left: 2px dashed rgba(240, 236, 227, 0.4);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0;
  transition: transform 0.35s var(--e), border-color 0.25s var(--e);
}
.rb3-ticket:hover { color: var(--i); }
.rb3-ticket:hover::before { background: var(--p); transform: scale(1.03); }
.rb3-ticket:hover .rb3-ticket__stub { transform: translateX(4px); border-left-color: rgba(20, 17, 12, 0.35); }
.rb3-ticket:focus-visible { outline: 2px solid var(--p) !important; outline-offset: 5px; }

/* the related offer as a printed rate card */
.rb3-card {
  position: relative;
  display: block;
  padding: clamp(24px, 2.6vw, 36px) clamp(22px, 2.4vw, 34px) clamp(22px, 2.4vw, 30px);
  border-radius: 2px;
  background: var(--stock);
  color: var(--i);
  transform: rotate(1.3deg);
  filter: var(--lift-c);
  transition: transform 0.55s var(--snap);
}
.rb3-card::before {                         /* an ink corner block, printed flush */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: var(--i);
}
.rb3-card__k {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}
.rb3-card__k i { width: 10px; height: 10px; background: var(--i); }
.rb3-card__t {
  display: block;
  margin-top: 14px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
  line-height: 0.88;
  letter-spacing: -0.032em;
}
.rb3-card__rows { display: block; margin-top: 24px; border-top: 2px solid var(--i); }
.rb3-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rb3-card__row b {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  letter-spacing: -0.015em;
  text-transform: none;
  white-space: nowrap;
  color: var(--c);
}
.rb3-card__row b.rb3-card__scoped {         /* words, not a figure */
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--i);
}
.rb3-card__go {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}
@media (hover: hover) {
  .rb3-card:hover { transform: rotate(0deg) translateY(-6px); }
}
.rb3-card:focus-visible { outline-offset: 6px; }

/* ================================================================
   OUTRO (ink): back / related offer, the next case, the foot
   ================================================================ */
.rb3-outro {
  position: relative;
  background: var(--i);
  color: var(--p);
  padding-top: clamp(28px, 3vw, 44px);
}
.rb3-footnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule-d);
}
.rb3-footnav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink);
  transition: color 0.2s var(--e);
}
.rb3-footnav a:hover { color: var(--cl); }

/* the shared .next-project (main.js loads the music loop on hover),
   re-set as a ruled row: title, a photo print, the arrow stub */
body.rb3 .rb3-next {
  display: block;
  place-items: normal;
  min-height: 0;
  padding: 0;
  text-align: left;
  background: var(--i);
}
body.rb3 .rb3-next .next-project__eyebrow::after { content: none; }
body.rb3 .rb3-next .next-project__media { transition: opacity 0.6s var(--e); }
body.rb3 .rb3-next:hover .next-project__media,
body.rb3 .rb3-next:focus-visible .next-project__media { opacity: 0.28; }
body.rb3 .rb3-next .next-project__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 28vw, 400px) auto;
  align-items: center;
  column-gap: clamp(24px, 3.4vw, 56px);
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
body.rb3 .rb3-next .next-project__inner::after {
  content: "";
  position: absolute;
  left: var(--gutter, 24px);
  right: var(--gutter, 24px);
  bottom: 0;
  height: 1px;
  background: var(--rule-d);
}
.rb3-next__txt { display: grid; gap: clamp(14px, 1.6vw, 22px); min-width: 0; }
body.rb3 .rb3-next .next-project__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-ink);
}
body.rb3 .rb3-next .next-project__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 76%;
  font-size: clamp(2.8rem, 7vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.028em;
  text-wrap: balance;
  color: var(--p);
  -webkit-text-stroke: 0;
  transition: color 0.3s var(--e);
}
.rb3-next__print {
  position: relative;
  display: block;
  padding: 10px 10px 30px;
  border-radius: 2px;
  background: var(--stock);
  transform: rotate(2deg);
  transition: transform 0.55s var(--snap);
}
.rb3-next__print img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rb3-next__go {
  display: grid;
  place-items: center;
  width: clamp(56px, 5.6vw, 84px);
  height: clamp(56px, 5.6vw, 84px);
  background: var(--c);
  color: var(--p);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 2rem);
  transition: transform 0.35s var(--e), background-color 0.25s var(--e), color 0.25s var(--e);
}
@media (hover: hover) {
  body.rb3 .rb3-next:hover .next-project__title { color: var(--cl); }
  .rb3-next:hover .rb3-next__print { transform: rotate(0deg) translateY(-6px); }
  .rb3-next:hover .rb3-next__go { transform: translateX(8px); background: var(--p); color: var(--i); }
}
body.rb3 .rb3-next:focus-visible { outline-offset: -8px; }

.rb3-foot {
  padding: 22px 0 32px;
  color: rgba(240, 236, 227, 0.72);
}
.rb3-foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rb3-foot__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--p);
}
.rb3-foot a:hover { color: var(--p); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1099px) {
  .rb3-eps__head { grid-template-columns: minmax(0, 1fr); }
  .rb3-say--1 .rb3-say__k,
  .rb3-say--1 .rb3-say__t { grid-column: 1 / span 9; }
  .rb3-say--1 .rb3-say__d { grid-column: 10 / -1; }
  .rb3-say--2 .rb3-say__k,
  .rb3-say--2 .rb3-say__t { grid-column: 4 / -1; }
  .rb3-say--2 .rb3-say__d { grid-column: 1 / span 3; }
  .rb3-cta__grid { grid-template-columns: minmax(0, 1fr); }
  .rb3-card { max-width: 480px; }
}
@media (max-width: 899px) {
  /* the strip becomes two columns; the finale runs the width */
  .rb3-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(28px, 5vw, 44px); }
  .rb3-strip .rb3-ep { grid-column: auto; }
  .rb3-strip .rb3-ep--final { grid-column: 1 / -1; }
  .rb3-ep__no { font-size: clamp(3.6rem, 13vw, 7rem); }

  .rb3-say { grid-template-columns: minmax(0, 1fr); }
  .rb3-say .rb3-say__k,
  .rb3-say .rb3-say__t,
  .rb3-say .rb3-say__d { grid-column: 1 / -1 !important; }
  .rb3-say__d { grid-row: 3; margin: 0; }
  .rb3-say--2 .rb3-say__k,
  .rb3-say--2 .rb3-say__t,
  .rb3-say--2 .rb3-say__d { padding-left: 12%; }
  .rb3-say--3 .rb3-say__k,
  .rb3-say--3 .rb3-say__t,
  .rb3-say--3 .rb3-say__d { padding-left: 6%; }

  .rb3-loc { grid-template-columns: minmax(0, 1fr); }

  .rb3-nums { grid-template-columns: minmax(0, 1fr); }
  .rb3-page,
  .rb3-page--r { padding-left: var(--edge); padding-right: var(--edge); }
  .rb3-page--r { box-shadow: inset 0 28px 32px -28px rgba(20, 17, 12, 0.3); }

  body.rb3 .rb3-next .next-project__inner { grid-template-columns: minmax(0, 1fr) auto; row-gap: 28px; }
  .rb3-next__txt { grid-column: 1 / -1; }
  .rb3-next__print { grid-column: 1; max-width: 360px; }
  .rb3-next__go { grid-column: 2; align-self: end; }
}
@media (max-width: 699px) {
  /* the key art stands taller on a phone; the title takes two lines */
  .rb3-hero__in { --k: 2.62; --ovr: 0.4; }
  .rb3-title__main { white-space: normal; }
  .rb3-key__pic { height: calc((100cqw - 2 * var(--kb)) * 1.02); }
  .rb3-hero__label .rb3-label__end { display: none; }
  .rb3-hero__foot { flex-direction: column; align-items: flex-start; }

  .rb3-sheet__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rb3-sheet__cap { flex-direction: column; gap: 6px; }

  .rb3-cta__title { font-size: clamp(2.9rem, 13.6vw, 4rem); }
  .rb3-ticket { min-height: 56px; font-size: 0.72rem; }
  .rb3-ticket__t { padding: 0 16px 0 20px; }
  .rb3-ticket__stub { padding: 0 16px 0 14px; }
  .rb3-card { transform: rotate(0.8deg); }

  .rb3-footnav { flex-direction: column; }
  .rb3-foot__row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  /* an episode list: print left, number and label right; the finale runs
     the width. January and race day sit on their episodes, not on an arc */
  .rb3-strip { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .rb3-ep:not(.rb3-ep--final) {
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    column-gap: 14px;
  }
  .rb3-ep:not(.rb3-ep--final) .rb3-ep__no {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin: 2px 0 0;
    font-size: clamp(3rem, 15vw, 4.2rem);
  }
  .rb3-ep:not(.rb3-ep--final) .rb3-ep__fig {
    grid-column: 1 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    column-gap: 14px;
    align-items: end;
  }
  .rb3-ep:not(.rb3-ep--final) .rb3-ep__cap {
    flex-direction: column;
    gap: 4px;
    margin: 0 0 6px;
    /* room for the number above it: on a narrow phone the row grows
       rather than the label running into the number */
    padding-top: calc(clamp(3rem, 15vw, 4.2rem) * 0.8 + 10px);
  }
  .rb3-ep--final { margin-top: 18px; }
  .rb3-ep--final .rb3-ep__no { font-size: clamp(3.6rem, 19vw, 5.4rem); }
  .rb3-arc { display: none; }
  .rb3-label { line-height: 1.3; }
}
@media (max-width: 420px) {
  .rb3-facts { gap: 8px 18px; }
}

/* ================================================================
   MOTION (armed only; the finished page is the default)
   ================================================================ */
@keyframes rb3Up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rb3Fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rb3Pull {                          /* the print is pulled up out of the dark */
  from { clip-path: inset(100% 0 0 0); transform: translateY(40px); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes rb3Rise { from { transform: translateY(0.6em); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rb3Draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* key art */
.rb3--armed .rb3-hero__label > * { animation: rb3Fade 0.7s var(--e) 0.05s both; }
.rb3--armed .rb3-hero__label::after { transform-origin: left center; animation: rb3Draw 1s var(--draw) 0.1s both; }
/* arriving by the homepage morph (the pagereveal script marks #caseHero
   .is-in), the print is already in place and is not pulled again */
.rb3--armed .rb3-key:not(.is-in) { animation: rb3Pull 1.15s var(--draw) 0.12s both; }
.rb3--armed .rb3-title__main { animation: rb3Rise 1s var(--e) 0.55s both; }
.rb3--armed .rb3-title__sub { animation: rb3Up 0.8s var(--e) 0.8s both; }
.rb3--armed .rb3-hero__foot { animation: rb3Up 0.8s var(--e) 0.95s both; }
/* the film: hidden until it is really playing and the card has been seen */
.rb3-key__video { transition: opacity 1.4s var(--e); }
.rb3--armed .rb3-key:not(.is-live) .rb3-key__video { opacity: 0; }
.rb3--armed .rb3-key__card { transition: transform 9s cubic-bezier(0.2, 0.5, 0.3, 1); }
.rb3--armed .rb3-key:not(.is-live) .rb3-key__card { transform: scale(1.07); }
.rb3--armed .rb3-key.is-live .rb3-key__card { transform: scale(1); transition-delay: 1.4s; transition-duration: 0s; }

/* section heads */
.rb3--armed [data-rb3-in] .rb3-h2,
.rb3--armed .rb3-cta__title { transition: opacity 0.9s var(--e), transform 1s var(--e); }
.rb3--armed [data-rb3-in] > .rb3-wrap > .rb3-label { transition: opacity 0.7s var(--e); }
.rb3--armed [data-rb3-in]:not(.is-in) > .rb3-wrap > .rb3-label { opacity: 0; }
.rb3--armed [data-rb3-in]:not(.is-in) .rb3-h2,
.rb3--armed .rb3-cta:not(.is-in) .rb3-cta__title { opacity: 0; transform: translateY(0.35em); }

/* the strip: prints dealt left to right, then the grade warms along the arc */
.rb3--armed .rb3-ep { transition: opacity 0.8s var(--e), transform 1s var(--snap); }
.rb3--armed .rb3-ep:nth-child(2) { transition-delay: 0.08s; }
.rb3--armed .rb3-ep:nth-child(3) { transition-delay: 0.16s; }
.rb3--armed .rb3-ep:nth-child(4) { transition-delay: 0.24s; }
.rb3--armed .rb3-ep:nth-child(5) { transition-delay: 0.32s; }
.rb3--armed .rb3-eps:not(.is-in) .rb3-ep { opacity: 0; transform: translateY(48px) rotate(-1.5deg); }
.rb3--armed .rb3-ep__print img { transition: filter 1.1s var(--e); }
.rb3--armed .rb3-ep__print::after { transition: opacity 1.1s var(--e); }
.rb3--armed .rb3-ep:nth-child(2) .rb3-ep__print img,
.rb3--armed .rb3-ep:nth-child(2) .rb3-ep__print::after { transition-delay: 0.9s; }
.rb3--armed .rb3-ep:nth-child(3) .rb3-ep__print img,
.rb3--armed .rb3-ep:nth-child(3) .rb3-ep__print::after { transition-delay: 1.1s; }
.rb3--armed .rb3-ep:nth-child(4) .rb3-ep__print img,
.rb3--armed .rb3-ep:nth-child(4) .rb3-ep__print::after { transition-delay: 1.3s; }
.rb3--armed .rb3-ep:nth-child(5) .rb3-ep__print img,
.rb3--armed .rb3-ep:nth-child(5) .rb3-ep__print::after { transition-delay: 1.5s; }
.rb3--armed .rb3-eps:not(.is-in) .rb3-ep__print img { filter: grayscale(1) contrast(1.12); }
.rb3--armed .rb3-eps:not(.is-in) .rb3-ep__print::after { opacity: 0.92; }
.rb3--armed .rb3-arc__line { transform-origin: left center; transition: transform 1.3s var(--draw) 0.5s; }
.rb3--armed .rb3-eps:not(.is-in) .rb3-arc__line { transform: scaleX(0); }
.rb3--armed .rb3-arc__b { transition: opacity 0.6s var(--e) 1.6s; }
.rb3--armed .rb3-eps:not(.is-in) .rb3-arc__b { opacity: 0; }
@media (hover: hover) {
  .rb3--armed .rb3-eps.is-in .rb3-ep:hover .rb3-ep__print img,
  .rb3--armed .rb3-eps.is-in .rb3-ep:hover .rb3-ep__print::after { transition-delay: 0s; transition-duration: 0.6s; }
}

/* the statements */
.rb3--armed .rb3-say { transition: opacity 0.9s var(--e), transform 1s var(--e); }
.rb3--armed .rb3-say:nth-child(2) { transition-delay: 0.12s; }
.rb3--armed .rb3-say:nth-child(3) { transition-delay: 0.24s; }
.rb3--armed .rb3-role:not(.is-in) .rb3-say { opacity: 0; transform: translateY(36px); }
.rb3--armed .rb3-loc__print { transition: transform 1s var(--snap) 0.4s, opacity 0.8s var(--e) 0.4s; }
.rb3--armed .rb3-role:not(.is-in) .rb3-loc__print { opacity: 0; transform: rotate(-6deg) translateY(40px); }

/* the spread: each figure comes up out of its page */
.rb3--armed .rb3-fig__n > span { transition: transform 1.1s var(--e); }
.rb3--armed .rb3-page--r .rb3-fig__n > span { transition-delay: 0.18s; }
.rb3--armed .rb3-nums:not(.is-in) .rb3-fig__n > span { transform: translateY(104%); }
.rb3--armed .rb3-fig__k,
.rb3--armed .rb3-page .rb3-label { transition: opacity 0.8s var(--e) 0.5s; }
.rb3--armed .rb3-nums:not(.is-in) .rb3-fig__k,
.rb3--armed .rb3-nums:not(.is-in) .rb3-page .rb3-label { opacity: 0; }

/* the sheet */
.rb3--armed .rb3-sheet { transition: opacity 0.9s var(--e) 0.1s, transform 1.1s var(--e) 0.1s; }
.rb3--armed .rb3-frames:not(.is-in) .rb3-sheet { opacity: 0; transform: translateY(56px); }

/* the rate card */
.rb3--armed .rb3-card { transition: opacity 0.7s var(--e) 0.2s, transform 0.9s var(--snap) 0.2s; }
.rb3--armed .rb3-cta:not(.is-in) .rb3-card { opacity: 0; transform: rotate(8deg) translateY(40px); }

/* the next case */
.rb3--armed .rb3-next__print { transition: transform 0.9s var(--snap), opacity 0.7s var(--e); }
.rb3--armed .rb3-outro:not(.is-in) .rb3-next__print { opacity: 0; transform: rotate(8deg) translateY(30px); }

/* ================================================================
   REDUCED MOTION: the finished page, the title card as the key art
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .rb3-key__video { display: none; }
  body.rb3 *,
  body.rb3 *::before,
  body.rb3 *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
