/* R2 is additive: R1 and the archived alternatives retain their original styles. */
.r2 {
  background: var(--paper);
}
.r2 .journey {
  height: 160svh;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  background: var(--paper);
  padding: 16px;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.r2 .motion-toggle {
  min-height: 44px;
}
.r2 .resolve-copy {
  top: 34%;
}
.r2 .resolve-copy h2 {
  font-size: clamp(48px, 6.1vw, 90px);
}
.r2 .resolve-phone {
  aspect-ratio: 402/874;
}
.capture-bridge {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}
.capture-bridge img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: none;
}
.r2 .transition-note {
  margin-top: 24px;
}
.r2 .hero-title {
  pointer-events: none;
}
.r2 .hero-bottom .action {
  box-shadow: 0 8px 28px #16344833;
}
.r2 :is(p, a, button) {
  text-wrap: pretty;
}
.attempt {
  background: #f2f0e7;
  padding: 110px 8% 120px;
  color: var(--ink);
  scroll-margin-top: 24px;
}
.section-intro {
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px 9%;
  align-items: end;
}
.section-intro .eyebrow {
  grid-column: 1/-1;
}
.section-intro h2 {
  font-size: clamp(48px, 6.4vw, 96px);
}
.section-intro h2 em {
  color: #647f8c;
}
.section-intro > p:last-child {
  font-size: 18px;
  line-height: 1.7;
  max-width: 370px;
  padding-bottom: 4px;
}
.attempt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: start;
}
.attempt-film {
  position: sticky;
  top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.attempt-film .phone {
  width: min(100%, 340px);
  aspect-ratio: 402/874;
  max-height: 72svh;
  border-width: 5px;
  border-radius: 36px;
}
.film-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
[hidden] {
  display: none !important;
}
.film-controls .action {
  font-size: 12px;
  padding: 14px 18px;
  min-height: 48px;
  gap: 18px;
}
#replay-attempt {
  background: none;
  border: 0;
  min-height: 48px;
  padding: 10px;
  font-size: 12px;
}
#film-status {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 16px;
  text-align: center;
  max-width: 370px;
}
.film-source {
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
  margin-top: 8px;
  color: #4a626f;
}
.film-source a {
  text-decoration: underline;
}
.error-poster {
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.chapters {
  list-style: none;
  padding: 0;
  margin: 0;
}
.chapters li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  padding: 34px 0 48px;
  border-top: 1px solid #142e422f;
}
.chapter-number {
  font:
    11px/1.5 "Courier New",
    monospace;
  padding-top: 1px;
  color: #657d86;
}
.chapters h3 {
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 16px 0;
}
.chapters p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
  max-width: 350px;
}
.chapters img {
  display: block;
  width: 190px;
  height: auto;
  border-radius: 18px;
  margin-top: 26px;
  border: 3px solid #142e42;
}
.return {
  color: #f6edd7;
  background: #19394c;
  padding: 100px 6% 75px;
}
.return-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px 10%;
  align-items: end;
  margin: 0 2% 65px;
}
.return-heading .eyebrow {
  grid-column: 1/-1;
}
.return-heading h2 {
  font-size: clamp(44px, 5.9vw, 86px);
}
.return-heading em {
  color: #c2d0cd;
}
.return-heading p:last-child {
  font-size: 18px;
  line-height: 1.6;
}
.landscapes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.landscapes figure {
  margin: 0;
}
.landscapes figure:nth-child(2) {
  padding-top: 75px;
}
.landscapes figure:nth-child(3) {
  padding-top: 150px;
}
.landscapes img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.landscapes figcaption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.landscapes figcaption span {
  font-size: 12px;
  line-height: 1.5;
  color: #c3d0d1;
}
.landscapes figcaption span:first-child {
  font:
    10px/1.6 "Courier New",
    monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.landscapes strong {
  font-size: 28px;
  letter-spacing: -1px;
}
.environment-note {
  margin-top: 55px;
  font-size: 11px;
  line-height: 1.6;
  color: #bdccd0;
}
.invitation {
  min-height: 80svh;
  padding: 110px 6% 80px;
  background: linear-gradient(#19394c, #75929e 38%, #dec8ad 79%, #eee4cf);
  color: #fff2d9;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.invitation h2 {
  font-size: clamp(46px, 8vw, 118px);
  margin: 30px 0 40px;
}
.invitation .action {
  background: #f5efd9;
  color: var(--ink);
}
.invitation > p:not(.eyebrow) {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  margin: 30px 0;
}
.invitation img {
  border-radius: 11px;
}
.r2 footer {
  padding: 36px 6%;
  background: #eee4cf;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--ink);
}
.r2 footer span,
.r2 footer > a:last-child {
  font-size: 11px;
}
.r2 footer > a:last-child {
  margin-left: auto;
}
.r2.no-webgl .hero-title {
  z-index: 6;
}
.r2.no-webgl .mountain .fallback {
  mask-image: linear-gradient(transparent, black 20%);
}
.r2.no-webgl .resolve-copy,
.r2.no-webgl .resolve-phone {
  opacity: 0;
}
.r2.no-webgl .journey {
  height: 100svh;
}
.r2.paused .snow {
  animation-play-state: paused;
}
@media (min-width: 761px) {
  .r2 .resolve-phone {
    right: 17%;
    top: 16%;
    height: 74%;
  }
}
@media (max-width: 760px) {
  .r2 header {
    padding: 0 6%;
    height: 74px;
    gap: 12px;
  }
  .r2 header .brand {
    font-size: 19px;
  }
  .r2 .lab-back {
    display: none;
  }
  .r2 .motion-toggle {
    margin-left: auto;
    font-size: 10px;
    padding: 8px 12px;
  }
  .r2 .journey {
    height: 155svh;
  }
  .r2 .hero-title {
    top: 20%;
    left: 6%;
  }
  .r2 .hero-title h1 {
    font-size: 19vw;
  }
  .r2 .hero-title .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .r2 .hero-bottom {
    bottom: 5%;
    gap: 18px;
  }
  .r2 .hero-bottom p {
    font-size: 16px;
  }
  .r2 .hero-bottom > .eyebrow {
    display: none;
  }
  .r2 .hero-bottom .action {
    font-size: 12px;
    min-height: 50px;
  }
  .r2 .resolve-copy {
    top: 9%;
    left: 7%;
  }
  .r2 .resolve-copy h2 {
    font-size: 40px;
  }
  .r2 .resolve-copy h2 br:first-child {
    display: none;
  }
  .r2 .resolve-copy .eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .r2 .resolve-copy .transition-note {
    font-size: 9px;
    margin-top: 10px;
  }
  .r2 .resolve-phone {
    top: 35%;
    height: 59%;
    left: 50%;
    right: auto;
  }
  .attempt {
    padding: 65px 7% 70px;
  }
  .section-intro {
    display: block;
    padding-bottom: 40px;
  }
  .section-intro h2 {
    font-size: 46px;
    margin: 24px 0;
  }
  .section-intro > p:last-child {
    font-size: 16px;
  }
  .attempt-layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  .attempt-film {
    position: relative;
    top: auto;
    width: 100%;
  }
  .attempt-film .phone {
    width: min(100%, 310px);
    max-height: none;
  }
  .chapters {
    width: 100%;
  }
  .chapters li {
    gap: 12px;
    padding: 25px 0 35px;
  }
  .chapters h3 {
    font-size: 31px;
  }
  .chapters img {
    width: min(100%, 240px);
  }
  .return {
    padding: 65px 7% 50px;
  }
  .return-heading {
    display: block;
    margin: 0 0 40px;
  }
  .return-heading h2 {
    font-size: 45px;
    margin: 25px 0;
  }
  .return-heading p:last-child {
    font-size: 16px;
  }
  .landscapes {
    display: block;
  }
  .landscapes figure:nth-child(n) {
    padding: 0;
    margin: 0 0 45px;
  }
  .landscapes figure:nth-child(2) {
    margin-left: 12%;
  }
  .landscapes figure:nth-child(3) {
    margin-right: 12%;
  }
  .landscapes img {
    aspect-ratio: 5/4;
  }
  .landscapes strong {
    font-size: 28px;
  }
  .environment-note {
    margin-top: 0;
  }
  .invitation {
    min-height: 70svh;
    padding: 75px 6% 55px;
  }
  .invitation h2 {
    font-size: 13vw;
  }
  .invitation .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .r2 footer {
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
  .r2 footer > a:last-child {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .r2 .journey {
    height: 100svh;
  }
  .r2 .stage {
    position: relative;
  }
  .r2 .capture-bridge,
  .r2 .resolve-copy,
  .r2 .resolve-phone {
    display: none;
  }
  .r2 .snow {
    animation: none;
  }
}
/* Keep every pixel of the real interface visible on short desktop windows. */
@media (min-width: 761px) {
  .attempt-film .phone {
    width: min(100%, 340px, calc(72svh * 402 / 874));
    max-height: none;
  }
}
.r2 .phone :is(img, video) {
  object-fit: contain;
}
/* R1 used a shorter phone; R2's taller reveal must scale width with height. */
.r2 .resolve-phone { box-sizing:content-box; }
@media(max-width:760px) { .r2 .resolve-phone { width:calc(59svh * 402 / 874);max-width:none; } }
