/* # SITE: the landing page's look: the loader's earth, its title lettering and its play button. */
:root {
	--earth: #1b130e;
	--soil: #2a1d14;
	--soil-2: #3a2a1d;
	--ink: #f3e6d8;
	--ink-dim: #cdb9a6;
	--title: #f6d9c4;
	--title-shadow: #7a3b2a;
	--accent: #ffd2ad;
	--play-1: #ffc28f;
	--play-2: #e8874f;
	--play-edge: #8a4426;
	--line: rgba(255, 220, 190, 0.14);
}
* { box-sizing: border-box; }
html { background: var(--earth); }
body {
	margin: 0;
	color: var(--ink);
	/* the hero fades into --soil-2: the page carries on from it, then darkens into the earth */
	background: var(--earth) linear-gradient(180deg, var(--soil-2) 0, var(--soil-2) min(86vh, 760px), var(--earth) 1900px) no-repeat;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}
a { color: var(--accent); }

/* the hero: the breach at dusk, sinking into the earth below the title */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.hero-art {
	position: absolute; inset: 0;
	background: url(img/shot-breach.jpg) center 30% / cover no-repeat;
}
.hero-art::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(58, 42, 29, 0) 35%, rgba(58, 42, 29, 0.88) 68%, var(--soil-2) 94%);
}
.hero-text { position: relative; text-align: center; padding: 0 16px 48px; max-width: 900px; }
.title {
	margin: 0 0 8px;
	font-size: clamp(44px, 10vw, 112px); font-weight: 900; letter-spacing: 0.08em; line-height: 1;
	color: var(--title);
	text-shadow: 0 4px 0 var(--title-shadow), 0 10px 30px rgba(0, 0, 0, 0.6);
}
.tag { margin: 0 0 30px; font-size: clamp(15px, 2.2vw, 20px); letter-spacing: 0.05em; opacity: 0.85; }
.play {
	display: inline-block; padding: 16px 64px;
	font-size: 26px; font-weight: 800; letter-spacing: 0.1em; text-decoration: none;
	color: #2a140c; background: linear-gradient(180deg, var(--play-1), var(--play-2)); border-radius: 999px;
	box-shadow: 0 5px 0 var(--play-edge), 0 14px 36px rgba(0, 0, 0, 0.5);
}
.play:hover { filter: brightness(1.08); }
.play:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--play-edge), 0 8px 24px rgba(0, 0, 0, 0.5); }
.play:focus-visible { outline: 3px solid rgba(255, 243, 230, 0.6); outline-offset: 5px; }
.play.small { padding: 12px 48px; font-size: 20px; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--ink-dim); }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.pitch { max-width: 680px; margin: 24px auto 48px; font-size: 18px; }
.pitch p { margin: 0 0 1em; }

.shots { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0 0 56px; }
@media (min-width: 760px) { .shots { grid-template-columns: 1fr 1fr; } }
.shots figure { margin: 0; }
.shots img {
	display: block; width: 100%; height: auto; border-radius: 10px;
	box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, 0.45);
}
.shots figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-dim); }

.controls { max-width: 760px; margin: 0 auto 40px; }
h2 { font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-dim); font-weight: 600; }
tbody th { color: var(--accent); font-weight: 600; white-space: nowrap; }
.keys { font-size: 15px; color: var(--ink-dim); margin: 14px 0 0; }
.keys b { color: var(--accent); font-weight: 600; }
.again { text-align: center; margin: 0 0 56px; }

footer { border-top: 1px solid var(--line); padding: 22px 16px 40px; text-align: center; }
footer p { max-width: 760px; margin: 0 auto; font-size: 14px; color: var(--ink-dim); }

/* phones: everything fits at 360 px, the controls table too */
@media (max-width: 560px) {
	body { font-size: 16px; }
	.hero { min-height: 78vh; }
	.play { padding: 15px 52px; font-size: 23px; }
	table { font-size: 13px; }
	th, td { padding: 7px 5px; }
	thead th { font-size: 11px; }
}

/* the credits page */
.credits { max-width: 760px; padding-top: 32px; padding-bottom: 48px; }
.credits ul { padding-left: 1.2em; }
.credits li { margin: 0 0 8px; }
