/* ——— Everything you already have (#reach, #rv-reach, #reach-wall), 本人 2026-11-30 「兼容与上限计划都做吧」.
   One morning in three beats, on the site's own scene grammar (.rv): Codex's photographs, her note in the lesson note's own glass
   (sections/teaches.css .tx-said), a real recording of the iPhone and a real iOS lock screen in the phone frame the site already
   uses (sections/once.css .once-phone). Then every name, set as type, rising slowly round her real Orb. */

#rv-reach { height: 330vh; }

/* her note, lower left on the morning light */
#rv-reach .rc-cards { position: absolute; inset: 0; pointer-events: none; }
#rv-reach .rc-note { left: var(--edge); top: auto; bottom: 12vh; width: min(25rem, 34vw); padding: .95em 1.15em .95em; border-radius: 1.2em;
  font-size: clamp(14px, .42vw + 9.5px, 17.5px); opacity: 0; transform: translateY(14px);
  transition: opacity .8s ease .35s, transform 1.1s cubic-bezier(.22, 1, .36, 1) .35s; }
#rv-reach .rc-note.show { opacity: 1; transform: none; }

/* her iPhone: the recording of Messages, then the lock screen; the frame the site's other phones wear */
#rv-reach .rv-w { width: min(27rem, 33vw); }
#rv-reach .rc-phone { position: absolute; margin: 0; left: 41vw; top: 0; bottom: 0; margin-block: auto; height: min(66vh, 760px); aspect-ratio: 1320 / 2868;
  border-radius: 13.5% / 6.2%; overflow: hidden; padding: 9px; background: #0d0d0f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -40px rgba(0, 0, 0, .85), 0 20px 40px -20px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .9s ease .2s, transform 1.2s cubic-bezier(.22, 1, .36, 1) .2s; }
#rv-reach .rc-phone.show { opacity: 1; transform: none; }
#rv-reach .rc-phone > img, #rv-reach .rc-phone > video { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px);
  object-fit: cover; border-radius: 12.4% / 5.7%; background: #000; }
#rv-reach .rc-phone > img { opacity: 0; transition: opacity .6s ease; }
#rv-reach .rc-phone > img.ready { opacity: 1; }
#rv-reach .rc-phone > video { opacity: 0; transition: opacity .5s ease; }
#rv-reach .rc-phone > video.on { opacity: 1; }

/* every name: six doors, rising slowly; her Orb and the one line in the middle */
.reach-wall { position: relative; height: 110vh; min-height: 720px; overflow: hidden; background: #070706; isolation: isolate; }
.rw-field { position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.rw-roll { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: clamp(16px, 3vw, 56px); row-gap: 9vh;
  width: min(1240px, calc(100% - 2 * var(--edge))); margin: 0 auto; padding-top: 6vh; will-change: transform; animation: rw-rise 90s linear infinite; }
.reach-wall:not(.live) .rw-roll { animation-play-state: paused; }
@keyframes rw-rise { to { transform: translateY(-50%); } }
.rw-col h4 { margin: 0 0 1.1em; font: 500 11px/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(213, 184, 120, .78); }
.rw-col ul { list-style: none; margin: 0; padding: 0; font-family: var(--font-display); font-size: clamp(18px, .55vw + 12px, 24px); line-height: 1.9; color: rgba(246, 241, 231, .34); }
.rw-col li:nth-child(3n + 1) { color: rgba(246, 241, 231, .58); }
.rw-col li:last-child { font-style: italic; }
/* the middle, kept clear of the names that pass behind it */
.rw-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 var(--edge); z-index: 1; }
.rw-center::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1180px, 120vw); height: 72vh; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(7, 7, 6, 1), rgba(7, 7, 6, .97) 58%, rgba(7, 7, 6, 0)); }
.rw-orb { position: relative; width: 88px; height: 88px; margin-bottom: 28px; }
.rw-center h2 { margin: 0; font-family: var(--font-display); font-weight: var(--w-regular); font-size: clamp(36px, 2.6vw + 14px, 72px); line-height: 1.04; letter-spacing: -.01em; color: #f6f1e7; text-wrap: balance; }
.rw-center p { max-width: 36rem; margin: 22px auto 0; font-family: var(--font-serif); font-style: italic; font-size: var(--t-body); line-height: 1.6; color: rgba(246, 241, 231, .74); text-wrap: balance; }

@media (max-width: 760px) {
  #rv-reach { height: auto; padding: 8vh 0 2vh; }
  #rv-reach .rv-pin { position: relative; height: auto; display: flex; flex-direction: column; overflow: visible; }
  #rv-reach .rv-stage, #rv-reach .rv-words, #rv-reach .rc-cards { display: contents; }
  #rv-reach .rv-shot { position: relative; left: auto; top: auto; width: 100%; opacity: 1; }
  #rv-reach .rv-shot > i { transform: none; transition: none; }
  #rv-reach .rv-shot.dim { display: none; }
  #rv-reach .rv-w, #rv-reach .rc-note, #rv-reach .rc-phone { position: relative; inset: auto; width: auto; margin: 22px var(--gutter) 0; opacity: 1; transform: none; transition: none; }
  #rv-reach .rv-w { margin-bottom: 40px; } #rv-reach .rv-w::before { display: none; }
  #rv-reach .rc-note { width: min(340px, calc(100% - 2 * var(--gutter))); }
  #rv-reach .rc-phone { left: auto; height: auto; width: min(260px, 66%); margin: 18px auto 28px; }
  #rv-reach .rv-shot[data-on="0"] { order: 1; } #rv-reach .rv-w[data-on="0"] { order: 2; } #rv-reach .rc-note { order: 3; margin-bottom: 44px; }
  #rv-reach .rv-w[data-on="1"] { order: 4; } #rv-reach .rc-app { order: 5; }
  #rv-reach .rv-shot[data-on="2"] { order: 6; } #rv-reach .rv-w[data-on="2"] { order: 7; } #rv-reach .rc-lock { order: 8; }
  .reach-wall { height: 92vh; min-height: 560px; }
  .rw-roll { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 6vh; }
  .rw-orb { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .rw-roll { animation: none; } #rv-reach .rc-note, #rv-reach .rc-phone { transition: opacity .6s ease; transform: none; } }
