/* WARHOUSE - simulatorswithshotguns.com
   Colours from the title screen's neon sign: deep violet night, hot pink tubes, a cyan skyline; the studio's orange
   is sampled off its own logo. Two font families (brief 6): Bebas Neue for display, Barlow for text. */
:root {
	--bg: #07040d;
	--bg-2: #0e0918;
	--panel: #150f22;
	--line: rgba(255, 255, 255, 0.1);
	--text: #f1ecf7;
	--soft: #d9d1e4;
	--muted: #b3a8c4;
	--pink: #ff2fb4;
	--pink-ink: #d8008a;
	--pink-soft: #ffc6ee;
	--cyan: #39e4ff;
	--amber: #ffb43c;
	--sws: #f35808;
	--radius: 10px;
	--wrap: 1180px;
	--display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	--body: "Barlow", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: #fff; color: #000; border-radius: 6px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* [JOHN] items: visible in staging (local preview, or ?staging), absent in production (brief ground rules). */
.todo { display: none; }
html.staging .todo {
	display: block;
	margin: 10px 0;
	padding: 8px 12px;
	border: 2px dashed var(--amber);
	border-radius: 8px;
	background: rgba(255, 180, 60, 0.1);
	color: var(--amber);
	font-size: 14px;
	line-height: 1.4;
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #000; }
/* The poster is an <img> under the video (srcset for phones); the loop paints over it once it has frames. */
.hero-media picture, .facade picture { position: absolute; inset: 0; display: block; }
.hero-poster { width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(7, 4, 13, 0.6) 0%, rgba(7, 4, 13, 0) 24%),
		linear-gradient(0deg, var(--bg) 0%, rgba(7, 4, 13, 0.85) 30%, rgba(7, 4, 13, 0.2) 65%),
		linear-gradient(90deg, rgba(7, 4, 13, 0.65) 0%, rgba(7, 4, 13, 0) 60%);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: 18px 0; }
.studio-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; letter-spacing: 0.08em; color: var(--text); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.studio-mark img { width: auto; height: 30px; }
.studio-mark span { color: var(--sws); margin-left: -0.15em; }
.topbar ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar ul a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.topbar ul a:hover { color: var(--pink-soft); }
.topbar .nav-cta { padding: 7px 14px; border: 1px solid var(--pink); border-radius: 999px; background: rgba(255, 47, 180, 0.14); }

.hero-copy { margin-top: auto; width: min(var(--wrap), 100% - 32px); margin-inline: auto; padding-bottom: clamp(36px, 7vh, 88px); }
.logo { margin: 0 0 6px -1.2%; line-height: 0; }
.logo img { width: min(640px, 82vw); height: auto; }
.tagline { margin: 10px 0 2px; font-family: var(--display); font-size: clamp(28px, 3.6vw, 44px); letter-spacing: 0.05em; line-height: 1.1; }
.sub { margin: 4px 0 12px; color: var(--soft); font-size: 20px; max-width: 34em; }
.release { margin: 0 0 16px; }
.pill { display: inline-block; font-family: var(--display); font-size: 18px; letter-spacing: 0.1em; padding: 4px 14px 2px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.pill-soon { border-color: var(--pink); color: #fff; box-shadow: 0 0 14px rgba(255, 47, 180, 0.45); background: rgba(255, 47, 180, 0.16); }
.cta-row { max-width: 560px; }
.consent { margin: 6px 0 14px 6px; font-size: 14px; color: var(--muted); }
.consent a { color: var(--soft); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.store-btn { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; letter-spacing: 0.03em; }
.store-steam { background: #fff; color: #0b0614; }
.store-epic, .store-itch { border: 1px solid rgba(255, 255, 255, 0.4); color: var(--text); background: rgba(14, 9, 24, 0.6); }

.btn-ghost {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 9px 20px 9px 10px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35); color: var(--text);
	font-weight: 700; letter-spacing: 0.04em; text-decoration: none;
	background: rgba(14, 9, 24, 0.5); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--pink-soft); }
.btn-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--pink); position: relative; flex: none; }
.btn-icon::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- the email form (hero, CTA band) ---------- */
.notify-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.notify-form input[type="email"] {
	flex: 1 1 230px; min-width: 0; padding: 13px 18px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(7, 4, 13, 0.75);
	color: var(--text); font: inherit; font-size: 17px;
}
.notify-form input[type="email"]::placeholder { color: #9d92ae; }
.notify-form button {
	padding: 13px 22px; border: 0; border-radius: 999px; background: var(--pink-ink); color: #fff;
	font: inherit; font-weight: 700; letter-spacing: 0.03em; cursor: pointer; box-shadow: 0 0 20px rgba(255, 47, 180, 0.45);
}
.notify-form button:hover { background: var(--pink); }
.notify-form button:disabled { opacity: 0.6; cursor: wait; }
.notify-msg { flex-basis: 100%; margin: 0 0 0 6px; min-height: 1.3em; font-size: 15px; color: var(--muted); }
.notify-msg.ok { color: #7dffb5; }
.notify-msg.err { color: #ff9aac; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-dark { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-h { margin: 0 0 26px; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 62px); letter-spacing: 0.04em; line-height: 1; }
.section-h::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; background: repeating-linear-gradient(-45deg, var(--amber) 0 8px, #111 8px 16px); border-radius: 2px; }
.lead { font-size: 21px; color: var(--soft); max-width: 46em; margin: -6px 0 26px; }
.note, .small { color: var(--muted); font-size: 15px; }

.player { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.player video, .player iframe { width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.facade { position: absolute; inset: 0; padding: 0; border: 0; background: #000; cursor: pointer; }
.facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: opacity 0.2s ease; }
.facade:hover img { opacity: 1; }
.facade-play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--pink-ink); box-shadow: 0 0 40px rgba(255, 47, 180, 0.7); }
.facade-play::after { content: ""; position: absolute; left: 38px; top: 28px; border-left: 30px solid #fff; border-top: 20px solid transparent; border-bottom: 20px solid transparent; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--panel), rgba(21, 15, 34, 0.35)); }
.pillar-clip { aspect-ratio: 16 / 9; background: #000; }
.pillar-clip video { width: 100%; height: 100%; object-fit: cover; }
.pillar h3 { margin: 16px 20px 6px; font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: 0.04em; color: var(--pink-soft); }
.pillar p { margin: 0 20px 22px; color: var(--soft); }

/* ---------- the living city ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; margin-bottom: 24px; }
.pair figure { margin: 0; }
.pair img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.pair figcaption { margin-top: 10px; color: var(--soft); font-size: 16px; }
.extra-player { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.extra-player video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- own it ---------- */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 560px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.carousel-track figure { margin: 0; scroll-snap-align: start; }
.carousel-track img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.carousel-track figcaption { margin-top: 8px; color: var(--soft); font-size: 16px; }
.carousel-btn { position: absolute; top: calc(50% - 40px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7, 4, 13, 0.8); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.carousel-btn.prev { left: -12px; }
.carousel-btn.next { right: -12px; }

/* ---------- screenshots ---------- */
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.shots button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: zoom-in; aspect-ratio: 16 / 9; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease, filter 0.35s ease; }
.shots button:hover img { transform: scale(1.04); filter: brightness(1.08); }

/* ---------- the CTA band ---------- */
.notify { padding: 40px 0; background: linear-gradient(90deg, rgba(255, 47, 180, 0.17), rgba(57, 228, 255, 0.08)); border-block: 1px solid rgba(255, 47, 180, 0.3); }
.notify-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.notify-copy h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 40px; letter-spacing: 0.04em; line-height: 1.05; }
.notify-copy p { margin: 6px 0 0; color: var(--soft); }
.notify-side { flex: 0 1 540px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 820px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 1.3em; color: var(--pink); font-weight: 700; }
.faq details[open] summary::before { content: "\2212"; }
.faq details p { margin: 8px 0 0 1.3em; color: var(--soft); }

/* ---------- footer ---------- */
.footer { padding: 30px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer-wrap { display: flex; align-items: center; gap: 22px; }
.footer-logo { width: 66px; height: auto; flex: none; }
.footer-text { display: flex; flex-direction: column; gap: 3px; }
.footer-text a { color: var(--soft); }
.footer-links a, .socials a { margin-right: 14px; }

/* ---------- the mobile sticky CTA (brief 3.2) ---------- */
.sticky-cta { display: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(4, 2, 8, 0.95); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lb-img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 10px 60px rgba(0, 0, 0, 0.7); }
.lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; color: var(--muted); font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 47, 180, 0.35); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
	.topbar ul li:not(:last-child) { display: none; }
	.hero { min-height: auto; }
	.hero-media { position: relative; inset: auto; aspect-ratio: 16 / 9; z-index: 0; }
	.hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 4, 13, 0) 45%); }
	.topbar { position: absolute; top: 0; left: 16px; right: 16px; width: auto; }
	.studio-mark { font-size: 18px; }
	.studio-mark img { height: 24px; }
	.hero-copy { margin-top: -22px; padding-bottom: 44px; position: relative; }
	.pillars, .pair { grid-template-columns: 1fr; }
	.lightbox { padding: 56px 8px; }
	.carousel-btn { display: none; }
	.notify-copy h2 { font-size: 32px; }
	.sticky-cta {
		display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(7, 4, 13, 0.94); border-top: 1px solid rgba(255, 47, 180, 0.4);
		transform: translateY(110%); transition: transform 0.25s ease;
	}
	.sticky-cta.on { transform: none; }
	.sticky-cta a { flex: 1; text-align: center; padding: 12px 10px; border-radius: 999px; font-weight: 700; text-decoration: none; }
	.sticky-main, .sticky-email { background: var(--pink-ink); color: #fff; }
	.sticky-cta .store-steam { background: #fff; color: #0b0614; justify-content: center; }
	.footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.shots img, .facade img, .sticky-cta { transition: none; }
}
