/* ==========================================================================
   RockVine Games — the design.
   A late-90s PC game box, launcher and CRT, built as a normal responsive page.

   Sections
     1. tokens & reset          6. jewel cases (catalogue)
     2. text styles             7. heritage strip, news, box back
     3. chrome: splash, CRT,    8. document pages (prose, press, contact,
        console, top bar, footer   story, legal)
     4. hero & attract mode     9. lightbox
     5. screens (phone / CRT)  10. motion & reduced motion
   ========================================================================== */

/* 1. tokens & reset -------------------------------------------------------- */
:root {
	--ground: #05070d;
	--panel: #0c111c;
	--panel-2: #111826;
	--line: #1d2636;
	--line-2: #2a3444;
	--steel: #9fb0c4;
	--steel-dim: #5c6a7c;
	--ink: #e8edf4;
	--gold: #d4ad3e;
	--gold-hi: #fff2b0;
	--gold-lo: #7a5a12;
	--led: #ff2d2d;
	--cyan: #35c8ff;
	--accent: var(--gold);
	--display: "Michroma", "Eurostile", "Bank Gothic", sans-serif;
	--body: "Oxanium", "Share Tech", "Helvetica Neue", Arial, sans-serif;
	--mono: "VT323", "Courier New", monospace;
	--wrap: 1240px;
	--gutter: 20px;
	--bar-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font: 16px/1.55 var(--body);
	overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.rv-wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.rv-skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 200; }
.rv-skip:focus { left: 8px; }
.screen-reader-text { position: absolute; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* 2. text styles ----------------------------------------------------------- */
.rv-chrome {
	font-family: var(--display);
	background: linear-gradient(180deg, #fff9d6 0%, var(--gold-hi) 28%, var(--gold) 50%, var(--gold-lo) 52%, #c89a2a 70%, #fff2b0 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 2px 0 #3a2a05) drop-shadow(0 0 18px rgba(212, 173, 62, .3));
	text-transform: uppercase;
}
.rv-eyebrow {
	font: 600 11px/1.3 var(--display);
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--steel);
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.rv-led {
	display: inline-block; width: 8px; height: 8px; border-radius: 50%;
	background: var(--led); box-shadow: 0 0 8px var(--led);
	animation: rv-led 1.2s steps(1) infinite;
}
.rv-led--off { background: #3a2020; box-shadow: none; animation: none; }
@keyframes rv-led { 50% { opacity: .25; box-shadow: none; } }
.rv-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--steel); max-width: 60ch; margin: 14px 0 0; }

/* beveled launcher button */
.rv-btn {
	position: relative; display: inline-flex; align-items: center; gap: 10px;
	border: 0; padding: 12px 22px; text-decoration: none; white-space: nowrap;
	color: var(--ink); text-transform: uppercase;
	font: 600 12px/1 var(--display); letter-spacing: .16em;
	background: linear-gradient(180deg, #3a4658, #1b2230);
	box-shadow: inset 1px 1px 0 #6f7f96, inset -1px -1px 0 #0a0d14, 0 0 0 1px #000, 0 3px 0 #000;
	transition: transform .08s, background .2s;
}
.rv-btn:hover { background: linear-gradient(180deg, #4a5870, #232c3d); color: #fff; }
.rv-btn:active { transform: translateY(2px); box-shadow: inset 1px 1px 0 #6f7f96, inset -1px -1px 0 #0a0d14, 0 0 0 1px #000, 0 1px 0 #000; }
.rv-btn--gold { background: linear-gradient(180deg, #f3d77a, #b98d22); color: #1a1200; box-shadow: inset 1px 1px 0 #fff4c0, inset -1px -1px 0 #6b4d0a, 0 0 0 1px #000, 0 3px 0 #000; }
.rv-btn--gold:hover { background: linear-gradient(180deg, #ffe58f, #c99a2a); color: #000; }
.rv-btn--small { padding: 8px 14px; font-size: 10px; }

.rv-sechead { display: flex; align-items: baseline; gap: 22px; margin-bottom: 30px; flex-wrap: wrap; }
.rv-sechead-title { font-size: clamp(20px, 2.8vw, 32px); letter-spacing: .06em; }
.rv-rule { flex: 1; height: 1px; min-width: 60px; background: linear-gradient(90deg, var(--line-2), transparent); align-self: center; }

.rv-section { padding-block: 72px; }
.rv-section--tight { padding-block: 40px; }
.rv-two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 860px) { .rv-two { grid-template-columns: 1fr; } }

/* 3. chrome ---------------------------------------------------------------- */
/* splash: only shown when the inline <head> script marks the session as booting */
.rv-splash {
	display: none; position: fixed; inset: 0; z-index: 100; background: #000;
	place-items: center; cursor: pointer; transition: opacity .5s;
}
html.rv-booting .rv-splash { display: grid; }
.rv-splash.is-off { opacity: 0; pointer-events: none; }
.rv-splash-in { text-align: center; width: min(520px, 88vw); }
.rv-splash-in img { width: min(300px, 60vw); height: auto; margin: 0 auto 22px; filter: drop-shadow(0 0 40px rgba(212, 173, 62, .25)); }
.rv-splash-in .rv-eyebrow { justify-content: center; }
.rv-splash-bar { height: 10px; border: 1px solid var(--steel-dim); padding: 1px; margin: 10px 0 14px; }
.rv-splash-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 8px); transition: width .25s; }
.rv-splash-log { font: 18px/1.35 var(--mono); color: #8fd0a0; text-align: left; margin: 0; height: 6.8em; overflow: hidden; white-space: pre-wrap; }

/* CRT overlay */
.rv-crt {
	pointer-events: none; position: fixed; inset: 0; z-index: 90; opacity: .7;
	background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px);
	mix-blend-mode: multiply;
}
.rv-crt::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 62%, rgba(0, 0, 0, .5) 100%); }

/* console */
.rv-console {
	position: fixed; left: 0; right: 0; top: 0; height: min(46vh, 420px); z-index: 95;
	background: rgba(8, 10, 16, .97); border-bottom: 2px solid var(--gold);
	transform: translateY(-100%); transition: transform .25s var(--ease);
	font: 20px/1.25 var(--mono); color: #cfd6e0;
	display: grid; grid-template-rows: 1fr auto; padding-top: env(safe-area-inset-top, 0px);
}
.rv-console[hidden] { display: grid; }
.rv-console.is-open { transform: none; }
.rv-console-out { margin: 0; padding: 12px 16px; overflow: auto; white-space: pre-wrap; font: inherit; }
.rv-console-out .g { color: var(--gold); }
.rv-console-out .c { color: var(--cyan); }
.rv-console-form { display: flex; gap: 8px; padding: 8px 16px; border-top: 1px solid var(--line); }
.rv-console-form label { color: var(--gold); }
.rv-console-form input { flex: 1; background: none; border: 0; color: #fff; font: inherit; outline: none; min-width: 0; }

/* top bar */
.rv-bar {
	position: sticky; top: env(safe-area-inset-top, 0px); z-index: 80;
	background: linear-gradient(180deg, rgba(12, 17, 28, .98), rgba(5, 7, 13, .96));
	border-bottom: 1px solid var(--line);
	/* no backdrop-filter here: it would make the bar the containing block of
	   the fixed-position phone menu and trap the menu inside 64px */
}
.rv-bar .rv-wrap { display: flex; align-items: center; gap: 18px; height: var(--bar-h); }
.rv-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.rv-brand img { width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--line-2); }
.rv-brand b { font: 600 13px var(--display); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.rv-nav { margin-left: auto; display: flex; align-items: center; }
.rv-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.rv-nav-list a {
	display: block; font: 600 11px var(--display); letter-spacing: .2em; text-transform: uppercase;
	color: var(--steel); text-decoration: none; padding: 10px 14px; border: 1px solid transparent;
}
.rv-nav-list a:hover, .rv-nav-list .current-menu-item > a, .rv-nav-list .current_page_parent > a { color: #fff; border-color: var(--line-2); background: var(--panel); }
.rv-nav-foot { display: none; }
.rv-console-btn { font: 16px var(--mono); color: var(--cyan); background: #000; border: 1px solid var(--line); padding: 4px 10px; }
.rv-burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); padding: 10px; flex-direction: column; justify-content: space-between; margin-left: auto; }
.rv-burger i { display: block; height: 2px; background: var(--steel); transition: transform .25s, opacity .25s; }
.rv-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.rv-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.rv-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
@media (max-width: 860px) {
	.rv-brand b { display: none; }
	.rv-console-btn { display: none; }
	.rv-burger { display: flex; }
	.rv-nav {
		position: fixed; inset: calc(var(--bar-h) + env(safe-area-inset-top, 0px)) 0 0 0; margin: 0; z-index: 79;
		background: rgba(5, 7, 13, .98); flex-direction: column; justify-content: center; gap: 30px;
		overflow-y: auto; padding: 24px 16px;
		transform: translateX(100%); transition: transform .3s var(--ease);
	}
	.rv-nav.is-open { transform: none; }
	.rv-nav-list { flex-direction: column; align-items: center; gap: 6px; }
	.rv-nav-list a { font-size: 16px; padding: 14px 24px; }
	.rv-nav-foot { display: block; }
	body.rv-nav-open { overflow: hidden; }
}

/* social icons */
.rv-social { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-social a { display: grid; place-items: center; width: 38px; height: 38px; color: var(--steel); border: 1px solid var(--line-2); background: var(--panel); transition: color .2s, border-color .2s; }
.rv-social a:hover { color: var(--gold-hi); border-color: var(--gold); }

/* footer */
.rv-footer { border-top: 1px solid var(--line); background: var(--panel); padding-block: 48px 28px; color: var(--steel); font-size: 14px; }
.rv-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.rv-footer-brand img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--line-2); margin-bottom: 14px; }
.rv-footer-brand p { max-width: 32ch; }
.rv-footer-brand b { color: var(--ink); font-family: var(--display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.rv-footer-col h4 { margin-bottom: 14px; color: var(--gold); }
.rv-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rv-footer-col a { color: var(--steel); text-decoration: none; }
.rv-footer-col a:hover { color: #fff; }
.rv-footer-col small { color: var(--steel-dim); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-left: 6px; }
.rv-footer-base { display: flex; gap: 20px 32px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--steel-dim); }
.rv-footer-base a { color: var(--steel); text-decoration: none; }
.rv-footer-tilde { margin-left: auto; }
.rv-footer-tilde kbd { font: 16px var(--mono); color: var(--cyan); background: #000; border: 1px solid var(--line); padding: 0 6px; }
@media (max-width: 900px) { .rv-footer-grid { grid-template-columns: 1fr 1fr; } .rv-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .rv-footer-grid { grid-template-columns: 1fr; } .rv-footer-tilde { display: none; } }

/* 4. hero & attract mode --------------------------------------------------- */
.rv-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.rv-hero-art { position: absolute; inset: 0; }
.rv-hero-bg {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transition: opacity 1s var(--ease); transform: scale(1.04);
}
.rv-hero-bg.is-on { opacity: 1; animation: rv-kenburns 24s linear infinite alternate; }
@keyframes rv-kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
.rv-hero-art--secret { background: repeating-linear-gradient(45deg, #0c111c 0 18px, #111826 18px 36px); }
.rv-hero-shade {
	position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(5, 7, 13, .94) 0%, rgba(5, 7, 13, .78) 34%, rgba(5, 7, 13, .35) 60%, rgba(5, 7, 13, .1) 100%),
		linear-gradient(0deg, var(--ground) 0%, rgba(5, 7, 13, .25) 30%, transparent 60%),
		repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px);
}
.rv-hero-grid {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(280px, 34%);
	gap: 36px; align-items: end; padding-block: 56px 48px; min-height: min(84vh, 780px);
}
.rv-hero-grid--game { grid-template-columns: minmax(0, 1fr) minmax(280px, 36%); min-height: min(76vh, 700px); }

/* disc menu */
.rv-disc { display: grid; gap: 4px; align-self: end; }
.rv-disc .rv-eyebrow { margin-bottom: 10px; }
.rv-disc-item {
	display: flex; align-items: center; gap: 12px; text-align: left; background: none; border: 0;
	border-left: 2px solid transparent; color: var(--steel); padding: 10px 12px;
	font: 600 11px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase;
}
.rv-disc-item i { width: 6px; height: 6px; background: var(--steel-dim); flex: none; }
.rv-disc-item:hover { color: #fff; }
.rv-disc-item.is-on { color: var(--gold); border-left-color: var(--gold); background: linear-gradient(90deg, rgba(212, 173, 62, .12), transparent); }
.rv-disc-item.is-on i { background: var(--led); box-shadow: 0 0 8px var(--led); }
.rv-disc-prog { height: 2px; background: var(--line); margin: 8px 12px 0; position: relative; overflow: hidden; }
.rv-disc-prog b { position: absolute; inset: 0; width: 0; background: var(--gold); }

/* copy */
.rv-hero-copy { position: relative; min-width: 0; container-type: inline-size; }
.rv-hero-copy .rv-slide, .rv-hero-screen .rv-slide { display: none; }
.rv-hero-copy .rv-slide.is-on, .rv-hero-screen .rv-slide.is-on { display: block; animation: rv-rise .6s var(--ease) both; }
@keyframes rv-rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
/* Sized from the copy column, not the viewport: the gold gradient is clipped
   to the heading's box, so any glyph that overflows the column disappears. */
.rv-hero-title { font-size: clamp(30px, 4.4vw, 84px); line-height: .98; letter-spacing: -.005em; margin: 14px 0 16px; overflow-wrap: anywhere; }
@supports (font-size: 1cqw) { .rv-hero-title { font-size: clamp(30px, 11.5cqw, 84px); } }
.rv-hero-tag { font-size: clamp(17px, 1.7vw, 21px); max-width: 38ch; color: #fff; margin: 0 0 22px; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.rv-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.rv-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.rv-stores img { height: 40px; width: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.rv-meta { display: flex; gap: 8px 28px; flex-wrap: wrap; margin: 26px 0 0; }
.rv-meta div { display: grid; gap: 4px; }
.rv-meta dt { font: 600 10px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--steel-dim); }
.rv-meta dd { margin: 0; font-size: 13px; color: var(--steel); }
.rv-platforms { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.rv-platforms li { display: inline-flex; align-items: center; gap: 5px; color: var(--steel); font-size: 13px; }
.rv-platforms svg { flex: none; }

/* screen column */
.rv-hero-screen { align-self: end; }

@media (max-width: 1100px) {
	.rv-hero-grid { grid-template-columns: 180px minmax(0, 1fr) minmax(240px, 32%); gap: 24px; }
}
@media (max-width: 860px) {
	.rv-hero-grid, .rv-hero-grid--game { grid-template-columns: 1fr; gap: 26px; min-height: 0; padding-block: 36px 34px; }
	.rv-disc { display: flex; flex-wrap: wrap; gap: 6px; }
	.rv-disc .rv-eyebrow { flex-basis: 100%; margin-bottom: 4px; }
	.rv-disc-item { flex: 1 1 auto; white-space: nowrap; font-size: 9px; padding: 9px 10px; border: 1px solid var(--line-2); justify-content: center; letter-spacing: .08em; }
	.rv-disc-item i { display: none; }
	.rv-disc-item.is-on { border-color: var(--gold); background: rgba(212, 173, 62, .1); }
	.rv-disc-prog { flex-basis: 100%; margin: 4px 0 0; }
	.rv-hero-shade { background: linear-gradient(0deg, var(--ground) 0%, rgba(5, 7, 13, .82) 45%, rgba(5, 7, 13, .35) 100%); }
	.rv-hero-screen { max-width: 420px; width: 100%; margin: 0 auto; }
	/* the art is a wide banner: keep it as a band across the top of the hero
	   instead of stretching it over the whole stacked layout */
	.rv-hero { --band: clamp(240px, 64vw, 480px); }
	.rv-hero-grid, .rv-hero-grid--game { padding-top: calc(var(--band) - 56px); }
	.rv-hero-art { background: var(--ground); }
	.rv-hero-bg { height: var(--band); object-position: 50% 40%; transform: none; animation: none; }
	.rv-hero-bg.is-on { animation: none; transform: none; }
	.rv-hero-art::after { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--band) - 120px); height: 120px; background: linear-gradient(0deg, var(--ground), transparent); }
}

/* 5. screens (phone / CRT) ------------------------------------------------- */
.rv-screen { position: relative; --bezel: #1a1f2a; --bezel-hi: #3a4252; }
.rv-screen-bezel {
	background: linear-gradient(160deg, var(--bezel-hi), var(--bezel) 40%, #0b0e14);
	padding: 14px; border: 1px solid #000;
	box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .12), 0 30px 60px rgba(0, 0, 0, .7), 0 0 0 1px #000;
	transform: rotateY(-8deg) rotateX(2deg); transform-origin: right center;
	transition: transform .6s var(--ease);
}
.rv-hero-screen:hover .rv-screen-bezel { transform: rotateY(-3deg); }
.rv-hero-screen { perspective: 1400px; }
.rv-screen-glass {
	position: relative; width: 100%; background: #000; overflow: hidden;
	box-shadow: inset 0 0 0 1px #000, inset 0 0 40px rgba(0, 0, 0, .9);
}
.rv-screen-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-screen-glass::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px),
		radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .5) 100%),
		linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 25%, transparent 40%);
}
.rv-screen-play {
	position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2;
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(0, 0, 0, .7); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
	font: 600 10px var(--display); letter-spacing: .16em; text-transform: uppercase; padding: 9px 14px;
	opacity: 0; transition: opacity .25s; white-space: nowrap;
}
.rv-screen-play span { color: var(--gold); }
.rv-screen:hover .rv-screen-play, .rv-screen-play:focus-visible { opacity: 1; }
@media (hover: none) { .rv-screen-play { opacity: 1; } }

/* CRT flavour */
.rv-screen--crt .rv-screen-bezel { --bezel: #b8b2a0; --bezel-hi: #e6e0cc; padding: 22px 22px 16px; border-radius: 6px; }
.rv-screen--crt .rv-screen-glass { border-radius: 10px / 8px; }
.rv-screen-controls { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0 4px; }
.rv-screen-controls i { width: 10px; height: 10px; border-radius: 50%; background: #6a6558; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.rv-screen-controls b { margin-left: auto; font: 600 8px var(--display); letter-spacing: .2em; color: #4a4638; }
.rv-screen-controls .rv-led { width: 6px; height: 6px; background: #3cff6a; box-shadow: 0 0 6px #3cff6a; animation: none; }
.rv-screen-stand { height: 22px; margin: 0 auto; width: 46%; background: linear-gradient(180deg, #0b0e14, #1a1f2a); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.rv-screen--crt .rv-screen-stand { background: linear-gradient(180deg, #8f8a78, #5a5648); }

/* phone / handheld flavour */
.rv-screen--phone { width: min(100%, 300px); margin-left: auto; }
.rv-screen--phone .rv-screen-bezel { --bezel: #14171f; --bezel-hi: #2b3240; padding: 16px 12px 22px; border-radius: 26px; }
.rv-screen--phone .rv-screen-glass { border-radius: 8px; }
.rv-screen-home { width: 42px; height: 4px; margin: 14px auto 0; border-radius: 2px; background: #3a4252; }
.rv-screen--phone .rv-screen-stand { display: none; }
@media (max-width: 860px) { .rv-screen--phone { margin-inline: auto; width: min(100%, 230px); } .rv-screen-bezel { transform: none; } }

/* no signal */
.rv-screen-nosignal { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; background: radial-gradient(circle at 50% 40%, #0f1a2a, #000 70%); }
.rv-screen-nosignal b { font: 600 14px var(--display); letter-spacing: .3em; color: #6aa8ff; animation: rv-nosignal 2.4s steps(1) infinite; }
.rv-screen-nosignal span { font: 18px var(--mono); color: var(--steel-dim); }
@keyframes rv-nosignal { 50% { opacity: .2; } }

/* 6. jewel cases ----------------------------------------------------------- */
.rv-rack { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 26px; perspective: 1400px; }
.rv-rack--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.rv-case {
	position: relative; display: block; aspect-ratio: 3 / 4; background: #000; border: 1px solid var(--line);
	color: var(--ink); text-decoration: none; transform-style: preserve-3d;
	transition: transform .4s var(--ease), box-shadow .4s var(--ease); overflow: hidden;
}
.rv-case-inner { position: absolute; inset: 0; display: block; }
.rv-case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rv-case::before { /* plastic sheen */
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .04) 30%, transparent 45%, rgba(255, 255, 255, .08) 70%, transparent 80%);
}
.rv-case::after { /* spine */
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 11px; z-index: 3;
	background: linear-gradient(90deg, #0a0d14, #3a4658 40%, #0a0d14); opacity: .9;
}
a.rv-case:hover { transform: rotateY(-14deg) rotateX(4deg) translateY(-8px); box-shadow: -18px 24px 40px rgba(0, 0, 0, .7); border-color: var(--accent); }
a.rv-case:hover img { transform: scale(1.06); }
.rv-case-label {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: grid; gap: 4px;
	padding: 44px 14px 14px 22px; background: linear-gradient(0deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .6) 60%, transparent);
}
.rv-case-label b { font: 600 12px/1.25 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.rv-case-label > span { font-size: 12px; color: var(--steel); }
.rv-case-label .rv-platforms { gap: 6px; margin-top: 4px; }
.rv-case-label .rv-platforms li { color: var(--steel-dim); }
.rv-case-label .rv-platforms svg { width: 14px; height: 14px; }
.rv-case-sticker {
	position: absolute; top: 14px; right: -34px; z-index: 5; transform: rotate(38deg);
	font: 700 9px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; padding: 6px 44px;
	background: var(--line-2); color: var(--steel);
}
.rv-case--out .rv-case-sticker { background: var(--gold); color: #1a1200; }
.rv-case--secret .rv-case-inner { background: repeating-linear-gradient(45deg, #0c111c 0 14px, #111826 14px 28px); }
.rv-case-secret { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; }
.rv-case-secret b { font: 600 56px var(--display); color: var(--line-2); }
.rv-case-secret i { font: 600 9px var(--display); letter-spacing: .3em; color: var(--steel-dim); font-style: normal; }
/* phones: one wide sleeve per row so the banner art shows whole */
@media (max-width: 600px) {
	.rv-rack, .rv-rack--wide { grid-template-columns: 1fr; gap: 16px; }
	.rv-case { aspect-ratio: 16 / 9; }
	.rv-case img { object-position: 50% 40% !important; }
	.rv-case-label { padding: 40px 14px 12px 22px; }
	.rv-case-sticker { top: 12px; right: -30px; }
	.rv-case-secret b { font-size: 40px; }
}

/* 7. heritage strip, news, box back ---------------------------------------- */
.rv-strip { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.rv-strip-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 64px; }
.rv-quote { margin: 16px 0 0; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; font-weight: 400; }
.rv-quote em { color: var(--gold); font-style: normal; }
.rv-quote cite { display: block; margin-top: 16px; font: 600 10px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--steel-dim); font-style: normal; }
.rv-strip p { margin: 26px 0 0; }
.rv-film {
	position: relative; overflow: hidden; border-block: 8px solid #000; background: #000;
	-webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.rv-film-track { display: flex; gap: 10px; width: max-content; padding-block: 10px; animation: rv-roll 40s linear infinite; }
.rv-film img { width: 150px; height: 150px; object-fit: cover; filter: saturate(.85) contrast(1.05); border: 1px solid #222; }
.rv-film:hover .rv-film-track { animation-play-state: paused; }
@keyframes rv-roll { to { transform: translateX(-50%); } }
@media (max-width: 860px) { .rv-strip-grid { grid-template-columns: 1fr; } }

/* transmissions (Instagram) */
.rv-ig { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rv-ig-tile { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line-2); background: #000; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff; }
.rv-ig-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rv-ig-tile:hover img { transform: scale(1.05); }
.rv-ig-play { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center; background: rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .4); font-size: 11px; color: var(--gold); }
.rv-ig-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font-size: 12px; line-height: 1.35; background: linear-gradient(0deg, rgba(0, 0, 0, .92), transparent); }

.rv-news { list-style: none; margin: 0; padding: 0; }
.rv-news li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.rv-news time { font: 600 10px var(--display); letter-spacing: .2em; color: var(--steel-dim); padding-top: 5px; text-transform: uppercase; }
.rv-news a { color: var(--ink); text-decoration: none; }
.rv-news a:hover { color: var(--gold-hi); }
.rv-news b { display: block; font-weight: 600; }
.rv-news span { display: block; color: var(--steel); font-size: 14px; margin-top: 2px; }
.rv-news--list li { padding: 22px 0; }
.rv-pagination { margin-top: 30px; }
.rv-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--line-2); color: var(--steel); text-decoration: none; font: 600 11px var(--display); letter-spacing: .1em; }
.rv-pagination .page-numbers.current { color: var(--gold); border-color: var(--gold); }

.rv-boxback { border: 1px solid var(--line-2); background: var(--panel); padding: 22px 24px; font-size: 14px; align-self: start; }
.rv-boxback h3 { color: var(--gold); margin-bottom: 14px; }
.rv-boxback h3 + * + h3, .rv-boxback .rv-stores + h3, .rv-boxback .rv-ost + h3 { margin-top: 22px; }
.rv-boxback table { width: 100%; border-collapse: collapse; }
.rv-boxback th, .rv-boxback td { padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.rv-boxback th { color: var(--steel-dim); width: 38%; font: 600 10px var(--display); letter-spacing: .14em; text-transform: uppercase; padding-top: 10px; font-weight: 600; }
.rv-boxback td { color: var(--steel); }
.rv-boxback .rv-stores { margin-top: 18px; }
.rv-ost { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-fineprint { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rv-fineprint a { color: var(--steel); }

/* readme panel */
.rv-readme-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
.rv-readme { border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.rv-readme-bar { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font: 700 11px var(--display); letter-spacing: .18em; }
.rv-readme-body { padding: 26px 28px 8px; max-width: 70ch; }
.rv-readme-body p { font-size: 17px; line-height: 1.6; }
.rv-readme-body h2 { margin: 26px 0 14px; color: var(--gold); }
.rv-readme-outro { color: var(--gold-hi); font-weight: 600; }
.rv-features { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.rv-features li { display: grid; gap: 3px; padding-left: 22px; position: relative; }
.rv-features li::before { content: "►"; position: absolute; left: 0; top: 2px; color: var(--gold); font-size: 11px; }
.rv-features b { font: 600 12px var(--display); letter-spacing: .1em; text-transform: uppercase; }
.rv-features span { color: var(--steel); font-size: 15px; }
.rv-readme--solo { max-width: 640px; }
@media (max-width: 900px) { .rv-readme-grid { grid-template-columns: 1fr; } }

/* trailers wall */
.rv-trailers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; grid-auto-flow: dense; }
.rv-trailer { position: relative; border: 1px solid var(--line-2); background: #000; padding: 0; overflow: hidden; width: 100%; }
.rv-trailer img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; position: absolute; inset: 0; }
.rv-trailer:hover img { transform: scale(1.04); opacity: .8; }
.rv-trailer--portrait { max-width: 260px; }
.rv-trailer-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; display: grid; place-items: center; background: rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .4); color: var(--gold); font-size: 20px; }
.rv-trailer-label { position: absolute; left: 12px; bottom: 10px; font: 600 10px var(--display); letter-spacing: .18em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 4px #000; }

/* gallery */
.rv-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.rv-gallery--portrait { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.rv-shot { position: relative; border: 1px solid var(--line-2); background: #000; padding: 0; overflow: hidden; width: 100%; }
.rv-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rv-shot:hover img { transform: scale(1.05); }

/* game nav */
.rv-gamenav-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 30px; }
.rv-gamenav-link { text-decoration: none; color: var(--ink); display: grid; gap: 6px; }
.rv-gamenav-link b { font: 600 13px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.rv-gamenav-link--next { text-align: right; justify-items: end; }
.rv-gamenav-link:hover b { color: var(--gold-hi); }
@media (max-width: 700px) { .rv-gamenav-grid { grid-template-columns: 1fr 1fr; } .rv-gamenav-grid .rv-btn { grid-column: 1 / -1; justify-self: center; order: 3; } }

/* 8. document pages -------------------------------------------------------- */
.rv-pagehead { padding: 56px 0 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--ground)); }
.rv-pagehead-title { font-size: clamp(26px, 4.4vw, 56px); line-height: 1.02; margin-top: 14px; }
.rv-doc .rv-prose { padding-block: 48px 80px; }
.rv-prose { max-width: 72ch; font-size: 17px; line-height: 1.65; }
.rv-prose--wide { max-width: none; }
.rv-prose h2, .rv-prose h3, .rv-prose h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin: 2em 0 .7em; line-height: 1.2; }
.rv-prose h2 { font-size: 20px; }
.rv-prose h3 { font-size: 15px; }
.rv-prose h4 { font-size: 12px; color: var(--steel); letter-spacing: .2em; }
.rv-prose p, .rv-prose ul, .rv-prose ol { margin: 0 0 1.1em; }
.rv-prose ul, .rv-prose ol { padding-left: 1.3em; }
.rv-prose li { margin: .3em 0; }
.rv-prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 2.4em 0; }
.rv-prose strong { color: #fff; }
.rv-prose blockquote { margin: 2em 0; padding: 20px 24px; border-left: 2px solid var(--gold); background: var(--panel); font-size: 1.05em; }
.rv-prose blockquote cite { display: block; margin-top: 10px; font: 600 10px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--steel-dim); font-style: normal; }
.rv-prose figure { margin: 2em 0; }
.rv-prose figcaption, .rv-prose .wp-element-caption { font: 600 10px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--steel-dim); margin-top: 8px; text-align: center; }
.rv-prose .aligncenter { margin-inline: auto; text-align: center; }
.rv-prose .aligncenter img { margin-inline: auto; }
.rv-prose img { border: 1px solid var(--line-2); }
.rv-prose .wp-block-buttons a, .rv-prose .wp-block-button__link { display: inline-block; text-decoration: none; }
.rv-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rv-prose th, .rv-prose td { border: 1px solid var(--line-2); padding: 8px 10px; text-align: left; }
.rv-prose video { border: 1px solid var(--line-2); background: #000; }

/* WordPress gallery block (Our story) — a filmstrip of four.
   Core's gallery CSS uses `:not(#individual-image)` to reach id-level
   specificity, so these rules match that trick and pin the few properties
   core would otherwise override. */
.rv-prose .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 10px !important; margin: 1.6em 0 2.4em; }
.rv-prose .wp-block-gallery figure.wp-block-image:not(#rv) { display: grid; grid-template-rows: auto auto; gap: 6px; width: auto !important; margin: 0 !important; }
.rv-prose .wp-block-gallery figure.wp-block-image:not(#rv) img { width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; flex: none !important; filter: saturate(.9); }
.rv-prose .wp-block-gallery figure.wp-block-image:not(#rv) figcaption { position: static !important; background: none !important; padding: 0 !important; margin: 0; color: var(--steel-dim); font-size: 9px; }
@media (max-width: 700px) { .rv-prose .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, 1fr); } }

/* Our story: the AI stance */
.rv-page-our-story .rv-eno-quote, .rv-prose .rv-eno-quote { font-size: 1.25em; line-height: 1.4; }
.rv-prose .rv-stance-tagline { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-size: 18px; margin: 1.6em 0; }
.rv-prose .rv-stance-promise { color: #fff; font-weight: 600; }

/* Press kit */
.rv-press-page .rv-tagline, .rv-contact-page .rv-tagline { font-size: clamp(18px, 2.2vw, 24px); color: var(--steel); margin: 0 0 1.6em; }
.rv-press-hero { margin-bottom: 24px; }
.rv-press-section { padding: 30px 0; border-top: 1px solid var(--line); }
.rv-press-section > h2:first-child { margin-top: 0; }
.rv-press-studio-logo { float: right; width: min(220px, 34%); margin: 0 0 20px 30px; }
.rv-press-studio-logo img { border: 1px solid var(--line-2); }
.rv-press-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 20px; padding: 18px 22px; border: 1px solid var(--line-2); background: var(--panel); margin-bottom: 24px; }
.rv-press-meta p { margin: 0; font-size: 15px; color: var(--steel); }
.rv-press-meta strong { color: var(--steel-dim); font: 600 10px var(--display); letter-spacing: .16em; text-transform: uppercase; display: block; }
.rv-founder { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; clear: both; }
.rv-founder-photo img { border: 1px solid var(--line-2); filter: grayscale(1) contrast(1.05); }
.rv-founder-links a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); color: var(--steel); }
.rv-founder-links svg { width: 20px; height: 20px; fill: currentColor; }
.rv-press-game { padding: 26px 28px; border: 1px solid var(--line-2); background: var(--panel); margin: 22px 0; }
.rv-press-game > h3 { margin-top: 0; font-size: 20px; }
.rv-press-tagline { color: var(--steel); }
.rv-press-fact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 20px; margin: 16px 0 20px; }
.rv-press-fact p { margin: 0; font-size: 14px; color: var(--steel); }
.rv-press-fact strong { color: var(--steel-dim); font: 600 10px var(--display); letter-spacing: .16em; text-transform: uppercase; display: block; }
.rv-press-store-badges img, .rv-press-spotify-badge { height: 36px; width: auto; display: inline-block; border: 0; vertical-align: middle; margin: 6px 6px 0 0; }
.rv-press-features { list-style: none; padding: 0; }
.rv-press-features li { position: relative; padding-left: 20px; }
.rv-press-features li::before { content: "►"; position: absolute; left: 0; top: .2em; font-size: 10px; color: var(--gold); }
.rv-press-assets-list li a { word-break: break-all; }
/* "Connect": text links separated by " · " in the content — shown as chips, separators hidden */
.rv-press-social p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 0; line-height: 0; }
.rv-press-social a { display: inline-flex; align-items: center; padding: 10px 14px; border: 1px solid var(--line-2); background: var(--panel); color: var(--steel); text-decoration: none; font: 600 10px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.rv-press-social a:hover { color: var(--gold-hi); border-color: var(--gold); }
/* the old plugin's game cards, still emitted inside the press page by a shortcode */
.rv-games-col-title { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); font-size: 18px; margin: 2em 0 1em; }
.rv-games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rv-game-card { display: block; border: 1px solid var(--line-2); background: var(--panel); text-decoration: none; color: var(--ink); overflow: hidden; }
.rv-game-card:hover { border-color: var(--gold); }
.rv-game-card-img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border: 0; }
.rv-game-card-body { padding: 14px 16px; display: grid; gap: 8px; }
.rv-game-card-title { font-size: 13px; margin: 0; color: var(--ink); }
.rv-game-card-hook { margin: 0; font-size: 13px; color: var(--steel); }
.rv-game-card-platforms { display: flex; gap: 8px; color: var(--steel-dim); }
.rv-pf-icon svg { width: 18px; height: 18px; }
.rv-game-card-cta { font: 600 10px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 700px) { .rv-press-studio-logo { float: none; width: 160px; margin: 0 0 20px; } .rv-founder { grid-template-columns: 1fr; } .rv-founder-photo { max-width: 200px; } }

/* Contact */
/* one two-column grid for every row, so the modem sits above "Follow us"
   and the address box above the form */
.rv-contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 56px; }
.rv-contact-info { grid-column: 1 / -1; }
.rv-contact-meta-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 56px; align-items: start; }
.rv-contact-meta { padding: 24px 26px; border: 1px solid var(--line-2); background: var(--panel); height: 100%; display: grid; align-content: center; gap: 2px; }
.rv-contact-meta p { margin: 0 0 4px; color: var(--steel); }
.rv-contact-meta p:first-child { color: var(--ink); font: 600 12px var(--display); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.rv-contact-phone { max-width: 240px; }
.rv-contact-phone img { border: 0; }
/* the 56K modem */
.rv-modem-wrap { max-width: 340px; width: 100%; display: grid; gap: 12px; }
.rv-modem {
	--beige: #cfc7b2; --beige-hi: #ebe5d3; --beige-lo: #8f8874;
	background: linear-gradient(180deg, var(--beige-hi), var(--beige) 30%, var(--beige-lo));
	border-radius: 8px 8px 6px 6px; padding: 12px 16px 14px; border: 1px solid #3a3628;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 18px 40px rgba(0, 0, 0, .6), 0 0 0 1px #000;
	transform: perspective(800px) rotateX(18deg); transform-origin: bottom center;
}
.rv-modem-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rv-modem-brand { font: 600 9px var(--display); letter-spacing: .14em; text-transform: uppercase; color: #3a3628; }
.rv-modem-brand b { color: #7a1010; }
.rv-modem-vent { flex: 1; max-width: 90px; height: 10px; background: repeating-linear-gradient(90deg, #6f6957 0 2px, transparent 2px 5px); opacity: .7; }
.rv-modem-leds { display: flex; justify-content: space-between; gap: 4px; padding: 8px 10px; background: #2a2a24; border-radius: 4px; box-shadow: inset 0 2px 6px #000; }
.rv-modem-led { display: grid; justify-items: center; gap: 5px; font: 700 8px/1 var(--display); letter-spacing: .06em; color: #cfc7b2; }
.rv-modem-led i { width: 9px; height: 9px; border-radius: 50%; background: #1f3a1f; box-shadow: inset 0 1px 2px #000; }
.rv-modem-led--hs i, .rv-modem-led--cd i, .rv-modem-led--tr i, .rv-modem-led--mr i { background: #3cff6a; box-shadow: 0 0 8px #3cff6a, inset 0 0 2px #fff; }
.rv-modem-led--aa i, .rv-modem-led--oh i { background: #ffb020; box-shadow: 0 0 6px #ffb020; }
.rv-modem-led--rd i { background: #ff4a3a; animation: rv-modem-rd 1.1s steps(2) infinite; }
.rv-modem-led--sd i { background: #ff4a3a; animation: rv-modem-sd .7s steps(3) infinite; }
@keyframes rv-modem-rd { 0%, 40% { opacity: 1; box-shadow: 0 0 8px #ff4a3a; } 50%, 70% { opacity: .15; box-shadow: none; } 80% { opacity: 1; } }
@keyframes rv-modem-sd { 0% { opacity: .15; box-shadow: none; } 30%, 60% { opacity: 1; box-shadow: 0 0 8px #ff4a3a; } 100% { opacity: .15; } }
.rv-modem-log { margin: 0; font: 17px/1.3 var(--mono); color: #8fd0a0; background: #000; border: 1px solid var(--line-2); padding: 10px 12px; min-height: 6.6em; white-space: pre-wrap; }
.rv-modem-log::after { content: "█"; animation: rv-led 1s steps(1) infinite; }
@media (max-width: 600px) { .rv-modem { transform: none; } }
.rv-contact-form-wrap h3, .rv-contact-social h3 { margin-top: 0; }
.rv-contact-form p { margin: 0 0 14px; }
.rv-contact-form label { display: block; font: 600 10px var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.rv-contact-form label span { color: var(--led); }
.rv-contact-form input[type="text"], .rv-contact-form input[type="email"], .rv-contact-form textarea, .rv-search input {
	width: 100%; background: #000; color: #fff; border: 1px solid var(--line-2); padding: 12px 14px; font: 16px var(--body);
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6);
}
.rv-contact-form input:focus, .rv-contact-form textarea:focus, .rv-search input:focus { outline: 0; border-color: var(--gold); }
.rv-contact-form textarea { resize: vertical; min-height: 160px; }
.rv-honey { position: absolute; left: -9999px; }
.rv-contact-form .rv-btn, .rv-contact-form button { border: 0; }
.rv-contact-success, .rv-contact-error { padding: 14px 18px; border: 1px solid var(--gold); background: var(--panel); margin-bottom: 20px; }
.rv-contact-error { border-color: var(--led); }
.rockvine-social-strip { display: flex; gap: 6px; flex-wrap: wrap; }
.rockvine-social-strip a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); color: var(--steel); background: var(--panel); }
.rockvine-social-strip a:hover { color: var(--gold-hi); border-color: var(--gold); }
.rockvine-social-strip svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 800px) { .rv-contact-page, .rv-contact-meta-row { grid-template-columns: 1fr; } .rv-contact-meta { height: auto; } }

.rv-search-row { display: flex; gap: 8px; margin-top: 8px; }
.rv-search-row .rv-btn { border: 0; }
.rv-pagelinks { margin-top: 2em; }

/* 9. lightbox -------------------------------------------------------------- */
.rv-lightbox { position: fixed; inset: 0; z-index: 110; }
.rv-lightbox[hidden] { display: none; }
.rv-lightbox-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .92); }
.rv-lightbox-frame { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 64px 24px; pointer-events: none; }
.rv-lightbox-stage { pointer-events: auto; max-width: 100%; max-height: 100%; display: grid; place-items: center; }
.rv-lightbox-stage img, .rv-lightbox-stage video { max-width: min(100%, calc(100vw - 128px)); max-height: calc(100vh - 110px); width: auto; height: auto; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .8); background: #000; }
.rv-lightbox-caption { pointer-events: auto; color: var(--steel); font: 600 10px var(--display); letter-spacing: .2em; text-transform: uppercase; padding-top: 12px; min-height: 26px; }
.rv-lightbox-close, .rv-lightbox-prev, .rv-lightbox-next {
	position: absolute; z-index: 2; pointer-events: auto; width: 48px; height: 48px; display: grid; place-items: center;
	background: rgba(0, 0, 0, .6); border: 1px solid var(--line-2); color: #fff; font-size: 26px; line-height: 1;
}
.rv-lightbox-close { top: 14px; right: 14px; }
.rv-lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.rv-lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.rv-lightbox-prev[hidden], .rv-lightbox-next[hidden] { display: none; }
body.rv-lightbox-open { overflow: hidden; }
@media (max-width: 700px) {
	.rv-lightbox-frame { padding: 60px 8px 16px; }
	.rv-lightbox-stage img, .rv-lightbox-stage video { max-width: calc(100vw - 16px); max-height: calc(100vh - 100px); }
	.rv-lightbox-prev, .rv-lightbox-next { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; }
}

/* 10. motion --------------------------------------------------------------- */
.rv-reveal { transition: transform .7s var(--ease), opacity .7s var(--ease); }
.rv-reveal.is-out { transform: translateY(18px); opacity: .001; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.rv-splash { display: none !important; }
	.rv-hero-bg.is-on { transform: none; }
	.rv-reveal.is-out { transform: none; opacity: 1; }
}
@media print { .rv-crt, .rv-console, .rv-splash, .rv-lightbox, .rv-console-btn { display: none !important; } }
