/* The Private Room (Vex's purchase page, 2026-10-22). One continuous scroll: the door, the card arriving out of the
   dust, the fitting (one card in every colourway), forty seconds, one plan. Motion lives in room.js; this file is the
   still image, and it reads complete with no script at all. */
.room-page {
  --room-bg: #050505;
  --room-ink: #ecebe7;
  --room-dim: rgba(236, 235, 231, .56);
  --room-line: rgba(236, 235, 231, .14);
  --aura: 120, 132, 160;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  background: var(--room-bg);
  color: var(--room-ink);
  font: 300 16px/1.65 var(--body);
  transition: background-color 1.2s cubic-bezier(.22, .61, .36, 1), color 1.2s cubic-bezier(.22, .61, .36, 1);
}
/* Type, chosen 2026-10-22 over Syne + Inter Tight and Italiana + Jost: Cinzel holds the mystery and matches the cards. */

.room-page::after { opacity: .045; }               /* the night-film grain, quieter here */
.dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aura { position: fixed; left: 50%; top: 50%; width: 120vmax; height: 120vmax; z-index: 0; pointer-events: none;
  transform: translate(-50%, -50%) scale(var(--aura-s, 1)); opacity: var(--aura-o, .55);
  background: radial-gradient(closest-side, rgba(var(--aura), .32), rgba(var(--aura), .08) 45%, transparent 70%);
  transition: opacity 1.2s ease, background 1.2s ease; }
main, .rm-bar, .rm-foot { position: relative; z-index: 1; }

.rm-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 26px clamp(18px, 4vw, 48px); }
.rm-mark { font: 400 15px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; text-decoration: none; color: inherit; }
.rm-bar nav a { font-size: 14px; color: var(--room-dim); text-decoration: none; transition: color .4s; }
.rm-bar nav a:hover { color: var(--room-ink); }
.rm-bar nav a + a { margin-left: 26px; }
.rm-mark, .rm-bar nav a { white-space: nowrap; }
@media (max-width: 480px) {
  .rm-mark { font-size: 13px; letter-spacing: .22em; }
  .rm-bar nav a { font-size: 13px; }
  .rm-bar nav a + a { margin-left: 16px; }
}
@media (max-width: 350px) { .rm-mark { letter-spacing: .14em; } .rm-bar nav a + a { margin-left: 12px; } }

.rm-scene { position: relative; min-height: 100vh; }
.rm-pin { height: 100vh; display: grid; place-items: center; align-content: center; gap: 34px; padding: 0 20px; }

/* 1. the door */
.rm-door { display: grid; place-items: center; text-align: center; padding: 0 20px; }
.rm-door-in { max-width: 820px; }
.rm-whisper { font-size: 13px; letter-spacing: .08em; color: var(--room-dim); margin: 0 0 26px; }
.rm-door h1 { font: 400 clamp(38px, 6.4vw, 92px)/1.04 var(--display); letter-spacing: .01em; margin: 0; text-wrap: balance; }
.rm-cue { margin-top: 70px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--room-dim); }
.rm-cue::after { content: ""; display: block; width: 1px; height: 46px; margin: 14px auto 0; background: linear-gradient(var(--room-dim), transparent); animation: cue 2.6s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 2. the card arrives */
.rm-arrive { height: 220vh; }
.rm-arrive .rm-pin { position: sticky; top: 0; }
.rm-card-stage { perspective: 1400px; }
.rm-card { width: min(560px, 82vw); aspect-ratio: 3.5 / 2; transform-style: preserve-3d; will-change: transform, opacity; }
.rm-card img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04); }
.rm-caption { font: 400 clamp(22px, 2.6vw, 34px)/1.2 var(--display); text-align: center; margin: 0; }

/* 3. the fitting */
.rm-fitting { display: grid; align-items: center; padding: 14vh clamp(18px, 6vw, 90px); }
.rm-fit-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(30px, 5vw, 80px); align-items: center; max-width: 1240px; margin: 0 auto; width: 100%; }
.rm-fit-copy h2 { font: 400 clamp(46px, 6vw, 86px)/1 var(--display); margin: 0 0 18px; }
.rm-fit-copy p { max-width: 34ch; color: var(--room-dim); margin: 0; min-height: 3.4em; }
.rm-arrows { display: flex; gap: 12px; margin-top: 34px; }
.rm-arrows button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--room-line); background: transparent; color: inherit; font-size: 18px; cursor: pointer;
  transition: border-color .4s, background-color .4s, transform .5s cubic-bezier(.22, .61, .36, 1); }
.rm-arrows button:hover { border-color: currentColor; transform: scale(1.06); }
.rm-arrows button:focus-visible, .rm-go:focus-visible, .rm-bar a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.rm-wheel { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.rm-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rm-ring circle { fill: none; stroke: var(--room-line); stroke-width: 1; }
.rm-ring text { font: 400 13px var(--body); letter-spacing: .42em; text-transform: uppercase; fill: currentColor; opacity: .5; }
.rm-slides { position: absolute; inset: 7%; display: grid; place-items: center; }
.rm-slides img { grid-area: 1 / 1; width: 100%; aspect-ratio: 3.5 / 2; object-fit: cover; opacity: 0; transform: rotate(-8deg) scale(.92);
  box-shadow: 0 60px 110px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .05); transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform 1.1s cubic-bezier(.22, .61, .36, 1); }
.rm-slides img.on { opacity: 1; transform: none; }

/* 4. forty seconds */
.rm-clock { height: 200vh; }
.rm-clock .rm-pin { position: sticky; top: 0; }
.rm-time { font: 400 clamp(110px, 22vw, 300px)/.9 var(--display); margin: 0; font-variant-numeric: tabular-nums; }
.rm-time small { font: 300 clamp(18px, 2vw, 26px) var(--body); margin-left: 12px; letter-spacing: .2em; color: var(--room-dim); }
.rm-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: center; }
.rm-steps li { color: var(--room-dim); opacity: .35; transition: opacity .6s, color .6s; }
.rm-steps li.on { opacity: 1; color: var(--room-ink); }

/* 5. the plan */
.rm-plan { display: grid; place-items: center; text-align: center; padding: 0 20px; }
.rm-plan-in { max-width: 620px; }
.rm-plan h2 { font: 400 clamp(40px, 5vw, 72px)/1 var(--display); margin: 0 0 26px; }
.rm-price { font: 400 clamp(64px, 9vw, 120px)/1 var(--display); margin: 0 0 18px; }
.rm-price span { font: 300 18px var(--body); margin-left: 10px; color: var(--room-dim); }
.rm-plan p { color: var(--room-dim); }
.rm-go { display: inline-block; margin-top: 30px; padding: 20px 44px; border-radius: 999px; background: var(--room-ink); color: var(--room-bg); text-decoration: none;
  font: 500 15px/1 var(--body); letter-spacing: .06em; will-change: transform; transition: box-shadow .6s; box-shadow: 0 0 0 0 rgba(var(--aura), 0); }
.rm-go:hover { box-shadow: 0 0 60px 6px rgba(var(--aura), .35); }

.rm-foot { padding: 40px clamp(18px, 4vw, 48px); font-size: 13px; color: var(--room-dim); }
.rm-foot a { color: inherit; }

@media (max-width: 820px) {
  .rm-fit-in { grid-template-columns: 1fr; }
  .rm-fit-copy { order: 2; text-align: center; }
  .rm-fit-copy p { margin: 0 auto; }
  .rm-arrows { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-cue::after { animation: none; }
  .rm-arrive, .rm-clock { height: auto; }
  .rm-arrive .rm-pin, .rm-clock .rm-pin { position: static; height: auto; min-height: 100vh; }
}

/* Lorium in its signature script beside a crisp VEX (2026-10-23, Mrs Saint Delafield, SIL Open Font License; free
   lookalike of Tritopani, which is personal-use only). The script keeps its own case and size; VEX keeps the spaced caps. */
.mark .script, .rm-mark .script { font-family: 'Mrs Saint Delafield', cursive; font-size: 2.1em; font-weight: 400; letter-spacing: 0; text-transform: none;
  line-height: 0; margin-right: .32em; position: relative; top: .14em; }
