/* ============================================================
   Recap — wrap-up of The Archive's inaugural run (Sep 2026).
   Built from the homepage's own pieces: cream paper, orange
   bands, polaroids, the dashed orange path, spinning shapes,
   Jersey 25 headings, Itim / La Belle Aurore for the headline
   and the paper story card. Chrome (header/footer) comes from
   styles.css; everything below is scoped with an rc- prefix.

   Motion lives in one block near the end, inside
   prefers-reduced-motion: no-preference, and only applies once
   the page is marked with .rc-js — so without JS or with
   reduced motion the page is complete and still.
   ============================================================ */

body.recap-page {
  background-color: #eadfcb;
  color: #17130d;
}

.recap-page .desktop-view-wrapper,
.recap-page .mobile-view-wrapper {
  min-height: 0;
}

.recap-page .navigation-tab p[data-nav-link] {
  cursor: pointer;
}

.rc-main {
  overflow-x: clip;
}

.rc-main img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rc-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.rc-heading {
  font-family: "Jersey 25", sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 44px);
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
  margin: 0 0 12px;
}

.rc-intro {
  font-family: "Hammersmith One", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #69645b;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   Polaroid — the site's photo frame
   ------------------------------------------------------------ */
.rc-polaroid {
  display: block;
  margin: 0;
  background: #fff;
  padding: 9px 9px 30px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  rotate: var(--tilt, 0deg);
}

.rc-polaroid img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio, 4 / 3);
  object-fit: cover;
  background: #d9cdb2;
}

.rc-photo {
  display: block;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.rc-hero {
  text-align: center;
  padding-top: 56px;
}

.rc-title {
  font-family: "Itim", sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  margin: 0 auto;
  max-width: 900px;
  text-wrap: balance;
}

.rc-word {
  display: inline-block;
}

.rc-title .rc-script {
  font-family: "La Belle Aurore", cursive;
  font-size: 1.15em;
  color: #f35933;
  padding: 0 0.08em;
}

.rc-lede {
  font-family: "Hammersmith One", sans-serif;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: #69645b;
  max-width: 640px;
  margin: 20px auto 0;
}

.rc-hero-photos {
  display: flex;
  justify-content: center;
  margin-top: 44px;
  padding: 0 24px 56px;
  /* orange band rises behind the lower half of the photo */
  background: linear-gradient(to bottom, transparent 58%, #f35933 58%);
}

.rc-hero-stage {
  position: relative;
  width: min(100%, 860px);
}

/* the homepage's slowly spinning shapes, peeking out behind the photo */
.rc-blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.rc-blob svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rc-blob--left {
  width: 300px;
  height: 300px;
  left: -190px;
  top: -70px;
}

.rc-blob--right {
  width: 260px;
  height: 260px;
  right: -170px;
  top: 4%;
}

.rc-hero-main {
  position: relative;
  z-index: 1;
}

.rc-hero-main .rc-polaroid {
  --tilt: -1.2deg;
  padding: 12px 12px 40px;
}

.rc-hero-stamp {
  position: absolute;
  left: -34px;
  bottom: -26px;
  width: clamp(70px, 11vw, 118px);
  rotate: -10deg;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

/* ------------------------------------------------------------
   Numbers band (orange)
   ------------------------------------------------------------ */
.rc-numbers {
  background: #f35933;
  color: #fff;
  padding: 8px 0 64px;
}

.rc-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rc-stat {
  text-align: center;
  padding: 8px 12px;
}

.rc-stat + .rc-stat {
  border-left: 2px dashed rgba(255, 255, 255, 0.55);
}

.rc-stat-num {
  display: block;
  font-family: "Jersey 25", sans-serif;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rc-stat-label {
  display: block;
  font-family: "Hammersmith One", sans-serif;
  font-size: 18px;
  margin-top: 6px;
}

.rc-numbers-note {
  font-family: "Hammersmith One", sans-serif;
  font-size: 16px;
  text-align: center;
  margin: 40px auto 0;
  max-width: 560px;
}

/* organiser / supporter logos, as on the homepage */
.rc-organisers {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.rc-org-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.rc-org-label {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.rc-org-logos {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.rc-main .rc-org-logos img {
  width: auto;
}

.rc-organisers .rc-org-ic {
  height: 52px;
}

.rc-organisers .rc-org-trcl {
  height: 104px;
}

.rc-organisers .rc-org-bloom {
  height: 124px;
}

.rc-org-divider {
  align-self: stretch;
  width: 1px;
  background: rgba(255, 255, 255, 0.68);
}

/* ------------------------------------------------------------
   Highlight videos — thumbnail stands in until you press play
   ------------------------------------------------------------ */
.rc-videos {
  padding: 80px 0 24px;
}

.rc-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.rc-video {
  margin: 0;
}

.rc-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 2px solid #000;
  border-radius: 10px;
  overflow: hidden;
  background: #17130d;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.rc-video-frame iframe,
.rc-yt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rc-yt {
  display: block;
  cursor: pointer;
}

.rc-main .rc-yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.rc-yt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 19, 13, 0.45), transparent 55%);
}

.rc-yt-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: #f35933;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rc-yt:hover img {
  transform: scale(1.04);
}

.rc-yt:hover .rc-yt-play,
.rc-yt:focus-visible .rc-yt-play {
  transform: scale(1.12);
}

.rc-yt:focus-visible {
  outline: 3px solid #f35933;
  outline-offset: -3px;
}

.rc-video figcaption {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
}

/* ------------------------------------------------------------
   Photos from the day — the homepage's dashed orange path
   ------------------------------------------------------------ */
.rc-day {
  padding: 80px 0 40px;
}

.rc-moments {
  --draw: 100%;
  position: relative;
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
}

.rc-moments::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 4px dashed #f35933;
  transform: translateX(-50%);
  clip-path: inset(0 0 calc(100% - var(--draw)) 0);
}

.rc-moment {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
  padding: 36px 0;
}

.rc-moment-text {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  max-width: 380px;
  justify-self: end;
  transform-origin: right center;
}

.rc-moment-dot {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f35933;
  box-shadow: 0 0 0 6px #eadfcb;
}

.rc-moment-media {
  grid-column: 3;
  grid-row: 1;
  transform-origin: left center;
}

.rc-moment:nth-child(even) .rc-moment-text {
  grid-column: 3;
  text-align: left;
  justify-self: start;
  transform-origin: left center;
}

.rc-moment:nth-child(even) .rc-moment-media {
  grid-column: 1;
  transform-origin: right center;
}

.rc-moment-title {
  font-family: "Jersey 25", sans-serif;
  font-weight: 400;
  color: #f35933;
  font-size: 34px;
  margin: 0 0 8px;
}

.rc-moment-desc {
  font-family: "Hammersmith One", sans-serif;
  color: #69645b;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

/* photo piles */
.rc-pile {
  display: grid;
  gap: 16px;
}

.rc-pile--two,
.rc-pile--four {
  grid-template-columns: repeat(2, 1fr);
}

.rc-pile--lead {
  grid-template-columns: repeat(3, 1fr);
}

.rc-pile--lead > :first-child {
  grid-column: 1 / -1;
}

.rc-pile--two > :nth-child(2) {
  margin-top: 36px;
}

.rc-pile--two .rc-polaroid,
.rc-pile--four .rc-polaroid,
.rc-pile--lead > :not(:first-child) .rc-polaroid {
  padding: 7px 7px 22px;
}

/* portrait-shaped photo sets stay compact beside the path */
.rc-pile--narrow {
  max-width: 440px;
}

.rc-moment:nth-child(even) .rc-pile--narrow {
  margin-left: auto;
}

/* ------------------------------------------------------------
   Memora
   ------------------------------------------------------------ */
.rc-memora {
  padding: 56px 0 88px;
}

.rc-memora-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  background: #f8f2e4;
  border: 1px solid #d9cdb2;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.rc-memora-screen {
  margin: 0;
  border: 2px solid #000;
  border-radius: 10px;
  overflow: hidden;
  background: #17130d;
}

.rc-memora-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 350;
  object-fit: cover;
}

.rc-memora .rc-heading,
.rc-memora .rc-intro {
  text-align: left;
  margin-left: 0;
}

.rc-memora .rc-heading {
  margin-bottom: 14px;
}

.rc-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  background: #f35933;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.rc-button span {
  transition: transform 0.2s ease;
}

.rc-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.rc-button:hover span {
  transform: translateX(4px);
}

.rc-button:focus-visible {
  outline: 3px solid #17130d;
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   Participant stories — orange band, paper cards
   ------------------------------------------------------------ */
.rc-stories {
  background: #f35933;
  padding: 80px 0 96px;
}

.rc-stories .rc-heading {
  color: #fff;
}

.rc-story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 44px;
}

.rc-story {
  position: relative;
  margin: 0;
  background: #fbf7ee;
  border-radius: 6px;
  padding: 18px 18px 28px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  rotate: var(--tilt, 0deg);
}

.rc-main .rc-story-clip {
  position: absolute;
  top: -22px;
  right: 34px;
  width: 26px;
  rotate: 8deg;
}

.rc-main img.rc-story-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.rc-story blockquote {
  margin: 22px 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.45;
  color: #1c4a66;
}

.rc-story figcaption {
  margin: 14px 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #23486b;
}

/* ------------------------------------------------------------
   Partners
   ------------------------------------------------------------ */
.rc-partners {
  padding: 88px 0 24px;
}

.rc-partners-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
  margin-top: 44px;
}

.rc-partners-gallery {
  list-style: none;
  margin: 64px auto 0;
  padding: 0 12px;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

/* a loose pile on the table: overlapping, the middle one dropped lower */
.rc-partners-gallery > li {
  position: relative;
}

.rc-partners-gallery > li:nth-child(1) {
  margin-right: -28px;
  z-index: 1;
}

.rc-partners-gallery > li:nth-child(2) {
  margin-top: 56px;
  z-index: 2;
}

.rc-partners-gallery > li:nth-child(3) {
  margin-left: -28px;
  margin-top: 12px;
  z-index: 1;
}

.rc-partners-gallery .rc-polaroid {
  padding-bottom: 46px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: rotate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* a strip of tape holding each one down */
.rc-partners-gallery .rc-polaroid::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 26px;
  translate: -50% 0;
  rotate: -3deg;
  background: rgba(243, 89, 51, 0.55);
}

.rc-partners-gallery .rc-polaroid {
  position: relative;
}

.rc-partners-gallery > li:nth-child(2) .rc-polaroid::before {
  rotate: 4deg;
  background: rgba(28, 74, 102, 0.45);
}

.rc-polaroid-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  text-align: center;
  font-family: "La Belle Aurore", cursive;
  font-size: clamp(16px, 1.9vw, 22px);
  line-height: 1;
  white-space: nowrap;
  color: #17130d;
}

@media (hover: hover) {
  .rc-partners-gallery > li:hover {
    z-index: 3;
  }

  .rc-partners-gallery > li:hover .rc-polaroid {
    rotate: 0deg;
    transform: translateY(-6px) scale(1.04);
  }
}

.rc-tier + .rc-tier {
  margin-top: 36px;
}

.rc-tier-head {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #57503f;
  margin: 0 0 16px;
}

.rc-tier-head::after {
  content: "";
  flex: 1;
  border-top: 1px solid #57503f;
}

.rc-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.rc-logos--2 {
  grid-template-columns: repeat(2, 1fr);
}

.rc-logos--3 {
  grid-template-columns: repeat(3, 1fr);
}

.rc-logos li {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.rc-logos--2 li {
  height: 132px;
}

.rc-logos--3 li {
  height: 96px;
}

.rc-main .rc-logos img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.rc-names {
  font-family: "Hammersmith One", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #17130d;
  margin-top: 22px;
}

.rc-names span {
  white-space: nowrap;
}

.rc-names span:not(:last-child)::after {
  content: "·";
  color: #f35933;
  margin-left: 10px;
}

/* ------------------------------------------------------------
   Photo reel — a tilted orange strip that keeps rolling,
   like the homepage's looping pictures
   ------------------------------------------------------------ */
.rc-reel {
  padding: 72px 0 24px;
  overflow: hidden;
}

.rc-reel-band {
  background: #f35933;
  padding: 26px 0;
  rotate: -2deg;
  margin: 0 -40px;
}

.rc-reel-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding-left: 22px;
}

.rc-reel-item {
  flex: none;
  background: #fff;
  padding: 7px 7px 20px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  rotate: var(--tilt, 0deg);
}

.rc-main .rc-reel-item img {
  height: 168px;
  width: auto;
  max-width: none;
  object-fit: cover;
}

/* ------------------------------------------------------------
   Sign-off
   ------------------------------------------------------------ */
.rc-thanks {
  position: relative;
  text-align: center;
  padding: 64px 24px 112px;
}

.rc-thanks p {
  font-family: "La Belle Aurore", cursive;
  font-size: clamp(64px, 11vw, 132px);
  line-height: 1.1;
  margin: 0;
}

.rc-main .rc-thanks-stamp {
  width: 92px;
  margin: 0 auto 8px;
  rotate: -8deg;
}

/* ------------------------------------------------------------
   Tablet / mobile
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .rc-memora-inner,
  .rc-partners-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-memora-inner {
    padding: 24px;
  }

  .rc-partners-photo {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .rc-partners-gallery {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 48px;
    max-width: 360px;
  }

  .rc-partners-gallery > li:nth-child(n) {
    margin: 0;
  }

  .rc-partners-gallery > li:nth-child(2) {
    margin-left: 28px;
  }

  .rc-partners-gallery > li:nth-child(odd) {
    margin-right: 28px;
  }

  .rc-polaroid-note {
    font-size: 18px;
  }
}

@media (max-width: 760px) {
  .rc-hero {
    padding-top: 36px;
  }

  .rc-hero-photos {
    padding: 0 16px 40px;
    margin-top: 32px;
  }

  .rc-hero-main .rc-polaroid {
    padding: 8px 8px 26px;
  }

  .rc-hero-stamp {
    left: -8px;
    bottom: -18px;
  }

  .rc-blob--left {
    width: 170px;
    height: 170px;
    left: -86px;
    top: -54px;
  }

  .rc-blob--right {
    width: 150px;
    height: 150px;
    right: -74px;
    top: 30%;
  }

  .rc-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .rc-stat:nth-child(3) {
    border-left: 0;
  }

  .rc-wrap {
    padding: 0 16px;
  }

  .rc-organisers {
    gap: 20px;
    margin-top: 36px;
    padding-top: 32px;
  }

  .rc-org-group {
    gap: 12px;
  }

  .rc-org-label {
    font-size: 13px;
  }

  .rc-org-logos {
    gap: 14px;
  }

  .rc-organisers .rc-org-ic {
    height: 32px;
  }

  .rc-organisers .rc-org-trcl {
    height: 64px;
  }

  .rc-organisers .rc-org-bloom {
    height: 76px;
  }

  .rc-video-grid,
  .rc-story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rc-yt-play {
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
  }

  .rc-videos,
  .rc-day,
  .rc-stories,
  .rc-partners {
    padding-top: 56px;
  }

  /* path moves to the left edge; text sits above its photos */
  .rc-moments::before {
    left: 10px;
  }

  .rc-moment,
  .rc-moment:nth-child(even) {
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 18px;
    padding: 24px 0;
  }

  .rc-moment-dot,
  .rc-moment:nth-child(even) .rc-moment-dot {
    grid-column: 1;
    grid-row: 1;
    width: 18px;
    height: 18px;
    justify-self: start;
    align-self: start;
    margin-top: 6px;
  }

  .rc-moment-text,
  .rc-moment:nth-child(even) .rc-moment-text {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    justify-self: start;
    transform-origin: left top;
  }

  .rc-moment-media,
  .rc-moment:nth-child(even) .rc-moment-media {
    grid-column: 2;
    grid-row: 2;
    transform-origin: left top;
  }

  .rc-moment-title {
    font-size: 28px;
  }

  .rc-pile {
    gap: 12px;
  }

  .rc-logos--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rc-logos--3 li:last-child {
    grid-column: 1 / -1;
  }

  .rc-reel {
    padding-top: 48px;
  }

  .rc-main .rc-reel-item img {
    height: 120px;
  }
}

/* ============================================================
   Motion
   ============================================================ */
@keyframes rc-rise {
  from {
    opacity: 0;
    transform: translateY(0.6em);
  }
}

@keyframes rc-write {
  from {
    clip-path: inset(-30% 100% -30% -10%);
  }
  to {
    clip-path: inset(-30% -10% -30% -10%);
  }
}

@keyframes rc-slap {
  0% {
    opacity: 0;
    transform: scale(2.4) rotate(-24deg);
  }
  60% {
    opacity: 1;
    transform: scale(0.9) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes rc-pan {
  from {
    transform: scale(1.1) translateX(-3.5%);
  }
  to {
    transform: scale(1.1) translateX(3.5%);
  }
}

@keyframes rc-pulse {
  0% {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(243, 89, 51, 0.65);
  }
  70% {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 0 18px rgba(243, 89, 51, 0);
  }
  100% {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(243, 89, 51, 0);
  }
}

@keyframes rc-clip-drop {
  from {
    opacity: 0;
    transform: translateY(-26px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* ---- Hero: headline words rise, "wrap" writes itself in, the
     polaroid drops in with the homepage's bounce then floats, the
     stamp lands on it, the shapes keep turning ---- */
  .rc-js .rc-word {
    animation: rc-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--i, 0) * 70ms + 80ms);
  }

  .rc-js .rc-title .rc-script {
    animation: rc-write 0.9s cubic-bezier(0.6, 0.1, 0.3, 1) 0.55s both;
  }

  .rc-js .rc-lede {
    animation: rc-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
  }

  .rc-js .rc-hero-main {
    animation: archive-polaroid-in-b 0.7s linear 0.75s both,
      archive-float-b 3.4s ease-in-out 1.45s infinite;
  }

  .rc-js .rc-hero-stamp {
    animation: rc-slap 0.55s cubic-bezier(0.3, 1.3, 0.5, 1) 1.35s both;
  }

  .rc-blob--left {
    animation: archive-spin 18s linear infinite;
  }

  .rc-blob--right {
    animation: archive-spin 22s linear infinite reverse;
  }

  /* ---- Scroll reveals ---- */
  .rc-js [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
  }

  .rc-js [data-reveal="pop"] {
    transform: scale(0.7);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
  }

  .rc-js [data-reveal="left"] {
    transform: translateX(-90px) rotate(-7deg);
    transition-duration: 0.6s, 0.8s;
    transition-timing-function: ease, cubic-bezier(0.34, 1.3, 0.64, 1);
  }

  .rc-js [data-reveal="right"] {
    transform: translateX(90px) rotate(7deg);
    transition-duration: 0.6s, 0.8s;
    transition-timing-function: ease, cubic-bezier(0.34, 1.3, 0.64, 1);
  }

  .rc-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  /* paperclip clips on once the card has landed */
  .rc-js .rc-story .rc-story-clip {
    opacity: 0;
  }

  .rc-js .rc-story.is-in .rc-story-clip {
    animation: rc-clip-drop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(var(--i, 0) * 90ms + 0.55s);
    opacity: 1;
  }

  /* ---- "thank you." writes itself, then the stamp lands ---- */
  .rc-js [data-reveal="write"] {
    opacity: 1;
    transform: none;
  }

  .rc-js .rc-thanks p {
    clip-path: inset(-30% 100% -30% -5%);
    transition: clip-path 1.7s cubic-bezier(0.6, 0.1, 0.3, 1) 0.15s;
  }

  .rc-js .rc-thanks.is-in p {
    clip-path: inset(-30% -5% -30% -5%);
  }

  .rc-js .rc-thanks-stamp {
    opacity: 0;
  }

  .rc-js .rc-thanks.is-in .rc-thanks-stamp {
    animation: rc-slap 0.55s cubic-bezier(0.3, 1.3, 0.5, 1) 1.5s both;
  }

  /* ---- Dashed path: drawn by scroll (recap.js sets --draw);
     each moment pops in once the line reaches its dot ---- */
  .rc-js .rc-moments {
    --draw: 0%;
  }

  .rc-js .rc-moment-dot {
    transform: scale(0);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .rc-js .rc-moment-text,
  .rc-js .rc-moment-media {
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
      transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .rc-js .rc-pile .rc-polaroid {
    opacity: 0;
    transform: translateY(26px) scale(0.92);
    transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .rc-js .rc-moment.is-reached .rc-moment-dot {
    transform: scale(1);
  }

  .rc-js .rc-moment.is-reached .rc-moment-text,
  .rc-js .rc-moment.is-reached .rc-moment-media {
    opacity: 1;
    transform: scale(1);
  }

  .rc-js .rc-moment.is-reached .rc-pile .rc-polaroid {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i, 0) * 90ms + 120ms);
  }

  /* ---- Little loops ---- */
  .rc-memora-screen img {
    animation: rc-pan 14s ease-in-out infinite alternate;
  }

  .rc-yt-play {
    animation: rc-pulse 2s ease-out infinite;
  }

  .rc-reel-track {
    animation: archive-marquee 70s linear infinite;
  }

  .rc-reel:hover .rc-reel-track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rc-button,
  .rc-button span,
  .rc-yt img,
  .rc-yt-play {
    transition: none;
  }

  /* the reel becomes a strip you can scroll sideways */
  .rc-reel {
    overflow-x: auto;
  }
}
