/* RetroSeoul — a darkroom page. Colours are the app's RetroColors: #0B0B0C background,
   #FE9C00 morning yellow, #1A1206 text on yellow, #F4EBDD hanji cream. */
.page-retro {
  --rs-bg: #0b0b0c; --rs-panel: #19191c; --rs-line: #36363b; --rs-text: #f3f3f4; --rs-muted: #a1a1a9;
  --rs-accent: #fe9c00; --rs-on-accent: #1a1206; --rs-cream: #f4ebdd; --rs-edge: #ff9e3d;
  --rs-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --rs-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html:has(.page-retro) { scroll-padding-top: 156px; }

/* The shared header turns dark on this page only. */
.page-retro .site-header { background: var(--rs-bg); color: var(--rs-text); box-shadow: 0 1px 0 #ffffff12; }
.page-retro .language-link { border-color: #3a3a40; }
.page-retro .language-link:hover, .page-retro .language-link:focus-visible,
.page-retro .menu-toggle:hover, .page-retro .menu-toggle[aria-expanded=true] { background: #26262b; border-color: var(--rs-accent); }
.page-retro .main-nav a:hover, .page-retro .main-nav a:focus-visible { color: var(--rs-accent); }
.page-retro .menu-toggle span { background: var(--rs-text); }
.page-retro .site-header :focus-visible, .rs-dark :focus-visible, .rs-nav :focus-visible { outline-color: var(--rs-accent); }
@media (max-width: 520px) { .page-retro .main-nav { background: #0b0b0cfa; border-bottom-color: #26262b; } }

.rs-page { background: var(--rs-bg); color: var(--rs-text); }
.rs-dark { background-color: var(--rs-bg); background-image: var(--rs-noise); }
.rs-page ::selection { background: var(--rs-accent); color: var(--rs-on-accent); }
.rs-eyebrow { font-family: var(--rs-mono); font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--rs-accent); margin-bottom: 22px; }
html:lang(ko) .rs-eyebrow { font-family: var(--font-ko); letter-spacing: .06em; font-size: var(--text-label); }
.rs-head h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.16; font-weight: 700; }
.rs-head > p:not(.rs-eyebrow) { margin-top: 24px; max-width: 640px; font-size: var(--text-lead); line-height: 1.8; color: #bdbdc4; }
.rs-note { margin-top: 26px; font-size: 13px; line-height: 1.6; color: #85858d; }

/* Section index under the header, with an exposure counter. */
.rs-nav { position: sticky; top: var(--nav-height, 86px); z-index: 40; background: rgba(11,11,12,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #ffffff12; }
.rs-nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 58px; }
.rs-nav-name { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: var(--text-ui); font-weight: 650; }
.rs-nav-name img { width: 28px; height: 28px; }
.rs-nav-links { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.rs-nav-links::-webkit-scrollbar { display: none; }
.rs-nav-links a { padding: 9px 13px; border-radius: 20px; font-size: var(--text-small); color: var(--rs-muted); white-space: nowrap; transition: color .2s, background .2s; }
.rs-nav-links a:hover, .rs-nav-links a[aria-current=true] { color: var(--rs-text); background: #ffffff12; }
.rs-exp { flex-shrink: 0; font-family: var(--rs-mono); font-size: 12px; letter-spacing: .12em; color: var(--rs-muted); border: 1px solid var(--rs-line); border-radius: 6px; padding: 5px 9px; }
.rs-exp b { color: var(--rs-accent); font-weight: 600; }

/* Hero: copy beside a viewfinder that cycles real renders. */
.rs-hero { position: relative; overflow: hidden; padding-top: 48px; isolation: isolate; }
.rs-hero::before { content: ''; position: absolute; z-index: -1; right: -18vw; top: -24vw; width: 72vw; height: 72vw; background: radial-gradient(closest-side, #fe9c0024, transparent); pointer-events: none; }
.rs-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; min-height: calc(100svh - var(--nav-height, 86px) - 58px - 150px); }
.rs-back { color: var(--rs-muted); margin-bottom: 30px; }
.rs-back:hover { color: var(--rs-text); }
.rs-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--text-label); color: var(--rs-muted); }
.rs-kicker strong { color: var(--rs-accent); font-weight: 700; letter-spacing: .02em; }
.rs-kicker span::before { content: ''; display: inline-block; width: 22px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--rs-line); }
.rs-hero h1 { font-size: clamp(50px, 6.2vw, 92px); line-height: 1.08; font-weight: 720; margin: 24px 0; }
.rs-line { display: block; }
html:lang(en) .rs-hero h1 { font-size: clamp(44px, 5vw, 72px); }
.rs-lead { max-width: 530px; font-size: var(--text-lead); line-height: 1.75; color: #c9c9cf; }
.rs-platforms { --ui-icon-size: 24px; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rs-platforms > span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 13px 4px 6px; border: 1px solid var(--rs-line); border-radius: 20px; font-size: var(--text-small); color: #c9c9cf; }
.rs-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.rs-button { --ui-icon-size: 30px; display: inline-flex; align-items: center; gap: 16px; min-height: 54px; padding: 12px 16px 12px 26px; border-radius: 30px; background: var(--rs-accent); color: var(--rs-on-accent); font-size: var(--text-ui); font-weight: 650; transition: transform .3s var(--ease), box-shadow .3s; }
.rs-button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -8px #fe9c0070; }
.rs-store { --ui-icon-size: 26px; display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px 10px 22px; border: 1px solid var(--rs-line); border-radius: 30px; font-weight: 600; }
.rs-store:hover { border-color: var(--rs-accent); }
.rs-soon { display: inline-flex; align-items: center; gap: 10px; font-size: var(--text-small); color: var(--rs-muted); }
.rs-soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--rs-accent); box-shadow: 0 0 0 4px #fe9c0024; animation: rs-pulse 2.4s ease-in-out infinite; }

.rs-viewfinder { margin: 0; justify-self: end; width: min(100%, 460px, max(320px, calc((100svh - 340px) * .75))); }
.rs-vf-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; background: #000; isolation: isolate; box-shadow: 0 0 0 1px #ffffff17, 0 40px 80px -34px #000, 0 0 130px -44px #fe9c0060; }
.rs-vf-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1); transition: opacity .8s var(--ease), transform 4s linear; }
.rs-vf-photo img.is-active { opacity: 1; transform: scale(1.045); }
.rs-vf-hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; font-family: var(--rs-mono); font-size: 12px; letter-spacing: .14em; color: #fff; text-shadow: 0 1px 3px #000c; }
.rs-vf-hud > span { position: absolute; }
.rs-vf-tl { top: 20px; left: 22px; display: flex; align-items: center; gap: 8px; }
.rs-vf-tl i { width: 8px; height: 8px; border-radius: 50%; background: #ff453a; box-shadow: 0 0 8px #ff453a; animation: rs-rec 1.4s steps(2, jump-none) infinite; }
.rs-vf-tr { top: 20px; right: 22px; }
.rs-vf-tr b, .rs-vf-bl b { color: var(--rs-accent); font-weight: 650; }
.rs-vf-focus { left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; border: 1px solid #ffffff9c; border-radius: 3px; }
.rs-vf-focus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: linear-gradient(#ffffffb0, #ffffffb0) center / 1px 100% no-repeat, linear-gradient(#ffffffb0, #ffffffb0) center / 100% 1px no-repeat; }
.rs-vf-bl { left: 22px; bottom: 20px; display: grid; gap: 7px; max-width: 64%; }
.rs-vf-bl b { font-size: 15px; letter-spacing: .18em; }
.rs-vf-bl small { font-family: var(--font-ko); font-size: 13px; letter-spacing: 0; line-height: 1.4; }
[lang=en] .rs-vf-bl small { font-family: var(--font-en); }
.rs-vf-br { right: 22px; bottom: 20px; }
.rs-vf-corners i { position: absolute; z-index: 3; width: 24px; height: 24px; border: 0 solid #ffffffd9; pointer-events: none; }
.rs-vf-corners i:nth-child(1) { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.rs-vf-corners i:nth-child(2) { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.rs-vf-corners i:nth-child(3) { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.rs-vf-corners i:nth-child(4) { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.rs-vf-leak { position: absolute; inset: -25%; z-index: 2; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(38% 46% at 50% 50%, #ff8a3dd9, #ff4d6d5c 46%, transparent 72%); }
.rs-vf-leak.is-leaking { animation: rs-leak 1.15s var(--ease); }
.rs-shutter { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.rs-shutter i { position: absolute; left: 0; right: 0; height: 50.5%; background: #050506; }
.rs-shutter i:first-child { top: 0; transform: translateY(-101%); box-shadow: 0 1px 0 #ffffff22; }
.rs-shutter i:last-child { bottom: 0; transform: translateY(101%); }
.rs-shutter::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; }
.rs-viewfinder figcaption { display: grid; gap: 14px; margin-top: 18px; }
.rs-dial { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.rs-dial::-webkit-scrollbar { display: none; }
.rs-dial button { flex-shrink: 0; min-height: 38px; padding: 7px 14px; border: 1px solid var(--rs-line); border-radius: 19px; background: transparent; color: var(--rs-muted); font-size: 13px; transition: background .2s, color .2s, border-color .2s; }
.rs-dial button:hover { color: var(--rs-text); border-color: #55555c; }
.rs-dial button[aria-pressed=true] { background: var(--rs-accent); border-color: var(--rs-accent); color: var(--rs-on-accent); font-weight: 650; }
.rs-vf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; font-size: 12px; color: #8d8d95; }
.rs-autoplay { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; padding: 4px 0; background: none; color: var(--rs-muted); font-size: 12px; }
.rs-autoplay:hover { color: var(--rs-text); }
.rs-autoplay i { width: 10px; height: 11px; border-inline: 3px solid currentColor; }
.rs-autoplay.is-paused i { border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; height: 0; }

/* Film-edge ribbon. The same facts are in the stats list below for assistive tech. */
.rs-ribbon { position: relative; margin-top: 76px; padding: 25px 0; overflow: hidden; background: #151412 repeating-linear-gradient(90deg, var(--rs-bg) 0 12px, transparent 12px 28px) 0 6px / 100% 9px no-repeat; border-block: 1px solid #ffffff0d; }
.rs-ribbon::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 9px; background: repeating-linear-gradient(90deg, var(--rs-bg) 0 12px, transparent 12px 28px); }
.rs-ribbon > div { display: flex; align-items: center; width: max-content; animation: rs-marquee 52s linear infinite; }
.rs-ribbon span { padding: 0 18px; font-family: var(--rs-mono); font-size: 13px; letter-spacing: .22em; color: var(--rs-edge); white-space: nowrap; }
.rs-ribbon b { font-family: var(--rs-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: #6b6b72; white-space: nowrap; }

/* Overview numbers */
.rs-intro { padding: 140px 0 120px; }
.rs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 72px 0 0; border-top: 1px solid var(--rs-line); }
.rs-stats > div { padding: 26px 24px 0 0; }
.rs-stats > div + div { padding-left: 24px; border-left: 1px solid #ffffff10; }
.rs-stats dt { font-family: var(--rs-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--rs-muted); }
html:lang(ko) .rs-stats dt { font-family: var(--font-ko); font-size: var(--text-small); letter-spacing: .04em; }
.rs-stats dd { margin: 0; }
.rs-stats strong { display: block; margin: 12px 0 8px; font-size: clamp(46px, 5vw, 76px); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rs-stats span { font-size: var(--text-small); line-height: 1.6; color: var(--rs-muted); }

/* Darkroom lab — the web twin of the app's editor. */
.rs-lab { padding: 110px 0 120px; }
.rs-lab-body { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 64px; }
.rs-lab-stage { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: #000; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; box-shadow: 0 0 0 1px #ffffff14, 0 40px 80px -40px #000; }
.rs-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.rs-layer-full { opacity: 0; }
.rs-lab-stage.is-comparing :is(.rs-layer-mid, .rs-layer-full) { opacity: 0 !important; }
.rs-lab-stage.is-developing :is(.rs-layer-mid, .rs-layer-full) { animation: rs-develop .9s var(--ease); }
.rs-lab-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 16px; }
.rs-lab-caption { min-width: 0; font-size: var(--text-small); line-height: 1.55; }
.rs-lab-caption b { display: block; font-size: var(--text-ui); font-weight: 650; }
.rs-lab-caption span { color: var(--rs-muted); }
.rs-lab-badge { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 4px; background: #000000b3; font-family: var(--rs-mono); font-size: 12px; letter-spacing: .12em; color: var(--rs-accent); opacity: 0; transition: opacity .2s; }
.rs-lab-badge:not(:empty) { opacity: 1; }
.rs-compare { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid #ffffff21; border-radius: 24px; background: var(--rs-panel); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.rs-compare svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.rs-compare[aria-pressed=true] { background: var(--rs-accent); border-color: var(--rs-accent); color: var(--rs-on-accent); }
.rs-lab-body > * { min-width: 0; }
.rs-lab-panel { padding: 28px 28px 26px; border: 1px solid #ffffff0d; border-radius: 18px; background: var(--rs-panel); }
.rs-tabs { display: flex; gap: 30px; margin-bottom: 22px; border-bottom: 1px solid var(--rs-line); }
.rs-tabs button { position: relative; min-height: 46px; padding: 10px 0 14px; background: none; color: var(--rs-muted); font-size: var(--text-ui); font-weight: 600; }
.rs-tabs button[aria-pressed=true] { color: var(--rs-text); }
.rs-tabs button[aria-pressed=true]::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: -1px; height: 3px; border-radius: 2px; background: var(--rs-accent); }
.rs-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 12px; }
.rs-thumbs button { display: grid; justify-items: center; gap: 9px; padding: 0; background: none; color: var(--rs-muted); font-size: 13px; line-height: 1.3; word-break: keep-all; }
.rs-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s, transform .3s var(--ease); }
.rs-thumbs button:hover img { transform: translateY(-3px); }
.rs-thumbs button[aria-pressed=true] { color: var(--rs-text); font-weight: 650; }
.rs-thumbs button[aria-pressed=true] img { outline-color: var(--rs-accent); }
.rs-slider { display: grid; grid-template-columns: auto minmax(0, 1fr) 3ch; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rs-line); font-size: var(--text-ui); color: var(--rs-muted); }
.rs-slider output { color: var(--rs-text); font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.rs-slider input { --fill: 50%; width: 100%; height: 30px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.rs-slider input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--rs-accent) var(--fill), #3a3a40 var(--fill)); }
.rs-slider input::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--rs-accent) var(--fill), #3a3a40 var(--fill)); }
.rs-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border: 3px solid var(--rs-panel); border-radius: 50%; background: var(--rs-accent); box-shadow: 0 0 0 1px #fe9c0080; }
.rs-slider input::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid var(--rs-panel); border-radius: 50%; background: var(--rs-accent); }
.rs-lab-note { margin-top: 18px; font-size: 13px; line-height: 1.7; color: #85858d; }
.rs-lab-static { font-size: var(--text-small); line-height: 1.7; color: var(--rs-muted); }
.rs-ready .rs-lab-static { display: none; }

/* Two contact-sheet rolls drift in opposite directions with the page. */
.rs-rolls { padding: 110px 0 100px; overflow: hidden; }
.rs-roll { margin-top: 64px; }
.rs-roll + .rs-roll { margin-top: 44px; }
.rs-roll-label { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.rs-roll-label b { font-family: var(--rs-mono); font-size: 13px; letter-spacing: .24em; color: var(--rs-accent); }
html:lang(ko) .rs-roll-label b { font-family: var(--font-ko); letter-spacing: .06em; font-size: var(--text-label); }
.rs-roll-label span { font-family: var(--rs-mono); font-size: 13px; color: var(--rs-muted); }
.rs-roll-label small { margin-left: auto; font-size: var(--text-small); color: var(--rs-muted); }
.rs-roll-viewport { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-inline: max(48px, calc((100% - 1180px) / 2)); scroll-padding-inline: max(48px, calc((100% - 1180px) / 2)); }
.rs-roll-viewport::-webkit-scrollbar { display: none; }
.rs-roll-viewport:focus-visible { outline-offset: -3px; }
.rs-roll-track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 30px 16px; list-style: none; background: #17150f; background-image: repeating-linear-gradient(90deg, var(--rs-bg) 0 12px, transparent 12px 28px), repeating-linear-gradient(90deg, var(--rs-bg) 0 12px, transparent 12px 28px); background-size: 100% 9px; background-position: 0 9px, 0 calc(100% - 9px); background-repeat: no-repeat; border-radius: 3px; will-change: transform; }
.rs-frame { flex-shrink: 0; width: clamp(230px, 24vw, 318px); scroll-snap-align: start; }
.rs-frame figure { margin: 0; }
.rs-frame-photo { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; background: #000; }
.rs-frame-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.rs-frame:hover .rs-frame-photo img { transform: scale(1.05); }
.rs-frame figcaption { display: grid; gap: 4px; padding: 12px 2px 0; }
.rs-frame-no { font-family: var(--rs-mono); font-size: 11px; letter-spacing: .16em; color: var(--rs-edge); }
.rs-frame figcaption b { font-size: var(--text-ui); font-weight: 650; }
.rs-frame figcaption span:last-child { font-size: 13px; line-height: 1.5; color: var(--rs-muted); }
.rs-roll.is-drifting .rs-roll-viewport { overflow: hidden; }

/* Close-ups that open from a loupe view. */
.rs-details { padding: 110px 0 120px; }
.rs-loupes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 64px; }
.rs-loupe-lens { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #000; }
.rs-loupe-lens::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff17, inset 0 0 70px #00000080; pointer-events: none; }
.rs-loupe-lens img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--origin); transform: scale(var(--zoom)); transition: transform 1.6s var(--ease); }
.rs-loupe.is-waiting .rs-loupe-lens img { transform: scale(1); }
@media (hover: hover) { .rs-loupe:hover .rs-loupe-lens img { transform: scale(1); } }
.rs-loupe-tag { position: absolute; z-index: 1; left: 14px; top: 14px; padding: 5px 8px; border-radius: 3px; background: #000000b3; font-family: var(--rs-mono); font-size: 11px; letter-spacing: .16em; color: var(--rs-accent); }
.rs-loupe h3 { margin-top: 22px; font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.rs-loupe p { margin-top: 10px; font-size: var(--text-small); line-height: 1.75; color: var(--rs-muted); }

/* Workflow: a sticky phone whose screens develop from a negative. */
.rs-how { padding: 110px 0 120px; }
.rs-how-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; margin-top: 40px; }
.rs-how-device { position: sticky; top: calc(var(--nav-height, 86px) + 96px); justify-self: center; height: fit-content; }
.rs-phone { position: relative; width: min(300px, 26vw); aspect-ratio: 640 / 1391; overflow: hidden; border: 8px solid #1d1d20; border-radius: 42px; background: #000; box-shadow: 0 0 0 1px #ffffff1a, 0 40px 80px -30px #000, 0 0 140px -50px #fe9c0070; }
.rs-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); filter: invert(1) sepia(.5) saturate(1.7) hue-rotate(170deg) brightness(.72) blur(6px); transition: opacity .45s ease, filter 1.4s var(--ease), transform 1.4s var(--ease); }
.rs-screen.is-negative { opacity: 1; }
.rs-screen.is-active { opacity: 1; transform: none; filter: none; }
.rs-how-label { display: block; margin-top: 18px; text-align: center; font-family: var(--rs-mono); font-size: 12px; letter-spacing: .16em; color: var(--rs-accent); opacity: 0; transition: opacity .3s; }
.rs-how-label.is-on { opacity: 1; }
.rs-how-steps { margin: 0; padding: 0; list-style: none; }
.rs-step { display: flex; flex-direction: column; justify-content: center; min-height: 62vh; padding: 40px 0; border-top: 1px solid var(--rs-line); transition: opacity .5s; }
.rs-ready .rs-step:not(.is-current) { opacity: .36; }
.rs-step-no { font-family: var(--rs-mono); font-size: 13px; letter-spacing: .2em; color: var(--rs-accent); }
.rs-step h3 { margin: 14px 0 16px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.04em; }
.rs-step p { max-width: 450px; font-size: var(--text-body); line-height: 1.85; color: #bdbdc4; }
.rs-step-shot { display: none; }

/* Getting started */
.rs-start { padding: 110px 0 90px; }
.rs-start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 64px 0 0; padding: 0; list-style: none; }
.rs-start-steps li { padding: 30px 28px 32px; border: 1px solid #ffffff0b; border-radius: 18px; background: var(--rs-panel); }
.rs-start-steps span { font-family: var(--rs-mono); font-size: 13px; letter-spacing: .2em; color: var(--rs-accent); }
.rs-start-steps h3 { margin: 18px 0 12px; font-size: 22px; letter-spacing: -.03em; }
.rs-start-steps p { font-size: var(--text-small); line-height: 1.8; color: var(--rs-muted); }
.rs-spec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px 40px; margin-top: 24px; padding: 36px; border: 1px solid #ffffff0b; border-radius: 22px; background: var(--rs-panel); }
.rs-spec-app h3 { margin-top: 18px; font-size: 24px; letter-spacing: -.03em; }
.rs-spec-app p { margin-top: 6px; color: var(--rs-muted); font-size: var(--text-small); }
.rs-spec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.rs-spec dl div { padding: 14px 0; border-bottom: 1px solid var(--rs-line); }
.rs-spec dt { font-size: 13px; color: var(--rs-muted); }
.rs-spec dd { margin: 6px 0 0; font-size: var(--text-ui); font-weight: 600; }
.rs-spec .product-download { border-top-color: var(--rs-line); }
.rs-spec .product-download p { color: var(--rs-muted); }
.rs-page .rs-spec .button-dark { background: var(--rs-accent); color: var(--rs-on-accent); }
.rs-page .rs-spec .download-pending { background: transparent; border-color: var(--rs-line); color: var(--rs-muted); }

/* FAQ */
.rs-faq { padding: 90px 0 150px; }
.rs-faq .wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: 70px; }
.rs-faq h2 { font-size: 34px; line-height: 1.3; }
.rs-faq details { border-bottom: 1px solid var(--rs-line); }
.rs-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font-size: var(--text-body); font-weight: 600; line-height: 1.5; word-break: keep-all; }
.rs-faq summary::-webkit-details-marker { display: none; }
.rs-faq .faq-close, .rs-faq details[open] .faq-open { display: none; }
.rs-faq details[open] .faq-close { display: block; }
.rs-faq details p { padding: 0 40px 24px 0; font-size: var(--text-body); line-height: 1.85; color: #b5b5bc; }

/* The page "prints" at the end: dark room above, paper below. */
.rs-afterglow { --rs-dark-band: 230px; position: relative; isolation: isolate; color: var(--ink); background: linear-gradient(var(--rs-bg) 0 var(--rs-dark-band), var(--paper) var(--rs-dark-band)); }
.rs-afterglow::before { content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: var(--rs-dark-band); background: var(--rs-noise); pointer-events: none; }
.rs-print-sheet { position: relative; overflow: hidden; padding: 64px 64px 58px; border-radius: 6px; background: var(--rs-cream); color: #2a2219; box-shadow: 0 34px 60px -24px #000000b8, 0 0 0 1px #0000000d; transition: filter 1.8s var(--ease); }
.rs-print.is-waiting .rs-print-sheet { filter: sepia(1) brightness(.22); }
.rs-print .rs-eyebrow { color: #8f5400; }
.rs-print h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.2; font-weight: 700; color: #1f1a14; }
.rs-print p:not(.rs-eyebrow) { max-width: 620px; margin-top: 20px; font-size: var(--text-body); line-height: 1.85; color: #594e42; }
.rs-print ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 28px 0 32px; padding: 0; list-style: none; }
.rs-print li { --ui-icon-size: 28px; display: flex; align-items: center; gap: 10px; font-size: var(--text-ui); font-weight: 600; }
.rs-print .text-link { --ui-icon-size: 30px; color: #2a2219; }
.rs-print-stamp { position: absolute; right: 30px; bottom: 24px; font-family: var(--rs-mono); font-size: 22px; letter-spacing: .12em; color: #f26b10; text-shadow: 0 0 8px #ff7a1a59; transform: rotate(-2deg); }
.rs-afterglow .related-section { padding-top: 80px; }

/* Motion. Everything above reads as a normal document without it. */
@media (prefers-reduced-motion: no-preference) {
  .rs-line { animation: rs-rise 1.1s calc(.55s + var(--line) * .14s) var(--ease) backwards; }
  .rs-shutter:not(.is-armed) i:first-child { animation: rs-open-top 1.05s .25s var(--ease) backwards; }
  .rs-shutter:not(.is-armed) i:last-child { animation: rs-open-bottom 1.05s .25s var(--ease) backwards; }
  .rs-shutter:not(.is-armed)::after { animation: rs-flash .8s .32s ease-out; }
  .rs-shutter.is-firing i:first-child { animation: rs-blink-top .42s var(--ease); }
  .rs-shutter.is-firing i:last-child { animation: rs-blink-bottom .42s var(--ease); }
  .rs-shutter.is-firing::after { animation: rs-flash .5s .12s ease-out; }
}
@keyframes rs-rise { from { opacity: 0; filter: blur(8px); transform: translateY(22px); } }
@keyframes rs-open-top { from { transform: translateY(0); } }
@keyframes rs-open-bottom { from { transform: translateY(0); } }
@keyframes rs-blink-top { 45% { transform: translateY(0); } }
@keyframes rs-blink-bottom { 45% { transform: translateY(0); } }
@keyframes rs-flash { 0% { opacity: 0; } 18% { opacity: .75; } 100% { opacity: 0; } }
@keyframes rs-leak { 0% { opacity: 0; transform: translateX(-62%) rotate(-10deg); } 38% { opacity: .95; } 100% { opacity: 0; transform: translateX(62%) rotate(8deg); } }
@keyframes rs-develop { from { filter: sepia(1) brightness(.35) blur(5px); } }
@keyframes rs-marquee { to { transform: translateX(-50%); } }
@keyframes rs-rec { 50% { opacity: .15; } }
@keyframes rs-pulse { 50% { box-shadow: 0 0 0 8px #fe9c0000; } }
@media (prefers-reduced-motion: reduce) {
  .rs-ribbon > div, .rs-soon i, .rs-vf-tl i { animation: none; }
  .rs-shutter, .rs-vf-leak { display: none; }
  .rs-vf-photo img { transition: opacity .2s; transform: none !important; }
  .rs-screen { transform: none; filter: none; transition: opacity .2s; }
  .rs-loupe-lens img, .rs-print-sheet { transition: none; }
  .rs-lab-stage.is-developing :is(.rs-layer-mid, .rs-layer-full) { animation: none; }
  .rs-print.is-waiting .rs-print-sheet { filter: none; }
}

@media (max-width: 1100px) {
  .rs-hero-inner { gap: 44px; }
  .rs-lab-body { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 36px; }
  .rs-thumbs { gap: 16px 10px; }
  .rs-loupes { gap: 22px; }
  .rs-how-body { gap: 48px; }
}
@media (max-width: 900px) {
  .rs-hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 48px; }
  .rs-viewfinder { justify-self: start; width: min(100%, 440px); }
  .rs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .rs-stats > div:nth-child(n+3) { margin-top: 34px; }
  .rs-lab-body { grid-template-columns: 1fr; }
  .rs-lab-view { width: min(100%, 460px); }
  .rs-loupes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-how-body { grid-template-columns: 1fr; gap: 0; }
  .rs-how-device { display: none; }
  .rs-step { min-height: 0; padding: 36px 0 44px; }
  .rs-ready .rs-step:not(.is-current) { opacity: 1; }
  .rs-step-shot { display: block; width: min(270px, 70vw); margin: 30px 0 0; }
  .rs-step-shot img { border: 6px solid #1d1d20; border-radius: 30px; transition: filter 1.5s var(--ease); }
  .rs-ready .rs-step-shot:not(.is-developed) img { filter: invert(1) sepia(.5) saturate(1.7) hue-rotate(170deg) brightness(.72) blur(5px); }
  .rs-start-steps { grid-template-columns: 1fr; gap: 14px; }
  .rs-spec { grid-template-columns: 1fr; }
  .rs-faq .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .rs-ready .rs-step-shot:not(.is-developed) img { filter: none; } }
@media (max-width: 760px) {
  html:has(.page-retro) { scroll-padding-top: 136px; }
  .rs-nav .wrap { gap: 14px; min-height: 52px; }
  .rs-nav-name span, .rs-exp { display: none; }
  .rs-nav-links { margin-left: 0; }
  .rs-hero { padding-top: 34px; }
  .rs-ribbon { margin-top: 56px; }
  .rs-intro { padding: 90px 0 80px; }
  .rs-lab, .rs-rolls, .rs-details, .rs-how, .rs-start { padding-block: 80px; }
  .rs-faq { padding: 60px 0 110px; }
  .rs-head > p:not(.rs-eyebrow) { font-size: var(--text-body); }
  .rs-lab-body, .rs-loupes, .rs-stats, .rs-start-steps { margin-top: 44px; }
  .rs-lab-panel { padding: 20px 18px; border-radius: 16px; }
  .rs-thumbs { display: flex; gap: 12px; overflow-x: auto; margin-inline: -18px; padding: 4px 18px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .rs-thumbs::-webkit-scrollbar { display: none; }
  .rs-thumbs button { flex: 0 0 72px; scroll-snap-align: start; }
  .rs-roll-viewport { padding-inline: 20px; scroll-padding-inline: 20px; }
  .rs-roll-label small { display: none; }
  .rs-frame { width: 236px; }
  .rs-print-sheet { padding: 42px 26px 64px; }
  .rs-print ul { grid-template-columns: 1fr; }
  .rs-print-stamp { font-size: 18px; right: 22px; bottom: 20px; }
  .rs-spec { padding: 26px 22px; }
  .rs-spec dl { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .rs-hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .rs-vf-hud { font-size: 11px; }
  .rs-vf-tl, .rs-vf-tr { top: 16px; }
  .rs-vf-tl, .rs-vf-bl { left: 18px; }
  .rs-vf-tr, .rs-vf-br { right: 18px; }
  .rs-vf-bl b { font-size: 13px; }
  .rs-dial button { min-height: 40px; }
  .rs-stats strong { font-size: 44px; }
  .rs-stats > div { padding-right: 12px; }
  .rs-stats > div + div { padding-left: 14px; }
  .rs-loupes { grid-template-columns: 1fr; }
  .rs-loupe-lens { aspect-ratio: 5 / 4; }
  .rs-afterglow { --rs-dark-band: 160px; }
}
@media print {
  .rs-nav, .rs-viewfinder figcaption, .rs-ribbon, .rs-lab-panel, .rs-how-device, .rs-shutter, .rs-vf-leak { display: none !important; }
  .rs-page, .rs-dark { background: #fff !important; color: #000 !important; }
}
