/* hollowboundrealms.com: one stylesheet, no framework (web/README.md). */

@font-face { font-family: "Fontin"; src: url("../fonts/Fontin-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fontin"; src: url("../fonts/Fontin-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fontin"; src: url("../fonts/Fontin-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fontin SC"; src: url("../fonts/Fontin-SmallCaps.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
	/* The logo's colours: bone lettering, bronze REALMS, the teal stone. */
	--ink: #0a0c0f;
	--ink-2: #0f1318;
	--panel: #141920;
	--panel-2: #1a2029;
	--line: rgba(188, 155, 106, 0.28);
	--line-soft: rgba(230, 225, 211, 0.1);
	--bone: #e6e1d3;
	--bone-dim: #bcb6a6;
	--muted: #8f8a7c;
	--gold: #bc9b6a;
	--gold-hi: #dcc08c;
	--teal: #4c9bb0;
	--violet: #a184ff;
	--frost: #9cc9ff;
	--rage: #d96a4f;
	--focus: #e0b35c;
	--shadow: #b58cff;
	--radius: 10px;
	--wrap: 1180px;
	--gutter: 16px;
	--display: "Fontin SC", "Fontin", Georgia, "Times New Roman", serif;
	--text: "Fontin", Georgia, "Times New Roman", serif;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--bone);
	font-family: var(--text);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bone); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The ornament under the logo: a bronze rule each side of a teal stone. */
.kicker {
	display: flex; align-items: center; gap: 14px;
	font-family: var(--display); color: var(--gold); letter-spacing: 0.16em; font-size: 0.95rem;
	margin: 0 0 14px;
}
.kicker::before, .kicker::after { content: ""; height: 1px; width: 44px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker::after { transform: scaleX(-1); }
.kicker.center { justify-content: center; }
.gem { display: inline-block; width: 9px; height: 9px; background: var(--teal); transform: rotate(45deg); border: 1px solid var(--gold); }

/* ------------------------------------------------------------- buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 26px; border-radius: 999px;
	font-family: var(--display); font-size: 1.08rem; letter-spacing: 0.08em; text-decoration: none;
	border: 1px solid var(--gold); color: var(--ink);
	background: linear-gradient(180deg, var(--gold-hi), var(--gold));
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4) inset, 0 8px 30px rgba(188, 155, 106, 0.18);
	cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4) inset, 0 10px 36px rgba(220, 192, 140, 0.3); }
.btn.ghost { background: rgba(10, 12, 15, 0.45); color: var(--bone); border-color: rgba(230, 225, 211, 0.4); box-shadow: none; backdrop-filter: blur(4px); }
.btn.ghost:hover { border-color: var(--gold-hi); color: var(--bone); }
.btn small { font-family: var(--text); font-size: 0.78rem; letter-spacing: 0; opacity: 0.75; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------- header */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	transition: background 0.25s ease, border-color 0.25s ease;
	border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(10, 12, 15, 0.9); border-color: var(--line); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { width: 150px; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { font-family: var(--display); color: var(--bone-dim); text-decoration: none; letter-spacing: 0.1em; font-size: 0.98rem; }
.nav a:hover, .nav a.active { color: var(--bone); }
.nav .btn { padding: 8px 18px; font-size: 0.95rem; color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--bone); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; display: block; }

/* ------------------------------------------------------------- hero */
.hero { position: relative; min-height: max(640px, 100svh); display: grid; isolation: isolate; overflow: hidden; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%; z-index: -2; }
.hero-art img { animation: breathe 24s ease-in-out infinite alternate; transform-origin: 40% 50%; }
@keyframes breathe { from { transform: scale(1.02); } to { transform: scale(1.08); } }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(10, 12, 15, 0.72) 0%, rgba(10, 12, 15, 0.1) 22%, rgba(10, 12, 15, 0.05) 55%, rgba(10, 12, 15, 0.85) 88%, var(--ink) 100%),
		radial-gradient(60% 50% at 50% 34%, rgba(10, 12, 15, 0.55), transparent 70%);
}
.hero-content { align-self: start; justify-self: center; text-align: center; padding: clamp(110px, 17vh, 190px) var(--gutter) 60px; max-width: 760px; }
.hero-logo { width: min(560px, 86vw); margin: 0 auto 18px; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.8)); }
.hero .tagline { font-family: var(--text); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--bone); margin: 0 0 8px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9); }
.hero .lede { color: var(--bone-dim); font-size: 1.08rem; margin: 0 auto 28px; max-width: 600px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; font-family: var(--display); letter-spacing: 0.14em; font-size: 0.88rem; color: var(--bone-dim); text-shadow: 0 2px 10px #000; }
.hero-meta span + span::before { content: "·"; margin: 0 12px; color: var(--gold); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--bone-dim); opacity: 0.7; }
.scroll-cue svg { width: 26px; height: 26px; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ------------------------------------------------------------- sections */
section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--bone-dim); font-size: 1.1rem; }

.premise .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.premise .body p { color: var(--bone-dim); }
.premise .body p strong { color: var(--bone); font-weight: 700; }
blockquote.saying {
	margin: 26px 0; padding: 6px 0 6px 22px; border-left: 2px solid var(--gold);
	font-style: italic; font-size: 1.18rem; color: var(--bone);
}
blockquote.saying cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--display); letter-spacing: 0.12em; font-size: 0.9rem; color: var(--gold); }
.framed { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.framed::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(0, 0, 0, 0.55); pointer-events: none; }
.framed figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: 0.92rem; color: var(--bone-dim); background: linear-gradient(transparent, rgba(10, 12, 15, 0.92)); }

/* ------------------------------------------------------------- classes */
.classes { background: radial-gradient(80% 60% at 50% 0%, #161c24 0%, var(--ink) 70%); }
.lineup { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #15171a; }
.lineup img { width: 100%; }
.lineup-slots { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.lineup-slot {
	position: relative; border: 0; margin: 0; padding: 0; cursor: pointer; background: rgba(8, 10, 13, 0.35);
	-webkit-backdrop-filter: grayscale(0.75) brightness(0.6); backdrop-filter: grayscale(0.75) brightness(0.6);
	transition: background 0.3s ease, backdrop-filter 0.3s ease; color: var(--bone); font: inherit;
}
.lineup-slot:hover { background: rgba(8, 10, 13, 0.1); -webkit-backdrop-filter: grayscale(0.3) brightness(0.85); backdrop-filter: grayscale(0.3) brightness(0.85); }
.lineup-slot[aria-selected="true"] {
	background: radial-gradient(70% 45% at 50% 40%, rgba(220, 192, 140, 0.1), transparent 70%);
	-webkit-backdrop-filter: none; backdrop-filter: none;
	box-shadow: inset 0 -3px 0 var(--gold), inset 0 0 0 1px rgba(220, 192, 140, 0.35);
}
.lineup-slot span {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 6px 12px;
	font-family: var(--display); letter-spacing: 0.12em; font-size: clamp(0.62rem, 1.35vw, 1.05rem);
	background: linear-gradient(transparent, rgba(8, 10, 13, 0.9));
	color: var(--bone-dim);
}
.lineup-slot[aria-selected="true"] span { color: var(--gold-hi); }
.lineup-slot:focus-visible { outline-offset: -3px; }

.class-panels { margin-top: 28px; }
.class-panel {
	display: grid; grid-template-columns: 200px 1fr; gap: 28px 34px;
	background: linear-gradient(180deg, var(--panel), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(20px, 3vw, 34px);
}
.class-panel + .class-panel { margin-top: 18px; }
.js .class-panel + .class-panel { margin-top: 0; }
.class-panel[hidden] { display: none; }
.class-panel .portrait { width: 200px; aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; }
.class-panel h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 2px; }
.class-panel .title { color: var(--gold); font-style: italic; margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { font-family: var(--display); letter-spacing: 0.08em; font-size: 0.86rem; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--bone-dim); background: rgba(255, 255, 255, 0.03); }
.tag.res { border-color: currentColor; }
.res-ond { color: var(--violet); }
.res-rage { color: var(--rage); }
.res-focus { color: var(--focus); }
.res-shadow { color: var(--shadow); }
.res-frost { color: var(--frost); }
.class-panel .desc { color: var(--bone-dim); font-size: 1.08rem; max-width: 680px; }
.specs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.specs li { padding: 16px 18px; border-radius: 8px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-soft); color: var(--bone-dim); font-size: 0.98rem; }
.specs strong { display: block; font-family: var(--display); font-weight: 400; letter-spacing: 0.08em; color: var(--bone); font-size: 1.1rem; margin-bottom: 4px; }
.specs em { color: var(--muted); font-style: normal; font-size: 0.88rem; }
.skills { grid-column: 1 / -1; color: var(--muted); font-size: 0.95rem; margin: 0; }
.skills b { font-family: var(--display); font-weight: 400; color: var(--gold); letter-spacing: 0.1em; margin-right: 6px; }

/* ------------------------------------------------------------- banner */
.banner { position: relative; padding: 0; min-height: 520px; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(10, 12, 15, 0.45) 22%, rgba(10, 12, 15, 0.45) 78%, var(--ink) 100%), radial-gradient(50% 60% at 50% 50%, rgba(10, 12, 15, 0.6), transparent); }
.banner .stats { display: flex; gap: clamp(26px, 6vw, 90px); justify-content: center; flex-wrap: wrap; padding: 0 var(--gutter); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1; color: var(--bone); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9); }
.stat span { font-family: var(--display); letter-spacing: 0.18em; color: var(--gold-hi); font-size: 0.95rem; text-shadow: 0 2px 10px #000; }

/* ------------------------------------------------------------- the world */
.world .layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.map { margin: 0; }
.map img { width: 100%; }
.road { list-style: none; margin: 0; padding: 0; counter-reset: road; }
.road li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.road li::before { counter-increment: road; content: counter(road); font-family: var(--display); color: var(--gold); font-size: 0.9rem; }
.road b { font-weight: 400; color: var(--bone); }
.road small { display: block; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.road .lv { font-family: var(--display); color: var(--bone-dim); font-size: 0.85rem; letter-spacing: 0.08em; white-space: nowrap; }
.road li.dungeon b { color: var(--gold-hi); }
.road li.mara b, .road li.mara .lv { color: var(--violet); }

.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.scene { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.scene img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform 0.6s ease; }
.scene:hover img { transform: scale(1.04); }
.scene figcaption { padding: 14px 16px 16px; font-size: 0.95rem; color: var(--bone-dim); }
.scene figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.12rem; color: var(--bone); letter-spacing: 0.05em; }
.scene figcaption i { color: var(--bone-dim); }

/* ------------------------------------------------------------- features */
.features { background: linear-gradient(180deg, var(--ink), var(--ink-2) 40%, var(--ink)); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 24px 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-soft); }
.feature h3 { font-size: 1.28rem; margin-bottom: 8px; }
.feature p { color: var(--bone-dim); font-size: 0.98rem; margin: 0; }
.feature .glyph { width: 40px; height: 40px; margin-bottom: 14px; color: var(--gold); }
.feature.mara { border-color: rgba(161, 132, 255, 0.45); background: radial-gradient(120% 90% at 0% 0%, rgba(161, 132, 255, 0.16), transparent 60%), linear-gradient(180deg, var(--panel-2), var(--panel)); }
.feature.mara .glyph { color: var(--violet); }
.feature.engine { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; }
.feature.engine .glyph { grid-row: span 2; margin: 2px 0 0; width: 48px; height: 48px; }

/* ------------------------------------------------------------- gallery */
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.shot { grid-column: span 2; display: block; margin: 0; padding: 0; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; cursor: zoom-in; background: #000; position: relative; font: inherit; color: inherit; }
.shot:hover { border-color: var(--line); }
.shot.wide { grid-column: span 3; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s; }
.shot:hover img { transform: scale(1.03); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px; text-align: left; font-size: 0.88rem; color: var(--bone-dim); background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); }
.gallery-note { color: var(--muted); font-size: 0.92rem; margin-top: 16px; text-align: center; }

dialog.lightbox { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #000; max-width: min(1600px, 96vw); width: 96vw; color: var(--bone); }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
dialog.lightbox img { width: 100%; height: auto; max-height: 84vh; object-fit: contain; }
dialog.lightbox .bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-size: 0.95rem; color: var(--bone-dim); }
dialog.lightbox .bar span { flex: 1; }
dialog.lightbox button { background: none; border: 1px solid var(--line-soft); color: var(--bone); border-radius: 6px; padding: 6px 12px; cursor: pointer; font: inherit; }
dialog.lightbox button:hover { border-color: var(--gold); }

/* ------------------------------------------------------------- beta */
.beta { overflow: hidden; isolation: isolate; }
.beta > img.backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.32; }
.beta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink), rgba(10, 12, 15, 0.7) 30%, rgba(10, 12, 15, 0.8) 70%, var(--ink)); }
.beta-card { max-width: 980px; margin-inline: auto; background: rgba(15, 19, 24, 0.88); border: 1px solid var(--line); border-radius: 14px; padding: clamp(26px, 4vw, 48px); backdrop-filter: blur(6px); }
.beta-card .section-head { margin-bottom: 30px; }
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { position: relative; padding: 18px 18px 16px 58px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-soft); color: var(--bone-dim); font-size: 0.98rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); color: var(--ink); background: var(--gold); }
.steps b { display: block; color: var(--bone); font-weight: 700; margin-bottom: 2px; }
.downloads { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: flex-start; margin-bottom: 26px; }
.dl { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.btn.soon { opacity: 0.5; cursor: default; filter: grayscale(1); }
.btn.soon:hover { transform: none; border-color: rgba(230, 225, 211, 0.4); }
.soon-label { font-family: var(--display); letter-spacing: 0.14em; font-size: 0.8rem; color: var(--gold); }
.install-notes { max-width: 640px; margin: 0 auto 26px; color: var(--muted); font-size: 0.94rem; }
.install-notes b { color: var(--bone-dim); }
.install-notes code { color: var(--bone); font-size: 0.92em; }
.install-notes pre { margin: 0 0 4px; padding: 10px 14px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-soft); border-radius: 8px; overflow-x: auto; }
.install-notes pre code { white-space: pre; }
.reqs-head { margin: 0 0 12px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-family: var(--display); letter-spacing: 0.1em; color: var(--gold); }
.reqs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 36px; color: var(--muted); font-size: 0.94rem; margin: 0; padding: 0; }
.reqs dt { color: var(--bone-dim); font-family: var(--display); letter-spacing: 0.08em; }
.reqs dd { margin: 0 0 10px; }

/* ------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; gap: 24px 40px; align-items: center; flex-wrap: wrap; }
.site-footer img { width: 170px; opacity: 0.9; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.site-footer nav a { color: var(--bone-dim); text-decoration: none; font-family: var(--display); letter-spacing: 0.08em; }
.site-footer nav a:hover { color: var(--bone); }
.site-footer .legal { flex-basis: 100%; margin: 0; }
.site-footer .legal a { color: var(--bone-dim); }

/* ------------------------------------------------------------- text pages (store, refunds, terms, privacy, contact) */
.page { padding: 130px 0 90px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.1rem); margin-bottom: 6px; }
.page .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 34px; }
.page h2 { font-size: 1.45rem; margin: 34px 0 10px; color: var(--gold-hi); }
.page p, .page li { color: var(--bone-dim); }
.page strong { color: var(--bone); font-weight: 700; }
.page ul { padding-left: 22px; margin: 0 0 1em; }
.page li { margin-bottom: 6px; }
.page code { font-size: 0.92em; color: var(--bone); }
.page .small { font-size: 0.92rem; color: var(--muted); }
.product {
	display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start;
	margin: 26px 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius);
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.product h2 { margin-top: 0; }
.product .price { font-family: var(--display); font-size: 2rem; color: var(--bone); white-space: nowrap; }
.product .price small { font-size: 0.9rem; color: var(--muted); letter-spacing: 0.1em; }
/* The Donate page: the owner's note, the Venmo card, the link. */
.donate {
	display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
	margin: 26px 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
	background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.page .donate-note { color: var(--bone); font-size: 1.08rem; max-width: 560px; margin: 0; }
.donate-code { width: 200px; height: auto; border-radius: 10px; }
.page .donate .small { margin: 0; }
/* A gap the owner still has to fill: impossible to miss before launch. */
.gap { background: rgba(217, 106, 79, 0.18); border: 1px dashed var(--rage); color: var(--bone); padding: 0 6px; border-radius: 4px; }
.nav a.active { color: var(--gold-hi); }

.toast {
	position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 80;
	padding: 12px 20px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--gold); color: var(--bone); font-size: 0.98rem;
	transition: opacity 0.25s ease, transform 0.25s ease; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll (only when JS runs, so the page is complete without it). */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- narrower screens */
@media (max-width: 1080px) {
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.scenes { grid-template-columns: repeat(2, 1fr); }
	.world .layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	body { font-size: 17px; }
	.menu-toggle { display: block; }
	.nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; background: rgba(10, 12, 15, 0.97); border-bottom: 1px solid var(--line); }
	.nav.open { display: flex; }
	.nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
	.nav .btn { margin-top: 12px; justify-content: center; border-bottom: 1px solid var(--gold); }
	.site-header { background: rgba(10, 12, 15, 0.85); }
	.premise .wrap { grid-template-columns: 1fr; }
	.class-panel { grid-template-columns: 1fr; }
	.class-panel .portrait { width: 128px; }
	.specs { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.shots { grid-template-columns: repeat(2, 1fr); }
	.shot, .shot.wide { grid-column: span 1; }
	.reqs { grid-template-columns: 1fr; }
	.site-footer nav { margin-left: 0; }
	.product { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.feature-grid, .scenes { grid-template-columns: 1fr; }
	.feature.engine { grid-template-columns: 1fr; }
	.feature.engine .glyph { grid-row: auto; }
	.shots { grid-template-columns: 1fr; }
	.hero-art img { object-position: 22% 40%; }
	/* Six names do not fit across a phone: the panel below names the class. */
	.lineup-slot span { display: none; }
	.banner { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-art img, .scroll-cue svg { animation: none; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
}
