/* Vendigo – coming soon. Standalone, no JavaScript, no external requests.
   Palette and type follow STYLEGUIDE.md in the repo root. */

@font-face {
	font-family: 'Big Shoulders';
	src: url('assets/fonts/big-shoulders-700-latin.woff2') format('woff2');
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: 'Fondamento';
	src: url('assets/fonts/fondamento-400-latin.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
}

:root {
	--color-night: #070705;
	--color-night-soft: #14140f;
	--color-blood: #621a1b;
	--color-blood-light: #ae3a3b;
	--color-ember: #c85050;
	--color-parchment: #b19e9f;
	--color-bone: #d6c8c8;
	--color-dust: #877879;
	--color-gold-light: #a89a6a;
	--color-moss-light: #6b7a35;

	--font-display: 'Big Shoulders', 'Arial Narrow', sans-serif;
	--font-body: 'Fondamento', Georgia, serif;

	--frame-size: 48px;

	color-scheme: dark;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
}

body {
	display: grid;
	grid-template-rows: 1fr auto;
	min-height: 100svh;
	background:
		radial-gradient(ellipse at 50% 45%, rgb(7 7 5 / 0.1), rgb(7 7 5 / 0.7) 85%),
		url('assets/background.webp') center / cover no-repeat fixed,
		var(--color-night);
	color: var(--color-parchment);
	font-family: var(--font-body);
	font-size: 1.1875rem;
	font-weight: 400;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--color-ember);
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--color-bone);
}

:focus-visible {
	outline: 2px solid var(--color-ember);
	outline-offset: 3px;
}

/* Stage: framed panel centred on the map. */
.stage {
	display: grid;
	justify-items: center;
	align-content: center;
	padding: clamp(2rem, 6vh, 5rem) 1rem;
}

.panel {
	position: relative;
	z-index: 1;
	width: min(100%, 40rem);
	padding: calc(var(--frame-size) * 0.3 + 2.5rem) calc(var(--frame-size) * 0.3 + 2rem) calc(var(--frame-size) * 0.3 + 3rem);
	background: rgb(7 7 5 / 0.82);
	text-align: center;
	animation: rise 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Thin double line with knot corners, as on the EPK slides. The whole frame is one
   9-slice SVG (lines at 14px and 20px of a 48px slice), so corners and lines always join. */
.panel::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	border: var(--frame-size) solid transparent;
	border-image: url('assets/frame.svg') 48;
}

/* Sits between the two lines in the middle of the top and bottom edge. */
.diamond {
	position: absolute;
	left: 50%;
	z-index: 1;
	width: 16px;
	height: 16px;
	background: url('assets/frame-diamond.svg') center / contain no-repeat;
	translate: -50% 0;
}

.diamond--top {
	top: calc(var(--frame-size) * 17 / 48 - 8px);
}

.diamond--bottom {
	bottom: calc(var(--frame-size) * 17 / 48 - 8px);
}

/* Band name as a wordmark in the display face. */
.wordmark {
	margin: 0;
	color: var(--color-blood-light);
	font-family: var(--font-display);
	font-size: clamp(3.5rem, 17vw, 7.5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	text-transform: uppercase;
	text-shadow: 0 0 2.5rem rgb(98 26 27 / 0.6);
}

.tagline {
	margin: 0.6rem 0 0;
	color: var(--color-dust);
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

/* Red rule with a diamond in the middle (EPK fact sheet). */
.rule {
	position: relative;
	width: min(100%, 18rem);
	height: 1px;
	margin: 2rem auto;
	background: linear-gradient(to right, transparent, var(--color-blood) 20%, var(--color-blood) 80%, transparent);
}

.rule span {
	position: absolute;
	top: -4px;
	left: 50%;
	width: 9px;
	height: 9px;
	border: 1px solid var(--color-blood-light);
	background: var(--color-night);
	translate: -50% 0;
	rotate: 45deg;
}

.soon {
	margin: 0;
	color: var(--color-bone);
	font-family: var(--font-body);
	font-size: clamp(1.6rem, 5vw, 2.25rem);
	line-height: 1.2;
}

.lede {
	max-width: 38ch;
	margin: 1rem auto 0;
	font-family: var(--font-body);
	font-size: 1.05rem;
}

.contact {
	display: grid;
	gap: 0.15rem;
	margin: 2rem 0 0;
}

.contact span {
	color: var(--color-dust);
	font-size: 0.875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact a {
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

/* Footer with a collapsible imprint, no JavaScript needed. */
.footer {
	display: grid;
	justify-items: center;
	gap: 0.25rem;
	padding: 0 1rem 1.5rem;
	color: var(--color-dust);
	font-size: 0.9375rem;
	text-align: center;
}

.copyright {
	margin: 0;
}

.imprint summary {
	cursor: pointer;
	color: var(--color-parchment);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	list-style: none;
}

.imprint summary::-webkit-details-marker {
	display: none;
}

.imprint summary::after {
	content: ' +';
	color: var(--color-blood-light);
}

.imprint[open] summary::after {
	content: ' –';
}

.imprint__body {
	width: min(100vw - 2rem, 30rem);
	margin: 1rem auto;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--color-moss-light);
	background: rgb(7 7 5 / 0.88);
	color: var(--color-parchment);
	text-align: left;
}

.imprint__body h2 {
	margin: 1rem 0 0.25rem;
	color: var(--color-blood-light);
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.imprint__body h2:first-child {
	margin-top: 0;
}

.imprint__body p {
	margin: 0;
}

@keyframes rise {
	from {
		opacity: 0;
		translate: 0 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.panel {
		animation: none;
	}
}

@media (max-width: 30rem) {
	:root {
		--frame-size: 36px;
	}

	.panel {
		padding-inline: calc(var(--frame-size) * 0.3 + 1.25rem);
	}
}
