/* ============================================================================
   remembering.css · cahager.com v2.1-a "The Remembering"
   The page's own layer over the unedited scrollcraft engine. Tokens first, then
   the chrome (mark, thread), then the six movements in reading order.
   Hard laws carried here: dark everywhere, body 18px+, line-height 1.7+,
   measure 60-66ch, nothing justified, breath easing, full reduced motion.
   ========================================================================== */

:root {
  --ink:      #120C17;
  --ink-2:    #1B1223;
  --ink-3:    #22162B;
  --mystic:   #3B1A4C;
  --gold:     #A57626;           /* Ankh gold: hairlines, fills, marks          */
  --gold-lit: #C9A15A;           /* same hue, lifted: the only gold small text  */
  --wine:     #7C2D50;
  --mirror:   #E7E7E7;
  --soft:     #BDB3C7;           /* secondary text, tinted toward mystic         */
  --dim:      #948AA0;
  --line:     rgba(231, 231, 231, 0.12);
  --line-2:   rgba(231, 231, 231, 0.2);
  --gold-line: rgba(165, 118, 38, 0.42);

  --breath:   cubic-bezier(.22, .61, .36, 1);
  --breath-d: 900ms;
  --r: 2px;                      /* one radius for the whole page: cut stone    */

  --serif: "Literata", "Iowan Old Style", Georgia, serif;
  --sans:  "Mulish", "Helvetica Neue", Arial, sans-serif;

  /* engine tokens */
  --sc-canvas: var(--ink);
  --sc-surface: var(--ink-2);
  --sc-ink: var(--mirror);
  --sc-ink-soft: var(--soft);
  --sc-accent: var(--gold-lit);
  --sc-accent-ink: var(--ink);
  --sc-font-display: var(--serif);
  --sc-font-text: var(--sans);
  --sc-shadow-color: 280 40% 3%;
  --sc-gutter: clamp(1rem, 5vw, 5.5rem);

  --ground: var(--ink);
}

html { background: var(--ink); }

/* An element carrying [hidden] stays hidden, whatever display its class gives it. Without this,
   .rv-voice__opt { display: inline-flex } overrode the attribute and showed "Chris reads". */
[hidden], .rv-voice__opt[hidden], .rv-voice[hidden], .rv-voice__return[hidden], .rv-return[hidden],
.rv-more__nav[hidden] { display: none !important; }

/* ---- the release gate (see the comment on <html> and VERSION-NOTES.md) ----
   public: gated elements are gone until their gate opens; data-gate-alt stands in for them.
   preview: everything shows, and the alternates stay out of the way. */
html[data-release="public"] [data-gate="attribution"],
html[data-release="public"]:not([data-open~="pixie"]) [data-gate="pixie"] { display: none !important; }
html:not([data-release="public"]) [data-gate-alt],
html[data-open~="pixie"] [data-gate-alt="pixie"] { display: none !important; }
html[data-release="public"] [data-gate-note],
html[data-open~="pixie"] [data-gate-note="pixie"] { display: none !important; }
html[data-release="public"]:not([data-open~="pixie"]) .rv-summit { grid-template-columns: minmax(0, 1fr); max-width: 48rem; }
html[data-release="public"]:not([data-open~="pixie"]) .rv-summit__text { max-width: 40rem; }
body {
  background: var(--ground);
  color: var(--mirror);
  font-family: var(--sans);
  font-size: clamp(1.125rem, 1.07rem + 0.22vw, 1.25rem);
  line-height: 1.75;
  letter-spacing: 0.004em;
  font-weight: 400;
}
html.rv-locked { overflow: hidden; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-lit); outline-offset: 4px; border-radius: var(--r); }
.sc-grain { opacity: 0.05; z-index: 70; }

.rv-wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--sc-gutter); }
.rv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rv-skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink-2); color: var(--mirror); padding: .6rem 1rem; border-radius: var(--r);
  border: 1px solid var(--gold-line);
}
.rv-skip:focus { top: 1rem; }

/* --------------------------------------------------------------- type -- */
.rv-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: var(--mirror);
}
.rv-h3 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.rv-body { color: var(--soft); max-width: 34em; text-wrap: pretty; }   /* ≈ 62-66 characters in Mulish */
.rv-eyebrow {
  font-family: var(--sans); font-weight: 600;
  font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-lit); margin-bottom: 1.25rem;
}
.rv-note { color: var(--dim); font-size: 1.125rem; line-height: 1.7; max-width: 46ch; font-style: italic; font-family: var(--serif); }
.rv-quote { margin: 0; }
.rv-quote blockquote, .rv-hinge blockquote, .rv-threshold__promise blockquote { margin: 0; }
.rv-quote p {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); line-height: 1.4; color: var(--mirror);
  text-wrap: balance;
}
.rv-quote figcaption, .rv-hinge figcaption, .rv-threshold__promise figcaption {
  margin-top: 1rem; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim);
}
.rv-quote::before, .rv-threshold__promise::before {
  content: ""; display: block; width: 2.5rem; height: 1px; background: var(--gold); margin-bottom: 1.5rem;
}

.rv-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
  color: var(--mirror); text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 1px; text-underline-offset: 0.4em;
  transition: color 160ms var(--breath), text-underline-offset 160ms var(--breath);
}
.rv-link:hover { color: var(--gold-lit); text-underline-offset: 0.5em; }
.rv-link:active { transform: translateY(1px); }
.rv-link--gold { color: var(--gold-lit); }

.rv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.6rem;
  background: var(--gold); color: var(--ink);
  border: 0; border-radius: var(--r);
  font: 700 1rem/1 var(--sans); letter-spacing: 0.04em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 230, 190, 0.25) inset, var(--sc-e2);
  transition: background-color 160ms var(--breath), transform 120ms var(--breath);
}
.rv-btn:hover { background: #B68532; }
.rv-btn:active { transform: translateY(1px) scale(0.99); }
.rv-btn:disabled { opacity: .5; cursor: not-allowed; }

/* glyphs: his own icon set, used as masks so they take the page's colour */
.rv-glyph {
  display: inline-block; width: 1em; height: 1em; flex: none;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.g-ankh   { --m: url(../icons/ankh.png); }
.g-arm    { --m: url(../icons/arm.png); }
.g-braid  { --m: url(../icons/braid.png); }
.g-crescent { --m: url(../icons/crescent.png); }
.g-horus  { --m: url(../icons/horus.png); }
.g-ibis   { --m: url(../icons/ibis.png); }
.g-scarab { --m: url(../icons/scarab.png); }
.g-sun    { --m: url(../icons/sun.png); }
.g-water  { --m: url(../icons/water.png); }

/* ============================================================ CHROME ==== */
.rv-mark {
  position: fixed; z-index: 60;
  top: max(14px, env(safe-area-inset-top)); left: clamp(12px, 1.8vw, 26px);
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(18, 12, 23, 0.72); color: var(--mirror);
  border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
  transition: color 160ms var(--breath), border-color 160ms var(--breath);
}
.rv-mark:hover { color: var(--gold-lit); border-color: var(--gold-line); }
.rv-mark__glyph {
  width: 26px; height: 27px; background: currentColor;
  -webkit-mask: url(../logos/mark-white-96.png) center / contain no-repeat; mask: url(../logos/mark-white-96.png) center / contain no-repeat;
}
.rv-mark { transition: color 160ms var(--breath), border-color 160ms var(--breath), opacity 420ms var(--breath), translate 420ms var(--breath); }
.rv-mark.is-tucked:not(:focus-visible) { opacity: 0; translate: 0 -72px; pointer-events: none; }

.rv-progress { display: none; }

/* The thread: a plumb line at the right edge. It fills with the descent; his glyphs mark
   the six movements and are the navigation. */
.rv-thread {
  position: fixed; z-index: 55;
  right: clamp(10px, 1.6vw, 24px); top: 17svh; bottom: 17svh; width: 44px;
}
.rv-thread__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rv-thread__fill {
  position: absolute; inset: 0; background: linear-gradient(var(--gold-lit), var(--gold));
  transform-origin: 50% 0; transform: scaleY(var(--prog, 0));
}
.rv-thread__marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.rv-thread__marks li { position: absolute; left: 0; top: calc(var(--at, 0) * 100%); translate: 0 -50%; }
.rv-thread__marks a {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  color: rgba(231, 231, 231, 0.42); text-decoration: none; border-radius: var(--r);
}
.rv-thread__marks a::before {                     /* a small plate under the glyph so the line breaks around it */
  content: ""; position: absolute; width: 26px; height: 26px; background: var(--ground); border-radius: 50%;
}
.rv-thread__marks .rv-glyph { position: relative; width: 16px; height: 16px; transition: color 300ms var(--breath), transform 300ms var(--breath); }
.rv-thread__marks a.is-current, .rv-thread__marks a.is-past { color: var(--gold-lit); }
.rv-thread__marks a.is-current .rv-glyph { transform: scale(1.18); }
.rv-thread__lbl {
  position: absolute; right: 46px; top: 50%; translate: 0 -50%;
  white-space: nowrap; pointer-events: none;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mirror); background: rgba(18, 12, 23, 0.92); padding: 0.35rem 0.7rem; border-radius: var(--r);
  border: 1px solid var(--line);
  opacity: 0; transform: translateX(6px); transition: opacity 180ms var(--breath), transform 180ms var(--breath);
}
.rv-thread__marks a:hover .rv-thread__lbl,
.rv-thread__marks a:focus-visible .rv-thread__lbl { opacity: 1; transform: none; }

.rv-index {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 9, 18, 0.97); color: var(--mirror);
}
.rv-index::backdrop { background: rgba(0, 0, 0, 0.5); }
.rv-index__in {
  min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: 5rem var(--sc-gutter); max-width: 40rem;
}
.rv-index__word { width: min(260px, 70vw); height: auto; opacity: .92; }
.rv-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.rv-index a {
  display: flex; align-items: center; gap: 1rem; min-height: 56px;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  text-decoration: none; color: var(--mirror);
}
.rv-index a .rv-glyph { width: 22px; height: 22px; color: var(--gold-lit); }
.rv-index a:hover { color: var(--gold-lit); }
.rv-index__close {
  min-height: 48px; padding: 0 1.4rem; background: transparent; color: var(--mirror);
  border: 1px solid var(--line-2); border-radius: var(--r); font: 600 1rem var(--sans); cursor: pointer;
}
.rv-index[open] .rv-index__in { animation: rv-rise 520ms var(--breath) both; }

/* ================================================= I · THE VISION ======= */
.rv-hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  overflow: clip; isolation: isolate; --hy: 0;
}
.rv-hero__wall {
  position: absolute; inset: -16svh 0 -8svh 0; z-index: 0;
  transform: translate3d(0, calc(var(--hy) * 0.36px), 0);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.62) 34%, #000 60%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.62) 34%, #000 60%);
}
.rv-hero__wall canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-hero__wall::after {           /* the room closes in at the edges */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 66% 42%, transparent 38%, rgba(18,12,23,.78) 86%);
}
.rv-hero__aura {
  position: absolute; z-index: 1; pointer-events: none;
  right: max(-4vw, calc(50% - 50rem)); bottom: 2svh; width: min(58vw, 820px); height: 92svh;
  background:
    radial-gradient(closest-side at 50% 44%, rgba(165,118,38,.16), transparent 62%),
    radial-gradient(closest-side at 50% 52%, rgba(124,45,80,.34), rgba(59,26,76,.26) 52%, transparent 100%);
  transform: translate3d(0, calc(var(--hy) * 0.24px), 0);
  animation: rv-aura 14s var(--breath) infinite alternate;
}
.rv-hero__figure {
  position: absolute; z-index: 2; margin: 0;
  right: max(7vw, calc(50% - 40rem)); bottom: 4svh; height: min(90svh, 1040px);
  transform: translate3d(0, calc(var(--hy) * 0.16px), 0);
}
.rv-hero__float { height: 100%; animation: rv-float 9s var(--breath) infinite alternate; }
.rv-hero__figure img {
  height: 100%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.55) 82%, transparent 97%);
          mask-image: linear-gradient(to bottom, #000 66%, rgba(0,0,0,.55) 82%, transparent 97%);
  filter: drop-shadow(0 30px 60px rgba(8, 4, 12, 0.55));
}
.rv-hero__near {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none;
  transform: translate3d(0, calc(var(--hy) * -0.14px), 0);
}
.rv-hero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30svh; z-index: 4; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--ground) 92%);
}
.rv-hero__copy {
  position: absolute; z-index: 5;
  left: var(--sc-gutter); bottom: clamp(3rem, 13svh, 9rem);
  width: min(38rem, 48vw);
}
.rv-hero__name {
  font-weight: 600; font-size: 0.875rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-lit);
}
.rv-hero__h1 {
  margin-top: 1.1rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.5rem, 1.35rem + 3.9vw, 5.25rem);
  line-height: 1.03; letter-spacing: -0.024em; text-wrap: balance; color: var(--mirror);
}
.rv-hero__lede { margin-top: 1.4rem; color: var(--soft); max-width: 34ch; }
.rv-hero__copy .rv-link { margin-top: 1.6rem; }
.rv-hero__copy > * { animation: rv-rise 1100ms var(--breath) both; }
.rv-hero__copy > :nth-child(2) { animation-delay: 120ms; }
.rv-hero__copy > :nth-child(3) { animation-delay: 260ms; }
.rv-hero__copy > :nth-child(4) { animation-delay: 400ms; }

@keyframes rv-float { from { transform: translate3d(0, -7px, 0); } to { transform: translate3d(0, 7px, 0); } }
@keyframes rv-aura  { from { opacity: .82; scale: .97; } to { opacity: 1; scale: 1.03; } }
@keyframes rv-rise  { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* ---- who he is ---- */
.rv-story { padding-block: clamp(4rem, 9vw, 9rem) clamp(5rem, 11vw, 11rem); }
.rv-story__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2rem); }
.rv-story__h { grid-column: 1 / 9; max-width: 16ch; }
.rv-story__p { grid-column: 3 / 10; margin-top: clamp(2rem, 4vw, 3rem); color: var(--mirror); opacity: .88; }
.rv-story__q { grid-column: 7 / 13; margin-top: clamp(3rem, 6vw, 5rem); }

/* ================================================= II · THE REPS ======== */
.rv-reps { padding-block: clamp(4rem, 8vw, 8rem) clamp(5rem, 10vw, 10rem); }
.rv-reps__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem); row-gap: clamp(2.5rem, 5vw, 4rem);
}
.rv-reps__head { grid-column: 1 / 6; grid-row: 1; }
.rv-reps__head .rv-body { margin-top: 1rem; }
.rv-reps__total { grid-column: 1 / 6; grid-row: 2; align-self: end; }
.rv-big {
  font-family: var(--serif); font-weight: 250; font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(5.5rem, 2.6rem + 9vw, 11rem); line-height: .9; letter-spacing: -0.04em; color: var(--mirror);
}
.rv-reps__lbl { margin-top: .9rem; color: var(--mirror); font-weight: 600; letter-spacing: .02em; }
.rv-reps__asof { margin-top: .4rem; color: var(--dim); font-size: 1rem; }
.rv-reps__total .rv-egy { margin-top: 1.4rem; }
.rv-reps__total .rv-egy svg { height: 44px; }

.rv-ledger { grid-column: 7 / 13; grid-row: 1 / 3; align-self: end; list-style: none; margin: 0; padding: 0; }
.rv-ledger li {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; column-gap: 1.25rem;
  padding: 1.05rem 0; border-top: 1px solid var(--line);
}
.rv-ledger li:last-child { border-bottom: 1px solid var(--line); }
.rv-ledger__yr { color: var(--soft); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.rv-ledger__n {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.1; text-align: right; font-variant-numeric: lining-nums tabular-nums;
}
.rv-ledger__n small {
  display: block; font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--dim); letter-spacing: 0; margin-top: .2rem;
}
.rv-ledger .rv-egy svg { height: 30px; }

.rv-egy { display: block; color: var(--gold); }
.rv-egy svg { display: block; width: auto; overflow: visible; }
.rv-egy path {
  fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1500ms var(--breath);
  transition-delay: calc(var(--k, 0) * 70ms + 200ms);
}
.sc-in .rv-egy path, .rv-egy.is-drawn path { stroke-dashoffset: 0; }

.rv-reps__photo { grid-column: 1 / 5; grid-row: 3; margin: 0; }
.rv-reps__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); box-shadow: var(--sc-e3); }
.rv-reps__photo figcaption { margin-top: .8rem; font-size: 1rem; line-height: 1.7; color: var(--dim); }
.rv-reps__souls { grid-column: 6 / 12; grid-row: 3; align-self: center; }
.rv-reps__souls > * + * { margin-top: 1.1rem; }
.rv-mid {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.18;
  letter-spacing: -0.015em; text-wrap: balance; max-width: 18ch;
}

/* ================================================= III · INTO THE DOJO == */
.rv-dojo { padding-block: clamp(4rem, 8vw, 8rem) clamp(5rem, 10vw, 10rem); }
.rv-dojo__head { max-width: 46rem; }
.rv-dojo__head .rv-body { margin-top: 1.2rem; }
.rv-dojo__rooms { margin-top: clamp(2.5rem, 5vw, 4rem); }
.rv-room {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; column-gap: clamp(1rem, 2vw, 1.75rem);
  align-items: baseline; padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.rv-room:last-child { border-bottom: 1px solid var(--line); }
.rv-room > .rv-glyph { width: 24px; height: 24px; color: var(--gold-lit); align-self: center; }
.rv-room__name { font-family: var(--serif); font-weight: 350; font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); line-height: 1.25; }
.rv-room__line { color: var(--soft); font-family: var(--serif); font-style: italic; font-size: 1.125rem; line-height: 1.7; margin-top: .15rem; }
.rv-room__meta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: .1rem; }
.rv-room__count { color: var(--dim); font-size: 1rem; font-style: italic; font-family: var(--serif); }
.rv-room--open .rv-room__count { color: var(--gold-lit); font-style: normal; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; }
.rv-room__door { font-size: 1rem; }
.rv-room--open { padding-block: 2rem 2.75rem; }
.rv-films {
  grid-column: 2 / 4; margin-top: 2rem;
  display: grid; grid-template-columns: minmax(0, 0.56fr) minmax(0, 1.44fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: end;
}
.rv-film { margin: 0; }
.rv-film__frame {
  position: relative; overflow: hidden; border-radius: var(--r); background: #07050a;
  box-shadow: var(--sc-e3); border: 1px solid var(--line);
}
.rv-film__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-film__play {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%;
  background: linear-gradient(180deg, rgba(18,12,23,0) 45%, rgba(18,12,23,.55)); border: 0; cursor: pointer; color: var(--mirror);
}
.rv-film__play span {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(18, 12, 23, 0.72); border: 1px solid rgba(231,231,231,.35);
  transition: transform 160ms var(--breath), border-color 160ms var(--breath);
}
.rv-film__play span::before {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-left: 15px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.rv-film__play:hover span { transform: scale(1.05); border-color: var(--gold-lit); }
.rv-film.is-playing .rv-film__play { display: none; }
.rv-film figcaption { margin-top: 1rem; }
.rv-film blockquote { margin: 0; }
.rv-film blockquote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 1rem + .45vw, 1.35rem); line-height: 1.7; color: var(--mirror); }
.rv-film__who { margin-top: .5rem; color: var(--dim); font-size: 1rem; line-height: 1.7; }

/* ================================================= IV · THE PRAYER ====== */
.rv-hinge {
  min-height: 86svh; display: grid; place-items: center; padding: 6rem var(--sc-gutter);
}
.rv-hinge__line { margin: 0; text-align: center; max-width: 30rem; }
.rv-hinge p {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.3rem); line-height: 1.42; color: var(--mirror); text-wrap: balance;
}

.rv-prayer { padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 9vw, 8rem); }
.rv-prayer__wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
.rv-prayer__head { max-width: 40rem; }
.rv-prayer__title { max-width: 18ch; }
.rv-prayer__by { margin-top: 1.1rem; color: var(--gold-lit); font-size: 1rem; letter-spacing: .02em; }
.rv-prayer__gate {                   /* preview only: an honest word about the gate */
  margin-top: .5rem; color: var(--soft); font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.7;
}
.rv-prayer__gate::before { content: ""; display: inline-block; width: 1.2em; height: 1px; margin-right: .6em; vertical-align: middle; background: var(--gold-line); }
.rv-prayer__how { margin-top: 1.25rem; color: var(--soft); max-width: 44ch; }

.rv-reading {
  font-family: var(--serif); font-weight: 350; font-optical-sizing: auto;
  font-size: clamp(1.25rem, 1.08rem + 0.7vw, 1.625rem);
  line-height: 1.82; letter-spacing: 0.002em; color: var(--mirror);
  max-width: 30em;                 /* ≈ 62-66 characters in Literata */
}
.rv-prayer .rv-reading { margin-top: clamp(4rem, 9vw, 7rem); margin-left: clamp(0rem, 9vw, 10rem); }
.rv-stanza { margin: 0 0 1.55em; }
.rv-stanza [data-line] { position: relative; text-wrap: pretty; }
.rv-stanza--verse [data-line] + [data-line] { margin-top: .12em; }
.rv-stanza__h {
  font-family: var(--sans); font-weight: 600; font-size: .875rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-lit); margin-bottom: .6em;
}

/* the breath: sentences wait, cool and quiet, and warm as the reader reaches them.
   Explicit colours, never opacity, so every visible line clears 4.5:1 on its ground
   (measured against #0D0911 · #110B16 · the sheet's #150E1B):
     waiting #8B8199  5.35 · 5.26 · 5.13      risen #D6CDCB  12.6 · 12.4 · 12.1
     here    #F2EDE6  16.9 · 16.7 · 16.2      unsaid (voice) #A89EB2  7.70 · 7.57 · 7.38 */
.rv-reading { --wait: #8B8199; --risen: #D6CDCB; --here: #F2EDE6; --unsaid: #A89EB2; }
.rv-reading.is-breathing .ph { color: var(--wait); transition: color 1400ms var(--breath), text-shadow 1400ms var(--breath); }
.rv-reading.is-breathing .ph.is-up { color: var(--risen); }
.rv-reading.is-breathing .ph.is-here { color: var(--here); text-shadow: 0 0 22px rgba(201, 161, 90, .16); }

/* the voice: words light as they are spoken */
.rv-reading .w { transition: color 260ms var(--breath); }
.rv-reading.is-playing .w { color: var(--unsaid); }
.rv-reading .w.is-said { color: var(--mirror); }
.rv-reading .w.is-now { color: var(--gold-lit); }
.rv-reading [data-line].is-live::before {
  content: ""; position: absolute; left: -1.5em; top: .92em; width: .7em; height: 1px; background: var(--gold);
}

/* the voice control: docked at the bottom through the whole reading, in reach of a thumb */
.rv-voice { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.rv-voice--dock {
  position: sticky; z-index: 30; bottom: max(16px, env(safe-area-inset-bottom));
  opacity: 0; pointer-events: none; translate: 0 8px;
  transition: opacity 600ms var(--breath), translate 600ms var(--breath);
  margin-top: 3rem; margin-left: clamp(0rem, 9vw, 10rem); width: fit-content; max-width: 100%;
  padding: 5px; background: rgba(27, 18, 35, 0.94); border: 1px solid rgba(165, 118, 38, 0.3); border-radius: var(--r);
  box-shadow: var(--sc-e3);
}
.rv-voice--dock.is-docked, .rv-voice--dock:focus-within { opacity: 1; pointer-events: auto; translate: 0 0; }
.rv-voice__opt {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 46px; padding: 0 1.15rem;
  background: transparent; color: var(--mirror); border: 1px solid transparent; border-radius: var(--r);
  font: 600 1rem/1 var(--sans); letter-spacing: .02em; cursor: pointer;
  transition: background-color 180ms var(--breath), color 180ms var(--breath), border-color 180ms var(--breath);
}
.rv-voice__opt:hover { border-color: var(--gold-line); }
.rv-voice__opt:active { transform: translateY(1px); }
.rv-voice__opt[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.rv-voice__opt[aria-disabled="true"] { color: var(--dim); }
.rv-voice__ico { position: relative; width: 12px; height: 14px; flex: none; }
.rv-voice__ico::before {              /* play */
  content: ""; position: absolute; inset: 0;
  border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.rv-voice__opt[aria-pressed="true"] .rv-voice__ico::before,
.rv-voice__ico--pause::before {                                 /* pause */
  border: 0; width: 3px; left: 1px; background: currentColor; box-shadow: 6px 0 0 currentColor;
}
.rv-voice__note { flex-basis: 100%; color: var(--soft); font-size: 1rem; line-height: 1.7; padding: 0 .6rem .35rem; }

/* "Return to the reading": appears only after the reader has taken the page from the voice.
   Small, fixed, calm. The voice keeps reading; this is how the reader hands the page back. */
.rv-return {
  position: fixed; z-index: 62; left: 50%; translate: -50% 0;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 2px; padding: 4px;
  background: rgba(27, 18, 35, 0.95); border: 1px solid rgba(165, 118, 38, 0.32); border-radius: var(--r);
  box-shadow: var(--sc-e3);
  animation: rv-rise 600ms var(--breath) both;
  transition: bottom 420ms var(--breath);
}
.rv-return__go, .rv-return__pause, .rv-voice__return {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 44px;
  background: transparent; color: var(--mirror); border: 1px solid transparent; border-radius: var(--r);
  font: 600 1rem/1 var(--sans); letter-spacing: .02em; cursor: pointer; white-space: nowrap;
  transition: border-color 180ms var(--breath), color 180ms var(--breath);
}
.rv-return__go { padding: 0 1rem; }
.rv-return__pause { width: 44px; }
.rv-return__go:hover, .rv-return__pause:hover, .rv-voice__return:hover { border-color: var(--gold-line); color: var(--gold-lit); }
.rv-return__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-lit); box-shadow: 0 0 10px rgba(201, 161, 90, .6); flex: none; }
.rv-voice__return { padding: 0 1rem; border-color: var(--line-2); }
.rv-voice__note:empty { display: none; }

/* ---- six more prayers: a quiet rail ---- */
.rv-more { padding-block: clamp(4rem, 8vw, 7rem) clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.rv-more__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .75rem 2rem; }
.rv-more__head .rv-body { grid-column: 1; }
.rv-more__nav { grid-column: 2; grid-row: 1 / 3; display: flex; gap: .5rem; }
.rv-arrow {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--mirror); border: 1px solid var(--line-2); border-radius: var(--r); font-size: 1.1rem;
  transition: border-color 160ms var(--breath), color 160ms var(--breath);
}
.rv-arrow:hover { border-color: var(--gold-line); color: var(--gold-lit); }
.rv-arrow:disabled { opacity: .35; cursor: default; }
.rv-rail {
  list-style: none; margin: 2.5rem 0 0; display: flex; gap: clamp(1.25rem, 2.6vw, 2.25rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  --rail-in: max(var(--sc-gutter), calc((100vw - 80rem) / 2 + var(--sc-gutter)));   /* the first card sits under the heading */
  padding: 1rem var(--rail-in) 2.5rem; scroll-padding-inline: var(--rail-in);
  scrollbar-width: none;
}
.rv-rail::-webkit-scrollbar { display: none; }
.rv-rail li { flex: 0 0 clamp(210px, 19vw, 272px); scroll-snap-align: start; }
.rv-card {
  display: block; width: 100%; padding: 0; text-align: left; cursor: pointer;
  background: none; border: 0; color: inherit; font: inherit;
}
.rv-card__img {
  display: block; width: 100%; height: auto; aspect-ratio: 928 / 1150; object-fit: cover; object-position: 50% 42%;
  border-radius: var(--r); background: var(--ink-2);
  box-shadow: 0 2px 6px rgba(6, 3, 9, .45), 0 22px 44px -14px rgba(6, 3, 9, .75);
  transition: transform 260ms var(--breath), box-shadow 260ms var(--breath);
}
@media (hover: hover) and (pointer: fine) {
  .rv-card:hover .rv-card__img { transform: translateY(-5px); box-shadow: 0 4px 10px rgba(6,3,9,.45), 0 30px 54px -16px rgba(6,3,9,.8); }
}
.rv-card:active .rv-card__img { transform: scale(.985); }
.rv-card__title { display: block; margin-top: 1.1rem; font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; line-height: 1.3; }
.rv-card__by { display: block; margin-top: .3rem; color: var(--dim); font-size: 1rem; line-height: 1.7; }
.rv-flag {
  display: inline-block; margin-top: .35rem; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-lit); border-bottom: 1px solid var(--gold-line);
}

/* ---- the reading sheet ---- */
.rv-sheet {
  width: min(52rem, 100%); height: 100%; max-width: 100%; max-height: 100%;
  margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--line);
  background: #150E1B; color: var(--mirror); overflow: hidden;
}
.rv-sheet::backdrop { background: rgba(6, 3, 9, 0.72); }
.rv-sheet[open] { animation: rv-sheet-in 620ms var(--breath) both; }
@keyframes rv-sheet-in { from { transform: translate3d(6%, 0, 0); opacity: 0; } to { transform: none; opacity: 1; } }
.rv-sheet__in { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 5vw, 4rem) 8rem; }
.rv-sheet__head { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 1.25rem; align-items: start; }
.rv-sheet__card { width: 96px; height: auto; aspect-ratio: 928 / 1150; object-fit: cover; border-radius: var(--r); box-shadow: var(--sc-e2); }
.rv-sheet__by { margin-top: .5rem; color: var(--dim); font-size: 1rem; }
.rv-sheet__close {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font-size: 1.6rem; line-height: 1;
  background: transparent; color: var(--mirror); border: 1px solid var(--line-2); border-radius: var(--r);
}
.rv-sheet__close:hover { border-color: var(--gold-line); color: var(--gold-lit); }
.rv-voice--sheet { margin-top: 1.75rem; position: sticky; top: -1px; z-index: 2; padding: .5rem 0; background: #150E1B; }
.rv-voice--sheet .rv-voice__opt { border-color: var(--line-2); }
.rv-voice--sheet .rv-voice__note { padding-left: 0; }
.rv-reading--sheet { margin-top: 1.5rem; font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.375rem); }

/* ================================================= V · THE DOORWAYS ===== */
.rv-doors { padding-block: clamp(5rem, 10vw, 10rem) 0; }
.rv-summit-room { padding-block: 0 clamp(5rem, 10vw, 9rem); }
.rv-doors__head { max-width: 48rem; }
.rv-doors__head .rv-body { margin-top: 1.25rem; }
.rv-stair { list-style: none; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; counter-reset: none; }
.rv-step {
  --i: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, auto); column-gap: 2.5rem; row-gap: .35rem;
  align-items: end;
  padding: 1.75rem 0 1.75rem; border-top: 1px solid var(--line);
  margin-left: calc(var(--i) * clamp(0rem, 2.6vw, 2.75rem));     /* the stair climbs toward the summit */
}
.rv-step:nth-child(2) { --i: 1; } .rv-step:nth-child(3) { --i: 2; } .rv-step:nth-child(4) { --i: 3; }
.rv-step:nth-child(5) { --i: 4; } .rv-step:nth-child(6) { --i: 5; } .rv-step:nth-child(7) { --i: 6; }
.rv-step > * { grid-column: 1; }
.rv-step__kind { font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.rv-step__name { font-family: var(--serif); font-weight: 350; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.2; }
.rv-step__line { color: var(--soft); max-width: 34em; }
.rv-step__terms { grid-column: 2; grid-row: 1 / 4; align-self: end; text-align: right; font-weight: 600; color: var(--mirror); font-variant-numeric: lining-nums; }
.rv-step .rv-link { grid-column: 2; grid-row: 4; justify-self: end; }
.rv-step__links { grid-column: 2; grid-row: 4; justify-self: end; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.rv-step__links .rv-link { grid-column: auto; grid-row: auto; }
.rv-summit__act span .rv-link { display: inline; min-height: 0; font-weight: inherit; }
.rv-step--room { background: linear-gradient(90deg, rgba(59,26,76,.28), transparent 70%); padding-inline: 1.25rem; margin-right: 0; }

.rv-summit {
  position: relative; margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.25rem, 3.5vw, 3.25rem);
  background: linear-gradient(165deg, #24162E 0%, #1B1024 55%, #180E1F 100%);
  border: 1px solid var(--gold-line); border-radius: var(--r);
  box-shadow: var(--sc-e3), inset 0 1px 0 rgba(231, 200, 150, .08);
}
.rv-summit::before {                  /* the stair's gold line arrives here */
  content: ""; position: absolute; left: calc(6 * clamp(0rem, 2.6vw, 2.75rem) - 1px); top: calc(-1 * clamp(3rem, 6vw, 5rem) - 1px); width: 1px; height: clamp(3rem, 6vw, 5rem); background: linear-gradient(transparent, var(--gold));
}
.rv-summit__photo { margin: 0; }
.rv-summit__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%; border-radius: var(--r); }
.rv-summit__text { align-self: center; }
.rv-summit__text > * + * { margin-top: 1.1rem; }
.rv-summit__name {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); line-height: 1; letter-spacing: -0.025em;
  margin-top: .6rem !important;
}
.rv-summit .rv-body { color: var(--mirror); opacity: .86; }
.rv-summit__price { font-family: var(--serif); font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); color: var(--gold-lit); margin-top: 1.6rem !important; }
.rv-summit__act { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.4rem !important; }
.rv-summit__act span { color: var(--soft); font-size: 1.125rem; line-height: 1.7; }

/* ================================================= VI · THE THRESHOLD === */
.rv-threshold { position: relative; isolation: isolate; padding-block: clamp(5rem, 10vw, 10rem) clamp(9rem, 16vw, 14rem); overflow: clip; }
.rv-threshold__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.rv-threshold__promise {            /* his words as prose, in his voice: no marks, no credit */
  margin: 0; position: sticky; top: 18svh;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.4rem, 1.1rem + 1.05vw, 2rem); line-height: 1.7; color: var(--mirror); text-wrap: pretty;
}
.rv-threshold__letter > .rv-body { margin-top: 1.2rem; }
.rv-letter {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--serif); font-weight: 350; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 2.05; color: var(--mirror);
}
.rv-letter__salute { font-style: italic; margin-bottom: .4rem; }
.rv-letter__p + .rv-letter__p { margin-top: .5rem; }
.rv-inline { display: inline; }
.rv-nw { white-space: nowrap; }
.rv-letter input, .rv-letter select {
  font: inherit; color: var(--mirror); background: transparent;
  border: 0; border-bottom: 1px solid var(--gold); border-radius: 0;
  padding: .3em .15em .2em; min-height: 44px; max-width: 100%;
  transition: border-color 160ms var(--breath), background-color 160ms var(--breath);
}
.rv-letter select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 1.4em;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-lit) 50%), linear-gradient(135deg, var(--gold-lit) 50%, transparent 50%);
  background-position: right .45em top 55%, right .15em top 55%; background-size: .3em .3em; background-repeat: no-repeat;
}
.rv-letter select option { background: var(--ink-2); color: var(--mirror); }
.rv-letter select.is-chosen { background-color: rgba(165, 118, 38, .16); }
.rv-letter input::placeholder, .rv-letter textarea::placeholder { color: rgba(231, 231, 231, .5); font-style: italic; }
.rv-letter input:focus, .rv-letter select:focus, .rv-letter textarea:focus { outline: none; border-color: var(--gold-lit); background-color: rgba(231,231,231,.04); }
.rv-letter input:focus-visible, .rv-letter select:focus-visible, .rv-letter textarea:focus-visible { outline: 2px solid var(--gold-lit); outline-offset: 3px; }
.rv-letter label[for] { font-style: italic; }
.rv-letter textarea {
  display: block; width: 100%; margin-top: .6rem; font: inherit; line-height: 1.75; color: var(--mirror);
  background: rgba(231, 231, 231, .025); border: 1px solid var(--line-2); border-radius: var(--r); padding: .8em 1em; resize: vertical;
}
.rv-letter__send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; font-family: var(--sans); font-size: 1.125rem; line-height: 1.7; color: var(--soft); }
.rv-letter__send a, .rv-foot__small a {  /* inline links still get a whole 44px to land on */
  display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle;
  text-underline-offset: .3em;
}
.rv-threshold__embers { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; z-index: 0; pointer-events: none; }

/* ============================================================ FOOTER === */
.rv-foot { background: var(--ink); border-top: 1px solid var(--line); padding-block: 3.5rem calc(3rem + env(safe-area-inset-bottom)); position: relative; z-index: 1; }
.rv-foot__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: center; }
.rv-foot__links { max-width: 30rem; }
.rv-foot__word { width: 190px; height: auto; opacity: .9; }
.rv-foot__tag { font-family: var(--serif); font-style: italic; color: var(--soft); }
.rv-foot__links { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.75rem; flex-wrap: wrap; justify-content: flex-end; }
.rv-foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--gold); text-underline-offset: .35em; }
.rv-foot__small { grid-column: 1 / -1; color: var(--dim); font-size: 1rem; line-height: 1.7; }
.rv-foot__small a { text-decoration-color: var(--line-2); }

/* ============================================================ PHONE ==== */
@media (max-width: 1100px) {
  .rv-thread { display: none; }
  .rv-progress { display: block; position: fixed; z-index: 58; inset: 0 0 auto 0; height: 2px; background: rgba(231,231,231,.08); }
  .rv-progress span { display: block; height: 100%; background: var(--gold-lit); transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); }
}

@media (max-width: 900px) {
  .rv-story__h, .rv-story__p, .rv-story__q { grid-column: 1 / -1; }
  .rv-reps__head, .rv-reps__total, .rv-ledger, .rv-reps__photo, .rv-reps__souls { grid-column: 1 / -1; grid-row: auto; }
  .rv-reps__photo { max-width: 26rem; }
  .rv-films { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
  .rv-film[data-aspect="9/16"] { max-width: 20rem; }
  .rv-summit { grid-template-columns: minmax(0, 1fr); margin-left: 0; }
  .rv-summit__photo img { min-height: 0; aspect-ratio: 4 / 5; height: auto; }
  .rv-threshold__grid { grid-template-columns: minmax(0, 1fr); }
  .rv-threshold__promise { position: static; }
  .rv-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .rv-foot__links { justify-content: flex-start; }
}

@media (max-width: 760px) {
  body { font-size: 1.125rem; }
  .rv-hero { min-height: 600px; }
  .rv-hero__wall {
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.3) 100%);
            mask-image: linear-gradient(to bottom, #000 30%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.3) 100%);
  }
  .rv-hero__figure { right: auto; left: 50%; bottom: auto; top: 7svh; height: 58svh; translate: -50% 0; }
  .rv-hero__aura { right: auto; left: 50%; translate: -50% 0; top: 4svh; bottom: auto; width: 110vw; height: 64svh; }
  .rv-hero__copy { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; bottom: max(1.75rem, 4svh); }
  .rv-hero__h1 { font-size: clamp(2.15rem, 1.4rem + 3.6vw, 2.6rem); margin-top: .7rem; }
  .rv-hero__lede { margin-top: .9rem; font-size: 1.125rem; line-height: 1.7; }
  .rv-hero__copy .rv-link { margin-top: .6rem; }
  .rv-hero__floor { height: 52svh; background: linear-gradient(to bottom, transparent, rgba(18,12,23,.72) 40%, var(--ground) 88%); }

  .rv-ledger li { grid-template-columns: 3.6rem minmax(0, 1fr) auto; column-gap: .8rem; }
  .rv-ledger .rv-egy svg { height: 24px; }
  .rv-room { grid-template-columns: 2rem minmax(0, 1fr); }
  .rv-room__meta { grid-column: 2; align-items: flex-start; text-align: left; margin-top: .6rem; }

  .rv-prayer .rv-reading, .rv-voice--dock { margin-left: 0; }
  .rv-reading [data-line].is-live::before { left: -.75em; width: .45em; }
  .rv-voice--dock { width: auto; left: 0; right: 0; }
  .rv-voice--dock .rv-voice__opt { flex: 1 1 0; justify-content: center; padding: 0 .75rem; }
  html.rv-dock-on .rv-return { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px); }
  /* a jump lands a heading clear of the mark */
  main > section, [id^="door-"], #summit { scroll-margin-top: 76px; }

  .rv-more__head { grid-template-columns: minmax(0, 1fr); }
  .rv-more__nav { display: none; }
  .rv-rail li { flex-basis: 68vw; }

  .rv-step { grid-template-columns: minmax(0, 1fr); margin-left: calc(var(--i) * .55rem); }
  .rv-step__terms, .rv-step .rv-link, .rv-step__links { grid-column: 1; grid-row: auto; text-align: left; justify-self: start; }
  .rv-step__terms { margin-top: .4rem; }
  .rv-step--room { padding-inline: .9rem; }

  .rv-sheet { width: 100%; border-left: 0; }
  .rv-sheet[open] { animation-name: rv-sheet-up; }
  @keyframes rv-sheet-up { from { transform: translate3d(0, 5%, 0); opacity: 0; } to { transform: none; opacity: 1; } }
  .rv-sheet__head { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 1rem; }
  .rv-sheet__card { width: 64px; }
  .rv-voice--sheet .rv-voice__opt { flex: 1 1 auto; justify-content: center; }

  .rv-letter { line-height: 2; }
  .rv-letter input[name="name"] { width: 9.5em; }
  .rv-letter input[type="email"] { width: 13.5em; }
  .rv-letter select { max-width: 13em; }
  .rv-letter__send .rv-btn { width: 100%; }
}

/* ===================================================== REDUCED MOTION ==
   The prayer reads as plain, fully visible text; nothing floats, nothing rises. */
@media (prefers-reduced-motion: reduce) {
  .rv-hero__wall, .rv-hero__aura, .rv-hero__figure, .rv-hero__near { transform: none !important; }
  .rv-hero__float, .rv-hero__aura, .rv-hero__copy > *, .rv-index[open] .rv-index__in, .rv-sheet[open] { animation: none !important; }
  .rv-reading .ph { transition: none !important; }
  .rv-return, .rv-mark { animation: none !important; transition: none !important; }
  .rv-egy path { stroke-dashoffset: 0; transition: none; }
  .rv-card__img, .rv-film__play span { transition: none; }
}
