/* ============================================================
   DEAD WEEK — website styles
   Palette and fonts are the game's own (game/css/main.css).
   ============================================================ */

@font-face { font-family: "Special Elite"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("../media/fonts/special-elite-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Special Elite"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("../media/fonts/special-elite-latin-ext-400-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("../media/fonts/inter-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("../media/fonts/inter-latin-ext-400-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
	src: url("../media/fonts/inter-latin-600-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
	src: url("../media/fonts/inter-latin-ext-600-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
	src: url("../media/fonts/inter-latin-800-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IM Fell English"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("../media/fonts/im-fell-english-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IM Fell English"; font-style: italic; font-weight: 400; font-display: swap;
	src: url("../media/fonts/im-fell-english-latin-400-italic.woff2") format("woff2"); }

:root {
	--ink: #0b0a14;
	--ink2: #12101d;
	--ink3: #1b1729;
	--line: rgba(242, 234, 216, .14);
	--paper: #f2ead8;
	--paper2: #e2d6bd;
	--muted: rgba(242, 234, 216, .72);
	--accent: #ff3b5c;
	--accent-deep: #c81e44;
	--violet: #7c4dff;
	--teal: #35d0c4;
	--gold: #ffd166;
	--blood: #e0132f;
	--font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-title: "Special Elite", "Courier New", monospace;
	--font-old: "IM Fell English", Georgia, serif;
	--gutter: clamp(16px, 4vw, 40px);
	--maxw: 1180px;
	--radius: 10px;
	--bar-h: 60px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
	margin: 0; background: var(--ink); color: var(--paper);
	font-family: var(--font-ui); font-size: clamp(16px, 1.05vw + 12px, 18px); line-height: 1.6;
	overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7ff0e6; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--gold); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- top bar ---------- */
.bar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--bar-h);
	display: flex; align-items: center; gap: 12px;
	padding: 0 var(--gutter); padding-top: env(safe-area-inset-top);
	height: calc(var(--bar-h) + env(safe-area-inset-top));
	transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.bar.is-solid { background: rgba(11, 10, 20, .86); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bar__logo { width: 52px; flex: 0 0 auto; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.bar.is-solid .bar__logo { opacity: 1; transform: none; pointer-events: auto; }
.bar__nav { margin-left: auto; display: flex; align-items: center; gap: clamp(10px, 2.2vw, 28px); }
.bar__nav a { color: var(--paper); text-decoration: none; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; opacity: .85; white-space: nowrap; }
.bar__nav a:hover { opacity: 1; color: var(--paper); }
.bar__nav .bar__cta { background: var(--accent); color: #fff; opacity: 1; padding: 8px 14px; border-radius: 999px; }
.bar__nav .bar__cta:hover { background: #ff5574; color: #fff; }
.bar__lang { flex: 0 0 auto; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--paper); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; background: rgba(11, 10, 20, .4); }
.bar__lang:hover { border-color: var(--paper); color: var(--paper); }
@media (max-width: 719px) {
	.bar__nav a:not(.bar__cta) { display: none; }
	.bar__nav { gap: 8px; }
}

/* ---------- hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; justify-content: flex-end;
	padding: calc(var(--bar-h) + 24px + env(safe-area-inset-top)) var(--gutter) 72px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg picture, .hero__bg img { width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 28% 40%; animation: heroZoom 30s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(11, 10, 20, 0) 25%, rgba(11, 10, 20, .55) 52%, rgba(11, 10, 20, .88) 78%),
		linear-gradient(180deg, rgba(11, 10, 20, .55) 0%, rgba(11, 10, 20, 0) 22%, rgba(11, 10, 20, 0) 62%, var(--ink) 100%);
}
.hero__inner { position: relative; width: 100%; max-width: 560px; margin-right: max(0px, calc((100vw - var(--maxw)) / 2)); text-align: center; }
.hero__logo { width: min(340px, 72vw, 36vh); margin: 0 auto 6px; filter: drop-shadow(0 0 24px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(255, 59, 92, .22)); animation: logoIn 1.2s ease-out both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.hero__kicker { font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 0 0 18px; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.hero__stakes { font-family: var(--font-title); font-size: clamp(19px, 1.2vw + 13px, 25px); line-height: 1.35; margin: 0 0 28px; text-shadow: 0 2px 14px rgba(0, 0, 0, .9); }
.hero__stakes > span { display: block; text-wrap: balance; }
.hero__l1 { animation: fadeUp .9s .5s both; }
.hero__l2 { animation: fadeUp .9s 1.6s both; }
.hero__l3 { color: var(--blood); animation: bloodIn 1.4s 2.9s both; text-shadow: 0 0 18px rgba(224, 19, 47, .45), 0 2px 10px rgba(0, 0, 0, .9); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bloodIn { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
.hero__meta { font-size: 13px; color: var(--muted); letter-spacing: .04em; margin: 18px 0 0; }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(242, 234, 216, .5); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--paper); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 899px) {
	.hero { justify-content: center; align-items: flex-end; }
	.hero::before { background: linear-gradient(180deg, rgba(11, 10, 20, .35) 0%, rgba(11, 10, 20, .15) 30%, rgba(11, 10, 20, .78) 58%, var(--ink) 100%); }
	.hero__bg img { object-position: 24% 30%; }
	.hero__inner { margin: 0 auto; }
	.hero__logo { width: min(260px, 64vw, 34vh); }
}
@media (max-height: 560px) and (max-width: 899px) { .hero { align-items: flex-start; } .hero__scroll { display: none; } }

/* fog */
.fog { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: .5; mix-blend-mode: screen; }
.fog span { position: absolute; left: -50%; width: 200%; height: 60%; bottom: -8%;
	background: radial-gradient(ellipse 30% 45% at 20% 60%, rgba(53, 208, 196, .16), transparent 70%),
		radial-gradient(ellipse 25% 40% at 55% 55%, rgba(124, 77, 255, .12), transparent 70%),
		radial-gradient(ellipse 30% 50% at 85% 65%, rgba(53, 208, 196, .14), transparent 70%);
	animation: fogDrift 48s linear infinite alternate; }
.fog span + span { bottom: 18%; height: 40%; opacity: .7; animation-duration: 70s; animation-direction: alternate-reverse; }
@keyframes fogDrift { from { transform: translateX(-6%); } to { transform: translateX(10%); } }

/* ---------- stores ---------- */
.stores { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.stores__main { display: flex; flex-direction: column; gap: 12px; }
.store {
	position: relative; display: flex; align-items: center; gap: 14px; text-align: left;
	padding: 14px 18px; border-radius: var(--radius); text-decoration: none; color: var(--paper);
	background: rgba(18, 16, 29, .78); border: 1px solid rgba(242, 234, 216, .22);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: transform .15s, border-color .2s, background .2s, box-shadow .2s;
}
a.store:hover { transform: translateY(-2px); border-color: var(--paper); color: var(--paper); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.store__icon { flex: 0 0 auto; width: 34px; height: 34px; }
.store__icon .ico { width: 100%; height: 100%; }
.store__text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.store__name { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.store__label { font-weight: 800; font-size: 17px; line-height: 1.25; }
.store__on { font-weight: 400; opacity: .85; }
.store__sub { font-size: 13px; color: var(--muted); }
.store__badge { flex: 0 0 auto; align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(242, 234, 216, .12); color: var(--paper); max-width: 100%; }
.store__badgeTxt { display: block; min-width: 0; line-height: 1.3; text-wrap: balance; overflow-wrap: break-word; }
/* main call to action */
.store--big { padding: 16px 20px; }
.stores__main .store--big:first-child { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); border-color: transparent; box-shadow: 0 8px 30px rgba(255, 59, 92, .35); }
.stores__main .store--big:first-child .store__sub { color: rgba(255, 255, 255, .85); }
.stores__main .store--big:first-child .store__badge { background: rgba(0, 0, 0, .28); color: #fff; }
.stores__main .store--big:first-child:hover { box-shadow: 0 12px 36px rgba(255, 59, 92, .5); border-color: transparent; }
/* coming soon */
.stores__soon { display: flex; flex-direction: column; gap: 8px; }
.stores__soonLabel { margin: 4px 0 0; font-family: var(--font-title); font-size: 15px; color: var(--muted); }
.stores__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.store--card { padding: 10px 12px; gap: 10px; align-items: stretch; border-style: dashed; border-color: rgba(242, 234, 216, .3); }
/* cards in one row share their height: name at the top, badge pinned to the bottom, so every badge sits on the same line */
.store--card .store__icon { align-self: center; }
.store--card .store__text { justify-content: space-between; gap: 6px; }
.store--card .store__icon { width: 24px; height: 24px; }
.store--card .store__label { font-size: 15px; }
.store--card .store__badge { align-self: flex-start; margin-top: auto; font-size: 10px; padding: 2px 7px; }
.store--card .store__label { line-height: 1.2; }
.store.is-soon .store__badge { background: rgba(255, 209, 102, .16); color: var(--gold); display: inline-flex; align-items: flex-start; gap: 6px; border-radius: 11px; }
.store.is-soon .store__badge::before { content: ""; flex: 0 0 auto; margin-top: .33em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 209, 102, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 209, 102, .6); } 70% { box-shadow: 0 0 0 7px rgba(255, 209, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0); } }
.store.is-inert { cursor: default; }
.store.is-inert .store__label { font-weight: 600; }
.store__note { margin: 6px 2px 0; font-size: 13px; color: var(--muted); text-align: left; }
.stores__also { margin: 0; font-size: 14px; text-align: center; }
.stores__also a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.stores__also a:hover { color: var(--paper); }
.ico--sm { width: 16px; height: 16px; }
.stores__none { color: var(--muted); font-family: var(--font-title); }

/* device notes (classes on <html>, set by the server, corrected by site.js) */
.devnote { display: none; }
.is-touch .devnote--touch { display: block; }
.dev-desktop.os-mac .devnote--os, .dev-desktop.os-linux .devnote--os, .dev-desktop.os-chromeos .devnote--os { display: block; }
.devnote--touch { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: rgba(53, 208, 196, .1); border: 1px solid rgba(53, 208, 196, .35); text-align: left; }
.devnote__title { font-weight: 800; margin: 0 0 4px; }
.devnote__text { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.devnote__actions { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.devnote__mail { font-size: 14px; }
.devnote--os { margin: 14px 0 0; font-size: 14px; color: var(--gold); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; border: 1px solid var(--paper); background: transparent; color: var(--paper); }
.btn:hover { background: var(--paper); color: var(--ink); }

/* ---------- shared bits ---------- */
section { position: relative; }
.head { max-width: 720px; margin: 0 0 clamp(28px, 4vw, 48px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2, .feature__text h2, .road h3, .duo h3, .follow h3 { font-family: var(--font-title); }
.head h2 { font-size: clamp(32px, 3.4vw + 14px, 54px); margin-bottom: 12px; }
.head p { color: var(--muted); font-size: 1.05em; margin: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; }
.paper {
	background: var(--paper); color: #1d1a22;
	background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(80, 120, 170, .14) 27px 28px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .4) inset;
	border-radius: 3px; font-family: var(--font-title);
}
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; color: var(--muted); font-size: .95em; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }

/* reveal on scroll (only with JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- intro ---------- */
.intro { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.intro__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1.5fr 1fr; } }
.slam { font-family: var(--font-title); text-transform: uppercase; line-height: .95; margin-bottom: 28px; }
.slam__a { display: block; font-size: clamp(22px, 2vw + 12px, 34px); letter-spacing: .3em; color: var(--muted); }
.slam__b { display: block; font-size: clamp(46px, 7vw + 10px, 108px); color: var(--paper); text-shadow: 3px 3px 0 var(--accent), 0 0 40px rgba(255, 59, 92, .35); letter-spacing: .02em; overflow-wrap: anywhere; }
.lead { font-size: 1.15em; color: var(--paper); }
.intro__text p:not(.lead) { color: var(--muted); }
.intro__side { position: relative; display: flex; flex-direction: column; align-items: center; }
.intro__token { width: min(260px, 60vw); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }
.dict { position: relative; margin-top: -40px; width: min(340px, 100%); padding: 18px 22px 16px; transform: rotate(-1.5deg); }
.dict::before { content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff7a8f, var(--accent-deep)); box-shadow: 0 2px 4px rgba(0, 0, 0, .5); }
.dict__word { font-size: 28px; margin: 0; line-height: 1.1; }
.dict__pron { font-size: 13px; margin: 2px 0 10px; color: #5b5560; }
.dict__def { font-size: 15.5px; line-height: 1.55; margin: 0; }

/* ---------- features ---------- */
.features { padding: 0 0 clamp(40px, 6vw, 80px); }
.feature {
	width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter);
	display: grid; gap: clamp(22px, 4vw, 56px); align-items: center;
}
@media (min-width: 960px) {
	.feature { grid-template-columns: 1.25fr 1fr; }
	.feature--flip { grid-template-columns: 1fr 1.25fr; }
	.feature--flip .feature__media { order: 2; }
}
.feature__media { position: relative; }
.feature__frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); border: 1px solid var(--line); }
.feature__frame img { width: 100%; aspect-ratio: 1376 / 768; object-fit: cover; }
.feature__frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(11, 10, 20, .55); pointer-events: none; }
.feature__text h2 { font-size: clamp(28px, 2.4vw + 14px, 44px); margin-bottom: 16px; }
.feature__text > p { color: var(--muted); }
.feature__fx { position: absolute; pointer-events: none; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .7)); }
.feature__fx--gargoyle { width: 26%; right: -3%; top: -12%; transform: rotate(8deg); }
.feature__fx--drowned { width: 24%; left: -4%; bottom: -14%; }
.gauges { position: absolute; right: -10px; bottom: -26px; width: min(250px, 58%); padding: 12px 14px 10px; transform: rotate(1.5deg); display: grid; gap: 5px; font-size: 13px; }
.gauge { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 8px; }
.gauge__n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gauge__bar { height: 7px; border-radius: 4px; background: rgba(0, 0, 0, .12); overflow: hidden; }
.gauge__bar i { display: block; height: 100%; border-radius: 4px; }
.gauge--gold i { background: #d9a52c; } .gauge--violet i { background: var(--violet); } .gauge--teal i { background: #20a89d; } .gauge--pink i { background: var(--accent); } .gauge--ink i { background: #3b3644; }
@media (max-width: 559px) {
	.gauges { position: relative; right: auto; bottom: auto; width: auto; margin: -18px 12px 0; }
	.feature__fx--gargoyle { width: 30%; right: -2%; top: -10%; }
	.feature__fx--drowned { width: 26%; left: -2%; }
}

/* ---------- cast ---------- */
.cast { padding: clamp(56px, 8vw, 110px) 0; background: linear-gradient(180deg, var(--ink) 0%, var(--ink2) 20%, var(--ink2) 80%, var(--ink) 100%); }
.cast__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--ink3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__pic img { transform: scale(1.04); }
.card__pic { overflow: hidden; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__name { font-family: var(--font-title); font-size: 24px; margin-bottom: 4px; }
.card__role { font-size: 14.5px; color: var(--muted); margin: 0 0 12px; }
.card__quote { margin: auto 0 0; padding: 10px 0 0 14px; border-left: 2px solid var(--accent); font-size: 14.5px; font-style: italic; color: var(--paper); }
.card__quote p { margin: 0; }
.card__quote p::before { content: "\201C"; } .card__quote p::after { content: "\201D"; }
:lang(fr) .card__quote p::before { content: "\00AB\202F"; } :lang(fr) .card__quote p::after { content: "\202F\00BB"; }
@media (max-width: 519px) {
	.card { flex-direction: row; }
	.card__pic { flex: 0 0 38%; }
	.card__pic img { height: 100%; }
	.card__body { padding: 12px 14px; }
	.card__name { font-size: 20px; }
	.card__role, .card__quote { font-size: 13.5px; }
}
.duo { display: grid; gap: clamp(16px, 2.5vw, 28px); margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo__item { margin: 0; background: var(--ink3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.duo__item img { width: 100%; aspect-ratio: 1376 / 768; object-fit: cover; }
.duo__item figcaption { padding: 16px 18px 6px; }
.duo__item h3 { font-size: 24px; margin-bottom: 8px; }
.duo__item p { color: var(--muted); font-size: 15px; }

/* ---------- gallery ---------- */
.gallery { padding: clamp(56px, 8vw, 110px) 0; }
.gal { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 760px) { .gal__item:first-child { grid-column: span 2; grid-row: span 2; } }
.gal__link { display: block; height: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--ink3); }
.gal__link picture { height: 100%; }
.gal__link img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease, filter .3s; filter: saturate(.9); }
.gal__link:hover img { transform: scale(1.05); filter: saturate(1.1); }
.trailer { max-width: 900px; margin: 0 auto clamp(24px, 3vw, 40px); }
.trailer__btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; }
.trailer__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.trailer__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 30px rgba(255, 59, 92, .5); }
.trailer__play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.trailer__label { position: absolute; left: 16px; bottom: 12px; font-family: var(--font-title); font-size: 20px; text-shadow: 0 2px 8px #000; }
.trailer__btn iframe { width: 100%; height: 100%; border: 0; }
.trailer__note { font-size: 12px; color: var(--muted); margin: 6px 0 0; text-align: right; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(6, 5, 12, .94); display: flex; align-items: center; justify-content: center; padding: 56px 8px; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: min(1400px, 100%); text-align: center; touch-action: pan-y; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); width: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .7); }
.lb__fig figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.lb__close, .lb__nav { position: absolute; border: 0; background: rgba(242, 234, 216, .1); color: var(--paper); cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 28px; line-height: 46px; text-align: center; }
.lb__close:hover, .lb__nav:hover { background: rgba(242, 234, 216, .22); }
.lb__close { top: calc(10px + env(safe-area-inset-top)); right: 10px; }
.lb__nav--prev { left: 10px; top: 50%; margin-top: -23px; }
.lb__nav--next { right: 10px; top: 50%; margin-top: -23px; }
@media (max-width: 599px) { .lb__nav { top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); margin: 0; } .lb__nav--prev { left: calc(50% - 56px); } .lb__nav--next { right: calc(50% - 56px); } }
.no-scroll { overflow: hidden; }

/* ---------- get it ---------- */
.play { padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; isolation: isolate; }
.play__bg { position: absolute; inset: 0; z-index: -1; }
.play__bg picture, .play__bg img { width: 100%; height: 100%; }
.play__bg img { object-fit: cover; opacity: .32; }
.play__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(11, 10, 20, .6) 30%, rgba(11, 10, 20, .7) 70%, var(--ink) 100%); }
.play__inner > .reveal:nth-child(2), .play__inner > .reveal:nth-child(3) { max-width: 560px; margin-left: auto; margin-right: auto; }
.play .stores__soonLabel { text-align: center; }
.steamwidget { max-width: 646px; margin: 28px auto 0; }
.steamwidget iframe { width: 100%; border: 0; border-radius: 6px; background: var(--ink3); }
.play__cols { display: grid; gap: clamp(20px, 3vw, 36px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .play__cols { grid-template-columns: 1.6fr 1fr; } }
.road h3 { font-size: 26px; margin-bottom: 18px; }
.road__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 640px) { .road__list { grid-template-columns: repeat(3, 1fr); } }
.road__step { position: relative; padding: 16px 16px 14px; border-radius: var(--radius); background: rgba(27, 23, 41, .85); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.road__step strong { font-family: var(--font-title); font-weight: 400; font-size: 19px; }
.road__step > span:last-child { font-size: 14px; color: var(--muted); }
.road__when { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.road__step.is-now { border-color: rgba(255, 59, 92, .6); box-shadow: 0 0 0 1px rgba(255, 59, 92, .25), 0 10px 30px rgba(255, 59, 92, .12); }
.road__step.is-now .road__when { color: var(--accent); }
.road__step.is-done { opacity: .7; }
.road__step.is-done .road__when { color: var(--teal); }
.specs { padding: 18px 22px 14px; transform: rotate(1deg); }
.specs h3 { font-size: 22px; margin-bottom: 8px; }
.specs ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.75; }
.follow { margin-top: clamp(36px, 5vw, 56px); text-align: center; }
.follow h3 { font-size: 22px; margin-bottom: 14px; }
.follow__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.follow__links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 600; background: rgba(27, 23, 41, .7); }
.follow__links a:hover { border-color: var(--paper); }
.follow__links .ico { width: 18px; height: 18px; }
.ico--mail { width: 18px; text-align: center; font-weight: 800; }

/* ---------- dedication ---------- */
.ded { padding: clamp(56px, 8vw, 110px) 0; text-align: center; }
.ded__text { font-family: var(--font-old); font-style: italic; font-size: clamp(19px, 1.2vw + 13px, 26px); line-height: 1.6; color: var(--paper2); max-width: 760px; margin: 0 auto; }
.ded__line { display: block; }
.ded__line:first-child { margin-bottom: .6em; }
.ded__line:last-child { margin-top: .9em; font-style: normal; color: var(--paper); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); background: var(--ink2); font-size: 14px; color: var(--muted); }
.foot__inner { display: grid; gap: 16px; align-items: center; }
@media (min-width: 760px) { .foot__inner { grid-template-columns: auto 1fr auto; } }
.foot__logo { width: 64px; }
.foot__text p { margin: 0 0 4px; }
.foot__small { font-size: 12px; opacity: .8; }
/* 15/10 : footer links in the top bar's voice (small caps, cream), not the teal of text links */
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
.foot__links a { color: var(--paper); opacity: .62; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; padding: 2px 0; border-bottom: 1px solid transparent; transition: opacity .15s, border-color .15s; }
.foot__links a:hover, .foot__links a:focus-visible { opacity: 1; color: var(--paper); border-bottom-color: var(--accent); }
@media (min-width: 760px) { .foot__links { max-width: 470px; justify-content: flex-end; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 95; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--paper); color: var(--ink); font-weight: 600; padding: 10px 16px; border-radius: 999px; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* decorations that overhang their frame never widen the page (iOS ignores overflow on body) */
.intro, .features, .cast, .gallery, .ded { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 519px) { .card__pic picture { height: 100%; } }
@media (max-width: 479px) { .store--big .store__badge { display: none; } .store--big { padding: 14px 16px; } }

/* direct downloads */
.store--dl .store__icon { color: currentColor; }
.store--slim { padding: 10px 16px; gap: 12px; background: rgba(18, 16, 29, .62); }
.store--slim .store__icon { width: 24px; height: 24px; color: var(--teal); }
.store--slim .store__label { font-size: 15px; font-weight: 600; }
.store--slim .store__sub { font-size: 12.5px; }
