:root {
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Ubuntu", var(--font-sans);
  --ink: #141414;
  --white: #ffffff;
  --coral: #ff4d4d;
  --rail-gray: #d9d9d9;
  --rail-charcoal: #25262b;
  --rail-coral: #ff5a5f;
  --left-w: 60%;
  --right-w: 40%;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-x: 0.425s;
  --dur-y: 0.375s;
  /* Expand plane: horizontal vs vertical use `ease` separately */
  --ease-expand-x: ease;
  --ease-expand-y: ease;
  --nav-slide: 0.19s;
  --nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
}

.stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  --plane-top: 0;
  --plane-h: calc(100vh / 3);
  --plane-bg: var(--rail-charcoal);
}

.home {
  display: grid;
  grid-template-columns: var(--left-w) var(--right-w);
  min-height: 100vh;
  align-items: stretch;
}

.home__main {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  min-width: 0;
  min-height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(to top right, #050e12 0%, #2e4952 100%);
}

.home__main .nav--sliding .nav__link:not(.nav__link--active) {
  color: rgba(255, 255, 255, 0.72);
}

.home__squares {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

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

.home__squares svg rect.home__sq {
  animation: home-square-pulse var(--sq-dur, 15s) ease-in-out infinite;
  animation-delay: var(--sq-delay, 0s);
}

@keyframes home-square-pulse {
  0%,
  100% {
    opacity: 0.12;
  }
  25%,
  75% {
    opacity: 0.48;
  }
  50% {
    opacity: 0;
  }
}

.home__main .nav {
  align-self: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.stage[data-expanded="true"] .home__main .nav.nav--sliding,
.stage[data-expanded="true"] .nav--overlay {
  display: none !important;
}

.home__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  align-self: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
  max-width: 44rem;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.intro {
  margin: 0;
  text-align: left;
}

.intro__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 8.4vw, 5.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  transform: translateY(calc(-0.4rem - 20px));
}

/* Clip window: bottom edge is the invisible line; text rises from below it */
.intro__word {
  display: block;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  height: 1.05em;
  line-height: 1.05;
  padding-top: 0.06em;
  padding-bottom: 0.12em;
  box-sizing: content-box;
}

.intro__word--maguire {
  margin-top: -0.18em;
  height: 1.05em;
  line-height: 1.05;
  padding-bottom: 0.22em;
}

.intro__word-rise {
  display: inline-block;
  transform: translate3d(0, 108%, 0);
  animation: intro-word-past-line 1.04s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro__word--gavin .intro__word-rise {
  animation-delay: 0.6s;
}

.intro__word--maguire .intro__word-rise {
  animation-delay: 0.8s;
}

.intro__ch {
  display: inline-block;
}

@keyframes intro-word-past-line {
  0% {
    transform: translate3d(0, 108%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes intro-role-in {
  from {
    opacity: 0;
    transform: translate3d(-1.1rem, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.intro__role {
  margin: 0.35rem 0 0;
  font-size: clamp(1.425rem, 3vw, 1.725rem);
  font-weight: 700;
  color: #ff7231;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translate3d(-1.1rem, 0, 0);
  animation: intro-role-in 1.3s ease-out forwards;
  animation-delay: 0.8s;
}

.bio {
  --bio-line-stagger: 0.1s;
  --bio-line-delay-start: 0.8s;
  max-width: 38rem;
  width: 100%;
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  font-weight: 300;
  line-height: 1.65;
  text-align: left;
}

.bio p {
  margin: 0 0 1rem;
}

.bio p:last-child {
  margin-bottom: 0;
}

.bio__line {
  display: block;
  opacity: 0;
  transform: translate3d(-1.1rem, 0, 0);
  animation: intro-role-in 1.3s ease-out forwards;
  animation-delay: calc(
    var(--bio-line-delay-start) + var(--bio-line-i, 0) * var(--bio-line-stagger)
  );
}

.bio a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.nav--sliding {
  position: relative;
  z-index: 0;
}

.nav__pill {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  background: var(--ink);
  pointer-events: none;
  transition:
    left var(--nav-slide) var(--nav-ease),
    top var(--nav-slide) var(--nav-ease),
    width var(--nav-slide) var(--nav-ease),
    height var(--nav-slide) var(--nav-ease);
}

@keyframes nav-pill-flicker {
  0%,
  100% {
    opacity: 1;
  }
  12% {
    opacity: 0.15;
  }
  24% {
    opacity: 1;
  }
  36% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  62% {
    opacity: 0.25;
  }
  78% {
    opacity: 1;
  }
}

.nav__pill.nav__pill--flicker {
  animation: nav-pill-flicker 0.42s ease-out forwards;
}

.nav__hover-corner {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border-left: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  pointer-events: none;
  opacity: 0;
  transition:
    left var(--nav-slide) var(--nav-ease),
    top var(--nav-slide) var(--nav-ease),
    opacity 0.1s ease;
}

.nav__hover-corner.is-visible {
  opacity: 1;
}

.nav__link {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 0.45rem 0.65rem;
  border: none;
  background: transparent;
  position: relative;
  z-index: 1;
}

.nav--sliding .nav__link--active {
  color: var(--white);
  background: transparent;
}

.nav--sliding .nav__link:not(.nav__link--active) {
  color: var(--ink);
}

.nav--overlay {
  position: fixed;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.175s ease;
}

.nav--overlay.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.stage.is-phase-full[data-overlay-tone="gray"] .nav--overlay .nav__link:not(.nav__link--active),
.stage.is-phase-full[data-overlay-tone="red"] .nav--overlay .nav__link:not(.nav__link--active) {
  color: var(--ink);
}

.stage.is-phase-full[data-overlay-tone="charcoal"] .nav--overlay .nav__link:not(.nav__link--active) {
  color: rgba(255, 255, 255, 0.78);
}

.rail {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.rail__block {
  flex: 1;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1rem, 2.5vw, 1.6rem) clamp(1.35rem, 3.5vw, 2.15rem)
    clamp(1.35rem, 3.5vw, 2.15rem);
  border: none;
  cursor: pointer;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  min-height: 0;
  overflow: visible;
}

.rail__block:hover {
  filter: brightness(1.02);
}

.rail__block:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -2px;
  z-index: 1;
}

.rail__block:disabled {
  cursor: default;
  opacity: 0.85;
}

.rail__block--prenuvo {
  background: #1d2224;
  color: var(--white);
}

.rail__block--prev {
  position: relative;
  overflow: hidden;
  background: var(--rail-charcoal);
  color: var(--white);
}

.rail__block--prev::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/future-health-dashboard.png") center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  transform: scale(1.25);
  transform-origin: center center;
  transition:
    opacity 0.3s ease,
    transform 0.28s ease;
}

.rail__block--prev:hover:not(:disabled)::before {
  transform: scale(1.3125);
}

.stage.is-prev-image-hiding .rail__block--prev::before {
  opacity: 0;
}

.rail__block--process {
  background: #2e383f;
  color: var(--white);
}

.rail__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  text-align: left;
  pointer-events: none;
}

.rail__title {
  font-family: var(--font-sans);
  font-size: clamp(1.425rem, 3vw, 1.725rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: color 0.15s ease;
}

.rail__block:not(:disabled) .rail__title:hover {
  color: #ff7231;
}

.rail__blurb {
  font-size: clamp(0.884rem, 1.885vw, 1.04rem);
  font-weight: 400;
  line-height: 1.45;
  opacity: 0.92;
}

.rail__block--prenuvo .rail__blurb {
  opacity: 0.85;
}

.expand-plane {
  position: fixed;
  top: var(--plane-top);
  right: 0;
  left: auto;
  width: var(--right-w);
  height: var(--plane-h);
  background-color: var(--plane-bg);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.075s ease,
    visibility 0.075s ease,
    width var(--dur-x) var(--ease-expand-x),
    top var(--dur-y) var(--ease-expand-y),
    height var(--dur-y) var(--ease-expand-y);
}

.expand-plane.is-armed {
  opacity: 1;
  visibility: visible;
}

/* Phase 1: grow left from the right edge, same vertical band as clicked block */
.stage.is-phase-wide .expand-plane {
  width: 100%;
}

/* Phase 2: full viewport; colour stays the clicked block (via --plane-bg) */
.stage.is-phase-full .expand-plane {
  top: 0;
  height: 100vh;
  height: 100dvh;
  background-color: var(--plane-bg);
  pointer-events: auto;
}

.expand-plane__case {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(4.75rem, 11vw, 6.25rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.stage.is-phase-full .expand-plane__case {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.case-study {
  --bio-line-stagger: 0.1s;
  --bio-line-delay-start: 0.8s;
  max-width: 42rem;
  margin: 0 auto;
}

/* No readable content until line-split + stagger setup runs (avoids raw HTML before reveal). */
.stage.is-phase-full .case-study:not([hidden]):not(.case-study--lines-ready) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.case-study--lines-ready .case-study__figure--reveal {
  opacity: 0;
  transform: translate3d(-1.1rem, 0, 0);
  animation: intro-role-in 1.3s ease-out forwards;
  animation-delay: calc(
    var(--bio-line-delay-start) + var(--bio-line-i, 0) * var(--bio-line-stagger)
  );
}

.case-study__header {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.case-study__meta {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.case-study__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.case-study__lede {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
  font-weight: 500;
}

.case-study__section {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.case-study__section p {
  margin: 0 0 1rem;
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.68;
}

.case-study__section p:last-child {
  margin-bottom: 0;
}

.case-study__h2 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.case-study__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.65;
}

.case-study__list li {
  margin-bottom: 0.5rem;
}

.case-study__figure {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.case-study__figure--hero {
  margin-top: 0;
}

.case-study__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
}

.case-study__caption {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.8;
}

.stage.is-phase-full[data-overlay-tone="gray"] .case-study,
.stage.is-phase-full[data-overlay-tone="red"] .case-study {
  color: var(--ink);
}

.stage.is-phase-full[data-overlay-tone="charcoal"] .case-study {
  color: rgba(255, 255, 255, 0.92);
}

.stage.is-phase-full[data-overlay-tone="charcoal"] .case-study__figure img {
  background: rgba(255, 255, 255, 0.06);
}

.play-blackout {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.play-blackout.is-open {
  visibility: visible;
  pointer-events: auto;
}

.play-blackout__sheet {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateY(0);
}

.play-blackout.is-closing .play-blackout__sheet {
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.play-blackout__fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  transform: scale(0);
  transform-origin: 0 0;
  will-change: transform;
}

.play-blackout.is-open.is-wiping .play-blackout__fill {
  transform: scale(1);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.play-blackout__gallery {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.play-blackout.is-revealed .play-blackout__gallery {
  opacity: 1;
  pointer-events: auto;
}

.play-blackout__scroll {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
}

.play-blackout__track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: play-scroll-up 165s linear infinite;
  animation-play-state: paused;
}

.play-blackout.is-revealed .play-blackout__track {
  animation-play-state: running;
}

@keyframes play-scroll-up {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -50%, 0);
  }
}

.play-blackout__columns-set {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(2rem, 6vw, 4.5rem);
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
}

.play-blackout__col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  flex: 0 0 auto;
  width: min(33vw, 640px);
  max-width: 100%;
}

.play-blackout__fig {
  margin: 0;
  opacity: 0.92;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: var(--play-justify, center);
}

.play-blackout__fig img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.play-blackout__fig--xs img {
  max-width: min(100%, clamp(288px, 20vw, 384px));
}

.play-blackout__fig--s img {
  max-width: min(100%, clamp(352px, 24vw, 472px));
}

.play-blackout__fig--m img {
  max-width: min(100%, clamp(416px, 28vw, 552px));
}

.play-blackout__fig--l img {
  max-width: min(100%, clamp(480px, 32vw, 632px));
}

.play-blackout__hint {
  position: absolute;
  bottom: clamp(1rem, 3vw, 1.75rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.play-blackout.is-revealed .play-blackout__hint {
  opacity: 1;
}

.play-blackout__hint kbd {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.play-blackout.is-open .play-blackout__close.expand-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  left: auto;
  z-index: 20;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  color: rgba(255, 255, 255, 0.92);
}

.play-blackout.is-open .play-blackout__close.expand-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.play-blackout.is-open .play-blackout__close.expand-close:focus-visible {
  outline-color: rgba(255, 255, 255, 0.85);
}

.expand-close {
  position: fixed;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 25;
  margin: 0;
  padding: 0;
  width: 4.125rem;
  height: 4.125rem;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, background-color 0.1s ease, color 0.1s ease;
}

.expand-close__icon {
  display: block;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  margin-top: -0.1em;
}

.stage.is-phase-full.is-expand-settled .expand-close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.stage.is-phase-full[data-overlay-tone="charcoal"] .expand-close {
  color: rgba(255, 255, 255, 0.92);
}

.expand-close:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.stage.is-phase-full[data-overlay-tone="charcoal"] .expand-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.expand-close:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.stage.is-phase-full[data-overlay-tone="charcoal"] .expand-close:focus-visible {
  outline-color: rgba(255, 255, 255, 0.85);
}

.hint-keys {
  position: fixed;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.75rem;
  color: rgba(20, 20, 20, 0.5);
  z-index: 15;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.stage.is-phase-wide .hint-keys,
.stage.is-phase-full .hint-keys {
  opacity: 1;
}

.stage.is-phase-full[data-overlay-tone="gray"] .hint-keys,
.stage.is-phase-full[data-overlay-tone="red"] .hint-keys {
  color: rgba(20, 20, 20, 0.65);
}

.stage.is-phase-full[data-overlay-tone="charcoal"] .hint-keys {
  color: rgba(255, 255, 255, 0.55);
}

kbd {
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border: 1px solid rgba(20, 20, 20, 0.25);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
}

.stage.is-phase-full[data-overlay-tone="charcoal"] kbd {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.92);
}

.stage.is-phase-wide .rail__block,
.stage.is-phase-full .rail__block {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .expand-plane {
    transition-duration: 0.01ms;
  }

  .expand-plane__case {
    transition: none;
  }

  .nav--overlay {
    transition: none;
  }

  .nav__pill,
  .nav__hover-corner {
    transition-duration: 0.01ms;
  }

  .nav__pill.nav__pill--flicker {
    animation: none;
  }

  .rail__block--prev::before {
    transition: none;
  }

  .home__squares svg rect.home__sq {
    animation: none;
    opacity: 0.22;
  }

  .intro__word {
    height: auto;
    overflow: visible;
  }

  .intro__word-rise {
    animation: none;
    transform: none;
  }

  .intro__role {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .bio__line {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .case-study--lines-ready .case-study__figure--reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .play-blackout.is-open .play-blackout__fill {
    transform: scale(1);
    transition: none;
  }

  .play-blackout.is-open .play-blackout__gallery {
    transition-duration: 0.01ms;
  }

  .play-blackout__track {
    animation: none;
    transform: none;
  }

  .play-blackout__scroll {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-y: auto;
  }

  .play-blackout__columns-set {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .play-blackout__col {
    padding-top: 0 !important;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: center;
  }

  .play-blackout.is-closing .play-blackout__sheet {
    transition: none;
  }
}

@media (max-width: 720px) {
  .stage {
    --right-w: 100%;
  }

  .home {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
  }

  .rail {
    min-height: min(70vh, 36rem);
    flex-direction: column;
  }
}
